From marc at ena.com Fri Jul 1 00:09:09 2005 From: marc at ena.com (Marc Powell) Date: Thu, 30 Jun 2005 17:09:09 -0500 Subject: Setting up distributed monitoring Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Evert Goor > Sent: Thursday, June 30, 2005 4:54 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Setting up distributed monitoring > > Tanx just saw it. I thought only nsca was the option. > Can only not find the check by ssh plugin. Curious what that is ? > Is that it just opens an ssh to an other unix box and activate from > there the check ? It's been one of the standard plugins for quite a while. It's actually check_by_ssh. It can be used to execute a plugin living on a remote host via ssh and return the results to Nagios. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 1 00:53:58 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Jul 2005 00:53:58 +0200 Subject: ld: 0711-317 ERROR: Undefined symbol: .VA_COPY <-- Can anyone tell me how to fix this???? In-Reply-To: <42C4410A.803@uky.edu> References: <42C4410A.803@uky.edu> Message-ID: <42C47806.5030607@op5.se> Kenneth Klein wrote: > I finally got nagios to "make all" and make etc. Then I dl.ed the source > for the plugins, I grabbed the latest stable verson. > > I got this error when I ran make all. > > ar: Creating an archive file libsnprintf.a. > gcc -g -O2 -L. -L/lib -o check_disk check_disk.o utils.o > ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf > ld: 0711-317 ERROR: Undefined symbol: .VA_COPY > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > collect2: ld returned 8 exit status > make: 1254-004 The error code from the last command is 1. > The configure script seems to not have picked up that your system can't handle the VA_COPY macro properly. There are macros for it in lib/snprintf.c which can circumvent this. Adding #undef HAVE_VA_COPY #undef HAVE__VA_COPY to the top of the file should at least make the plugins compile, although I can't guarantee they won't segfault en masse. That will depend on your systems vsprintf() implementation. If it's at all possible, you should try running Nagios on either Linux or *BSD. Older systems doesn't have the asprintf() function and the current plugin distribution sadly relies heavily on it being there. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niederha at us.ibm.com Fri Jul 1 00:59:07 2005 From: niederha at us.ibm.com (Kyle Niederhauser) Date: Thu, 30 Jun 2005 16:59:07 -0600 Subject: Kyle Niederhauser is out of the office. Message-ID: I will be out of the office starting 06/30/2005 and will not return until 07/13/2005. I will be out of the office Thursday June, 30 until Wednesday July, 13. If you need assistance, please call the Solution Center at 918-573-2336 and ask for IBM UNIX support. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby_12172004 at yahoo.com Fri Jul 1 01:20:08 2005 From: kirby_12172004 at yahoo.com (Michael Carel) Date: Fri, 1 Jul 2005 00:20:08 +0100 (BST) Subject: Router Monitoring Plugins Message-ID: <20050630232008.30628.qmail@web31307.mail.mud.yahoo.com> Hi to all; Is there a Plugins that can monitor router/switches interfaces traffic, uptime etc... via snmp. I'll be integrating all monitoring to nagios including routers/switches. I'm previously using MRTG to monitor router/switches traffic and status. Is there anyone knows where and how? tnx, Kirby Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Fri Jul 1 04:07:04 2005 From: james at lovedthanlost.net (James Turnbull) Date: Fri, 01 Jul 2005 12:07:04 +1000 Subject: Router Monitoring Plugins In-Reply-To: <20050630232008.30628.qmail@web31307.mail.mud.yahoo.com> References: <20050630232008.30628.qmail@web31307.mail.mud.yahoo.com> Message-ID: <42C4A548.1050500@lovedthanlost.net> Michael Carel wrote: >Hi to all; > >Is there a Plugins that can monitor router/switches >interfaces traffic, uptime etc... via snmp. > >I'll be integrating all monitoring to nagios including >routers/switches. I'm previously using MRTG to monitor >router/switches traffic and status. > >Is there anyone knows where and how? > > You could start with the check_ifoperstatus and check_ifstatus plugins. Also there is a check_mtrg plugin that allows you to monitor MRTG log files that may prove useful. Regards James Turnbull -- James Turnbull --- Author of Hardening Linux, Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3194 bytes Desc: S/MIME Cryptographic Signature URL: From s.shipway at auckland.ac.nz Fri Jul 1 05:24:26 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 1 Jul 2005 15:24:26 +1200 Subject: Router Monitoring Plugins In-Reply-To: <42C4A548.1050500@lovedthanlost.net> References: <42C4A548.1050500@lovedthanlost.net> Message-ID: <004901c57dec$62119340$01fea8c0@itss.auckland.ac.nz> >Michael Carel wrote: >>I'll be integrating all monitoring to nagios including >>routers/switches. I'm previously using MRTG to monitor >>router/switches traffic and status. >>Is there anyone knows where and how? We have an integrated MRTG/Nagios setup here, with several thousand services being monitored by both. I've used the routers2 frontend to MRTG, and set up web cross-linking between the two so that the host/service extinfo has links to MRTG and the MRTG pages can embed the Nagios service status pages. This works well, since MRTG is no use at alertnig and Nagios does not (natively) handle graphing. I have some MRTG plugins that can query the Nagios agents, and currently run MRTG and Nagios queries in parallel. However, we're investigating the check_rrd Nagios plugins to alert on the RRD files from MRTG, and the perfparse for Nagios to feed data to MRTG. Steve ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin at openfusion.com.au Fri Jul 1 07:52:06 2005 From: gavin at openfusion.com.au (Gavin Carr) Date: Fri, 1 Jul 2005 15:52:06 +1000 Subject: Exploding check commands batman ... Message-ID: <20050701055206.GD25733@openfusion.com.au> Hi all, I'm just wanting to sanity check whether I'm missing something in how check_commands and services work together. To do various kinds of http checks, for instance, I've currently got the following defined in check_commands.cfg (Nagios 1.2, btw): define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } define command{ command_name check_http_auth command_line $USER1$/check_http -H $HOSTADDRESS$ -a '$ARG1$' } define command{ command_name check_http_str command_line $USER1$/check_http -H $HOSTADDRESS$ -s '$ARG1$' } define command{ command_name check_http_re command_line $USER1$/check_http -H $HOSTADDRESS$ -l -R '$ARG1$' } define command{ command_name check_http_uri_str command_line $USER1$/check_http -H $HOSTADDRESS$ -u '$ARG1$' -s '$ARG2$' } define command{ command_name check_http_uri_re command_line $USER1$/check_http -H $HOSTADDRESS$ -u '$ARG1$' -l -R '$ARG2$' } I've got another set where I want to specify the host using '-H $ARG1$', and then all of those are duplicated with '-S' for https tests, etc., so I've got 24 or so http test so far. Now I want to monitor another set of sites on a non-standard port, so I need an additional '-p' argument! Is this the way other people are doing it, or am I missing something obvious? Is this handled any differently in version 2.0? Cheers, Gavin ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew_Hoying at blm.gov Fri Jul 1 08:01:21 2005 From: Andrew_Hoying at blm.gov (Andrew_Hoying at blm.gov) Date: Fri, 1 Jul 2005 00:01:21 -0600 Subject: Exploding check commands batman ... In-Reply-To: <20050701055206.GD25733@openfusion.com.au> References: <20050701055206.GD25733@openfusion.com.au> Message-ID: I think in your situation you'd be better off doing something like this: define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ $ARG1$ } Then your ARG1 can contain flags and parameters specific to the needs of that one check. Like check_http_str!localhost!-u '/' -s 'Nagios' or whatever. That's how I do it. Andrew Gavin Carr To Sent by: Nagios Users nagios-users-admi ge.net cc Subject 06/30/2005 11:52 [Nagios-users] Exploding check PM commands batman ... Hi all, I'm just wanting to sanity check whether I'm missing something in how check_commands and services work together. To do various kinds of http checks, for instance, I've currently got the following defined in check_commands.cfg (Nagios 1.2, btw): define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } define command{ command_name check_http_auth command_line $USER1$/check_http -H $HOSTADDRESS$ -a '$ARG1$' } define command{ command_name check_http_str command_line $USER1$/check_http -H $HOSTADDRESS$ -s '$ARG1$' } define command{ command_name check_http_re command_line $USER1$/check_http -H $HOSTADDRESS$ -l -R '$ARG1$' } define command{ command_name check_http_uri_str command_line $USER1$/check_http -H $HOSTADDRESS$ -u '$ARG1$' -s '$ARG2$' } define command{ command_name check_http_uri_re command_line $USER1$/check_http -H $HOSTADDRESS$ -u '$ARG1$' -l -R '$ARG2$' } I've got another set where I want to specify the host using '-H $ARG1$', and then all of those are duplicated with '-S' for https tests, etc., so I've got 24 or so http test so far. Now I want to monitor another set of sites on a non-standard port, so I need an additional '-p' argument! Is this the way other people are doing it, or am I missing something obvious? Is this handled any differently in version 2.0? Cheers, Gavin ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Evert.Goor at benp.nl Fri Jul 1 10:47:24 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Fri, 1 Jul 2005 10:47:24 +0200 Subject: checking workstations Message-ID: <19CCC8E70E4FA941848269F0C5D832CC8986F0@post.systems.nl> Hi List Tanx for all the nice answers and help. I just have one question left. I Have to monitor printers/workstations and they can be offline. Is there a way to manipulate that I only get events when there is realy a problem (disk full ) not when the host is shutdown for the day and the plugin cannot be excuted right. For the rest I love Nagios for all the options only some are a little less explained. Still looking into the Compaq tools. Greetings, Evert Goor -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3026 bytes Desc: not available URL: From ae at op5.se Fri Jul 1 11:27:41 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Jul 2005 11:27:41 +0200 Subject: Router Monitoring Plugins In-Reply-To: <20050630232008.30628.qmail@web31307.mail.mud.yahoo.com> References: <20050630232008.30628.qmail@web31307.mail.mud.yahoo.com> Message-ID: <42C50C8D.3050401@op5.se> Michael Carel wrote: > Hi to all; > > Is there a Plugins that can monitor router/switches > interfaces traffic, uptime etc... via snmp. > > I'll be integrating all monitoring to nagios including > routers/switches. I'm previously using MRTG to monitor > router/switches traffic and status. > > Is there anyone knows where and how? > You can take a look at the plugins at http://oss.op5.se/nagios/op5plugins.tar.gz It builds and installs check_traffic and check_iferrors along with the other check_if* plugins and complements them nicely. > > tnx, > > Kirby > > Send instant messages to your online friends http://uk.messenger.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From capt at krastel.ru Fri Jul 1 13:13:40 2005 From: capt at krastel.ru (capt at krastel.ru) Date: Fri, 1 Jul 2005 19:13:40 +0800 Subject: Handler for "HOST UP" event not called Message-ID: <1120216420.42c525648dbca@mail.yartelecom.net> Hello, nagios users! I created handler for my host up/down events. For "down" event handler calls, but when host assumed be up, no handler called. Why? My nagios version: /var/log/nagios # nagios Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 License: GPL ... /var/log/nagios # rpm -q nagios nagios-1.2-0 My config: ============================================================================= define host{ name generic-host ; The name of this host template - reference notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program resta check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOS } define host{ use generic-host ; Name of host template to use host_name planetsky-gw alias PlanetSky server router address 10.10.182.188 event_handler dialup_planetsky_on_off max_check_attempts 3 } ============================================================================= My nagios.log : ============================================================================= [1120212931] HOST ALERT: planetsky-gw;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1120212931] HOST EVENT HANDLER: planetsky-gw;DOWN;SOFT;1;dialup_planetsky_on_off [1120212941] HOST ALERT: planetsky-gw;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [1120212941] HOST EVENT HANDLER: planetsky-gw;DOWN;SOFT;2;dialup_planetsky_on_off [1120212951] HOST ALERT: planetsky-gw;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [1120212951] HOST EVENT HANDLER: planetsky-gw;DOWN;SOFT;3;dialup_planetsky_on_off [1120212951] HOST ALERT: planetsky-gw;DOWN;SOFT;4;/bin/ping -n -U -c 1 62.33.182.88 [1120212951] HOST EVENT HANDLER: planetsky-gw;DOWN;SOFT;4;dialup_planetsky_on_off [1120212951] HOST ALERT: planetsky-gw;DOWN;SOFT;5;/bin/ping -n -U -c 1 62.33.182.88 [1120212951] HOST EVENT HANDLER: planetsky-gw;DOWN;SOFT;5;dialup_planetsky_on_off [1120212951] HOST ALERT: planetsky-gw;DOWN;SOFT;6;/bin/ping -n -U -c 1 62.33.182.88 [1120212951] HOST EVENT HANDLER: planetsky-gw;DOWN;SOFT;6;dialup_planetsky_on_off [1120212951] HOST ALERT: planetsky-gw;DOWN;SOFT;7;/bin/ping -n -U -c 1 62.33.182.88 [1120212951] HOST EVENT HANDLER: planetsky-gw;DOWN;SOFT;7;dialup_planetsky_on_off [1120212951] HOST ALERT: planetsky-gw;DOWN;SOFT;8;/bin/ping -n -U -c 1 62.33.182.88 [1120212951] HOST EVENT HANDLER: planetsky-gw;DOWN;SOFT;8;dialup_planetsky_on_off [1120212951] HOST ALERT: planetsky-gw;DOWN;SOFT;9;/bin/ping -n -U -c 1 62.33.182.88 [1120212951] HOST EVENT HANDLER: planetsky-gw;DOWN;SOFT;9;dialup_planetsky_on_off [1120212951] HOST ALERT: planetsky-gw;DOWN;HARD;10;/bin/ping -n -U -c 1 62.33.182.88 [1120212951] HOST NOTIFICATION: janem;planetsky-gw;DOWN;host-notify-by-email;/bin/ping -n -U -c 1 62 [1120212951] HOST NOTIFICATION: capt;planetsky-gw;DOWN;host-notify-by-email;/bin/ping -n -U -c 1 62. [1120212951] HOST EVENT HANDLER: planetsky-gw;DOWN;HARD;10;dialup_planetsky_on_off ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ !!!!!!Handler called!!!!! .. .. .. [1120214134] HOST ALERT: planetsky-gw;UP;HARD;10;(Host assumed to be up) [1120214134] SERVICE ALERT: planetsky-gw;ssh;OK;HARD;3;SSH OK - OpenSSH_3.4p1 Debian 1:3.4p1-1.woody [1120214134] SERVICE ALERT: planetsky-gw;ssh;OK;HARD;3;SSH OK - OpenSSH_3.4p1 Debian 1:3.4p1-1.woody [1120214134] SERVICE NOTIFICATION: capt;planetsky-gw;ssh;OK;notify-by-email;SSH OK - OpenSSH_3.4p1 D ============================================================================ Where is "HOST EVENT HANDLER: planetsky-gw;UP;..." ????!!!!!!!! Help me, please. Alexander ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Fri Jul 1 13:57:20 2005 From: pla at softflare.com (Paul L. Allen) Date: Fri, 01 Jul 2005 12:57:20 +0100 Subject: Exploding check commands batman ... In-Reply-To: <20050701055206.GD25733@openfusion.com.au> References: <20050701055206.GD25733@openfusion.com.au> Message-ID: <20050701115720.18802.qmail@mullet.softflare.net> Gavin Carr writes: > Is this the way other people are doing it, or am I missing > something obvious? Is this handled any differently in version > 2.0? There are several ways of doing it, but they're all rather clunky (IMHO). I'd like to see something along the lines of: $USER1$/check_http ... $CONDARG4${-p $ARG4$} along with the ability to have null arguments as in: check_http!a!b!c!!e so that if the fourth argument is omitted then the "-p $ARG4$" is dropped and you get the default http port whereas if you want a different port then check_http!a!b!c!3192!e. That still means a lot of extra stuff in your service checks. So maybe a better approach would be to allow argument over-riding. Your template would then have check_http!a!b!c!d!e where you specify all options giving them their default values but in the specific service checks you could have "command_arg4 3192". I expect somebody can think of reasons why neither of the above could be implemented and somebody else (or maybe the same person) can think of a far better way of doing it. I'm not attached to either of those approaches, they are just first thoughts - if somebody has a better way of doing it then that's great. I'm not holding my breath though - if it were a popular request and easy to implement then it would have gone into Nagios ages ago. -- Paul Allen Softflare Support ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 1 14:59:34 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Jul 2005 14:59:34 +0200 Subject: Exploding check commands batman ... In-Reply-To: <20050701115720.18802.qmail@mullet.softflare.net> References: <20050701055206.GD25733@openfusion.com.au> <20050701115720.18802.qmail@mullet.softflare.net> Message-ID: <42C53E36.7000805@op5.se> Paul L. Allen wrote: > Gavin Carr writes: > >> Is this the way other people are doing it, or am I missing something >> obvious? Is this handled any differently in version 2.0? > > > There are several ways of doing it, but they're all rather clunky (IMHO). > I'd like to see something along the lines of: > $USER1$/check_http ... $CONDARG4${-p $ARG4$} > along with the ability to have null arguments as in: > check_http!a!b!c!!e > so that if the fourth argument is omitted then the "-p $ARG4$" is > dropped and you get the default http port whereas if you want a different > port then check_http!a!b!c!3192!e. I'm working on overloading the plugins a bit to support behaviour like this. It will require the arguments in the check_command definition to be enclosed in quotes (due to how POSIX getopt() works), but will otherwise work nicely. > That still means a lot of extra stuff in your service checks. So maybe > a better approach would be to allow argument over-riding. Your template > would then have check_http!a!b!c!d!e where you specify all options > giving them their default values but in the specific service checks you > could have "command_arg4 3192". > I expect somebody can think of reasons why neither of the above could be > implemented and somebody else (or maybe the same person) can think of > a far better way of doing it. I'm not attached to either of those > approaches, they are just first thoughts - if somebody has a better way > of doing it then that's great. I'm not holding my breath though - if it > were a popular request and easy to implement then it would have gone into > Nagios ages ago. I believe it's best left out of Nagios. String mangling is rather expensive and error-prone. Checking if(str[0] == 0) from the command executed is a fairly simple process. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-user at proy.org Fri Jul 1 15:01:51 2005 From: nagios-user at proy.org (Patrick Proy) Date: Fri, 1 Jul 2005 15:01:51 +0200 Subject: Router Monitoring Plugins In-Reply-To: <20050630232008.30628.qmail@web31307.mail.mud.yahoo.com> References: <20050630232008.30628.qmail@web31307.mail.mud.yahoo.com> Message-ID: <20050701130159.E7F3FAB715@www.manubulon.com> Hi, You can also use check_snmp_interface (http://sourceforge.net/projects/nagios-snmp/). Patrick -----Message d'origine----- De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Michael Carel Envoy? : vendredi 1 juillet 2005 01:20 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Router Monitoring Plugins Hi to all; Is there a Plugins that can monitor router/switches interfaces traffic, uptime etc... via snmp. I'll be integrating all monitoring to nagios including routers/switches. I'm previously using MRTG to monitor router/switches traffic and status. Is there anyone knows where and how? tnx, Kirby Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcunietti at enter.it Fri Jul 1 15:22:22 2005 From: mcunietti at enter.it (Mariano Cunietti) Date: Fri, 01 Jul 2005 15:22:22 +0200 Subject: passive checks Message-ID: <1120224142.19849.41.camel@bytecode.enter.it> Hi list, I'm trying to configure a passive check on Nagios for an ATM router with MPLS VPN VRFs ( to be monitored. I configured a service like this: define service{ host_name atm1-mi service_description MPLS-VRF is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 normal_check_interval 5 retry_check_interval 2 contact_groups admins-SMS notification_interval 60 notification_period 24x7 notification_options w,u,c,r check_command check_none } I configured snmptrapd to handle Cisco traps and pass them to a perl script, which calls submit_check_result: /usr/lib/nagios/plugins/eventhandlers/submit_check_result atm1-mi MPLS-VRF $retval $vrf_name Here's what is logged in /var/log/nagios/rw/nagios.cmd when VRF goes down: [1120147489] PROCESS_SERVICE_CHECK_RESULT;atm1-mi;MPLS-VRF;2;my_vrf_name Yet, nothing is done by Nagios. On the web panle, at Service Detail, i get: Host atm1-mi MPLS-VRF (P) Pending N/A 0d 21h 8m 1s+ 0/1 Service check scheduled for Fri Jul 1 15:13:16 2005 It seems that Nagios is not processing passive checks correctly. Any hint? I'm stuck :-( Thanks -- ------------------------- Mariano Cunietti System Administrator Enter S.r.l. Via Stefanardo da Vimercate, 28 20128 - Milano - Italy Tel. +39 02 25514319 Fax +39 02 25514303 mcunietti at enter.it www.enter.it - www.enterpoint.it --------------------------- Gruppo Y2K - www.gruppoy2k.it ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sudhirmahalein at yahoo.co.uk Fri Jul 1 15:43:15 2005 From: sudhirmahalein at yahoo.co.uk (Sudhir Mahale) Date: Fri, 1 Jul 2005 14:43:15 +0100 (BST) Subject: Notifications not visible for certain days Message-ID: <20050701134315.12398.qmail@web86904.mail.ukl.yahoo.com> All, I am running Nagios 1.2 and am facing this problem in vieiwing notifications for particular days. I do not see any notifications for particular days. During the day I see notifications being recorded. But the next day, after the log rotation the notifications disappear.If i go to Notifications => Earlier archive in the web interface, I see the message "No notifications have been recorded in this archived log file" I checked the var/archives and found that for the days that notifications are missing we have two archive files, for example one nagios-06-30-2005-00.log and the other nagios-06-30-2005-23.log For the days that we see the notifications, only one archive file , for example nagios-06-29-2005-00.log is seen Any help will be greatly appreciated. I use "24x7" for all my servers and "test" for one of the test boxes Thanks, Sudhir Note:- My time periods definition looks like this # '24x7' timeperiod definition define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 08:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-20:00 } # 'test' timeperiod definition define timeperiod{ timeperiod_name test_ftmfedora alias Test time period for ftmfedora sunday 08:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-22:20 friday 00:00-22:20 saturday 00:00-20:00 } # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias "Normal" Working Hours monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday 09:00-17:00 friday 09:00-17:00 } # 'nonworkhours' timeperiod definition define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday 00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday 00:00-24:00 } # 'none' timeperiod definition define timeperiod{ timeperiod_name none alias No Time Is A Good Time } ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sivan.deray at net-aptitude.fr Fri Jul 1 16:04:54 2005 From: sivan.deray at net-aptitude.fr (Sivan DERAY) Date: Fri, 1 Jul 2005 16:04:54 +0200 Subject: Notifications not visible for certain days Message-ID: <4E13BD0442DACA4D9606CAD98924F09A45D00F@srv-nap-atlas-1.net-aptitude.fr> Got the same problem : the disk was full :( -----Message d'origine----- De : Sudhir Mahale [mailto:sudhirmahalein at yahoo.co.uk] Envoy? : vendredi 1 juillet 2005 15:43 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Notifications not visible for certain days All, I am running Nagios 1.2 and am facing this problem in vieiwing notifications for particular days. I do not see any notifications for particular days. During the day I see notifications being recorded. But the next day, after the log rotation the notifications disappear.If i go to Notifications => Earlier archive in the web interface, I see the message "No notifications have been recorded in this archived log file" I checked the var/archives and found that for the days that notifications are missing we have two archive files, for example one nagios-06-30-2005-00.log and the other nagios-06-30-2005-23.log For the days that we see the notifications, only one archive file , for example nagios-06-29-2005-00.log is seen Any help will be greatly appreciated. I use "24x7" for all my servers and "test" for one of the test boxes Thanks, Sudhir Note:- My time periods definition looks like this # '24x7' timeperiod definition define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 08:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-20:00 } # 'test' timeperiod definition define timeperiod{ timeperiod_name test_ftmfedora alias Test time period for ftmfedora sunday 08:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-22:20 friday 00:00-22:20 saturday 00:00-20:00 } # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias "Normal" Working Hours monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday 09:00-17:00 friday 09:00-17:00 } # 'nonworkhours' timeperiod definition define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday 00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday 00:00-24:00 } # 'none' timeperiod definition define timeperiod{ timeperiod_name none alias No Time Is A Good Time } ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miguel-r-matos at ptinovacao.pt Fri Jul 1 16:06:28 2005 From: miguel-r-matos at ptinovacao.pt (Miguel Matos) Date: Fri, 1 Jul 2005 15:06:28 +0100 Subject: passive checks Message-ID: <75D349FBF7C131408F5061B7168072C3014914D3@INOAVREX06.ptin.corpPT.com> Hi Mariano, I have the same problem with passive checks. I think there's a bug with the functions that process passive checks because I have nagios 1.2 installed on some machines and sometimes nagios doesn't process the alarms that are sent to him. Regards, Miguel -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mariano Cunietti Sent: sexta-feira, 1 de Julho de 2005 14:22 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] passive checks Hi list, I'm trying to configure a passive check on Nagios for an ATM router with MPLS VPN VRFs ( to be monitored. I configured a service like this: define service{ host_name atm1-mi service_description MPLS-VRF is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 normal_check_interval 5 retry_check_interval 2 contact_groups admins-SMS notification_interval 60 notification_period 24x7 notification_options w,u,c,r check_command check_none } I configured snmptrapd to handle Cisco traps and pass them to a perl script, which calls submit_check_result: /usr/lib/nagios/plugins/eventhandlers/submit_check_result atm1-mi MPLS-VRF $retval $vrf_name Here's what is logged in /var/log/nagios/rw/nagios.cmd when VRF goes down: [1120147489] PROCESS_SERVICE_CHECK_RESULT;atm1-mi;MPLS-VRF;2;my_vrf_name Yet, nothing is done by Nagios. On the web panle, at Service Detail, i get: Host atm1-mi MPLS-VRF (P) Pending N/A 0d 21h 8m 1s+ 0/1 Service check scheduled for Fri Jul 1 15:13:16 2005 It seems that Nagios is not processing passive checks correctly. Any hint? I'm stuck :-( Thanks -- ------------------------- Mariano Cunietti System Administrator Enter S.r.l. Via Stefanardo da Vimercate, 28 20128 - Milano - Italy Tel. +39 02 25514319 Fax +39 02 25514303 mcunietti at enter.it www.enter.it - www.enterpoint.it --------------------------- Gruppo Y2K - www.gruppoy2k.it ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kklein9 at uky.edu Fri Jul 1 16:15:35 2005 From: kklein9 at uky.edu (Kenneth Klein) Date: Fri, 01 Jul 2005 10:15:35 -0400 Subject: ld: 0711-317 ERROR: Undefined symbol: .VA_COPY <-- Can anyone tell me how to fix this???? In-Reply-To: <42C47806.5030607@op5.se> References: <42C4410A.803@uky.edu> <42C47806.5030607@op5.se> Message-ID: <42C55007.1020800@uky.edu> Thanks for the advice. "to the top of the file" <-- which file are you referring to? Makefile? The systems I am working on all run AIX 5.3. I do have Linux (SLES) running on one partition in one of our 3 p570's, but the AIX LPARs are the ones I want to monitor. Andreas Ericsson wrote: > Kenneth Klein wrote: > >> I finally got nagios to "make all" and make etc. Then I dl.ed the >> source for the plugins, I grabbed the latest stable verson. >> >> I got this error when I ran make all. >> >> ar: Creating an archive file libsnprintf.a. >> gcc -g -O2 -L. -L/lib -o check_disk check_disk.o utils.o >> ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf >> ld: 0711-317 ERROR: Undefined symbol: .VA_COPY >> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more >> information. >> collect2: ld returned 8 exit status >> make: 1254-004 The error code from the last command is 1. >> > > The configure script seems to not have picked up that your system > can't handle the VA_COPY macro properly. There are macros for it in > lib/snprintf.c which can circumvent this. Adding > #undef HAVE_VA_COPY > #undef HAVE__VA_COPY > to the top of the file should at least make the plugins compile, > although I can't guarantee they won't segfault en masse. That will > depend on your systems vsprintf() implementation. > > If it's at all possible, you should try running Nagios on either Linux > or *BSD. Older systems doesn't have the asprintf() function and the > current plugin distribution sadly relies heavily on it being there. > -- I am told that the US spent a lot of money trying to find a pen that would write in weightlessness. They showed the "Space Pen" to the competing Russians. They showed the US reps - a pencil. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Joseph.Petrucci at ddiworld.com Fri Jul 1 16:42:59 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Fri, 1 Jul 2005 10:42:59 -0400 Subject: passive checks Message-ID: I have written a lot of my own SQL2000 plugins but this one stumps me. Can someone review this and let me know if I am way off base on this. I want to check ODBC connectivity from my application server to my database server. I have ActivePerl on the application server so I want to write an ASP page that connects to the database through ODBC and returns the name of the database that it is connected to. Then use check_http to call that page and look for the database name in the page. Does this sound feasible I usually try not to put special code on the monitored host, but to check if the host can connect to a service on another host I cannot see any other way. Joseph A. Petrucci E Systems DBA ------------------------------------------------ Desk: 412-220-2646 Cell: 412-916-2867 Text message (e-mail) 4129162867 at mobile.att.net e-mail joseph.petrucci at ddiworld.com Personal Cell: 724-462-0443 Personal e-mail: japetrucci at hotmail.com ________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of Miguel Matos Sent: Fri 7/1/2005 10:06 AM To: Mariano Cunietti; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] passive checks Hi Mariano, I have the same problem with passive checks. I think there's a bug with the functions that process passive checks because I have nagios 1.2 installed on some machines and sometimes nagios doesn't process the alarms that are sent to him. Regards, Miguel -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mariano Cunietti Sent: sexta-feira, 1 de Julho de 2005 14:22 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] passive checks Hi list, I'm trying to configure a passive check on Nagios for an ATM router with MPLS VPN VRFs ( to be monitored. I configured a service like this: define service{ host_name atm1-mi service_description MPLS-VRF is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 normal_check_interval 5 retry_check_interval 2 contact_groups admins-SMS notification_interval 60 notification_period 24x7 notification_options w,u,c,r check_command check_none } I configured snmptrapd to handle Cisco traps and pass them to a perl script, which calls submit_check_result: /usr/lib/nagios/plugins/eventhandlers/submit_check_result atm1-mi MPLS-VRF $retval $vrf_name Here's what is logged in /var/log/nagios/rw/nagios.cmd when VRF goes down: [1120147489] PROCESS_SERVICE_CHECK_RESULT;atm1-mi;MPLS-VRF;2;my_vrf_name Yet, nothing is done by Nagios. On the web panle, at Service Detail, i get: Host atm1-mi MPLS-VRF (P) Pending N/A 0d 21h 8m 1s+ 0/1 Service check scheduled for Fri Jul 1 15:13:16 2005 It seems that Nagios is not processing passive checks correctly. Any hint? I'm stuck :-( Thanks -- ------------------------- Mariano Cunietti System Administrator Enter S.r.l. Via Stefanardo da Vimercate, 28 20128 - Milano - Italy Tel. +39 02 25514319 Fax +39 02 25514303 mcunietti at enter.it www.enter.it - www.enterpoint.it --------------------------- Gruppo Y2K - www.gruppoy2k.it ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 pla at softflare.com Fri Jul 1 16:48:45 2005 From: pla at softflare.com (Paul L. Allen) Date: Fri, 01 Jul 2005 15:48:45 +0100 Subject: Exploding check commands batman ... In-Reply-To: <42C53E36.7000805@op5.se> References: <20050701055206.GD25733@openfusion.com.au> <20050701115720.18802.qmail@mullet.softflare.net> <42C53E36.7000805@op5.se> Message-ID: <20050701144845.30135.qmail@mullet.softflare.net> Andreas Ericsson writes: > I'm working on overloading the plugins a bit to support behaviour like > this. It will require the arguments in the check_command definition to be > enclosed in quotes (due to how POSIX getopt() works), but will otherwise > work nicely. Sounds good. > I believe it's best left out of Nagios. String mangling is rather > expensive and error-prone. Checking if(str[0] == 0) from the command > executed is a fairly simple process. Somewhat more complex for the perl plugins since they generally use the strict pragma. Easy for options which take string arguments and where the string "0" is never valid or sensible: $opt_x ||= $opt_x_default; A little extra work for options which take numeric arguments and where the numeric value 0 is valid and sensible but some other numeric value is the default: $opt_x = $opt_x_default if ($x eq ''); A bigger problem for numerics if you expect the plugin to cope gracefully if somebody manages to not pass "" as the argument for the option and the option is therefore unitialized: $opt_x = $opt_x_default if (not defined($x) or $x eq ''); or: $opt_x .= '' # ensure $opt_x is initialized with something $opt_x = $opt_x_default if ($x eq ''); That's the price you have to pay for asking perl to do run-time checking. Then again, the GetOpt module shouldn't be letting you get away with specifying an option that requires an argument without giving an argument, but I'm sure somebody will find a way. -- Paul Allen Softflare Support ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 1 16:57:17 2005 From: marc at ena.com (Marc Powell) Date: Fri, 1 Jul 2005 09:57:17 -0500 Subject: passive checks Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Petrucci, Joseph > Sent: Friday, July 01, 2005 9:43 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] passive checks > > I have written a lot of my own SQL2000 plugins but this one stumps me. Can > someone review this and let me know if I am way off base on this. I want > to check ODBC connectivity from my application server to my database > server. I have ActivePerl on the application server so I want to write an > ASP page that connects to the database through ODBC and returns the name > of the database that it is connected to. Then use check_http to call that > page and look for the database name in the page. Does this sound feasible > I usually try not to put special code on the monitored host, but to check > if the host can connect to a service on another host I cannot see any > other way. We do the same thing with a couple of our applications. It's essentially two checks in one: your HTTP server is working and your database server is working.... -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcunietti at enter.it Fri Jul 1 17:02:50 2005 From: mcunietti at enter.it (Mariano Cunietti) Date: Fri, 01 Jul 2005 17:02:50 +0200 Subject: passive checks In-Reply-To: References: Message-ID: <1120230170.19849.44.camel@bytecode.enter.it> On Fri, 2005-07-01 at 16:42, Petrucci, Joseph wrote: > I have written a lot of my own SQL2000 plugins but this one stumps me. > Can someone review this and let me know if I am way off base on this. > I want to check ODBC connectivity from my application server to my > database server. I have ActivePerl on the application server so I want > to write an ASP page that connects to the database through ODBC and > returns the name of the database that it is connected to. Then use > check_http to call that page and look for the database name in the > page. Does this sound feasible I usually try not to put special code > on the monitored host, but to check if the host can connect to a > service on another host I cannot see any other way. maybe you could a open a new thread on your own, couldn't you? you know, it's free... ------------------------- Mariano Cunietti System Administrator Enter S.r.l. Via Stefanardo da Vimercate, 28 20128 - Milano - Italy Tel. +39 02 25514319 Fax +39 02 25514303 mcunietti at enter.it www.enter.it - www.enterpoint.it --------------------------- Gruppo Y2K - www.gruppoy2k.it ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 1 17:07:23 2005 From: marc at ena.com (Marc Powell) Date: Fri, 1 Jul 2005 10:07:23 -0500 Subject: passive checks Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mariano Cunietti > Sent: Friday, July 01, 2005 8:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] passive checks > > Hi list, > I'm trying to configure a passive check on Nagios for an ATM router with > MPLS VPN VRFs ( to be monitored. > > I configured a service like this: > > define service{ > host_name atm1-mi > service_description MPLS-VRF > is_volatile 1 > active_checks_enabled 0 > passive_checks_enabled 1 > max_check_attempts 1 > normal_check_interval 5 > retry_check_interval 2 > contact_groups admins-SMS > notification_interval 60 > notification_period 24x7 > notification_options w,u,c,r > check_command check_none > } > > I configured snmptrapd to handle Cisco traps and pass them to a perl > script, which calls submit_check_result: > > /usr/lib/nagios/plugins/eventhandlers/submit_check_result atm1-mi > MPLS-VRF $retval $vrf_name > > Here's what is logged in /var/log/nagios/rw/nagios.cmd when VRF goes > down: > > [1120147489] PROCESS_SERVICE_CHECK_RESULT;atm1-mi;MPLS-VRF;2;my_vrf_name > > Yet, nothing is done by Nagios. On the web panle, at Service Detail, i > get: > > Host atm1-mi > MPLS-VRF (P) Pending N/A 0d 21h 8m 1s+ 0/1 Service check > scheduled for > Fri Jul 1 15:13:16 2005 > > It seems that Nagios is not processing passive checks correctly. > Any hint? I'm stuck :-( Do you have passive checks enabled globally in nagios.cfg? accept_passive_service_checks=1 -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcunietti at enter.it Fri Jul 1 17:32:09 2005 From: mcunietti at enter.it (Mariano Cunietti) Date: Fri, 01 Jul 2005 17:32:09 +0200 Subject: passive checks In-Reply-To: References: Message-ID: <1120231929.19849.48.camel@bytecode.enter.it> > Do you have passive checks enabled globally in nagios.cfg? > > accept_passive_service_checks=1 > they're enabled. ------------------------- Mariano Cunietti System Administrator Enter S.r.l. Via Stefanardo da Vimercate, 28 20128 - Milano - Italy Tel. +39 02 25514319 Fax +39 02 25514303 mcunietti at enter.it www.enter.it - www.enterpoint.it --------------------------- Gruppo Y2K - www.gruppoy2k.it ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 1 18:28:10 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Jul 2005 18:28:10 +0200 Subject: ld: 0711-317 ERROR: Undefined symbol: .VA_COPY <-- Can anyone tell me how to fix this???? In-Reply-To: <42C55007.1020800@uky.edu> References: <42C4410A.803@uky.edu> <42C47806.5030607@op5.se> <42C55007.1020800@uky.edu> Message-ID: <42C56F1A.6050302@op5.se> Kenneth Klein wrote: > Thanks for the advice. > > "to the top of the file" <-- which file are you referring to? Makefile? > lib/snprintf.c #undef is a C preprocessor directive, so I thought it was obvious. Sorry about that. > The systems I am working on all run AIX 5.3. I do have Linux (SLES) > running on one partition in one of our 3 p570's, but the AIX LPARs are > the ones I want to monitor. > > Andreas Ericsson wrote: > >> Kenneth Klein wrote: >> >>> I finally got nagios to "make all" and make etc. Then I dl.ed the >>> source for the plugins, I grabbed the latest stable verson. >>> >>> I got this error when I ran make all. >>> >>> ar: Creating an archive file libsnprintf.a. >>> gcc -g -O2 -L. -L/lib -o check_disk check_disk.o utils.o >>> ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf >>> ld: 0711-317 ERROR: Undefined symbol: .VA_COPY >>> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more >>> information. >>> collect2: ld returned 8 exit status >>> make: 1254-004 The error code from the last command is 1. >>> >> >> The configure script seems to not have picked up that your system >> can't handle the VA_COPY macro properly. There are macros for it in >> lib/snprintf.c which can circumvent this. Adding >> #undef HAVE_VA_COPY >> #undef HAVE__VA_COPY >> to the top of the file should at least make the plugins compile, >> although I can't guarantee they won't segfault en masse. That will >> depend on your systems vsprintf() implementation. >> >> If it's at all possible, you should try running Nagios on either Linux >> or *BSD. Older systems doesn't have the asprintf() function and the >> current plugin distribution sadly relies heavily on it being there. >> > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 1 20:04:23 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Jul 2005 20:04:23 +0200 Subject: Exploding check commands batman ... In-Reply-To: <20050701144845.30135.qmail@mullet.softflare.net> References: <20050701055206.GD25733@openfusion.com.au> <20050701115720.18802.qmail@mullet.softflare.net> <42C53E36.7000805@op5.se> <20050701144845.30135.qmail@mullet.softflare.net> Message-ID: <42C585A7.7060900@op5.se> Paul L. Allen wrote: > Andreas Ericsson writes: > >> I'm working on overloading the plugins a bit to support behaviour like >> this. It will require the arguments in the check_command definition to >> be enclosed in quotes (due to how POSIX getopt() works), but will >> otherwise work nicely. > > > Sounds good. > >> I believe it's best left out of Nagios. String mangling is rather >> expensive and error-prone. Checking if(str[0] == 0) from the command >> executed is a fairly simple process. > > > Somewhat more complex for the perl plugins since they generally use > the strict pragma. That's something I'm willing to live with. Most of the plugins that would benefit to any greater extent from overloading are written in C anyways (check_snmp, check_tcp, check_http). > Easy for options which take string arguments and > where the string "0" is never valid or sensible: The string "0" and str[0] = 0 are two quite different things. The second is just an optimized way of writing if(strlen(str) == 0). > $opt_x ||= $opt_x_default; > A little extra work for options which take numeric arguments and where the > numeric value 0 is valid and sensible but some other numeric value is > the default: > $opt_x = $opt_x_default if ($x eq ''); > A bigger problem for numerics if you expect the plugin to cope gracefully > if somebody manages to not pass "" as the argument for the option and the > option is therefore unitialized: Making them cope gracefully is exactly what I meant by making them overloaded. > $opt_x = $opt_x_default if (not defined($x) or $x eq ''); > or: > $opt_x .= '' # ensure $opt_x is initialized with something > $opt_x = $opt_x_default if ($x eq ''); > That's the price you have to pay for asking perl to do run-time checking. > Then again, the GetOpt module shouldn't be letting you get away with > specifying an option that requires an argument without giving an argument, > but I'm sure somebody will find a way. POSIX quite clearly states that empty arguments are still arguments. Any implementation doing otherwise is decidedly broken, even if it errs on the side of prudence. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sudhirmahalein at yahoo.co.uk Fri Jul 1 20:40:48 2005 From: sudhirmahalein at yahoo.co.uk (Sudhir Mahale) Date: Fri, 1 Jul 2005 19:40:48 +0100 (BST) Subject: Notifications not visible for certain days Message-ID: <20050701184048.3008.qmail@web86908.mail.ukl.yahoo.com> Thanks Sivan... checked the disk space, there is more than 50% space available. is it related to the time periods that we define? Thanks, Sudhir ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Fri Jul 1 21:01:44 2005 From: pla at softflare.com (Paul L. Allen) Date: Fri, 01 Jul 2005 20:01:44 +0100 Subject: Exploding check commands batman ... In-Reply-To: <42C585A7.7060900@op5.se> References: <20050701055206.GD25733@openfusion.com.au> <20050701115720.18802.qmail@mullet.softflare.net> <42C53E36.7000805@op5.se> <20050701144845.30135.qmail@mullet.softflare.net> <42C585A7.7060900@op5.se> Message-ID: <20050701190144.18504.qmail@mullet.softflare.net> Andreas Ericsson writes: > Paul L. Allen wrote: >> Easy for options which take string arguments and >> where the string "0" is never valid or sensible: > > The string "0" and str[0] = 0 are two quite different things. In C they are. In perl there are some overlaps between "0", the null string, the number 0 and unitialized variables, depending on what exactly you do with them. Variable is Is defined? Boolean val Num val String val ----------- ----------- -------- ------- ---------- uninitialized NO false 0 null string null string yes false 0 null string number 0 yes false 0 "0" string "0" yes false 0 "0" string "0.0" yes TRUE 0 "0.0" string "00" yes TRUE 0 "00" In strict mode uninitialized variables cannot be used in comparisons. So if somebody does manage to do something that results in a variable holding an option being uninitialized, as opposed to being initialized with the null string, things break. Outside of strict mode an uninitialized variable is false in a boolean context, 0 in a numeric context and the null string in a string context; in strict mode all you can do with an unitialized variable without causing an error is assign to it. That may seem arbitrary and bizarre to you, but generally that behaviour is exactly what you want most of the time in a language where strings that look like numbers can be used as numbers and numbers can be used as strings. $x = "5"; $x++; print "$x\n"; print "The value is $x\n"; $x = "The value is $x"; print "$x\n"; gives the number 6 as the first output (and $x is now stored as a number rather than a string), 'The value is 6' as the second output (and $x is still stored as as number), the third output is the same but now $x is now stored as a string again. On the other hand, $x = 'five'; $x++; print "$x\n"; gives an answer of one (the string 'five', when evaluated as a number, is equivalent to 0). But $x = '5 four three two 1'; $x++; print "$x\n"; Gives 6 as the answer. Perl takes as much as it can from the start of the string that looks like a number and uses it that way. So 0 and "0" are both false if used as a boolean, because you expect 0 to be false; 0 and "0" are both zero when used as numerics, because you expect 0 to be zero; and both "0" when used as strings, because you expect that as well. Admittedly, it would get very confusing if it were not for perl having different operators for manipulating numbers and string: $x = '0'; $y = 0; $z = '7'; print "$x$y$z\n"; print $x + $y + $z, "\n"; gives '007' for the first answer and 7 for the second. It does make sense. Sort of. Once you get used to it. Where perl gets truly bizarre is that you can do $x = 'perl'; $x++; print "$x\n"; and the output is 'perm', provided you didn't use $x as a string between defining it and the increment, and it only works with auto-increments. There's a reason for all that too, and it's not so you can make hair jokes about perl. > POSIX quite clearly states that empty arguments are still arguments. Any > implementation doing otherwise is decidedly broken, even if it errs on the > side of prudence. There's a difference between the null string and being uninitialized. check_foo -x '' Means $opt_x contains the null string. check_foo -x IF you can somehow sneak it past the shell and the GetOpt module (or whatever method the plugin uses) could conceivably result in $opt_x being undefined, unless something takes steps to ensure otherwise. And that would result in comparisons causing output to standard error and returning what will almost certainly be an incorrect status code for the situation. This situation happens in perl plugins that parse output using regular expressions when they encounter output the author didn't expect. One or more variables are left undefined because the output doesn't match a regex, the variable is used in a comparison and bang (the 1.3.1 check_ntp comes to mind). -- Paul Allen Softflare Support ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 1 21:28:45 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Jul 2005 21:28:45 +0200 Subject: Exploding check commands batman ... In-Reply-To: <20050701190144.18504.qmail@mullet.softflare.net> References: <20050701055206.GD25733@openfusion.com.au> <20050701115720.18802.qmail@mullet.softflare.net> <42C53E36.7000805@op5.se> <20050701144845.30135.qmail@mullet.softflare.net> <42C585A7.7060900@op5.se> <20050701190144.18504.qmail@mullet.softflare.net> Message-ID: <42C5996D.60902@op5.se> Paul L. Allen wrote: > Andreas Ericsson writes: > >> Paul L. Allen wrote: > > >>> Easy for options which take string arguments and >>> where the string "0" is never valid or sensible: >> >> >> The string "0" and str[0] = 0 are two quite different things. > > > In C they are. In perl there are some overlaps between "0", the > null string, the number 0 and unitialized variables, depending on what > exactly you do with them. > Variable is Is defined? Boolean val Num val String val > ----------- ----------- -------- ------- ---------- > uninitialized NO false 0 null string > null string yes false 0 null string > number 0 yes false 0 "0" > string "0" yes false 0 "0" Note that all boolean values here are false. It gets important further down. > string "0.0" yes TRUE 0 "0.0" > string "00" yes TRUE 0 "00" These are no longer null-strings in any sense, so they aren't very interesting. > In strict mode uninitialized variables cannot be used in comparisons. > So if somebody does manage to do something that results in a variable > holding an option being uninitialized, as opposed to being initialized > with the null string, This won't be possible. I was thinking along the lines of this; command_name check_foo_command command_line check_foo -H $HOSTADDRESS$ -C "$ARG1$" -p "$ARG2$" Where check_foo is a plugin written in perl that checks something via SNMP. It's reasonable to assume that most will want to give the community as an argument from the service-object, while most want to use the default port. Nagios will translate all 32 $ARGx$ macros even if some aren't set (which is a bit weird, but useful for this purpose) and simply remove the macro-tags since their counterparts will be NULL pointers (as opposed to null strings). So, the resulting command turns out to check_foo -H host -C bar -p "" which means the imaginary variable $port will be set to the null-string and thus it will be defined but will evaluate to false when being evaluated as a boolean expression, as it would have if it wasn't specified at all. The -H argument in this case is not "overloadable" because it doesn't makes sense to have it that way considering how Nagios does things. > things break. Outside of strict mode an > uninitialized variable is false in a boolean context, 0 in a numeric > context and the null string in a string context; in strict mode all you > can do with an unitialized variable without causing an error is assign > to it. Which is why the simple approach to make perl-scripts overloaded is to apply defaults after getopt parsing and conditionally of a boolean evaluation. > >> POSIX quite clearly states that empty arguments are still arguments. >> Any implementation doing otherwise is decidedly broken, even if it >> errs on the side of prudence. > > > There's a difference between the null string and being uninitialized. > check_foo -x '' This is how it will be used, as explained above. > Means $opt_x contains the null string. > check_foo -x > IF you can somehow sneak it past the shell and the GetOpt module The shell will handle it, along with Nagios' macro replacement code. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Fri Jul 1 22:30:26 2005 From: pla at softflare.com (Paul L. Allen) Date: Fri, 01 Jul 2005 21:30:26 +0100 Subject: Exploding check commands batman ... In-Reply-To: <42C5996D.60902@op5.se> References: <20050701055206.GD25733@openfusion.com.au> <20050701115720.18802.qmail@mullet.softflare.net> <42C53E36.7000805@op5.se> <20050701144845.30135.qmail@mullet.softflare.net> <42C585A7.7060900@op5.se> <20050701190144.18504.qmail@mullet.softflare.net> <42C5996D.60902@op5.se> Message-ID: <20050701203026.5068.qmail@mullet.softflare.net> Andreas Ericsson writes: > Paul L. Allen wrote: >> Variable is Is defined? Boolean val Num val String val >> ----------- ----------- -------- ------- ---------- >> uninitialized NO false 0 null string >> null string yes false 0 null string >> number 0 yes false 0 "0" >> string "0" yes false 0 "0" > > > Note that all boolean values here are false. Outside of strict mode they are all false. Inside strict mode, which the plugin guidelines encourage, the boolean value of an uninitialized variable is "fatal error." >> string "0.0" yes TRUE 0 "0.0" >> string "00" yes TRUE 0 "00" > > These are no longer null-strings in any sense, so they aren't very > interesting. They are not null strings, but they do have the numeric value zero yet have a different boolean value than either 0 or '0'. A potential cause of surprises because a simple $opt_x = 20 unless ($opt_x) is going to behave differently from $opt_x ||= 20 if the plugin is given -x 0.0 or -x 00. Usually perl's implicit type conversions help you, but sometimes they turn around and bite you. >> In strict mode uninitialized variables cannot be used in comparisons. >> So if somebody does manage to do something that results in a variable >> holding an option being uninitialized, as opposed to being initialized >> with the null string, > > This won't be possible. If you're absolutely certain it won't be possible, then there no need to cope with that situation other than being paranoid about coding defensively. > I was thinking along the lines of this; > > command_name check_foo_command > command_line check_foo -H $HOSTADDRESS$ -C "$ARG1$" -p "$ARG2$" Of course this has problems when the community string is 'foo"bar', so Nagios will have to do some escaping before calling plugins. But I'm sure you already thought of that. > So, the resulting command turns out to > > check_foo -H host -C bar -p "" > > which means the imaginary variable $port will be set to the null-string > and thus it will be defined but will evaluate to false when being > evaluated as a boolean expression, as it would have if it wasn't specified > at all. That should probably work, modulo embedded double quotes. But people are surprisingly inventive and the GetOpt module has some strange twists and turns in it that probably haven't been fully verified for correctness, so it's conceivable that certain input could result in unitialized variables. Which is why I'd probably code a plugin defensively, just to be on the safe side. -- Paul Allen Softflare Support ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ddunham at taos.com Fri Jul 1 22:43:35 2005 From: ddunham at taos.com (Darren Dunham) Date: Fri, 1 Jul 2005 13:43:35 -0700 (PDT) Subject: Exploding check commands batman ... In-Reply-To: <20050701190144.18504.qmail@mullet.softflare.net> from "Paul L. Allen" at Jul 01, 2005 08:01:44 PM References: <20050701190144.18504.qmail@mullet.softflare.net> Message-ID: <200507012043.NAA28126@redwood.taos.com> > In strict mode uninitialized variables cannot be used in comparisons. > So if somebody does manage to do something that results in a variable > holding an option being uninitialized, as opposed to being initialized > with the null string, things break. Outside of strict mode an > uninitialized variable is false in a boolean context, 0 in a numeric > context and the null string in a string context; in strict mode all you > can do with an unitialized variable without causing an error is assign > to it. Perl's strict deals with "compile time" issues like lexical scoping (declaration rather than initialization). It doesn't do anything with run time issues like undefined variables. That would be noticed by warnings, not strict. It certainly doesn't preclude comparisons with the undefined value or uninitialized variables. In no case is it an error. $ perl -le 'use strict;my $v;if(5==$v){print "equal"}else{print "not equal";}' not equal $ perl -le 'use warnings;my $v;if(5==$v){print "equal"}else{print "not equal";}' Use of uninitialized value in numeric eq (==) at -e line 1. not equal -- Darren Dunham ddunham at taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From efinleywork at efinley.com Fri Jul 1 22:47:16 2005 From: efinleywork at efinley.com (Elliot Finley) Date: Fri, 1 Jul 2005 14:47:16 -0600 Subject: Exploding check commands batman ... References: <20050701055206.GD25733@openfusion.com.au> <20050701115720.18802.qmail@mullet.softflare.net> <42C53E36.7000805@op5.se> <20050701144845.30135.qmail@mullet.softflare.net> <42C585A7.7060900@op5.se> <20050701190144.18504.qmail@mullet.softflare.net> Message-ID: <08b001c57e7e$111d0220$37cba1cd@emerytelcom.com> ----- Original Message ----- From: "Paul L. Allen" > On the other hand, > > $x = 'five'; > $x++; > print "$x\n"; > > gives an answer of one (the string 'five', when evaluated as a number, > is equivalent to 0). > > $x = 'perl'; > $x++; > print "$x\n"; > > and the output is 'perm', provided you didn't use $x as a string between > defining it and the increment, and it only works with auto-increments. > There's a reason for all that too, and it's not so you can make hair > jokes about perl. Why would these two cases be different? Elliot ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Fri Jul 1 22:57:20 2005 From: pla at softflare.com (Paul L. Allen) Date: Fri, 01 Jul 2005 21:57:20 +0100 Subject: Exploding check commands batman ... In-Reply-To: <200507012043.NAA28126@redwood.taos.com> References: <200507012043.NAA28126@redwood.taos.com> Message-ID: <20050701205720.16568.qmail@mullet.softflare.net> Darren Dunham writes: >> In strict mode uninitialized variables cannot be used in comparisons. >> So if somebody does manage to do something that results in a variable >> holding an option being uninitialized, as opposed to being initialized >> with the null string, things break. Outside of strict mode an >> uninitialized variable is false in a boolean context, 0 in a numeric >> context and the null string in a string context; in strict mode all you >> can do with an unitialized variable without causing an error is assign >> to it. > > Perl's strict deals with "compile time" issues like lexical scoping > (declaration rather than initialization). It doesn't do anything with > run time issues like undefined variables. That would be noticed by > warnings, not strict. Ooops, you're right. My error. I did tests with both to simulate a typical plugin. I don't use either strict or -w often enough for which is responsible for which headaches to make it reliably into my memory (most of the perl I write is one-off, fix up this immediate problem, won't be run by anybody but me). > It certainly doesn't preclude comparisons with the undefined value or > uninitialized variables. In no case is it an error. Add -w and it is a warning - enough usually to mess up your day with a plugin because the variable being undefined when it shouldn't have been usually causes it to bomb out with an error. Thanks for the correction. -- Paul Allen Softflare Support ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludo.Bosmans at aureusim.be Fri Jul 1 23:13:47 2005 From: Ludo.Bosmans at aureusim.be (Ludo Bosmans) Date: Fri, 1 Jul 2005 23:13:47 +0200 Subject: Notifications not visible for certain days Message-ID: <02769B432700E649B14C0847840DC83B02F0A6@becompanysrv020.consulting.becompany> Sudhir, Was there an adjustment of the system time on your nagios server ? When system time is adapted and time is stepped back, this cause strange results. Convert the epoch date in the two archives files to spit it out. To avoid such problems, sync your nagios server clock with xntpd. kind regards, ludo ________________________________ Van: nagios-users-admin at lists.sourceforge.net namens Sudhir Mahale Verzonden: vr 1/07/2005 15:43 Aan: nagios-users at lists.sourceforge.net Onderwerp: [Nagios-users] Notifications not visible for certain days All, I am running Nagios 1.2 and am facing this problem in vieiwing notifications for particular days. I do not see any notifications for particular days. During the day I see notifications being recorded. But the next day, after the log rotation the notifications disappear.If i go to Notifications => Earlier archive in the web interface, I see the message "No notifications have been recorded in this archived log file" I checked the var/archives and found that for the days that notifications are missing we have two archive files, for example one nagios-06-30-2005-00.log and the other nagios-06-30-2005-23.log For the days that we see the notifications, only one archive file , for example nagios-06-29-2005-00.log is seen Any help will be greatly appreciated. I use "24x7" for all my servers and "test" for one of the test boxes Thanks, Sudhir Note:- My time periods definition looks like this # '24x7' timeperiod definition define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 08:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-20:00 } # 'test' timeperiod definition define timeperiod{ timeperiod_name test_ftmfedora alias Test time period for ftmfedora sunday 08:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-22:20 friday 00:00-22:20 saturday 00:00-20:00 } # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias "Normal" Working Hours monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday 09:00-17:00 friday 09:00-17:00 } # 'nonworkhours' timeperiod definition define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday 00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday 00:00-24:00 } # 'none' timeperiod definition define timeperiod{ timeperiod_name none alias No Time Is A Good Time } ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ae at op5.se Sat Jul 2 02:18:38 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 02 Jul 2005 02:18:38 +0200 Subject: Exploding check commands batman ... In-Reply-To: <20050701203026.5068.qmail@mullet.softflare.net> References: <20050701055206.GD25733@openfusion.com.au> <20050701115720.18802.qmail@mullet.softflare.net> <42C53E36.7000805@op5.se> <20050701144845.30135.qmail@mullet.softflare.net> <42C585A7.7060900@op5.se> <20050701190144.18504.qmail@mullet.softflare.net> <42C5996D.60902@op5.se> <20050701203026.5068.qmail@mullet.softflare.net> Message-ID: <42C5DD5E.3090904@op5.se> Paul L. Allen wrote: > Andreas Ericsson writes: > >> Paul L. Allen wrote: > > >>> Variable is Is defined? Boolean val Num val String val >>> ----------- ----------- -------- ------- ---------- >>> uninitialized NO false 0 null string >>> null string yes false 0 null string >>> number 0 yes false 0 "0" >>> string "0" yes false 0 "0" >> >> >> >> Note that all boolean values here are false. > > > Outside of strict mode they are all false. Inside strict mode, which > the plugin guidelines encourage, the boolean value of an uninitialized > variable is "fatal error." > >>> string "0.0" yes TRUE 0 "0.0" >>> string "00" yes TRUE 0 "00" >> >> >> These are no longer null-strings in any sense, so they aren't very >> interesting. > > > They are not null strings, but they do have the numeric value zero yet > have a different boolean value than either 0 or '0'. How on earth does that matter when the string initializing them will either be a null-string or perhaps not a null-string? I don't think you quite understand what I mean here. >>> In strict mode uninitialized variables cannot be used in comparisons. >>> So if somebody does manage to do something that results in a variable >>> holding an option being uninitialized, as opposed to being initialized >>> with the null string, >> >> >> This won't be possible. > > > If you're absolutely certain it won't be possible, then there no need > to cope with that situation other than being paranoid about coding > defensively. > >> I was thinking along the lines of this; >> command_name check_foo_command >> command_line check_foo -H $HOSTADDRESS$ -C "$ARG1$" -p "$ARG2$" > > > Of course this has problems when the community string is 'foo"bar', so > Nagios will have to do some escaping before calling plugins. But I'm > sure you already thought of that. > Naturally. That community string would fail with the current code and there's no sane way of making it pass (short of escaping it manually, which is what one needs to do today anyway). The thing I'm suggesting won't break something that's working today. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Sat Jul 2 14:22:15 2005 From: james at lovedthanlost.net (James Turnbull) Date: Sat, 02 Jul 2005 22:22:15 +1000 Subject: Nagios CGIs and CGIWrap Message-ID: <42C686F7.3010506@lovedthanlost.net> Hi The Nagios documentation mentions running the CGIs with CGIWrap as an option for increased security. Is anyone out there doing that and if so would care to share a brief explanation of how their configuration works or samples of their configuration files? Thanks James Turnbull -- James Turnbull --- Author of Hardening Linux from Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin at openfusion.com.au Sun Jul 3 00:42:51 2005 From: gavin at openfusion.com.au (Gavin Carr) Date: Sun, 3 Jul 2005 08:42:51 +1000 Subject: Exploding check commands batman ... In-Reply-To: <42C5996D.60902@op5.se> References: <20050701055206.GD25733@openfusion.com.au> <20050701115720.18802.qmail@mullet.softflare.net> <42C53E36.7000805@op5.se> <20050701144845.30135.qmail@mullet.softflare.net> <42C585A7.7060900@op5.se> <20050701190144.18504.qmail@mullet.softflare.net> <42C5996D.60902@op5.se> Message-ID: <20050702224251.GA27937@openfusion.com.au> On Fri, Jul 01, 2005 at 09:28:45PM +0200, Andreas Ericsson wrote: > I was thinking along the lines of this; > > command_name check_foo_command > command_line check_foo -H $HOSTADDRESS$ -C "$ARG1$" -p "$ARG2$" > > Where check_foo is a plugin written in perl that checks something via > SNMP. It's reasonable to assume that most will want to give the > community as an argument from the service-object, while most want to use > the default port. > > Nagios will translate all 32 $ARGx$ macros even if some aren't set > (which is a bit weird, but useful for this purpose) and simply remove > the macro-tags since their counterparts will be NULL pointers (as > opposed to null strings). > > So, the resulting command turns out to > > check_foo -H host -C bar -p "" > > which means the imaginary variable $port will be set to the null-string > and thus it will be defined but will evaluate to false when being > evaluated as a boolean expression, as it would have if it wasn't > specified at all. That's a nice idea Andreas. So are you adding the boolean testing to the current nagios plugin infrastructure? The only real negative is that you're then likely to use check commands with more options, and because we're using positional arguments you're likely to end up with lots of empty placeholders e.g. check_command check_http!/foo/bar.html!!!!!404 etc. A nasty example of this is things like check_by_ssh checks, where your arguments are typically on the inner command rather than the other check_by_ssh one e.g. command_line $USER1$/check_by_ssh -4 -H $HOSTADDRESS$ -t 20 -C '/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -l' command_line $USER1$/check_by_ssh -4 -H $HOSTADDRESS$ -t 20 -C '/usr/lib/nagios/plugins/check_swap -w $ARG1$ -c $ARG2$' I've got 10 or so of these tests defined, and now have a host that is listening on a non-standard ssh port. Adding a '-p "$ARG1$"' to the check_by_ssh is doable, of course, but it necessitates an empty first argument for all test on hosts with standard ssh ports, which is a bit ugly too. Anyone think of an elegant way to handle this? Cheers, Gavin ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sun Jul 3 01:40:05 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 03 Jul 2005 01:40:05 +0200 Subject: Exploding check commands batman ... In-Reply-To: <20050702224251.GA27937@openfusion.com.au> References: <20050701055206.GD25733@openfusion.com.au> <20050701115720.18802.qmail@mullet.softflare.net> <42C53E36.7000805@op5.se> <20050701144845.30135.qmail@mullet.softflare.net> <42C585A7.7060900@op5.se> <20050701190144.18504.qmail@mullet.softflare.net> <42C5996D.60902@op5.se> <20050702224251.GA27937@openfusion.com.au> Message-ID: <42C725D5.8060701@op5.se> Gavin Carr wrote: > On Fri, Jul 01, 2005 at 09:28:45PM +0200, Andreas Ericsson wrote: > >>I was thinking along the lines of this; >> >>command_name check_foo_command >>command_line check_foo -H $HOSTADDRESS$ -C "$ARG1$" -p "$ARG2$" >> >>Where check_foo is a plugin written in perl that checks something via >>SNMP. It's reasonable to assume that most will want to give the >>community as an argument from the service-object, while most want to use >>the default port. >> >>Nagios will translate all 32 $ARGx$ macros even if some aren't set >>(which is a bit weird, but useful for this purpose) and simply remove >>the macro-tags since their counterparts will be NULL pointers (as >>opposed to null strings). >> >>So, the resulting command turns out to >> >>check_foo -H host -C bar -p "" >> >>which means the imaginary variable $port will be set to the null-string >>and thus it will be defined but will evaluate to false when being >>evaluated as a boolean expression, as it would have if it wasn't >>specified at all. > > > That's a nice idea Andreas. So are you adding the boolean testing to the > current nagios plugin infrastructure? > To my fork of it, actually. Perhaps it'll be the default branch some day (I certainly hope so). I've long since given up juggling the 30 or so patches I had to match the latest CVS. > The only real negative is that you're then likely to use check commands > with more options, and because we're using positional arguments you're > likely to end up with lots of empty placeholders e.g. > > check_command check_http!/foo/bar.html!!!!!404 > > etc. > > A nasty example of this is things like check_by_ssh checks, where your > arguments are typically on the inner command rather than the other > check_by_ssh one e.g. > For check_by_ssh and friends which in turn execute other plugins it's most likely preferrable to not use overloaded plugins, because the diversity is too great. For some plugins the syntax needs to be changed somewhat. check_http should for instance be capable of understanding 10.0.0.1/foobar as a hostaddress with a url attached which would make things a bit easier (as well as more obvious). > command_line $USER1$/check_by_ssh -4 -H $HOSTADDRESS$ -t 20 -C '/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -l' > command_line $USER1$/check_by_ssh -4 -H $HOSTADDRESS$ -t 20 -C '/usr/lib/nagios/plugins/check_swap -w $ARG1$ -c $ARG2$' > > I've got 10 or so of these tests defined, and now have a host that is > listening on a non-standard ssh port. Adding a '-p "$ARG1$"' to the > check_by_ssh is doable, of course, but it necessitates an empty first > argument for all test on hosts with standard ssh ports, which is a bit > ugly too. > > Anyone think of an elegant way to handle this? > Put optional and less used arguments last in the command definition. You obviously wouldn't want port to be the sixth argument to generic check_tcp, since it's required when not using one of the symlinks. I'm not looking to removing the need for multiple commands altogether. I just want to improve things a bit so users have more flexibility, that's all. For true overloading one would have to implement parsing in nagios and a more complex syntax. I'm not sure that would help very many people. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Mon Jul 4 07:41:19 2005 From: brian.murphy at gmx.net (Brian Murphy) Date: Mon, 4 Jul 2005 07:41:19 +0200 (MEST) Subject: =?ISO-8859-1?Q?Nagios_and_apan,_rrdtool_in_iplanet_webserver?= Message-ID: <4861.1120455679@www84.gmx.net> Hello List Has anyone out there got nagios/apan running in an Iplanet enviroment? Specifically the generate.cgi, which writes the rrdtool output to stdout when called, does not result in a graph being displayed. Using the command lines from the apancgi.debug file I can generate graphs if I redirect stout to a file (via >xxx.png) or by replacing the "-" with a filename Any ideas welcome Brian -- Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sivan.deray at net-aptitude.fr Mon Jul 4 10:46:51 2005 From: sivan.deray at net-aptitude.fr (Sivan DERAY) Date: Mon, 4 Jul 2005 10:46:51 +0200 Subject: - plugin to check file system writeable ? Message-ID: <4E13BD0442DACA4D9606CAD98924F09A45D025@srv-nap-atlas-1.net-aptitude.fr> hi, Is there a way to check if the file sytem is writeable ? (windows & linux) ? Thanks for help Sivan DERAY Ing?nieur S?curit? NET APTITUDE S.A.S. 215 rue Jean-Jacques Rousseau 92130 ISSY LES MOULINEAUX Mobile : 06 15 30 73 67 T?l?phone : 01 41 09 77 71 Fax : 01 41 09 77 78 Site Internet http://www.net-aptitude.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logo.JPG Type: image/jpeg Size: 2335 bytes Desc: logo.JPG URL: From Philipp.Sand at sycor.de Mon Jul 4 11:01:00 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 4 Jul 2005 11:01:00 +0200 Subject: Scheduled Downtime Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9B66@SYGOMAIL.GOE.AD.SYCOR.DE> Hello, is it possible to schedule a downtime for an event in the past? For example: in our SLAs we affirm a availability of 98%. But if there is a Router down because of let's say an Cisco IOS Bug, or something, we couldn't foreknow, this Downtime shouldn't affect our affirmed 98%. But because we couldn't foreknow this fault, we couldn't plan a scheduled downtime before. In cases like this it would be great to plan a scheduled downtime for the past. There has to be a possibility for doing that. I know, that Nagios uses the archived Nagios logfiles to generate the availability reports. What do you have to modify in them to plan such a downtime? Has anyone already done something like this? Thanks in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jul 4 11:30:36 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Jul 2005 11:30:36 +0200 Subject: Scheduled Downtime In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9B66@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9B66@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <42C901BC.9000407@op5.se> Sand Philipp wrote: > Hello, > > is it possible to schedule a downtime for an event in the past? It wouldn't make much sense to do that, would it? Downtime reflects KNOWN downtime. If you've forgotten to add it, it won't do much good. > For > example: in our SLAs we affirm a availability of 98%. But if there is > a Router down because of let's say an Cisco IOS Bug, or something, we > couldn't foreknow, this Downtime shouldn't affect our affirmed 98%. You can hack the logfiles manually, I suppose. > But because we couldn't foreknow this fault, we couldn't plan a > scheduled downtime before. In cases like this it would be great to > plan a scheduled downtime for the past. > > There has to be a possibility for doing that. I know, that Nagios > uses the archived Nagios logfiles to generate the availability > reports. What do you have to modify in them to plan such a downtime? RAFO (Read And Find Out). Schedule downtime with some arbitrary message that you can grep for in the logfiles. grep for it and find out what the syntax is. I've never bothered with it myself. > Has anyone already done something like this? > Probably not. It's a weird sort of thing to want to have. Better then to have a paragraph in the report you send to your customers; "This many hours (this many %) of the aforementioned downtime was caused by issues out of our control, such as bugs in Cisco IOS". If I were your customer, I'd tell you to go stuff it however. The reason the SLA responsibility is never 100% is that things out of the providers control sometimes happen. If you take those mishaps away, the only downtime you can cause is when you've fucked up one way or another (assuming you have some time for patches and upgrades which aren't inside the hours you promise uptime for). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ralf.prengel at comline.de Mon Jul 4 13:21:28 2005 From: ralf.prengel at comline.de (Ralf Prengel) Date: Mon, 04 Jul 2005 13:21:28 +0200 Subject: ho to inform a person without using groups Message-ID: <42C91BB8.5050409@comline.de> I ve to organise the following: 5 Systems, to configure a notifaction for a system-managemt-group is no problem but there are 5 different admins (one for each system) who should be informed too. Is there a way to configure a person for one system ore is the only way to define an own group for each person. Thanks for hints ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Evert.Goor at benp.nl Mon Jul 4 14:52:39 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Mon, 4 Jul 2005 14:52:39 +0200 Subject: Nagios_grapher Message-ID: <19CCC8E70E4FA941848269F0C5D832CC898727@post.systems.nl> Hi all Is there a somewhere a forum about Nagios Grapher. Having some fights to get it running under RedHat Tanx Evert Goor -------------- next part -------------- An HTML attachment was scrubbed... URL: From idavidso at juniper.net Mon Jul 4 17:05:23 2005 From: idavidso at juniper.net (Ian Davidson) Date: Mon, 04 Jul 2005 16:05:23 +0100 Subject: Service alerts misinterpreted Message-ID: The 3x service alerts which are nsca'd to the central server are: SERVICE ALERT: emea-cns3;check-halo-service;CRITICAL;SOFT;1; Halo: Stopped SERVICE ALERT: emea-cns3;check-halo-service;CRITICAL;SOFT;2; Halo: Stopped SERVICE ALERT: emea-cns3;check-halo-service;CRITICAL;HARD;3; Halo: Stopped But in the nagios.log file, these are interpreted as: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;emea-cns3;check-halo-service;2; Halo: Stopped EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;emea-cns3;check-halo-service;2; Halo: Stopped EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;emea-cns3;check-halo-service;2; Halo: Stopped Why!!! How are these being misunderstood? Cheers, -- Ian Davidson Corporate Network Services Juniper Networks Tel: +44-1372-385653 GSM: +44-7952-173703 "Chaos, panic & disorder - my work here is done." ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Mon Jul 4 19:57:03 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Mon, 4 Jul 2005 10:57:03 -0700 Subject: Nagios_grapher Message-ID: <59B15593F41BD24591D59436E7226EAD021A366D@Khiphx2.khimetrics.com> There isn't a forum I've seen, although I've installed it and have it running on RHES3. What's the problem? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Evert Goor Sent: Monday, July 04, 2005 5:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios_grapher Hi all Is there a somewhere a forum about Nagios Grapher. Having some fights to get it running under RedHat Tanx Evert Goor ________________________________ Disclaimer B&P Computersystems BV The information contained in this e-mail message is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender as soon as possible. B+P Computersystems bv is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From noyler at khimetrics.com Mon Jul 4 20:04:27 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Mon, 4 Jul 2005 11:04:27 -0700 Subject: Using perfdata to read log files. Message-ID: <59B15593F41BD24591D59436E7226EAD021A366E@Khiphx2.khimetrics.com> I have Nagios Grapher installed, and it's a nice tool. I am using Nagios 2b3. Since I already have graphing of several difference services, I was thinking about how to get the data from a tomcat statistics logfile into nagios, so that I can wrap everything up into one nice tool to manage it with. I was thinking I could write a perl plugin to parse the logfile, and then send back information as perfdata to send to Nagios, which would then be sent to Nagios Grapher. Has anyone done this, suggest against it for any particular reason, any other thoughts? The logfiles are created with dates for when they were started, and statistics are created on the hour. I was thinking about marking each one that's been taken, and calling an event handler if there are any left. Incase for some reason Nagios doesn't run the check when there's new data. Maybe making the check an OK unless there are no files in the intended directory in which case it would give a warning. Any suggestions would be appreciated. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at aidworld.org Mon Jul 4 20:09:03 2005 From: chris at aidworld.org (Chris Wilson) Date: Mon, 04 Jul 2005 19:09:03 +0100 Subject: avail.cgi incorrect statistics Message-ID: <1120500543.25695.6.camel@localhost> Hi all, I'm concerned about the accuracy of the statistics reported by avail.cgi, compared to the actual log contents and the history.cgi report. I have saved exmaple outputs from both which demonstrate the problem, but the HTML files are quite large so I have posted them here: avail.cgi: http://dev.aidworld.org:81/virt2.loband.org-google-avail.html history.cgi: http://dev.aidworld.org:81/virt2.loband.org-google-history.html The report from avail.cgi shows an 18 hour downtime period, from 30-06-2005 16:00:53 to 01-07-2005 10:33:21: SERVICE CRITICAL (Network is unreachable). However, the history shows that the downtime was only 12 minutes: [30-06-2005 16:00:53] SERVICE ALERT: virt2.loband.org;filter www.google.co.uk;CRITICAL;HARD;1;Network is unreachable [30-06-2005 16:10:54] SERVICE ALERT: virt2.loband.org;filter www.google.co.uk;WARNING;SOFT;1;HTTP problem: HTTP/1.1 200 OK - 13.370 second response time [30-06-2005 16:12:12] SERVICE ALERT: virt2.loband.org;filter www.google.co.uk;OK;SOFT;2;HTTP ok: HTTP/1.1 200 OK - 0.205 second response time It seems that avail.cgi counted from the start of downtime until the next Nagios restart, ignoring the fact that the service came back up. This makes the very nice-looking and potentially useful availability reports, completely useless to me, as I can't trust the figures at all. Does anyone have any ideas? Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niceforums at yahoo.com Mon Jul 4 21:02:36 2005 From: niceforums at yahoo.com (h d) Date: Mon, 4 Jul 2005 12:02:36 -0700 (PDT) Subject: internal server error and cgi problem ! Message-ID: <20050704190236.26087.qmail@web30105.mail.mud.yahoo.com> i changed the OS version from red hat9 to redhat AS , i'm going to install nagios 1.2 on this new OS, i added required lines to httpd.conf file but i 've get " internal server error " these lines are written in errorlog file of web server : " permission denied : exec of '/usr/local/nagios/sbin/status.cgi ' failed ....." . it means it can't execute cgi scripts? would you guide me ? nagios 1.2 worked well on redhat 9 . what i added to httpd.conf are these : for CGIs : scriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all and for html : Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holgilein at woosh.co.nz Mon Jul 4 21:29:18 2005 From: holgilein at woosh.co.nz (Holger (Woosh)) Date: Tue, 05 Jul 2005 07:29:18 +1200 Subject: Perfdata invocation problem Message-ID: <42C98E0E.102@woosh.co.nz> Hi Nagios list, I am trying to integrate Nagiosgraph into Nagios to store perfdata in RRD files, but for some unknown reason the nagiosgraph insert.pl script never gets called (no entries in its log file). What I currently use is: Nagios 2.0.3b Nagiosgraph 0.5 In nagios.conf I have activated perfdata processing like so: process_performance_data=1 service_perfdata_command=process-service-perfdata Within my appropriate service I have activated perfdata processing: process_perf_data 1 And misccommands contains: define command { command_name process-service-perfdata command_line /usr/local/nagios/nagiosgraph/insert.pl "$LASTSERVICECHECK$ ||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" } Any ideas what I am doing wrong? Many thanks in advance, Holger ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spoon at triparish.net Mon Jul 4 21:38:08 2005 From: spoon at triparish.net (Ed Spoon) Date: Mon, 4 Jul 2005 14:38:08 -0500 Subject: Qmail-inject command In-Reply-To: <20050704190236.26087.qmail@web30105.mail.mud.yahoo.com> References: <20050704190236.26087.qmail@web30105.mail.mud.yahoo.com> Message-ID: <4404pq$155dit6@mxip18a.cluster1.charter.net> Could someone post the command_line for using qmail to do 'notify-by-email' Thanks ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Evert.Goor at benp.nl Mon Jul 4 21:43:12 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Mon, 4 Jul 2005 21:43:12 +0200 Subject: Nagios_grapher Message-ID: <19CCC8E70E4FA941848269F0C5D832CC58A473@post.systems.nl> Hi After following the installation instruction by the letter. And installing the debian deamon script. I try to start the deamon. But no proces. Later i start ./collect2.pl -v to see what happens and it just tells me can not open log file. Checked for the permissions try to make by hand a log file and more of these things. Still the same error. got a litle stuck how to go further. Al input how to solve this would be handy. Tanx Evert Goor ----Original Message---- From: Nathan Oyler Sent: 04/07/05 20:00 To: Evert Goor ; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios_grapher -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There isn't a forum I've seen, although I've installed it and have it running on RHES3. What's the problem? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Evert Goor Sent: Monday, July 04, 2005 5:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios_grapher Hi all Is there a somewhere a forum about Nagios Grapher. Having some fights to get it running under RedHat Tanx Evert Goor ________________________________ Disclaimer B&P Computersystems BV The information contained in this e-mail message is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender as soon as possible. B+P Computersystems bv is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ________________________________ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jul 5 01:34:56 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 05 Jul 2005 01:34:56 +0200 Subject: Service alerts misinterpreted In-Reply-To: References: Message-ID: <42C9C7A0.4090109@op5.se> Ian Davidson wrote: > The 3x service alerts which are nsca'd to the central server are: > > SERVICE ALERT: emea-cns3;check-halo-service;CRITICAL;SOFT;1; Halo: Stopped > SERVICE ALERT: emea-cns3;check-halo-service;CRITICAL;SOFT;2; Halo: Stopped > SERVICE ALERT: emea-cns3;check-halo-service;CRITICAL;HARD;3; Halo: Stopped > > > But in the nagios.log file, these are interpreted as: > > EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;emea-cns3;check-halo-service;2; Halo: Stopped > EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;emea-cns3;check-halo-service;2; Halo: Stopped > EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;emea-cns3;check-halo-service;2; Halo: Stopped > > > Why!!! Because nagios doesn't log exactly what's sent into the pipe. > How are these being misunderstood? > They aren't. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jul 5 01:38:16 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 05 Jul 2005 01:38:16 +0200 Subject: internal server error and cgi problem ! In-Reply-To: <20050704190236.26087.qmail@web30105.mail.mud.yahoo.com> References: <20050704190236.26087.qmail@web30105.mail.mud.yahoo.com> Message-ID: <42C9C868.2090508@op5.se> h d wrote: > i changed the OS version from red hat9 to redhat AS , > i'm going to install nagios 1.2 on this new OS, > i added required lines to httpd.conf file but i 've > get " internal server error " > these lines are written in errorlog file of web server > : > > " permission denied : exec of > '/usr/local/nagios/sbin/status.cgi ' failed ....." . > it means it can't execute cgi scripts? > would you guide me ? > Read the list archives. This is SELinux related and has been answered about 60 times over the past 3 months. > > nagios 1.2 worked well on redhat 9 . > RH9 didn't have SELinux. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Jul 5 05:03:18 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 5 Jul 2005 15:03:18 +1200 Subject: nsclient memory check? Message-ID: <00c101c5810e$18212dc0$01fea8c0@itss.auckland.ac.nz> Can anyone confirm for me just exactly what is being checked by the NSClient 'MEMUSE' check? (Currently using pNSclient v2.0.1) I always assumed that it represented the Total and Available virtual memory, which was then used to calculate percentage. However, this no longer seems to match observations. As far as I can tell it seems to be returning the page file available and used space, which is a bit odd. It doesn't seem to match either physical or virtual counts as reported by perfmon or sysinfo... sadly, I do not have the source code or documentation for it, and there seem to be no more web sites supporting this software since ready2run dropped it and ran :). Upgrading to NCNet is not an option as we cannot install .Net on our servers. Can anyone enlighten me? Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From jhmartin at toger.us Tue Jul 5 05:33:34 2005 From: jhmartin at toger.us (Jason Martin) Date: Mon, 4 Jul 2005 20:33:34 -0700 Subject: Service alerts misinterpreted In-Reply-To: References: Message-ID: <20050705033333.GA28474@zippy.toger.us> On Mon, Jul 04, 2005 at 04:05:23PM +0100, Ian Davidson wrote: > The 3x service alerts which are nsca'd to the central server are: > > SERVICE ALERT: emea-cns3;check-halo-service;CRITICAL;SOFT;1; Halo: Stopped > SERVICE ALERT: emea-cns3;check-halo-service;CRITICAL;SOFT;2; Halo: Stopped > SERVICE ALERT: emea-cns3;check-halo-service;CRITICAL;HARD;3; Halo: Stopped > > > But in the nagios.log file, these are interpreted as: > > EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;emea-cns3;check-halo-service;2; Halo: Stopped > EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;emea-cns3;check-halo-service;2; Halo: Stopped > EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;emea-cns3;check-halo-service;2; Halo: Stopped Looks right to me. What is wrong with this? External commands are how NSCA communicates to Nagios. The concept of hard and soft is something the central server has to decide for itself. '2' in the externla command means CRITICAL. -Jason Martin -- Useless Invention: Ejector seats for helicopters. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From amontibello at gmail.com Tue Jul 5 05:50:44 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 4 Jul 2005 23:50:44 -0400 Subject: nsclient memory check? In-Reply-To: <00c101c5810e$18212dc0$01fea8c0@itss.auckland.ac.nz> References: <00c101c5810e$18212dc0$01fea8c0@itss.auckland.ac.nz> Message-ID: When I was making NC_Net I struggled briefly with this issue, and found that it is using: Performance counter category Memory: and counters: Commit Limit and Committed Bytes I hope this helps with your problem. Maybe you can try nsclient++ Good Luck TOny On 7/4/05, Steve Shipway wrote: > Can anyone confirm for me just exactly what is being checked by the NSClient > 'MEMUSE' check? (Currently using pNSclient v2.0.1) > > I always assumed that it represented the Total and Available virtual memory, > which was then used to calculate percentage. However, this no longer seems > to match observations. > > As far as I can tell it seems to be returning the page file available and > used space, which is a bit odd. It doesn't seem to match either physical or > virtual counts as reported by perfmon or sysinfo... sadly, I do not have > the source code or documentation for it, and there seem to be no more web > sites supporting this software since ready2run dropped it and ran :). > Upgrading to NCNet is not an option as we cannot install .Net on our > servers. > > Can anyone enlighten me? > > Steve > > --- > Steve Shipway: ITSS, University of Auckland > Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ > ** We can only discover new oceans when we have the ** > ** courage to lose sight of the shore. ** > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Jul 5 07:52:10 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 5 Jul 2005 07:52:10 +0200 Subject: AW: Perfdata invocation problem Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9BB2@SYGOMAIL.GOE.AD.SYCOR.DE> I had the same Problem with Nagios 2.0a1, but with b3 it just startet to work without Problems. Are you sure the nagios User can call the insert.pl? Is the logfile writable? Did you tried to execute the script manually? Have you turned on debug? Philipp > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] Im Auftrag von Holger (Woosh) > Gesendet: Montag, 4. Juli 2005 21:29 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Perfdata invocation problem > > Hi Nagios list, > > I am trying to integrate Nagiosgraph into Nagios to store perfdata in > RRD files, but for some unknown reason the nagiosgraph insert.pl script > never gets called (no entries in its log file). > > What I currently use is: > > Nagios 2.0.3b > Nagiosgraph 0.5 > > In nagios.conf I have activated perfdata processing like so: > > process_performance_data=1 > service_perfdata_command=process-service-perfdata > > Within my appropriate service I have activated perfdata processing: > > process_perf_data 1 > > And misccommands contains: > > define command { > > command_name process-service-perfdata > command_line /usr/local/nagios/nagiosgraph/insert.pl > "$LASTSERVICECHECK$ > ||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" > } > > Any ideas what I am doing wrong? > > Many thanks in advance, > > Holger > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holgilein at woosh.co.nz Tue Jul 5 09:01:07 2005 From: holgilein at woosh.co.nz (Holger (Woosh)) Date: Tue, 05 Jul 2005 19:01:07 +1200 Subject: Perfdata invocation problem In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9BB2@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9BB2@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <42CA3033.5060206@woosh.co.nz> Hi Philipp, First of all, thanks for your response. Much appreciated! > I had the same Problem with Nagios 2.0a1, but with b3 it just startet to work without Problems. > Are you sure the nagios User can call the insert.pl? > Is the logfile writable? > Did you tried to execute the script manually? > Have you turned on debug? Will check tomorrow (at work), since I just came home (we are 12h ahead of you... - New Zealand / Euro refugees from D ;-)). If you want to do me a favour you could have a look at your [working] configuration and let me know if I miss out something. Anyhow, have a smooth day! Servus, Holger PS: Played with passive checks today, as well (SNMPTT/SEC). Ran into "Service has not been scheduled yet", despite the fact that SEC's input goes into the nagios.cmd file and the external_* stuff in nagios.cfg is turned on. Any quick shots on that from your side, probably? :-) >>-----Urspr?ngliche Nachricht----- >>Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] Im Auftrag von Holger (Woosh) >>Gesendet: Montag, 4. Juli 2005 21:29 >>An: nagios-users at lists.sourceforge.net >>Betreff: [Nagios-users] Perfdata invocation problem >> >>Hi Nagios list, >> >>I am trying to integrate Nagiosgraph into Nagios to store perfdata in >>RRD files, but for some unknown reason the nagiosgraph insert.pl script >>never gets called (no entries in its log file). >> >>What I currently use is: >> >>Nagios 2.0.3b >>Nagiosgraph 0.5 >> >>In nagios.conf I have activated perfdata processing like so: >> >>process_performance_data=1 >>service_perfdata_command=process-service-perfdata >> >>Within my appropriate service I have activated perfdata processing: >> >>process_perf_data 1 >> >>And misccommands contains: >> >>define command { >> >> command_name process-service-perfdata >> command_line /usr/local/nagios/nagiosgraph/insert.pl >>"$LASTSERVICECHECK$ >>||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" >> } >> >>Any ideas what I am doing wrong? >> >>Many thanks in advance, >> >>Holger >> >> >>------------------------------------------------------- >>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>from IBM. Find simple to follow Roadmaps, straightforward articles, >>informative Webcasts and more! Get everything you need to get up to >>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Jul 5 12:44:50 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 5 Jul 2005 12:44:50 +0200 Subject: AW: Perfdata invocation problem Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9BE2@SYGOMAIL.GOE.AD.SYCOR.DE> > Hi Philipp, > > First of all, thanks for your response. Much appreciated! You're welcome :-) > > > I had the same Problem with Nagios 2.0a1, but with b3 it just startet to > work without Problems. > > Are you sure the nagios User can call the insert.pl? > > Is the logfile writable? > > Did you tried to execute the script manually? > > Have you turned on debug? > Will check tomorrow (at work), since I just came home (we are 12h > ahead of you... - New Zealand / Euro refugees from D ;-)). :-) I plan to visit New Zealand next year, but that don't belongs to this list I think ;-) > If you want to do me a favour you could have a look at your [working] > configuration and let me know if I miss out something. > Anyhow, have a smooth day! Your config appears to look ok as far as you posted it. Maybe you have to look at the path in the insert.pl (you have to config the path to your nagiosgraph.conf in the insert.pl and show.cgi! ) > PS: Played with passive checks today, as well (SNMPTT/SEC). Ran into > "Service has not been scheduled yet", despite the fact that SEC's > input goes into the nagios.cmd file and the external_* stuff in > nagios.cfg is turned on. Any quick shots on that from your side, > probably? :-) The "Service has not been scheduled yet" is ok, because the Nagios Server which receives the passive checks won't schedule them unless you configure the passive check + an active check. For SNMPTT you have to browse the list, there are pretty good posts for this in combination with windows eventlog checks in the list. Have a nice day! Philipp > > >>-----Urspr?ngliche Nachricht----- > >>Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > >>admin at lists.sourceforge.net] Im Auftrag von Holger (Woosh) > >>Gesendet: Montag, 4. Juli 2005 21:29 > >>An: nagios-users at lists.sourceforge.net > >>Betreff: [Nagios-users] Perfdata invocation problem > >> > >>Hi Nagios list, > >> > >>I am trying to integrate Nagiosgraph into Nagios to store perfdata in > >>RRD files, but for some unknown reason the nagiosgraph insert.pl script > >>never gets called (no entries in its log file). > >> > >>What I currently use is: > >> > >>Nagios 2.0.3b > >>Nagiosgraph 0.5 > >> > >>In nagios.conf I have activated perfdata processing like so: > >> > >>process_performance_data=1 > >>service_perfdata_command=process-service-perfdata > >> > >>Within my appropriate service I have activated perfdata processing: > >> > >>process_perf_data 1 > >> > >>And misccommands contains: > >> > >>define command { > >> > >> command_name process-service-perfdata > >> command_line /usr/local/nagios/nagiosgraph/insert.pl > >>"$LASTSERVICECHECK$ > >>||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" > >> } > >> > >>Any ideas what I am doing wrong? > >> > >>Many thanks in advance, > >> > >>Holger > >> > >> > >>------------------------------------------------------- > >>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > >>from IBM. Find simple to follow Roadmaps, straightforward articles, > >>informative Webcasts and more! Get everything you need to get up to > >>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when > >>reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andre.bergei at ementor.no Tue Jul 5 14:09:05 2005 From: andre.bergei at ementor.no (Andre Bergei) Date: Tue, 5 Jul 2005 14:09:05 +0200 Subject: avail.cgi incorrect statistics Message-ID: <447B76ECA7A8ED45B831D4D419A7AE560D75C1@100NOOSLMSG004.common.alpharoot.net> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Chris Wilson > Sent: Monday, July 04, 2005 8:09 PM > To: Nagios Users > Subject: [Nagios-users] avail.cgi incorrect statistics > > Hi all, > > I'm concerned about the accuracy of the statistics reported > by avail.cgi, compared to the actual log contents and the > history.cgi report. Hi Seems like you run the cgi with "assume initial states" and "assume state Retention" flags on. If these options dont corrulate with your options in nagios.cfg, you'll might get wrong Results, i've seen this a couple times with the 1.2 cgi's at least. Check your nagios.cfg, and run avail.cfg with correct flags if the options differ. Best /andr? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidworld.org Tue Jul 5 14:20:11 2005 From: chris at aidworld.org (Chris Wilson) Date: Tue, 05 Jul 2005 13:20:11 +0100 Subject: avail.cgi incorrect statistics In-Reply-To: <447B76ECA7A8ED45B831D4D419A7AE560D75C1@100NOOSLMSG004.common.alpharoot.net> References: <447B76ECA7A8ED45B831D4D419A7AE560D75C1@100NOOSLMSG004.common.alpharoot.net> Message-ID: <1120566011.3674.43.camel@localhost> Hi Andre, Thanks for replying! > Seems like you run the cgi with "assume initial states" and "assume state > Retention" flags on. > > If these options dont corrulate with your options in nagios.cfg, you'll might get wrong > Results, i've seen this a couple times with the 1.2 cgi's at least. > > Check your nagios.cfg, and run avail.cfg with correct flags if the options differ. In nagios.cfg I have: log_initial_states=1 retain_state_information=1 Does that correlate with both options being turned on in avail.cgi, or am I looking in the wrong place? Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andre.bergei at ementor.no Tue Jul 5 14:57:40 2005 From: andre.bergei at ementor.no (Andre Bergei) Date: Tue, 5 Jul 2005 14:57:40 +0200 Subject: avail.cgi incorrect statistics Message-ID: <447B76ECA7A8ED45B831D4D419A7AE560D75C2@100NOOSLMSG004.common.alpharoot.net> > In nagios.cfg I have: > > log_initial_states=1 > retain_state_information=1 > > Does that correlate with both options being turned on in > avail.cgi, or am I looking in the wrong place? > That's them yes. Your options is correct, seems like there is something fishy going on. The avail.cgi don't need the "log_initial_states" option, it's mainly Used for external reporting. In order to pin this problem down, you might wanna try to run the avail.cgi with the "assume initial states" flag Turned off, and see if you get a different result. Also, try the latest cvs version of the avail.cgi, who knows Maybe the issue is allready resolved. /andr? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Jul 5 15:03:27 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 5 Jul 2005 15:03:27 +0200 Subject: Nagiosgrap MAP File for known Plugins Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9BF8@SYGOMAIL.GOE.AD.SYCOR.DE> Hello, I just startet with nagiosgraph, after having some Problems with Nagios 2.0a1 and Nagiosgraph, it's working fine now with Nagios 2.0b3. Now I wonder if there exists some kind of "global Map File" for all known Plugins. I suppose that some of you already did a map File entry for let's say all check_nt stuff, or check_icmp, I've already seen those topics in the list. But to be honest, wouldn't it be better to put those entries for all standard Plugins into one map file you could download, and then provide this map file on the sourceforge Page, or direct with the nagiosgraph download? This would make installing a lot easier and would save a lot of time. If there already exists such a map file: Pleeaaase give it to me :) I'm pretty lazy and don't want to search the list for all the stuff one by one :) Regards, Philipp Sand _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jul 5 15:12:32 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 05 Jul 2005 15:12:32 +0200 Subject: Nagiosgrap MAP File for known Plugins In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9BF8@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9BF8@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <42CA8740.2050107@op5.se> Sand Philipp wrote: > Hello, > > I just startet with nagiosgraph, after having some Problems with > Nagios 2.0a1 and Nagiosgraph, it's working fine now with Nagios > 2.0b3. > > Now I wonder if there exists some kind of "global Map File" for all > known Plugins. I suppose that some of you already did a map File > entry for let's say all check_nt stuff, or check_icmp, I've already > seen those topics in the list. But to be honest, wouldn't it be > better to put those entries for all standard Plugins into one map > file you could download, and then provide this map file on the > sourceforge Page, or direct with the nagiosgraph download? This would > make installing a lot easier and would save a lot of time. > > If there already exists such a map file: Pleeaaase give it to me :) > I'm pretty lazy and don't want to search the list for all the stuff > one by one :) > By the sound of it, nagiosgraph is superceded by perfparse, which lets plugins write graphable output in a standardized way. I know perfparse has a sourceforge page. Perhaps you should look into it? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Jul 5 15:39:22 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 5 Jul 2005 15:39:22 +0200 Subject: AW: Nagiosgrap MAP File for known Plugins Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9BFC@SYGOMAIL.GOE.AD.SYCOR.DE> > Sand Philipp wrote: > > Hello, > > > > I just startet with nagiosgraph, after having some Problems with > > Nagios 2.0a1 and Nagiosgraph, it's working fine now with Nagios > > 2.0b3. > > > > Now I wonder if there exists some kind of "global Map File" for all > > known Plugins. I suppose that some of you already did a map File > > entry for let's say all check_nt stuff, or check_icmp, I've already > > seen those topics in the list. But to be honest, wouldn't it be > > better to put those entries for all standard Plugins into one map > > file you could download, and then provide this map file on the > > sourceforge Page, or direct with the nagiosgraph download? This would > > make installing a lot easier and would save a lot of time. > > If there already exists such a map file: Pleeaaase give it to me :) > > I'm pretty lazy and don't want to search the list for all the stuff > > one by one :) > By the sound of it, nagiosgraph is superceded by perfparse, which lets > plugins write graphable output in a standardized way. No, nagiosgraph and perfparse are two totally different Types of Programs to generate graphs. In fact, nagiosgraph uses rrd files and uses a perl script to push the plugin output into those rrd files, and perfparse uses a mysql db and some other ways to handle the data. > I know perfparse has a sourceforge page. Perhaps you should look into it? I know perfparse, too. My Perfparse DB has just grown to 40GB, so I decided to have a look at some other tools on the "marked" which may waste a little bit less hdd space :) Regards, Philipp ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JoeRegular at gov.nl.ca Tue Jul 5 15:40:15 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Tue, 05 Jul 2005 11:10:15 -0230 Subject: nagios.cmd Permissions and External Commands Message-ID: I seem to have run into a problem with Nagios to which I hope there is a simple solution. From what I can tell, I have followed the setup instructions correctly and Nagios appears to be working with the exception of external commands. When I try to schedule host downtime, I get the "Sorry, but you are not authorized to commit the specified command." error message. I've since read the "authentication and authorization in the CGIs" section of the manual and the "External Command File Permissions" file but it's still isn't working. Can anyone offer any advice into a solution to this problem? Jason ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidworld.org Tue Jul 5 16:05:21 2005 From: chris at aidworld.org (Chris Wilson) Date: Tue, 05 Jul 2005 15:05:21 +0100 Subject: avail.cgi incorrect statistics In-Reply-To: <1120500543.25695.6.camel@localhost> References: <1120500543.25695.6.camel@localhost> Message-ID: <1120572321.3674.115.camel@localhost> Hi all, > The report from avail.cgi shows an 18 hour downtime period, from > 30-06-2005 16:00:53 to 01-07-2005 10:33:21: SERVICE CRITICAL > (Network is unreachable). > > However, the history shows that the downtime was only 12 minutes: On further investigation, it seems that the service came back up in a SOFT state, and never transitioned to a HARD state until Nagios was restarted. I assume that was the reason that avail.cgi reported it as still being down. Can anyone think of a reason why Nagios might not change a service from SOFT to HARD state? There are no events logged for that service between the transition to SOFT OK, and the nagios restart. Just after restart, I saw the following: [Fri Jul 1 10:35:21 2005] Warning: The results of service 'filter www.google.co.uk' on host 'virt2.loband.org' are stale by 45 seconds (threshold=75 seconds). I'm forcing an immediate check of the service. and then a transition to HARD OK state. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kevin.hart at centerstone.org Tue Jul 5 16:06:07 2005 From: kevin.hart at centerstone.org (Kevin Hart) Date: Tue, 05 Jul 2005 09:06:07 -0500 Subject: nagios.cmd Permissions and External Commands Message-ID: Make sure your rw directory and the nagios.cmd file have read write permissions on them. When I changed the permissions on that directory and that file it started working, almost magicly :) -Kevin >>>Joe Regular 07/05 8:40 am >>> I seem to have run into a problem with Nagios to which I hope there is a simple solution. From what I can tell, I have followed the setup instructions correctly and Nagios appears to be working with the exception of external commands. When I try to schedule host downtime, I get the Sorry, but you are not authorized to commit the specified command. error message. I've since read the authentication and authorization in the CGIs section of the manual and the External Command File Permissions file but it's still isn't working. Can anyone offer any advice into a solution to this problem? Jason ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 is confidential, intended only for the named recipient[s] and may contain information that is private under applicable law. If you are not an intended recipient, be aware that any disclosure, copying, distribution or use of this message is prohibited.************************** <<<>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From JoeRegular at gov.nl.ca Tue Jul 5 16:56:00 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Tue, 05 Jul 2005 12:26:00 -0230 Subject: nagios.cmd Permissions and External Commands Message-ID: Permissions are set as follows: drwxrwxr-x 4 nagios nagios 288 Jul 5 11:55 var drwxrwsr-x 2 nagios nagioscmd 80 Jul 5 10:11 rw prw-rw---- 1 nagios nagioscmd 0 Jul 5 10:11 nagios.cmd Does this look correct, or should the ~/var directory be "drwxrwxr-x 4 nagios nagioscmd 288 Jul 5 11:55 var"? Jason >>> "Kevin Hart" 2005-07-05 11:36 AM >>> Make sure your rw directory and the nagios.cmd file have read write permissions on them. When I changed the permissions on that directory and that file it started working, almost magicly :) -Kevin >>>Joe Regular 07/05 8:40 am >>> I seem to have run into a problem with Nagios to which I hope there is a simple solution. From what I can tell, I have followed the setup instructions correctly and Nagios appears to be working with the exception of external commands. When I try to schedule host downtime, I get the Sorry, but you are not authorized to commit the specified command. error message. I've since read the authentication and authorization in the CGIs section of the manual and the External Command File Permissions file but it's still isn't working. Can anyone offer any advice into a solution to this problem? Jason ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 is confidential, intended only for the named recipient[s] and may contain information that is private under applicable law. If you are not an intended recipient, be aware that any disclosure, copying, distribution or use of this message is prohibited.************************** <<<>>> ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sekuela at gmail.com Tue Jul 5 17:02:20 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Tue, 5 Jul 2005 12:02:20 -0300 Subject: nagios.cmd Permissions and External Commands In-Reply-To: References: Message-ID: <806f904f050705080213afe43b@mail.gmail.com> Hi, First you have to look your cgi.cfg and verify the users that have permission to acess this files. After you have to set the nagios.cmd with apache:nagios (or nagios:apache) I dont remember... But first try to change the nagios.cmd permissions, if the error continue verify your cgi.cfg Try this... Daniel On 7/5/05, Joe Regular wrote: > Permissions are set as follows: > drwxrwxr-x 4 nagios nagios 288 Jul 5 11:55 var > drwxrwsr-x 2 nagios nagioscmd 80 Jul 5 10:11 rw > prw-rw---- 1 nagios nagioscmd 0 Jul 5 10:11 nagios.cmd > > Does this look correct, or should the ~/var directory be "drwxrwxr-x 4 nagios nagioscmd 288 Jul 5 11:55 var"? > > Jason > > > >>> "Kevin Hart" 2005-07-05 11:36 AM >>> > Make sure your rw directory and the nagios.cmd file have read write > permissions on them. When I changed the permissions on that directory > and that file it started working, almost magicly :) > > -Kevin > > >>>Joe Regular 07/05 8:40 am >>> > > I seem to have run into a problem with Nagios to which I hope there is a > simple solution. From what I can tell, I have followed the setup > instructions correctly and Nagios appears to be working with the > exception of external commands. > > > When I try to schedule host downtime, I get the Sorry, but you are not > authorized to commit the specified command. error message. I've since > read the authentication and authorization in the CGIs section of the > manual and the External Command File Permissions file but it's still > isn't working. > > > Can anyone offer any advice into a solution to this problem? > > > Jason > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please 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 is confidential, intended only for the named > recipient[s] and may contain information that is private > under applicable law. If you are not an intended recipient, > be aware that any disclosure, copying, distribution or use > of this message is prohibited.************************** > <<<>>> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sekuela at gmail.com Tue Jul 5 17:04:15 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Tue, 5 Jul 2005 12:04:15 -0300 Subject: nagios.cmd Permissions and External Commands In-Reply-To: <806f904f050705080213afe43b@mail.gmail.com> References: <806f904f050705080213afe43b@mail.gmail.com> Message-ID: <806f904f0507050804199860e7@mail.gmail.com> Hi, Excuse me , but dont need to change nagios.cmd permissions. Sorry :( Daniel On 7/5/05, Daniel Szortyka wrote: > Hi, > > First you have to look your cgi.cfg and verify the users that have > permission to acess this files. > > After you have to set the nagios.cmd with apache:nagios (or > nagios:apache) I dont remember... > > But first try to change the nagios.cmd permissions, if the error > continue verify your cgi.cfg > > Try this... > > Daniel > > On 7/5/05, Joe Regular wrote: > > Permissions are set as follows: > > drwxrwxr-x 4 nagios nagios 288 Jul 5 11:55 var > > drwxrwsr-x 2 nagios nagioscmd 80 Jul 5 10:11 rw > > prw-rw---- 1 nagios nagioscmd 0 Jul 5 10:11 nagios.cmd > > > > Does this look correct, or should the ~/var directory be "drwxrwxr-x 4 nagios nagioscmd 288 Jul 5 11:55 var"? > > > > Jason > > > > > > >>> "Kevin Hart" 2005-07-05 11:36 AM >>> > > Make sure your rw directory and the nagios.cmd file have read write > > permissions on them. When I changed the permissions on that directory > > and that file it started working, almost magicly :) > > > > -Kevin > > > > >>>Joe Regular 07/05 8:40 am >>> > > > > I seem to have run into a problem with Nagios to which I hope there is a > > simple solution. From what I can tell, I have followed the setup > > instructions correctly and Nagios appears to be working with the > > exception of external commands. > > > > > > When I try to schedule host downtime, I get the Sorry, but you are not > > authorized to commit the specified command. error message. I've since > > read the authentication and authorization in the CGIs section of the > > manual and the External Command File Permissions file but it's still > > isn't working. > > > > > > Can anyone offer any advice into a solution to this problem? > > > > > > Jason > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > > > informative Webcasts and more! Get everything you need to get up to > > > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > > > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please 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 is confidential, intended only for the named > > recipient[s] and may contain information that is private > > under applicable law. If you are not an intended recipient, > > be aware that any disclosure, copying, distribution or use > > of this message is prohibited.************************** > > <<<>>> > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jqualkenbush at iso-ne.com Tue Jul 5 17:10:36 2005 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Tue, 05 Jul 2005 11:10:36 -0400 Subject: nagios.cmd Permissions and External Commands In-Reply-To: References: Message-ID: <42CAA2EC.3040506@iso-ne.com> Joe Regular wrote: > Permissions are set as follows: > drwxrwxr-x 4 nagios nagios 288 Jul 5 11:55 var > drwxrwsr-x 2 nagios nagioscmd 80 Jul 5 10:11 rw > prw-rw---- 1 nagios nagioscmd 0 Jul 5 10:11 nagios.cmd > > Does this look correct, or should the ~/var directory be "drwxrwxr-x 4 nagios nagioscmd 288 Jul 5 11:55 var"? This brings up a question for me. On the 'rw' directory, I always just made the owner apache:apache. If I issue a command via the web page, the file that gets created is going to be written by apache, not nagios. This says to do it a different way http://nagios.sourceforge.net/docs/2_0/commandfile.html Would I run into problems keeping the web server and nagios seperate? Nagios isn't the only website running so I figured it's better to keep the two seperate. -- -JasonQ- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jqualkenbush at iso-ne.com Tue Jul 5 17:17:02 2005 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Tue, 05 Jul 2005 11:17:02 -0400 Subject: nagios.cmd Permissions and External Commands In-Reply-To: <42CAA2EC.3040506@iso-ne.com> References: <42CAA2EC.3040506@iso-ne.com> Message-ID: <42CAA46E.8060401@iso-ne.com> Jason Qualkenbush wrote: > Would I run into problems keeping the web server and nagios seperate? > Nagios isn't the only website running so I figured it's better to keep > the two seperate. > Doh. Sometimes I need to slow down and re-read a couple of times. All the documentation is saying is make sure apache and nagios are in the same group. I misunderstood the docs. -- -JasonQ- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dons at somanetworks.com Tue Jul 5 17:23:10 2005 From: dons at somanetworks.com (Don Shesnicky) Date: Tue, 05 Jul 2005 11:23:10 -0400 Subject: telnetd check throwing ttloop errors into syslog Message-ID: <1120576990.27211.45.camel@dynamic-232.yow.somanetworks.com> Our syslog checker is picking up errors from the check_telnet: telnetd: [ID 485252 daemon.info] ttloop: peer died: Invalid argument Is there a way to turn these off, perhaps by cleanly exiting? I checked the archives but didn't see anything relevant. Nagios is running on a Fedora Core3 host and probing Solaris 8 clients. Don ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcunietti at enter.it Tue Jul 5 17:29:11 2005 From: mcunietti at enter.it (Mariano Cunietti) Date: Tue, 05 Jul 2005 17:29:11 +0200 Subject: passive checks AGAIN Message-ID: <1120577351.6099.158.camel@bytecode.enter.it> Hello everybody, I'm getting crazy to get passive checks to work on Nagios 1.2. I've set up everything so that snmp traps sent from Cisco ATM router write correctly to nagios.cmd. I've set up a service to handle more Virtual lines, and to declare which VRF virtual line is going up or down, using the text space in the nagios.cmd line. Here's nagios.cmd: [1120576366] PROCESS_SERVICE_CHECK_RESULT;atm1-mi;MPLS-VRF;0;milko Yet, I was forced by Nagios to set up also a dummy active check (check_dummy), otherwise it would refuse to startup. services.cfg define service { use generic-service name passive-service is_volatile 1 passive_checks_enabled 1 max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 notification_interval 60 ; 2h active_checks_enabled 0 notification_period 24x7 notification_options c,r check_command check_dummy!3 check_period 24x7 check_freshness 1 register 0 } define service{ use passive-service host_name atm1-mi service_description MPLS-VRF contact_groups admins-SMS } checkcommands.cfg: define command{ command_name check_dummy command_line $USER1$/check_dummy $ARG1$ } Now, the BIG problem is that Nagios parses nagios.cmd, but the status reported is the one set in check_command statement, and not the one reported in nagios.cmd. So I always get all lines in UNKNOWN(=exit status 3) state. Any hint? Please help Regards, Mariano -- ------------------------- Mariano Cunietti System Administrator Enter S.r.l. Via Stefanardo da Vimercate, 28 20128 - Milano - Italy Tel. +39 02 25514319 Fax +39 02 25514303 mcunietti at enter.it www.enter.it - www.enterpoint.it --------------------------- Gruppo Y2K - www.gruppoy2k.it ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JoeRegular at gov.nl.ca Tue Jul 5 17:51:52 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Tue, 05 Jul 2005 13:21:52 -0230 Subject: nagios.cmd Permissions and External Commands Message-ID: I've already edited my cgi.cfg file so that nagiosadmin has authorization. The nagiosadmin account is the account used to log into the website and is listed only in the htpasswd.users file. My Apache2 is running as nobody and has been made a member of the nagioscmd group. The nagioscmd group in turn has rw permissions to the nagios.cmd file. Should the nagiosadmin account be an actual user account as being listed in the /etc/passwd file or is this just a virtual account listed in the ~/nagios/etc/htpasswd.user file? cgi.cfg authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin use_authentication=1 Jason >>> Daniel Szortyka 2005-07-05 12:34:15 PM >>> Hi, Excuse me , but dont need to change nagios.cmd permissions. Sorry :( Daniel On 7/5/05, Daniel Szortyka wrote: > Hi, > > First you have to look your cgi.cfg and verify the users that have > permission to acess this files. > > After you have to set the nagios.cmd with apache:nagios (or > nagios:apache) I dont remember... > > But first try to change the nagios.cmd permissions, if the error > continue verify your cgi.cfg > > Try this... > > Daniel > > On 7/5/05, Joe Regular wrote: > > Permissions are set as follows: > > drwxrwxr-x 4 nagios nagios 288 Jul 5 11:55 var > > drwxrwsr-x 2 nagios nagioscmd 80 Jul 5 10:11 rw > > prw-rw---- 1 nagios nagioscmd 0 Jul 5 10:11 nagios.cmd > > > > Does this look correct, or should the ~/var directory be "drwxrwxr-x 4 nagios nagioscmd 288 Jul 5 11:55 var"? > > > > Jason > > > > > > >>> "Kevin Hart" 2005-07-05 11:36 AM >>> > > Make sure your rw directory and the nagios.cmd file have read write > > permissions on them. When I changed the permissions on that directory > > and that file it started working, almost magicly :) > > > > -Kevin > > > > >>>Joe Regular 07/05 8:40 am >>> > > > > I seem to have run into a problem with Nagios to which I hope there is a > > simple solution. From what I can tell, I have followed the setup > > instructions correctly and Nagios appears to be working with the > > exception of external commands. > > > > > > When I try to schedule host downtime, I get the Sorry, but you are not > > authorized to commit the specified command. error message. I've since > > read the authentication and authorization in the CGIs section of the > > manual and the External Command File Permissions file but it's still > > isn't working. > > > > > > Can anyone offer any advice into a solution to this problem? > > > > > > Jason > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > > > informative Webcasts and more! Get everything you need to get up to > > > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > > > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please 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 is confidential, intended only for the named > > recipient[s] and may contain information that is private > > under applicable law. If you are not an intended recipient, > > be aware that any disclosure, copying, distribution or use > > of this message is prohibited.************************** > > <<<>>> > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kex604 at gmail.com Tue Jul 5 19:04:17 2005 From: kex604 at gmail.com (Fred Reinthaler) Date: Tue, 5 Jul 2005 13:04:17 -0400 Subject: check_jabber problem Message-ID: <541c888d050705100453524b2a@mail.gmail.com> Hi, I am getting weird behaviour with the check_jabber plugin. If I try to do a check: nagios:/usr/lib/nagios/plugins# ./check_jabber -H 172.16.230.234 -p 5222 I get: " CRITICAL - Cannot make SSL connection 15582:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: " Jabber runs on port 5222 and is not using SSL and as you can see I am not even specifying the -S flag for SSL. This is the wierd part: nagios:/usr/lib/nagios/plugins# ls -l check_jabber lrwxrwxrwx 1 root root 9 Jun 24 13:13 check_jabber -> check_tcp nagios:/usr/lib/nagios/plugins# ./check_tcp -H 172.16.230.234 -p 5222 TCP OK - 0.001 second response time on port 5222 |time=0.000526s;0.000000;0.000000;0.000000;10.000000 Can anyone enlighten me on why check_jabber is soft-linked to check_tcp but they both return a different result? thanks, fred ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sekuela at gmail.com Tue Jul 5 19:26:03 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Tue, 5 Jul 2005 14:26:03 -0300 Subject: nagios.cmd Permissions and External Commands In-Reply-To: References: Message-ID: <806f904f05070510263f415cc9@mail.gmail.com> Hey Man... I'm was right when I say... I tried at this moment... Change the nagios.cmd permissions... my apache run as apache user... so my ls -la is: prw-rw---- 1 nagios apache 0 Jul 5 15:27 nagios.cmd Change this and return the result to us!!! Regards, Daniel Szortyka aka sekuela :-) On 7/5/05, Joe Regular wrote: > I've already edited my cgi.cfg file so that nagiosadmin has authorization. The nagiosadmin account is the account used to log into the website and is listed only in the htpasswd.users file. My Apache2 is running as nobody and has been made a member of the nagioscmd group. The nagioscmd group in turn has rw permissions to the nagios.cmd file. Should the nagiosadmin account be an actual user account as being listed in the /etc/passwd file or is this just a virtual account listed in the ~/nagios/etc/htpasswd.user file? > > cgi.cfg > authorized_for_system_information=nagiosadmin > authorized_for_configuration_information=nagiosadmin > authorized_for_system_commands=nagiosadmin > authorized_for_all_services=nagiosadmin > authorized_for_all_hosts=nagiosadmin > authorized_for_all_service_commands=nagiosadmin > authorized_for_all_host_commands=nagiosadmin > use_authentication=1 > > Jason > > >>> Daniel Szortyka 2005-07-05 12:34:15 PM >>> > Hi, > > Excuse me , but dont need to change nagios.cmd permissions. Sorry :( > > Daniel > > On 7/5/05, Daniel Szortyka wrote: > > Hi, > > > > First you have to look your cgi.cfg and verify the users that have > > permission to acess this files. > > > > After you have to set the nagios.cmd with apache:nagios (or > > nagios:apache) I dont remember... > > > > But first try to change the nagios.cmd permissions, if the error > > continue verify your cgi.cfg > > > > Try this... > > > > Daniel > > > > On 7/5/05, Joe Regular wrote: > > > Permissions are set as follows: > > > drwxrwxr-x 4 nagios nagios 288 Jul 5 11:55 var > > > drwxrwsr-x 2 nagios nagioscmd 80 Jul 5 10:11 rw > > > prw-rw---- 1 nagios nagioscmd 0 Jul 5 10:11 nagios.cmd > > > > > > Does this look correct, or should the ~/var directory be "drwxrwxr-x 4 nagios nagioscmd 288 Jul 5 11:55 var"? > > > > > > Jason > > > > > > > > > >>> "Kevin Hart" 2005-07-05 11:36 AM >>> > > > Make sure your rw directory and the nagios.cmd file have read write > > > permissions on them. When I changed the permissions on that directory > > > and that file it started working, almost magicly :) > > > > > > -Kevin > > > > > > >>>Joe Regular 07/05 8:40 am >>> > > > > > > I seem to have run into a problem with Nagios to which I hope there is a > > > simple solution. From what I can tell, I have followed the setup > > > instructions correctly and Nagios appears to be working with the > > > exception of external commands. > > > > > > > > > When I try to schedule host downtime, I get the Sorry, but you are not > > > authorized to commit the specified command. error message. I've since > > > read the authentication and authorization in the CGIs section of the > > > manual and the External Command File Permissions file but it's still > > > isn't working. > > > > > > > > > Can anyone offer any advice into a solution to this problem? > > > > > > > > > Jason > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > > > > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > > > > > informative Webcasts and more! Get everything you need to get up to > > > > > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > > > > > > > > > Nagios-users mailing list > > > > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please 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 is confidential, intended only for the named > > > recipient[s] and may contain information that is private > > > under applicable law. If you are not an intended recipient, > > > be aware that any disclosure, copying, distribution or use > > > of this message is prohibited.************************** > > > <<<>>> > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > > informative Webcasts and more! Get everything you need to get up to > > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JoeRegular at gov.nl.ca Tue Jul 5 19:30:49 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Tue, 05 Jul 2005 15:00:49 -0230 Subject: nagios.cmd Permissions and External Commands - Problem Solved Message-ID: Thanks to everyone who offered advise. The problem is/was, that while I might have followed the instructions correctly, the instructions were not correct. When creating the nagioscmd group I added nagios and nobody just like the instructions stated. In my setup however, apache is running as wwwrun not nobody. Once I modified the group to add wwwrun, the external commands begain to work. Thanks for all the suggestions. Jason ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rsantiago at rcm.upr.edu Tue Jul 5 20:00:13 2005 From: rsantiago at rcm.upr.edu (Richard Santiago) Date: Tue, 5 Jul 2005 14:00:13 -0400 Subject: check_ldap plugin? Message-ID: Hi, For some reason, my check_ldap plugin doesn't compile from the Official Nagios Plugins 1.4 tarball. All I get is a symbolic link to check_ldaps but the target file is not present. Can somebody point me to the check_ldap plugin for Slackware 10.1 or at least tell me how to correctly compile it because all I have is the check_ldap.c file but not the object file. Thanks. Richard Santiago rsantiago at rcm.upr.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Jul 5 19:57:18 2005 From: marc at ena.com (Marc Powell) Date: Tue, 5 Jul 2005 12:57:18 -0500 Subject: passive checks AGAIN Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mariano Cunietti > Sent: Tuesday, July 05, 2005 10:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] passive checks AGAIN > > Hello everybody, > I'm getting crazy to get passive checks to work on Nagios 1.2. > I've set up everything so that snmp traps sent from Cisco ATM router > write correctly to nagios.cmd. > I've set up a service to handle more Virtual lines, and to declare which > VRF virtual line is going up or down, using the text space in the > nagios.cmd line. > > Here's nagios.cmd: > > [1120576366] PROCESS_SERVICE_CHECK_RESULT;atm1-mi;MPLS-VRF;0;milko > > Yet, I was forced by Nagios to set up also a dummy active check > (check_dummy), otherwise it would refuse to startup. > > services.cfg > > define service { > use generic-service > name passive-service > is_volatile 1 > passive_checks_enabled 1 > max_check_attempts 10 > normal_check_interval 1 > retry_check_interval 1 > notification_interval 60 ; 2h > active_checks_enabled 0 > notification_period 24x7 > notification_options c,r > check_command check_dummy!3 > check_period 24x7 > check_freshness 1 > register 0 > } > > define service{ > use passive-service > host_name atm1-mi > service_description MPLS-VRF > contact_groups admins-SMS > } > > checkcommands.cfg: > > define command{ > command_name check_dummy > command_line $USER1$/check_dummy $ARG1$ > } > > Now, the BIG problem is that Nagios parses nagios.cmd, but the status > reported is the one set in check_command statement, and not the one > reported in nagios.cmd. So I always get all lines in UNKNOWN(=exit > status 3) state. > > Any hint? Please help Do you have retention enabled? If so, read the Retention Notes at http://nagios.sourceforge.net/docs/1_0/xodtemplate.html. Does the Scheduling Queue show a valid Next Check time for this service? It should show 'N/A'. A valid time would indicate a retention problem. You also have freshness checking enabled but didn't specify your freshness_check_interval from nagios.cfg. If your freshness_check_interval is <= 60 seconds you'd probably see the results above. I'd try disabling freshness checking on this service to see if that helps resolve the problem. More information on how freshness checking works can be found at http://nagios.sourceforge.net/docs/1_0/freshness.html -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 5 20:03:54 2005 From: marc at ena.com (Marc Powell) Date: Tue, 5 Jul 2005 13:03:54 -0500 Subject: check_ldap plugin? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Richard Santiago > Sent: Tuesday, July 05, 2005 1:00 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_ldap plugin? > > Hi, > > > > For some reason, my check_ldap plugin doesn't compile from the Official > Nagios Plugins 1.4 tarball. All I get is a symbolic link to check_ldaps > but the target file is not present. > > > > Can somebody point me to the check_ldap plugin for Slackware 10.1 or at > least tell me how to correctly compile it because all I have is the > check_ldap.c file but not the object file. >From the REQUIREMENTS file -- check_ldap: - Requires the LDAP libraries available from http://www.openldap.org Lib: libldap, liblber Redhat Source: openldap-1.2.9-6.i386.rpm, openldap-devel-1.2.9-6.i386.rpm -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 5 20:17:55 2005 From: marc at ena.com (Marc Powell) Date: Tue, 5 Jul 2005 13:17:55 -0500 Subject: check_jabber problem Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Fred Reinthaler > Sent: Tuesday, July 05, 2005 12:04 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_jabber problem > > Hi, > > I am getting weird behaviour with the check_jabber plugin. If I try > to do a check: > > nagios:/usr/lib/nagios/plugins# ./check_jabber -H 172.16.230.234 -p 5222 > > I get: > > " > CRITICAL - Cannot make SSL connection 15582:error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > " > > Jabber runs on port 5222 and is not using SSL and as you can see I am > not even specifying the -S flag for SSL. > > This is the wierd part: > > nagios:/usr/lib/nagios/plugins# ls -l check_jabber > lrwxrwxrwx 1 root root 9 Jun 24 13:13 check_jabber -> check_tcp > > nagios:/usr/lib/nagios/plugins# ./check_tcp -H 172.16.230.234 -p 5222 > TCP OK - 0.001 second response time on port 5222 > |time=0.000526s;0.000000;0.000000;0.000000;10.000000 > > Can anyone enlighten me on why check_jabber is soft-linked to > check_tcp but they both return a different result? check_tcp behaves differently depending on the name it was called as. Looking at the source, there are several -- if (strstr (argv[0], "check_udp")) { else if (strstr (argv[0], "check_tcp")) { else if (strstr (argv[0], "check_ftp")) { else if (strstr (argv[0], "check_smtp")) { else if (strstr (argv[0], "check_pop")) { else if (strstr (argv[0], "check_imap")) { else if (strstr(argv[0],"check_simap")) { else if (strstr(argv[0],"check_spop")) { else if (strstr(argv[0],"check_jabber")) { else if (strstr (argv[0], "check_nntps")) { else if (strstr (argv[0], "check_nntp")) { When jabber support was added to check_tcp, SSL connections were required regardless of whether -S was used or not (per the ChangeLog and a glance at the code). It looks like the jabber code was made to respect the -S flag on June 5th in CVS. Try the latest CVS version. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnakamura at akento.com Tue Jul 5 21:29:56 2005 From: jnakamura at akento.com (Jay Nakamura) Date: Tue, 5 Jul 2005 14:29:56 -0500 Subject: obsess_over_service in services.cfg Message-ID: <1D415981A2C4614AA6BE02293A9C79EF128A51@Marvel.akento.com.private> What does the obsess_over_service option in service configuration do? I want to be able to send service check result to another server but only for select few services. I have tried setting obsess_over_services = 1 in main config, then define service { obsess_over_service 0 } in services.cfg for all the services that I don't want sent to main server. This still results in all services sent to the main server. If I do the reverse and set obsess_over_services = 0 in main config, then set obsess_over_service in service.cfg to 1 for those I want to send but 0 for ones I don't want to send, nothing gets sent. Is this suppose to work like I want to? I didn't find any comment in the documentation for obsess_over_service in services.cfg Any help will be appreciated. Just FYI, I am running nagios v1.2 from nagios-1.2-2.1.fc3.rf.rpm ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bill_Akins at emoryhealthcare.org Tue Jul 5 21:53:40 2005 From: Bill_Akins at emoryhealthcare.org (Bill Akins) Date: Tue, 05 Jul 2005 15:53:40 -0400 Subject: obsess_over_service in services.cfg Message-ID: http://nagios.sourceforge.net/docs/2_0/configmain.html#obsess_over_services >>> "Jay Nakamura" 7/5/2005 3:29 PM >>> What does the obsess_over_service option in service configuration do? I want to be able to send service check result to another server but only for select few services. I have tried setting obsess_over_services = 1 in main config, then define service { obsess_over_service 0 } in services.cfg for all the services that I don't want sent to main server. This still results in all services sent to the main server. If I do the reverse and set obsess_over_services = 0 in main config, then set obsess_over_service in service.cfg to 1 for those I want to send but 0 for ones I don't want to send, nothing gets sent. Is this suppose to work like I want to? I didn't find any comment in the documentation for obsess_over_service in services.cfg Any help will be appreciated. Just FYI, I am running nagios v1.2 from nagios-1.2-2.1.fc3.rf.rpm ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 marc at ena.com Tue Jul 5 22:05:30 2005 From: marc at ena.com (Marc Powell) Date: Tue, 5 Jul 2005 15:05:30 -0500 Subject: obsess_over_service in services.cfg Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jay Nakamura > Sent: Tuesday, July 05, 2005 2:30 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] obsess_over_service in services.cfg > > > What does the obsess_over_service option in service configuration do? I don't know what happened to it in the 1.x doccos, but from 2.x (which is still the same) -- This directive determines whether or not checks for the service will be "obsessed" over using the ocsp_command. > > I want to be able to send service check result to another server but > only for select few services. > > I have tried setting > > obsess_over_services = 1 > > in main config, then > > define service { > > obsess_over_service 0 > > } > > in services.cfg for all the services that I don't want sent to main > server. That should do what you want. > This still results in all services sent to the main server. Did you previously have it set to 1 for all services? > If I do the reverse and set > > obsess_over_services = 0 > > in main config, then set obsess_over_service in service.cfg to 1 for > those I want to send but 0 for ones I don't want to send, nothing gets > sent. Expected. > Is this suppose to work like I want to? Yes. > I didn't find any comment in the documentation for obsess_over_service > in services.cfg > > Any help will be appreciated. It sounds like you may have retain_state_information enabled. If you do, and previously had obsess_over_service set to 1 then the values in the retention file will take precedence over the values in the config. See the retention notes at http://nagios.sourceforge.net/docs/1_0/xodtemplate.html if that scenario fits. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnakamura at akento.com Tue Jul 5 22:18:28 2005 From: jnakamura at akento.com (Jay Nakamura) Date: Tue, 5 Jul 2005 15:18:28 -0500 Subject: obsess_over_service in services.cfg Message-ID: <1D415981A2C4614AA6BE02293A9C79EF128A59@Marvel.akento.com.private> > It sounds like you may have retain_state_information enabled. > If you do, and previously had obsess_over_service set to 1 > then the values in the retention file will take precedence > over the values in the config. See the retention notes at > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html if > that scenario fits. Oh yes... I read that two days ago and I spaced it. I got it working! Thanks for the sanity check! :) ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HJahn at woosh.com Tue Jul 5 23:09:31 2005 From: HJahn at woosh.com (Holger Jahn) Date: Wed, 6 Jul 2005 09:09:31 +1200 Subject: Perfdata invocation problem Message-ID: <44C4DC99A083FA48864ACEFF85B96261030299C6@wwl_mail1.intwwl.net> Good morning, Guys! > > Are you sure the nagios User can call the insert.pl? > > Is the logfile writable? > > Did you tried to execute the script manually? > > Have you turned on debug? You came very close to the reason why it was not working... I had configured nagiosgraph to write the RRDs to /var/nagios/rrd, but the nagios user was not allowed to write into it. :-( Doh. OTOH, why do we have log files (nagiosgraph.log) if errors like these are not logged there? Anyway, thanks for pointing me to re-think things. ;-) Have a good one, you all! Cheers, Holger ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Evert.Goor at benp.nl Wed Jul 6 01:24:25 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Wed, 6 Jul 2005 01:24:25 +0200 Subject: Nagios_grapher Message-ID: <19CCC8E70E4FA941848269F0C5D832CC58A475@post.systems.nl> Got a litle further with trouble shooting. Looks like that the program cannot the NAgiosGrapher.pm. Even wen it is located localy. Any idea how to fix this ----Original Message---- From: Nathan Oyler Sent: 04/07/05 20:00 To: Evert Goor ; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios_grapher -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There isn't a forum I've seen, although I've installed it and have it running on RHES3. What's the problem? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Evert Goor Sent: Monday, July 04, 2005 5:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios_grapher Hi all Is there a somewhere a forum about Nagios Grapher. Having some fights to get it running under RedHat Tanx Evert Goor ________________________________ Disclaimer B&P Computersystems BV The information contained in this e-mail message is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender as soon as possible. B+P Computersystems bv is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ________________________________ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Evert.Goor at benp.nl Wed Jul 6 01:41:12 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Wed, 6 Jul 2005 01:41:12 +0200 Subject: Nagios_grapher Message-ID: <19CCC8E70E4FA941848269F0C5D832CC58A477@post.systems.nl> Fixed The NagiosGrapher.pm was also in perl path. Can not remember to coppied there. But now it is fixed ----Original Message---- From: Evert Goor Sent: 06/07/05 01:26 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios_grapher -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Got a litle further with trouble shooting. Looks like that the program cannot the NAgiosGrapher.pm. Even wen it is located localy. Any idea how to fix this ----Original Message---- From: Nathan Oyler Sent: 04/07/05 20:00 To: Evert Goor ; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios_grapher -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There isn't a forum I've seen, although I've installed it and have it running on RHES3. What's the problem? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Evert Goor Sent: Monday, July 04, 2005 5:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios_grapher Hi all Is there a somewhere a forum about Nagios Grapher. Having some fights to get it running under RedHat Tanx Evert Goor ________________________________ Disclaimer B&P Computersystems BV The information contained in this e-mail message is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender as soon as possible. B+P Computersystems bv is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ________________________________ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ladams at cloudmark.com Wed Jul 6 02:04:05 2005 From: ladams at cloudmark.com (Lori Adams) Date: Tue, 5 Jul 2005 17:04:05 -0700 Subject: - plugin to check file system writeable ? Message-ID: How about a script that creates a file? If the creation fails, it's not writable. If the file is created, it succeeded, and then delete created file. -Lori ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sivan DERAY Sent: Monday, July 04, 2005 1:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] - plugin to check file system writeable ? hi, Is there a way to check if the file sytem is writeable ? (windows & linux) ? Thanks for help Sivan DERAY Ing?nieur S?curit? NET APTITUDE S.A.S. 215 rue Jean-Jacques Rousseau 92130 ISSY LES MOULINEAUX Mobile : 06 15 30 73 67 T?l?phone : 01 41 09 77 71 Fax : 01 41 09 77 78 Site Internet http://www.net-aptitude.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2335 bytes Desc: image001.jpg URL: From mark at redbrick.dcu.ie Wed Jul 6 02:27:00 2005 From: mark at redbrick.dcu.ie (Mark Campbell) Date: Tue, 5 Jul 2005 17:27:00 -0700 Subject: Nagios Deamon failing on FreeBSD Message-ID: <20050706002700.GA31378@carbon.redbrick.dcu.ie> Hi all, I'm having some problems with the lastest nagios on FreeBSD 5.2.1 (more information below), I am not experiencing the same trouble on my Linux machines. When I start the nagios daemon it seems to zombify itself instantly and none of the scheduled nagios checks (remain in a PENDING state). Here are the options I used at compile time: ./configure --prefix=/disk/saint --with-cgiurl=/cgi-bin --with-htmurl= --with-nagios-user=nagios --with-nagios-grp=nagios --with-default-perfdata --enable-embedded-perl --with-perlcache --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include # uname -a FreeBSD fap.redbrick.dcu.ie 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #3: Tue Jun 15 18:50:26 IST 2004 dizer at fap.cobweb:/disk/usr/obj/disk/usr/src/sys/FAP i386 # ps auxwww | grep nagios nagios 74570 0.0 0.5 3516 2644 ?? Ss Mon09PM 0:07.40 /disk/saint/bin/nagios -d /disk/saint/etc/nagios.cfg nagios 0 0.0 0.0 0 0 ?? ZW - 0:00.00 (nagios) The Nagios log doesn't seem to be having problems: [1120507507] Nagios 2.0b3 starting... (PID=74569) [1120507507] LOG VERSION: 2.0 [1120507507] Warning: Contact 'admin' is not a member of any contact groups! [1120507507] Warning: Contact group 'elected-admins' is not used in any host/service definitions or host/service escalations! [1120507507] Finished daemonizing... (New PID=74570) The only other thing that could be different is on this machine / is read-only, however I don't see how this could have an impact on the problem: # mount /dev/ad0s1a on / (ufs, local, read-only) devfs on /dev (devfs, local) /dev/ad0s1d on /disk (ufs, local, soft-updates) /dev/md0 on /var (ufs, local, soft-updates) Anyone have any ideas what could be up? If you require any further information from me, please let me know Thanks in advance for any assistance on this issue Mark -- Mark Campbell http://mark.redbrick.dcu.ie - "Trying is the first step towards Failure"- Homer J. Simpson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 6 02:53:35 2005 From: Stanley.Hopcroft at IPAustralia.gov.au (Stanley Hopcroft) Date: Wed, 6 Jul 2005 10:53:35 +1000 Subject: OT SourceForge project of the month for June In-Reply-To: <20050705200434.9688112ADF@sc8-sf-spam2.sourceforge.net> References: <20050705200434.9688112ADF@sc8-sf-spam2.sourceforge.net> Message-ID: <20050706005334.GB82688@ws11114.aipo.gov.au> Dear Folks, FYI (hope it hasn't been posted before) http://sourceforge.net/potm/potm-2005-06.php Yours sincerely. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From james at lovedthanlost.net Wed Jul 6 07:46:15 2005 From: james at lovedthanlost.net (James Turnbull) Date: Wed, 06 Jul 2005 15:46:15 +1000 Subject: Nagios and CGIWrap issue Message-ID: <20050706154615.hp5r5odw8c04gc8k@webmail.lovedthanlost.net> I've configured Nagios and Apache to work with CGIWrap. I sym-linked a /home/nagios/public_html/ directory to the Nagios CGI directory /usr/local/nagios/sbin. Everything seems to work and cgiwrap seems to be working but I also use authentication (Digest authentication) to authenticate my users. In Nagios authenticated users are then used to determine what access is granted to the Nagios web console. But after installing CGIWrap Nagios seems unable to work out what user is signed in and hence doesn't correctly authorize users. In Nagios this shows up as the signed in user name being replaced with a ?, ie. instead of the console saying jsmith is signed in it says that ? is signed in. I am running Red Hat ES 4 with Apache 2.0.52, Nagios 2.0b3 and cgiwrap 3.9. Happy to provide any further information if this is not detailed enough. Regards James Turnbull -- James Turnbull --- Author of Hardening Linux from Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Evert.Goor at benp.nl Wed Jul 6 10:02:05 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Wed, 6 Jul 2005 10:02:05 +0200 Subject: weird error in rrd Message-ID: <19CCC8E70E4FA941848269F0C5D832CC58A478@post.systems.nl> Hi all Got the nagios_grapher partly working only having one problem left all the graps show me a error like "cannot parse CF in 'DEF:RTA=/var/lib/nagios/rrd/pc-name/345435345435.rrd:RTA:MAX What means this CF error. Looked around on de RRDTool site but not a clue where to look now. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Javier.Castillo at alhambra-eidos.com Wed Jul 6 10:20:49 2005 From: Javier.Castillo at alhambra-eidos.com (Javier Castillo Alcibar) Date: Wed, 6 Jul 2005 10:20:49 +0200 Subject: performance problems Message-ID: <635868854FEE3845B2D264D9D0E4017D14B13F@ALHM3SRV.alhpridom.as> Hi everybody!! I have strange performance problem with my nagios 1.3 server(debian sarge). It checks very slowly, I can see this info using extinfo.cgi. How can I debug this? Any hint/trick? Any parameter? Program-Wide Performance Information Active Checks: Time Frame Checks Completed <= 1 minute: 95 (28.1%) <= 5 minutes: 283 (83.7%) <= 15 minutes: 338 (100.0%) <= 1 hour: 338 (100.0%) Since program start: 338 (100.0%) Metric Min. Max. Average Check Execution Time: < 1 sec 24 sec 7.201 sec Check Latency: 99 sec 135 sec 119.867 sec Percent State Change: 0.00% 0.00% 0.00% Passive Checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% # log_file=/var/log/nagios/nagios.log cfg_file=/etc/nagios/checkcommands.cfg cfg_file=/etc/nagios/misccommands.cfg cfg_file=/etc/nagios/contactgroups.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/dependencies.cfg cfg_file=/etc/nagios/escalations.cfg cfg_file=/etc/nagios/hostgroups.cfg cfg_file=/etc/nagios/hosts.cfg cfg_file=/etc/nagios/services.cfg cfg_file=/etc/nagios/timeperiods.cfg resource_file=/etc/nagios/resource.cfg temp_file=/var/log/nagios/nagios.tmp status_file=/var/log/nagios/status.log aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=1 enable_event_handlers=1 log_rotation_method=d log_archive_path=/var/log/nagios/archives check_external_commands=1 command_check_interval=-1 comment_file=/var/log/nagios/comment.log downtime_file=/var/log/nagios/downtime.log command_file=/var/log/nagios/rw/nagios.cmd lock_file=/var/log/nagios/nagios.lock retain_state_information=1 state_retention_file=/var/log/nagios/status.sav retention_update_interval=60 use_retained_program_state=0 use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_service_checks=1 sleep_time=1 max_concurrent_checks=120 #service_reaper_frequency=10 service_reaper_frequency=5 interval_length=60 use_agressive_host_checking=0 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 soft_state_dependencies=0 service_check_timeout=30 host_check_timeout=30 event_handler_timeout=60 notification_timeout=60 ocsp_timeout=5 perfdata_timeout=5 obsess_over_services=0 process_performance_data=0 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 admin_email=nagios admin_pager=pagenagios date_format=euro ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niceforums at yahoo.com Wed Jul 6 10:25:44 2005 From: niceforums at yahoo.com (hamideh daliri) Date: Wed, 6 Jul 2005 01:25:44 -0700 (PDT) Subject: problem with 3d status map. Message-ID: <20050706082544.17541.qmail@web30113.mail.mud.yahoo.com> hi, for viweing 3d status map , i got openvrml-0.15.8-1.i386.rpm but it doesn't work . i tried to use freewrl but these are some errors related to javac that say no javac , would some one help me ? my distrib is red hat AS , tnx . __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Wed Jul 6 10:49:18 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Wed, 06 Jul 2005 10:49:18 +0200 Subject: performance problems In-Reply-To: <635868854FEE3845B2D264D9D0E4017D14B13F@ALHM3SRV.alhpridom.as> References: <635868854FEE3845B2D264D9D0E4017D14B13F@ALHM3SRV.alhpridom.as> Message-ID: <42CB9B0E.6050700@gmx.net> Hello Javier, try to figure out where your Service Latencies comes from. Hints are: in nagios.cfg process_performance_data=0 http://nagios.sourceforge.net/docs/1_0/perfdata.html Out of the performance data you can perhaps see where your latencies comes from. Other ways were to view a 'top' and have a look to the swap memory, the load and perhaps the 'wa' CPU count Its not quiet good to have a server swapping, to have a high load and very ugly if your server is waiting for I/O... Javier Castillo Alcibar schrieb: >Hi everybody!! > >I have strange performance problem with my nagios 1.3 server(debian >sarge). It checks very slowly, I can see this info using extinfo.cgi. >How can I debug this? Any hint/trick? Any parameter? > >Program-Wide Performance Information > >Active Checks: > Time Frame Checks Completed ><= 1 minute: 95 (28.1%) ><= 5 minutes: 283 (83.7%) ><= 15 minutes: 338 (100.0%) ><= 1 hour: 338 (100.0%) >Since program start: 338 (100.0%) > > >Metric Min. Max. Average >Check Execution Time: < 1 sec 24 sec 7.201 sec >Check Latency: 99 sec 135 sec 119.867 sec >Percent State Change: 0.00% 0.00% 0.00% > > >Passive Checks: > Time Frame Checks Completed ><= 1 minute: 0 (0.0%) ><= 5 minutes: 0 (0.0%) ><= 15 minutes: 0 (0.0%) ><= 1 hour: 0 (0.0%) >Since program start: 0 (0.0%) > > >Metric Min. Max. Average >Percent State Change: 0.00% 0.00% 0.00% > ># >log_file=/var/log/nagios/nagios.log >cfg_file=/etc/nagios/checkcommands.cfg >cfg_file=/etc/nagios/misccommands.cfg >cfg_file=/etc/nagios/contactgroups.cfg >cfg_file=/etc/nagios/contacts.cfg >cfg_file=/etc/nagios/dependencies.cfg >cfg_file=/etc/nagios/escalations.cfg >cfg_file=/etc/nagios/hostgroups.cfg >cfg_file=/etc/nagios/hosts.cfg >cfg_file=/etc/nagios/services.cfg >cfg_file=/etc/nagios/timeperiods.cfg >resource_file=/etc/nagios/resource.cfg >temp_file=/var/log/nagios/nagios.tmp >status_file=/var/log/nagios/status.log >aggregate_status_updates=1 >status_update_interval=15 >nagios_user=nagios >nagios_group=nagios >enable_notifications=1 >execute_service_checks=1 >accept_passive_service_checks=1 >enable_event_handlers=1 >log_rotation_method=d >log_archive_path=/var/log/nagios/archives >check_external_commands=1 >command_check_interval=-1 >comment_file=/var/log/nagios/comment.log >downtime_file=/var/log/nagios/downtime.log >command_file=/var/log/nagios/rw/nagios.cmd >lock_file=/var/log/nagios/nagios.lock >retain_state_information=1 >state_retention_file=/var/log/nagios/status.sav >retention_update_interval=60 >use_retained_program_state=0 >use_syslog=1 >log_notifications=1 >log_service_retries=1 >log_host_retries=1 >log_event_handlers=1 >log_initial_states=0 >log_external_commands=1 >log_passive_service_checks=1 >sleep_time=1 >max_concurrent_checks=120 >#service_reaper_frequency=10 >service_reaper_frequency=5 >interval_length=60 >use_agressive_host_checking=0 >enable_flap_detection=0 >low_service_flap_threshold=5.0 >high_service_flap_threshold=20.0 >low_host_flap_threshold=5.0 >high_host_flap_threshold=20.0 >soft_state_dependencies=0 >service_check_timeout=30 >host_check_timeout=30 >event_handler_timeout=60 >notification_timeout=60 >ocsp_timeout=5 >perfdata_timeout=5 >obsess_over_services=0 >process_performance_data=0 >check_for_orphaned_services=0 >check_service_freshness=1 >freshness_check_interval=60 >admin_email=nagios >admin_pager=pagenagios >date_format=euro > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From krienke at uni-koblenz.de Wed Jul 6 11:04:25 2005 From: krienke at uni-koblenz.de (Rainer Krienke) Date: Wed, 6 Jul 2005 11:04:25 +0200 Subject: Timeperiod problem Message-ID: <200507061104.31212.krienke@uni-koblenz.de> Hello, I am running nagios 1.2 on a SUSE 9.2 system. Basically this works fine. However I have a problem with timeperiods I do not understand. What I want is to have nagios check a servive (load on a linux system) only in the time or 00:00 -> 22:00 because I know that at about 23:00 (11:00pm) there will be a load peak on the system checked that would lead to a nagios warning or error fpr this service. So i thought to define a timeperiod that excludes this period of time and then in the services.cfg to used this limited timeperiod definition for the check_period statement. According to the documentation this should keep nagios from checking this service if the current time is not valid. The configuration is given below. Allthough I thought this should work, it doesn't. The service is still checkek in the time of 22:00->00:00 and I get an nagios error for this service at 23:10. But why? Next I tried to write a undefined timeperiod in the servicedefinition below. Simply a name like xyz instead of 2allbut22__00". Nagios restarted without any problems which I consider even more strabge. Next I move the timeperiod.cfg file away from /etc/nagios and restarted nagios again. This time it complained that it is unable to open the timeperiods.cfg file. Does anyone have an idea whats going wrong? Thanks a lot Rainer ------------ The config: ------------ -- timeperiod.cfg: define timeperiod { timeperiod_name allbut22__00 alias All time but 22:00-24:00 sunday 00:00-22:00 monday 00:00-22:00 tuesday 00:00-22:00 wednesday 00:00-22:00 thursday 00:00-22:00 friday 00:00-22:00 saturday 00:00-22:00 } --service.cfg: define service { host_name myhostname service_description Load of myhostname name myhostname max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 check_period allbut22__00 notification_interval 240 notification_period 24x7 notification_options c,r contact_groups linux-admins check_command "/usr/bin/nagios-stat -w 5 -c 10 load myhostname.uni-koblenz.de" } -- --------------------------------------------------------------------------- Rainer Krienke, Universitaet Koblenz, Rechenzentrum, Raum A022 Universitaetsstrasse 1, 56070 Koblenz, Tel: +49 261287 -1312, Fax: -1001312 Mail: krienke at uni-koblenz.de, Web: http://www.uni-koblenz.de/~krienke Get my public PGP key: http://www.uni-koblenz.de/~krienke/mypgp.html --------------------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Martin.Wolfert at ptv.de Wed Jul 6 11:27:57 2005 From: Martin.Wolfert at ptv.de (Martin Wolfert) Date: Wed, 6 Jul 2005 11:27:57 +0200 Subject: Problems with ; Message-ID: <9BAD90A62DF5AD4CA65EFCAAA6C012EE3E7D53@ska-wn-e05.ptv.ptv.de> Hi all nagios users, i had to check an service with the check_httpp plugin. So there is the following line in the checkcommands.cfg: command_line /usr/lib/nagios/plugins/check_http -t 30 -H $HOSTADDRESS$ -u "$ARG1$$HOSTADDRESS$$ARG2$" -a "bla;foo:pwd" where "bla;foo" is a fix statement for the mandant;client combination, folowing by the pass, seperated by ":" . This circumstances can not be changed, because our application (i had to check) needs this syntax. So ... i think, that nagios do NOT like any ";" in his config files, but i had to work with it on this place :-((. Has anyone any workaround to make this http check with the required syntax ? Best regards Martin PTV AG Webadministrator R2.2 - Betrieb Internet Tel.: +49 7 21 96 51- 7128 Fax: +49 7 21 96 51- 599 E-Mail: martin.wolfert at ptv.de ____________________________ PTV Planung Transport Verkehr AG Stumpfstrasse 1 76131 Karlsruhe Germany http://www.ptv.de http://www.Reiseplanung.de http://www.varta-guide.de http://www.CityGuideFinder.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From pete at stuff-done.co.uk Wed Jul 6 11:39:42 2005 From: pete at stuff-done.co.uk (Pete Dewell) Date: Wed, 06 Jul 2005 10:39:42 +0100 Subject: Problems with ; In-Reply-To: <9BAD90A62DF5AD4CA65EFCAAA6C012EE3E7D53@ska-wn-e05.ptv.ptv.de> References: <9BAD90A62DF5AD4CA65EFCAAA6C012EE3E7D53@ska-wn-e05.ptv.ptv.de> Message-ID: <42CBA6DE.9030906@stuff-done.co.uk> Try setting up $USER$ variables in the resource.cfg file. e.g. $USER1$='bla;foo' $USER2$='pwd' Then use the command check_http -t 30 -H $HOSTADDRESS$ -u "$ARG1$$HOSTADDRESS$$ARG2$" -a "$USER1$:$USER2$" I had similar problems with some passwords, and some other person on this list kindly pointed this solution out to me. This also has the benefit of hiding your users/pwds from the standard config files. Pete Dewell Martin Wolfert wrote: > Hi all nagios users, > > i had to check an service with the check_httpp plugin. > So there is the following line in the checkcommands.cfg: > > command_line /usr/lib/nagios/plugins/check_http -t 30 -H > $HOSTADDRESS$ -u "$ARG1$$HOSTADDRESS$$ARG2$" -a "bla;foo:pwd" > > where "bla;foo" is a fix statement for the mandant;client combination, > folowing by the pass, seperated by ":" . This circumstances can not be > changed, because our application (i had to check) needs this syntax. > > So ... i think, that nagios do NOT like any ";" in his config files, but > i had to work with it on this place :-((. > > Has anyone any workaround to make this http check with the required > syntax ? > > > Best regards > > > Martin > > > PTV AG > Webadministrator > R2.2 - Betrieb Internet > Tel.: +49 7 21 96 51- 7128 > Fax: +49 7 21 96 51- 599 > E-Mail: martin.wolfert at ptv.de > ____________________________ > PTV > Planung Transport Verkehr AG > Stumpfstrasse 1 > 76131 Karlsruhe > Germany > http://www.ptv.de > http://www.Reiseplanung.de > http://www.varta-guide.de > http://www.CityGuideFinder.de > -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosadmin at snef.fr Wed Jul 6 12:00:03 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Wed, 6 Jul 2005 12:00:03 +0200 Subject: Web authentication issues Message-ID: <006201c58211$7abb5740$c26710ac@sneftechnologies.fr> Hi everyone, I have a weird problem in the Nagios web authentication. I have set all the parameters in httpd.conf (scriptalias, etc...), create htpasswd.users file, .htaccess file, cgi.cfg, set the rights permissions on these files, etc.... And then, I can authenticate with a user but I see "logged in as ?" in Nagios. So I do not have any rights to see cgi pages. And, when I change the cgi.cfg option parameter "default_user_name=nagios" for instance, I can now login in with the user yann (for instance) BUT I see "logged in as nagios" in the Nagios frontend. If I remove the cgi parameter, the "logged in as ?" appears again. Could someone help me please ? Davy -------------- next part -------------- An HTML attachment was scrubbed... URL: From Javier.Castillo at alhambra-eidos.com Wed Jul 6 12:05:21 2005 From: Javier.Castillo at alhambra-eidos.com (Javier Castillo Alcibar) Date: Wed, 6 Jul 2005 12:05:21 +0200 Subject: performance problems Message-ID: <635868854FEE3845B2D264D9D0E4017D14B14A@ALHM3SRV.alhpridom.as> Hello Hendrik, The machine is a DL380, 2xCPU 2.8Ghz, 2Gb RAM. I think it has enough hw resources..... Technically: alhmngsrv2:/etc/nagios# vmstat 5 procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 4 215764 222008 594536 0 0 0 0 0 1 6 4 88 2 1 0 4 211028 222008 594536 0 0 0 246 1170 0 4 1 93 2 1 0 4 202228 222008 594536 0 0 0 314 1182 0 13 2 83 3 0 0 4 205300 222008 594536 0 0 0 126 1167 0 8 1 90 1 18 0 4 209660 222008 594536 0 0 0 275 1207 0 1 1 94 4 0 0 4 209596 222008 594536 0 0 0 229 1143 0 2 1 96 2 0 0 4 202428 222012 594532 0 0 0 77 1117 0 5 1 94 0 2 0 4 186940 222016 594528 0 0 0 110 1145 0 19 2 80 0 2 0 4 190076 222016 594528 0 0 0 245 1127 0 1 1 96 2 17 0 4 191020 222016 594528 0 0 0 150 1128 0 2 1 96 2 2 0 4 198316 222016 594460 0 0 0 286 1138 0 3 1 94 2 0 0 4 197004 222020 594456 0 0 0 168 1125 0 2 1 96 2 17 0 4 196436 222028 594448 0 0 0 396 1210 0 2 1 93 3 9 0 4 205908 222028 594448 0 0 0 393 1244 0 3 1 92 3 It's very strange, because, when I start nagios, everything goes nicely, plugins execution times and latencies are ok, but two or three minutes later, nagios starts getting strange time values, for example: 1120644060 FIREWALL PING OK 1 HARD 9 157 FPING OK - 192.168.0.1 (loss=0%, rta=72.400000 ms) loss=0%;10;30;0;100 rta=0.072400s;2.000000;5.000000;0.000000 Executiontime=9 and Latency=157 ???? Why? This test have had no packet loss, the machine is working nicely....but... Another strange thing I noticed: if have "max_concurrent_checks=120", why are so many times that nagios is running only 1,2,3,4 plugins at the same time? It's true, I'm very confused.... Thx in advance, Javier. -----Mensaje original----- De: Hendrik Baecker [mailto:b00mer at gmx.net] Enviado el: mi?rcoles, 06 de julio de 2005 10:49 Para: Javier Castillo Alcibar CC: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] performance problems Hello Javier, try to figure out where your Service Latencies comes from. Hints are: in nagios.cfg process_performance_data=0 http://nagios.sourceforge.net/docs/1_0/perfdata.html Out of the performance data you can perhaps see where your latencies comes from. Other ways were to view a 'top' and have a look to the swap memory, the load and perhaps the 'wa' CPU count Its not quiet good to have a server swapping, to have a high load and very ugly if your server is waiting for I/O... Javier Castillo Alcibar schrieb: >Hi everybody!! > >I have strange performance problem with my nagios 1.3 server(debian >sarge). It checks very slowly, I can see this info using extinfo.cgi. >How can I debug this? Any hint/trick? Any parameter? > >Program-Wide Performance Information > >Active Checks: > Time Frame Checks Completed ><= 1 minute: 95 (28.1%) ><= 5 minutes: 283 (83.7%) ><= 15 minutes: 338 (100.0%) ><= 1 hour: 338 (100.0%) >Since program start: 338 (100.0%) > > >Metric Min. Max. Average >Check Execution Time: < 1 sec 24 sec 7.201 sec >Check Latency: 99 sec 135 sec 119.867 sec >Percent State Change: 0.00% 0.00% 0.00% > > >Passive Checks: > Time Frame Checks Completed ><= 1 minute: 0 (0.0%) ><= 5 minutes: 0 (0.0%) ><= 15 minutes: 0 (0.0%) ><= 1 hour: 0 (0.0%) >Since program start: 0 (0.0%) > > >Metric Min. Max. Average >Percent State Change: 0.00% 0.00% 0.00% > ># >log_file=/var/log/nagios/nagios.log >cfg_file=/etc/nagios/checkcommands.cfg >cfg_file=/etc/nagios/misccommands.cfg >cfg_file=/etc/nagios/contactgroups.cfg >cfg_file=/etc/nagios/contacts.cfg >cfg_file=/etc/nagios/dependencies.cfg >cfg_file=/etc/nagios/escalations.cfg >cfg_file=/etc/nagios/hostgroups.cfg >cfg_file=/etc/nagios/hosts.cfg >cfg_file=/etc/nagios/services.cfg >cfg_file=/etc/nagios/timeperiods.cfg >resource_file=/etc/nagios/resource.cfg >temp_file=/var/log/nagios/nagios.tmp >status_file=/var/log/nagios/status.log >aggregate_status_updates=1 >status_update_interval=15 >nagios_user=nagios >nagios_group=nagios >enable_notifications=1 >execute_service_checks=1 >accept_passive_service_checks=1 >enable_event_handlers=1 >log_rotation_method=d >log_archive_path=/var/log/nagios/archives >check_external_commands=1 >command_check_interval=-1 >comment_file=/var/log/nagios/comment.log >downtime_file=/var/log/nagios/downtime.log >command_file=/var/log/nagios/rw/nagios.cmd >lock_file=/var/log/nagios/nagios.lock >retain_state_information=1 >state_retention_file=/var/log/nagios/status.sav >retention_update_interval=60 >use_retained_program_state=0 >use_syslog=1 >log_notifications=1 >log_service_retries=1 >log_host_retries=1 >log_event_handlers=1 >log_initial_states=0 >log_external_commands=1 >log_passive_service_checks=1 >sleep_time=1 >max_concurrent_checks=120 >#service_reaper_frequency=10 >service_reaper_frequency=5 >interval_length=60 >use_agressive_host_checking=0 >enable_flap_detection=0 >low_service_flap_threshold=5.0 >high_service_flap_threshold=20.0 >low_host_flap_threshold=5.0 >high_host_flap_threshold=20.0 >soft_state_dependencies=0 >service_check_timeout=30 >host_check_timeout=30 >event_handler_timeout=60 >notification_timeout=60 >ocsp_timeout=5 >perfdata_timeout=5 >obsess_over_services=0 >process_performance_data=0 >check_for_orphaned_services=0 >check_service_freshness=1 >freshness_check_interval=60 >admin_email=nagios >admin_pager=pagenagios >date_format=euro > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Evert.Goor at benp.nl Wed Jul 6 12:20:21 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Wed, 6 Jul 2005 12:20:21 +0200 Subject: Web authentication issues Message-ID: <19CCC8E70E4FA941848269F0C5D832CC58A479@post.systems.nl> Did you also put the .htaccess file into your sbin dir ? I think that file is missing. Just try to open a new browser and go directly to your cgi-bin and try to access. It should also request there for a username and password. ----Original Message---- From: Davy Gaussen Sent: 06/07/05 12:06 To: nagios-users Subject: [Nagios-users] Web authentication issues -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Hi everyone, I have a weird problem in the Nagios web authentication. I have set all the parameters in httpd.conf (scriptalias, etc...), create htpasswd.users file, .htaccess file, cgi.cfg, set the rights permissions on these files, etc.... And then, I can authenticate with a user but I see "logged in as ?" in Nagios. So I do not have any rights to see cgi pages. And, when I change the cgi.cfg option parameter "default_user_name=nagios" for instance, I can now login in with the user yann (for instance) BUT I see "logged in as nagios" in the Nagios frontend. If I remove the cgi parameter, the "logged in as ?" appears again. Could someone help me please ? Davy ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosadmin at snef.fr Wed Jul 6 13:42:19 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Wed, 6 Jul 2005 13:42:19 +0200 Subject: Web authentication issues References: <19CCC8E70E4FA941848269F0C5D832CC58A479@post.systems.nl> Message-ID: <006801c5821f$c3fd4680$c26710ac@sneftechnologies.fr> Thank you very much it works perfectly !!!!! ----- Original Message ----- From: "Evert Goor" To: Sent: Wednesday, July 06, 2005 12:20 PM Subject: RE: [Nagios-users] Web authentication issues > Did you also put the .htaccess file into your sbin dir ? > I think that file is missing. > Just try to open a new browser and go directly to your cgi-bin and try to access. It should also request there for a username and password. > > ----Original Message---- > From: Davy Gaussen > Sent: 06/07/05 12:06 > To: nagios-users > Subject: [Nagios-users] Web authentication issues > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Hi everyone, > > I have a weird problem in the Nagios web authentication. > > I have set all the parameters in httpd.conf (scriptalias, etc...), create htpasswd.users file, .htaccess file, cgi.cfg, set the rights permissions on these files, etc.... And then, I can authenticate with a user but I see "logged in as ?" in Nagios. So I do not have any rights to see cgi pages. And, when I change the cgi.cfg option parameter "default_user_name=nagios" for instance, I can now login in with the user yann (for instance) BUT I see "logged in as nagios" in the Nagios frontend. If I remove the cgi parameter, the "logged in as ?" appears again. > > Could someone help me please ? > > Davy > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludo.Bosmans at aureusim.be Wed Jul 6 13:51:59 2005 From: Ludo.Bosmans at aureusim.be (Ludo Bosmans) Date: Wed, 6 Jul 2005 13:51:59 +0200 Subject: performance problems Message-ID: <02769B432700E649B14C0847840DC83B378CA3@becompanysrv020.consulting.becompany> Hi, Some impotant params are not posted. Were are: Service_interleave_factor Inter_check_delay_method Regards, Ludo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Javier Castillo Alcibar Sent: woensdag 6 juli 2005 12:05 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] performance problems Hello Hendrik, The machine is a DL380, 2xCPU 2.8Ghz, 2Gb RAM. I think it has enough hw resources..... Technically: alhmngsrv2:/etc/nagios# vmstat 5 procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 4 215764 222008 594536 0 0 0 0 0 1 6 4 88 2 1 0 4 211028 222008 594536 0 0 0 246 1170 0 4 1 93 2 1 0 4 202228 222008 594536 0 0 0 314 1182 0 13 2 83 3 0 0 4 205300 222008 594536 0 0 0 126 1167 0 8 1 90 1 18 0 4 209660 222008 594536 0 0 0 275 1207 0 1 1 94 4 0 0 4 209596 222008 594536 0 0 0 229 1143 0 2 1 96 2 0 0 4 202428 222012 594532 0 0 0 77 1117 0 5 1 94 0 2 0 4 186940 222016 594528 0 0 0 110 1145 0 19 2 80 0 2 0 4 190076 222016 594528 0 0 0 245 1127 0 1 1 96 2 17 0 4 191020 222016 594528 0 0 0 150 1128 0 2 1 96 2 2 0 4 198316 222016 594460 0 0 0 286 1138 0 3 1 94 2 0 0 4 197004 222020 594456 0 0 0 168 1125 0 2 1 96 2 17 0 4 196436 222028 594448 0 0 0 396 1210 0 2 1 93 3 9 0 4 205908 222028 594448 0 0 0 393 1244 0 3 1 92 3 It's very strange, because, when I start nagios, everything goes nicely, plugins execution times and latencies are ok, but two or three minutes later, nagios starts getting strange time values, for example: 1120644060 FIREWALL PING OK 1 HARD 9 157 FPING OK - 192.168.0.1 (loss=0%, rta=72.400000 ms) loss=0%;10;30;0;100 rta=0.072400s;2.000000;5.000000;0.000000 Executiontime=9 and Latency=157 ???? Why? This test have had no packet loss, the machine is working nicely....but... Another strange thing I noticed: if have "max_concurrent_checks=120", why are so many times that nagios is running only 1,2,3,4 plugins at the same time? It's true, I'm very confused.... Thx in advance, Javier. -----Mensaje original----- De: Hendrik Baecker [mailto:b00mer at gmx.net] Enviado el: mi?rcoles, 06 de julio de 2005 10:49 Para: Javier Castillo Alcibar CC: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] performance problems Hello Javier, try to figure out where your Service Latencies comes from. Hints are: in nagios.cfg process_performance_data=0 http://nagios.sourceforge.net/docs/1_0/perfdata.html Out of the performance data you can perhaps see where your latencies comes from. Other ways were to view a 'top' and have a look to the swap memory, the load and perhaps the 'wa' CPU count Its not quiet good to have a server swapping, to have a high load and very ugly if your server is waiting for I/O... Javier Castillo Alcibar schrieb: >Hi everybody!! > >I have strange performance problem with my nagios 1.3 server(debian >sarge). It checks very slowly, I can see this info using extinfo.cgi. >How can I debug this? Any hint/trick? Any parameter? > >Program-Wide Performance Information > >Active Checks: > Time Frame Checks Completed ><= 1 minute: 95 (28.1%) ><= 5 minutes: 283 (83.7%) ><= 15 minutes: 338 (100.0%) ><= 1 hour: 338 (100.0%) >Since program start: 338 (100.0%) > > >Metric Min. Max. Average >Check Execution Time: < 1 sec 24 sec 7.201 sec >Check Latency: 99 sec 135 sec 119.867 sec >Percent State Change: 0.00% 0.00% 0.00% > > >Passive Checks: > Time Frame Checks Completed ><= 1 minute: 0 (0.0%) ><= 5 minutes: 0 (0.0%) ><= 15 minutes: 0 (0.0%) ><= 1 hour: 0 (0.0%) >Since program start: 0 (0.0%) > > >Metric Min. Max. Average >Percent State Change: 0.00% 0.00% 0.00% > ># >log_file=/var/log/nagios/nagios.log >cfg_file=/etc/nagios/checkcommands.cfg >cfg_file=/etc/nagios/misccommands.cfg >cfg_file=/etc/nagios/contactgroups.cfg >cfg_file=/etc/nagios/contacts.cfg >cfg_file=/etc/nagios/dependencies.cfg >cfg_file=/etc/nagios/escalations.cfg >cfg_file=/etc/nagios/hostgroups.cfg >cfg_file=/etc/nagios/hosts.cfg >cfg_file=/etc/nagios/services.cfg >cfg_file=/etc/nagios/timeperiods.cfg >resource_file=/etc/nagios/resource.cfg >temp_file=/var/log/nagios/nagios.tmp >status_file=/var/log/nagios/status.log >aggregate_status_updates=1 >status_update_interval=15 >nagios_user=nagios >nagios_group=nagios >enable_notifications=1 >execute_service_checks=1 >accept_passive_service_checks=1 >enable_event_handlers=1 >log_rotation_method=d >log_archive_path=/var/log/nagios/archives >check_external_commands=1 >command_check_interval=-1 >comment_file=/var/log/nagios/comment.log >downtime_file=/var/log/nagios/downtime.log >command_file=/var/log/nagios/rw/nagios.cmd >lock_file=/var/log/nagios/nagios.lock >retain_state_information=1 >state_retention_file=/var/log/nagios/status.sav >retention_update_interval=60 >use_retained_program_state=0 >use_syslog=1 >log_notifications=1 >log_service_retries=1 >log_host_retries=1 >log_event_handlers=1 >log_initial_states=0 >log_external_commands=1 >log_passive_service_checks=1 >sleep_time=1 >max_concurrent_checks=120 >#service_reaper_frequency=10 >service_reaper_frequency=5 >interval_length=60 >use_agressive_host_checking=0 >enable_flap_detection=0 >low_service_flap_threshold=5.0 >high_service_flap_threshold=20.0 >low_host_flap_threshold=5.0 >high_host_flap_threshold=20.0 >soft_state_dependencies=0 >service_check_timeout=30 >host_check_timeout=30 >event_handler_timeout=60 >notification_timeout=60 >ocsp_timeout=5 >perfdata_timeout=5 >obsess_over_services=0 >process_performance_data=0 >check_for_orphaned_services=0 >check_service_freshness=1 >freshness_check_interval=60 >admin_email=nagios >admin_pager=pagenagios >date_format=euro > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Javier.Castillo at alhambra-eidos.com Wed Jul 6 13:54:26 2005 From: Javier.Castillo at alhambra-eidos.com (Javier Castillo Alcibar) Date: Wed, 6 Jul 2005 13:54:26 +0200 Subject: performance problems Message-ID: <635868854FEE3845B2D264D9D0E4017D14B165@ALHM3SRV.alhpridom.as> Umm, are those parameters valid in nagios1.x?? alhmngsrv2:/etc/nagios# grep service_interleave_factor nagios.cfg alhmngsrv2:/etc/nagios# grep inter_check_delay_method nagios.cfg I don't have such parameters.... -----Mensaje original----- De: Ludo Bosmans [mailto:Ludo.Bosmans at aureusim.be] Enviado el: mi?rcoles, 06 de julio de 2005 13:52 Para: Javier Castillo Alcibar; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] performance problems Hi, Some impotant params are not posted. Were are: Service_interleave_factor Inter_check_delay_method Regards, Ludo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Javier Castillo Alcibar Sent: woensdag 6 juli 2005 12:05 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] performance problems Hello Hendrik, The machine is a DL380, 2xCPU 2.8Ghz, 2Gb RAM. I think it has enough hw resources..... Technically: alhmngsrv2:/etc/nagios# vmstat 5 procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 4 215764 222008 594536 0 0 0 0 0 1 6 4 88 2 1 0 4 211028 222008 594536 0 0 0 246 1170 0 4 1 93 2 1 0 4 202228 222008 594536 0 0 0 314 1182 0 13 2 83 3 0 0 4 205300 222008 594536 0 0 0 126 1167 0 8 1 90 1 18 0 4 209660 222008 594536 0 0 0 275 1207 0 1 1 94 4 0 0 4 209596 222008 594536 0 0 0 229 1143 0 2 1 96 2 0 0 4 202428 222012 594532 0 0 0 77 1117 0 5 1 94 0 2 0 4 186940 222016 594528 0 0 0 110 1145 0 19 2 80 0 2 0 4 190076 222016 594528 0 0 0 245 1127 0 1 1 96 2 17 0 4 191020 222016 594528 0 0 0 150 1128 0 2 1 96 2 2 0 4 198316 222016 594460 0 0 0 286 1138 0 3 1 94 2 0 0 4 197004 222020 594456 0 0 0 168 1125 0 2 1 96 2 17 0 4 196436 222028 594448 0 0 0 396 1210 0 2 1 93 3 9 0 4 205908 222028 594448 0 0 0 393 1244 0 3 1 92 3 It's very strange, because, when I start nagios, everything goes nicely, plugins execution times and latencies are ok, but two or three minutes later, nagios starts getting strange time values, for example: 1120644060 FIREWALL PING OK 1 HARD 9 157 FPING OK - 192.168.0.1 (loss=0%, rta=72.400000 ms) loss=0%;10;30;0;100 rta=0.072400s;2.000000;5.000000;0.000000 Executiontime=9 and Latency=157 ???? Why? This test have had no packet loss, the machine is working nicely....but... Another strange thing I noticed: if have "max_concurrent_checks=120", why are so many times that nagios is running only 1,2,3,4 plugins at the same time? It's true, I'm very confused.... Thx in advance, Javier. -----Mensaje original----- De: Hendrik Baecker [mailto:b00mer at gmx.net] Enviado el: mi?rcoles, 06 de julio de 2005 10:49 Para: Javier Castillo Alcibar CC: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] performance problems Hello Javier, try to figure out where your Service Latencies comes from. Hints are: in nagios.cfg process_performance_data=0 http://nagios.sourceforge.net/docs/1_0/perfdata.html Out of the performance data you can perhaps see where your latencies comes from. Other ways were to view a 'top' and have a look to the swap memory, the load and perhaps the 'wa' CPU count Its not quiet good to have a server swapping, to have a high load and very ugly if your server is waiting for I/O... Javier Castillo Alcibar schrieb: >Hi everybody!! > >I have strange performance problem with my nagios 1.3 server(debian >sarge). It checks very slowly, I can see this info using extinfo.cgi. >How can I debug this? Any hint/trick? Any parameter? > >Program-Wide Performance Information > >Active Checks: > Time Frame Checks Completed ><= 1 minute: 95 (28.1%) ><= 5 minutes: 283 (83.7%) ><= 15 minutes: 338 (100.0%) ><= 1 hour: 338 (100.0%) >Since program start: 338 (100.0%) > > >Metric Min. Max. Average >Check Execution Time: < 1 sec 24 sec 7.201 sec >Check Latency: 99 sec 135 sec 119.867 sec >Percent State Change: 0.00% 0.00% 0.00% > > >Passive Checks: > Time Frame Checks Completed ><= 1 minute: 0 (0.0%) ><= 5 minutes: 0 (0.0%) ><= 15 minutes: 0 (0.0%) ><= 1 hour: 0 (0.0%) >Since program start: 0 (0.0%) > > >Metric Min. Max. Average >Percent State Change: 0.00% 0.00% 0.00% > ># >log_file=/var/log/nagios/nagios.log >cfg_file=/etc/nagios/checkcommands.cfg >cfg_file=/etc/nagios/misccommands.cfg >cfg_file=/etc/nagios/contactgroups.cfg >cfg_file=/etc/nagios/contacts.cfg >cfg_file=/etc/nagios/dependencies.cfg >cfg_file=/etc/nagios/escalations.cfg >cfg_file=/etc/nagios/hostgroups.cfg >cfg_file=/etc/nagios/hosts.cfg >cfg_file=/etc/nagios/services.cfg >cfg_file=/etc/nagios/timeperiods.cfg >resource_file=/etc/nagios/resource.cfg >temp_file=/var/log/nagios/nagios.tmp >status_file=/var/log/nagios/status.log >aggregate_status_updates=1 >status_update_interval=15 >nagios_user=nagios >nagios_group=nagios >enable_notifications=1 >execute_service_checks=1 >accept_passive_service_checks=1 >enable_event_handlers=1 >log_rotation_method=d >log_archive_path=/var/log/nagios/archives >check_external_commands=1 >command_check_interval=-1 >comment_file=/var/log/nagios/comment.log >downtime_file=/var/log/nagios/downtime.log >command_file=/var/log/nagios/rw/nagios.cmd >lock_file=/var/log/nagios/nagios.lock >retain_state_information=1 >state_retention_file=/var/log/nagios/status.sav >retention_update_interval=60 >use_retained_program_state=0 >use_syslog=1 >log_notifications=1 >log_service_retries=1 >log_host_retries=1 >log_event_handlers=1 >log_initial_states=0 >log_external_commands=1 >log_passive_service_checks=1 >sleep_time=1 >max_concurrent_checks=120 >#service_reaper_frequency=10 >service_reaper_frequency=5 >interval_length=60 >use_agressive_host_checking=0 >enable_flap_detection=0 >low_service_flap_threshold=5.0 >high_service_flap_threshold=20.0 >low_host_flap_threshold=5.0 >high_host_flap_threshold=20.0 >soft_state_dependencies=0 >service_check_timeout=30 >host_check_timeout=30 >event_handler_timeout=60 >notification_timeout=60 >ocsp_timeout=5 >perfdata_timeout=5 >obsess_over_services=0 >process_performance_data=0 >check_for_orphaned_services=0 >check_service_freshness=1 >freshness_check_interval=60 >admin_email=nagios >admin_pager=pagenagios >date_format=euro > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin.Wolfert at ptv.de Wed Jul 6 14:20:39 2005 From: Martin.Wolfert at ptv.de (Martin Wolfert) Date: Wed, 6 Jul 2005 14:20:39 +0200 Subject: AW: Problems with ; Message-ID: <9BAD90A62DF5AD4CA65EFCAAA6C012EE3E7D57@ska-wn-e05.ptv.ptv.de> Hi Pete, thanks alot for the information ..... it works fine now :-)) Best regards Martin > -----Urspr?ngliche Nachricht----- > Von: Pete Dewell [mailto:pete at stuff-done.co.uk] > Gesendet: Mittwoch, 6. Juli 2005 11:40 > An: Martin Wolfert > Cc: 'nagios-users at lists.sourceforge.net' > Betreff: Re: [Nagios-users] Problems with ; > > > Try setting up $USER$ variables in the resource.cfg file. > > e.g. > $USER1$='bla;foo' > $USER2$='pwd' > > Then use the command > check_http -t 30 -H $HOSTADDRESS$ -u "$ARG1$$HOSTADDRESS$$ARG2$" -a > "$USER1$:$USER2$" > > I had similar problems with some passwords, and some other person on > this list kindly pointed this solution out to me. This also has the > benefit of hiding your users/pwds from the standard config files. > > Pete Dewell > > Martin Wolfert wrote: > > Hi all nagios users, > > > > i had to check an service with the check_httpp plugin. > > So there is the following line in the checkcommands.cfg: > > > > command_line /usr/lib/nagios/plugins/check_http -t 30 -H > > $HOSTADDRESS$ -u "$ARG1$$HOSTADDRESS$$ARG2$" -a "bla;foo:pwd" > > > > where "bla;foo" is a fix statement for the mandant;client > combination, > > folowing by the pass, seperated by ":" . This > circumstances can not be > > changed, because our application (i had to check) needs this syntax. > > > > So ... i think, that nagios do NOT like any ";" in his > config files, but > > i had to work with it on this place :-((. > > > > Has anyone any workaround to make this http check with the required > > syntax ? > > > > > > Best regards > > > > > > Martin > > > > > > PTV AG > > Webadministrator > > R2.2 - Betrieb Internet > > Tel.: +49 7 21 96 51- 7128 > > Fax: +49 7 21 96 51- 599 > > E-Mail: martin.wolfert at ptv.de > > ____________________________ > > PTV > > Planung Transport Verkehr AG > > Stumpfstrasse 1 > > 76131 Karlsruhe > > Germany > > http://www.ptv.de > > http://www.Reiseplanung.de > > http://www.varta-guide.de > > http://www.CityGuideFinder.de > > > > -- > Pete Dewell | Stuff Done > pete at stuff-done.co.uk > > > ** The information contained in this message, including any > attachment, > is confidential and may be privileged or otherwise protected from > disclosure. The information is intended only for the person > or entity to > which it is addressed. If you are not the intended recipient, please > contact the sender and delete this message from your system. > Any review, > re-transmission, distribution or other use of this information by > persons or entities other than the intended recipient is prohibited. * > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Jul 6 16:42:57 2005 From: marc at ena.com (Marc Powell) Date: Wed, 6 Jul 2005 09:42:57 -0500 Subject: performance problems Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Javier Castillo Alcibar > Sent: Wednesday, July 06, 2005 6:54 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] performance problems > > Umm, are those parameters valid in nagios1.x?? Yes, that's what the docs are for... > > alhmngsrv2:/etc/nagios# grep service_interleave_factor nagios.cfg http://nagios.sourceforge.net/docs/1_0/configmain.html#service_interleav e_factor > alhmngsrv2:/etc/nagios# grep inter_check_delay_method nagios.cfg http://nagios.sourceforge.net/docs/1_0/configmain.html#inter_check_delay _method -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 6 16:54:01 2005 From: marc at ena.com (Marc Powell) Date: Wed, 6 Jul 2005 09:54:01 -0500 Subject: weird error in rrd Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Evert Goor > Sent: Wednesday, July 06, 2005 3:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] weird error in rrd > > Hi all > Got the nagios_grapher partly working only having one problem left > all the graps show me a error like "cannot parse CF in > 'DEF:RTA=/var/lib/nagios/rrd/pc-name/345435345435.rrd:RTA:MAX > > What means this CF error. Looked around on de RRDTool site but not a clue > where to look now. CF is the Consolidation Function. This is usually AVERAGE but can be MAX(IMUM), MIN(IMUM) or LAST. See http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tut/rrd-beginners.en. html. It's touched on in the RRA section. It would appear that when you created the rrd file you did not specify it to calculate/store MAX for RTA. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjesse at iserv.net Wed Jul 6 16:57:31 2005 From: jjesse at iserv.net (Jonathan Jesse) Date: Wed, 6 Jul 2005 10:57:31 -0400 Subject: Problems starting Nagios Message-ID: <200507061057.31648.jjesse@iserv.net> Brand new to Nagios and have installed in on a test machine @ home and it works great. ?Using debian and used apt-get install nagios-mysql (as I wanted MySQL support) to install and configure Nagios. I have made the changes in cgi.cfg and resource.cfg to write to the database and also created the database correctly through create_mysql included in the install. Created my configs and verified that it works correctly through nagios -v nagios.cfg and it returns no errors. If I start nagios w/ nagios /etc/nagios/nagios.cfg in the log file it shows Nagios starting.... however when I go to the webpage it shows up as the monitoring process may not be running. Also through /etc/init.d/nagios start in the log it shows nagios starting, but same errror message in the web page. If I do a /etc/init.d/nagios reload it says ?"Reloading nagios configuration files. ? Not running. " Any help would be apprecaited ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aivaturi2 at unlnotes.unl.edu Wed Jul 6 17:00:33 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Wed, 6 Jul 2005 10:00:33 -0500 Subject: notification reasons Message-ID: Is there any way to configure descriptive notifications? For e.g. if a server is unavailable and then it comes back up, nagios sends me two notifications - one for down and one for up. I'd like to see a small info why the server was down when the up notification is received. May be a tail of the messages or something similar. May be this is far fetched or may be some one has done something similar. Any suggestions? --Turi -------------- next part -------------- An HTML attachment was scrubbed... URL: From Evert.Goor at benp.nl Wed Jul 6 17:04:49 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Wed, 6 Jul 2005 17:04:49 +0200 Subject: weird error in rrd Message-ID: <19CCC8E70E4FA941848269F0C5D832CC58A47C@post.systems.nl> I tried to extract is by commandline. And then i just get the answer 0x0. Is this bad or good. And just looking at the file i just get lots of nan and a few lines with some valeus. ----Original Message---- From: Marc Powell Sent: 06/07/05 17:00 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] weird error in rrd -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Evert Goor > Sent: Wednesday, July 06, 2005 3:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] weird error in rrd > > Hi all > Got the nagios_grapher partly working only having one problem left > all the graps show me a error like "cannot parse CF in > 'DEF:RTA=/var/lib/nagios/rrd/pc-name/345435345435.rrd:RTA:MAX > > What means this CF error. Looked around on de RRDTool site but not a clue > where to look now. CF is the Consolidation Function. This is usually AVERAGE but can be MAX(IMUM), MIN(IMUM) or LAST. See http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tut/rrd-beginners.en. html. It's touched on in the RRA section. It would appear that when you created the rrd file you did not specify it to calculate/store MAX for RTA. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 6 17:15:07 2005 From: marc at ena.com (Marc Powell) Date: Wed, 6 Jul 2005 10:15:07 -0500 Subject: notification reasons Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Aditya Ivaturi > Sent: Wednesday, July 06, 2005 10:01 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification reasons > > > Is there any way to configure descriptive notifications? For e.g. if a > server is unavailable and then it comes back up, nagios sends me two > notifications - one for down and one for up. I'd like to see a small info > why the server was down when the up notification is received. May be a > tail of the messages or something similar. May be this is far fetched or > may be some one has done something similar. Any suggestions? The only macro's you have available for notification directly from Nagios are listed here -- http://nagios.sourceforge.net/docs/1_0/macros.html That being said, your notification command can be any script you like. It is certainly possible with a little programming to take the relevant macro's in as command line arguments and gather additional information from other sources to include in the email that you send. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 6 17:18:22 2005 From: marc at ena.com (Marc Powell) Date: Wed, 6 Jul 2005 10:18:22 -0500 Subject: weird error in rrd Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Evert Goor > Sent: Wednesday, July 06, 2005 10:05 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: RE: [Nagios-users] weird error in rrd > > I tried to extract is by commandline. And then i just get the answer 0x0. > Is this bad or good. And just looking at the file i just get lots of nan > and a few lines with some valeus. I wouldn't expect it to be returning a hex number so probably bad. NaN's are normal if values haven't been populated for those time periods. What command did you use to create your rrd? Did you specify an RRA with a CF of MAX for RTA? -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tringer at mpr.org Wed Jul 6 17:48:31 2005 From: tringer at mpr.org (Torleiv Ringer) Date: Wed, 06 Jul 2005 10:48:31 -0500 Subject: - plugin to check file system writeable ? In-Reply-To: References: Message-ID: <1120664911.1916.227.camel@unwise.mpr.org> > Is there a way to check if the file sytem is writeable ? (windows & > linux) ? bash$ cat /etc/mtab /dev/hda5 /usr ext2 rw 0 0 /dev/hda6 /var ext2 rw 0 0 /dev/sdb1 /opt ext3 rw 0 0 The fourth field shows the read-write status. -- Torleiv Ringer Broadcast Systems Administrator Minnesota Public Radio http://www.mpr.org ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcunietti at enter.it Wed Jul 6 18:08:58 2005 From: mcunietti at enter.it (Mariano Cunietti) Date: Wed, 06 Jul 2005 18:08:58 +0200 Subject: SOLVED - passive checks AGAIN In-Reply-To: References: Message-ID: <1120666137.17453.35.camel@bytecode.enter.it> turn on external commands in nagios.cfg: check_external_commands=1 it took all day to read Nagios source code and understand what the hell was waiting for to parse nagios.cmd. BTW, nagios documentation is a real sh*t.... bye all On Tue, 2005-07-05 at 19:57, Marc Powell wrote: > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Mariano Cunietti > > Sent: Tuesday, July 05, 2005 10:29 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] passive checks AGAIN > > > > Hello everybody, > > I'm getting crazy to get passive checks to work on Nagios 1.2. > > I've set up everything so that snmp traps sent from Cisco ATM router > > write correctly to nagios.cmd. > > I've set up a service to handle more Virtual lines, and to declare > which > > VRF virtual line is going up or down, using the text space in the > > nagios.cmd line. > > > > Here's nagios.cmd: > > > > [1120576366] PROCESS_SERVICE_CHECK_RESULT;atm1-mi;MPLS-VRF;0;milko > > > > Yet, I was forced by Nagios to set up also a dummy active check > > (check_dummy), otherwise it would refuse to startup. > > > > services.cfg > > > > define service { > > use generic-service > > name passive-service > > is_volatile 1 > > passive_checks_enabled 1 > > max_check_attempts 10 > > normal_check_interval 1 > > retry_check_interval 1 > > notification_interval 60 ; 2h > > active_checks_enabled 0 > > notification_period 24x7 > > notification_options c,r > > check_command check_dummy!3 > > check_period 24x7 > > check_freshness 1 > > register 0 > > } > > > > define service{ > > use passive-service > > host_name atm1-mi > > service_description MPLS-VRF > > contact_groups admins-SMS > > } > > > > checkcommands.cfg: > > > > define command{ > > command_name check_dummy > > command_line $USER1$/check_dummy $ARG1$ > > } > > > > Now, the BIG problem is that Nagios parses nagios.cmd, but the status > > reported is the one set in check_command statement, and not the one > > reported in nagios.cmd. So I always get all lines in UNKNOWN(=exit > > status 3) state. > > > > Any hint? Please help > > Do you have retention enabled? If so, read the Retention Notes at > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html. > > Does the Scheduling Queue show a valid Next Check time for this service? > It should show 'N/A'. A valid time would indicate a retention problem. > > You also have freshness checking enabled but didn't specify your > freshness_check_interval from nagios.cfg. If your > freshness_check_interval is <= 60 seconds you'd probably see the results > above. I'd try disabling freshness checking on this service to see if > that helps resolve the problem. More information on how freshness > checking works can be found at > http://nagios.sourceforge.net/docs/1_0/freshness.html > > -- > Marc > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------- Mariano Cunietti System Administrator Enter S.r.l. Via Stefanardo da Vimercate, 28 20128 - Milano - Italy Tel. +39 02 25514319 Fax +39 02 25514303 mcunietti at enter.it www.enter.it - www.enterpoint.it --------------------------- Gruppo Y2K - www.gruppoy2k.it ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Evert.Goor at benp.nl Wed Jul 6 18:47:47 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Wed, 6 Jul 2005 18:47:47 +0200 Subject: Problems starting Nagios Message-ID: <19CCC8E70E4FA941848269F0C5D832CC58A47E@post.systems.nl> Which version of Nagios are you running ? They dropped MySql support in 2.X ----Original Message---- From: Jonathan Jesse Sent: 06/07/05 17:02 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems starting Nagios -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Brand new to Nagios and have installed in on a test machine @ home and it works great. ?Using debian and used apt-get install nagios-mysql (as I wanted MySQL support) to install and configure Nagios. I have made the changes in cgi.cfg and resource.cfg to write to the database and also created the database correctly through create_mysql included in the install. Created my configs and verified that it works correctly through nagios -v nagios.cfg and it returns no errors. If I start nagios w/ nagios /etc/nagios/nagios.cfg in the log file it shows Nagios starting.... however when I go to the webpage it shows up as the monitoring process may not be running. Also through /etc/init.d/nagios start in the log it shows nagios starting, but same errror message in the web page. If I do a /etc/init.d/nagios reload it says ?"Reloading nagios configuration files. ? Not running. " Any help would be apprecaited ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Evert.Goor at benp.nl Wed Jul 6 18:46:13 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Wed, 6 Jul 2005 18:46:13 +0200 Subject: weird error in rrd Message-ID: <19CCC8E70E4FA941848269F0C5D832CC58A47D@post.systems.nl> Nagios grapher used this commando rrdtool create /var/lib/nagios/rrd/pcevert/1b8e1227dd05027c7f42fe7940a07b71.rrd --step=60 DS:Loss:GAUGE:600:U:U DS:RTA:GAUGE:600:U:U RRA:AVERAGE:0.5:5:600 RRA:AVERAGE:0.5:30:600 RRA:AVERAGE:0.5:120:600 RRA:MAX:0.5:120:600 RRA:AVERAGE:0.5:1440:600 RRA:MAX:0.5:1440:600 So it lookes good to me. Original Message---- From: Marc Powell Sent: 06/07/05 17:23 To: nagios-users at lists.sourceforge.net Subject: RE: RE: [Nagios-users] weird error in rrd -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Evert Goor > Sent: Wednesday, July 06, 2005 10:05 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: RE: [Nagios-users] weird error in rrd > > I tried to extract is by commandline. And then i just get the answer 0x0. > Is this bad or good. And just looking at the file i just get lots of nan > and a few lines with some valeus. I wouldn't expect it to be returning a hex number so probably bad. NaN's are normal if values haven't been populated for those time periods. What command did you use to create your rrd? Did you specify an RRA with a CF of MAX for RTA? -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjesse at iserv.net Wed Jul 6 19:11:04 2005 From: jjesse at iserv.net (Jonathan Jesse) Date: Wed, 6 Jul 2005 13:11:04 -0400 Subject: Problems starting Nagios In-Reply-To: <19CCC8E70E4FA941848269F0C5D832CC58A47E@post.systems.nl> References: <19CCC8E70E4FA941848269F0C5D832CC58A47E@post.systems.nl> Message-ID: <200507061311.04827.jjesse@iserv.net> It appears I am using Nagios v 1.3. I probablly need to do an upgrade but is there a newer version in debian or will have to install from source? On Wednesday 06 July 2005 12:47 pm, Evert Goor wrote: > Which version of Nagios are you running ? > They dropped MySql support in 2.X > > ----Original Message---- > From: Jonathan Jesse > Sent: 06/07/05 17:02 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems starting Nagios > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Brand new to Nagios and have installed in on a test machine @ home and it > works great. ?Using debian and used apt-get install nagios-mysql (as I > wanted MySQL support) to install and configure Nagios. > > I have made the changes in cgi.cfg and resource.cfg to write to the > database and also created the database correctly through create_mysql > included in the install. > > Created my configs and verified that it works correctly through nagios -v > nagios.cfg and it returns no errors. > > If I start nagios w/ nagios /etc/nagios/nagios.cfg in the log file it shows > Nagios starting.... however when I go to the webpage it shows up as the > monitoring process may not be running. > > Also through /etc/init.d/nagios start in the log it shows nagios starting, > but same errror message in the web page. > > If I do a /etc/init.d/nagios reload it says > ?"Reloading nagios configuration files. > ? Not running. " > > Any help would be apprecaited > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eford at nexusenergy.com Wed Jul 6 19:12:14 2005 From: eford at nexusenergy.com (Edward Ford) Date: Wed, 6 Jul 2005 13:12:14 -0400 Subject: email notification question Message-ID: I finally have Nagios up and running pretty well at this point. I did get an interesting event happen that I would like to get some feedback on if possible. - All was working well notifications for critical and recovery went by email working fine - As a last test I decided to reboot to make sure all still worked well. - I got over 5000 email notifications for critical and recovery ( I have about 40 servers with three things being checked each: cpu, disk and memory) three multiplied by 40 should have been at most 120 emails. I figured that nagios was rechecking everything. - I am not so sure why I got over 5000 email notifications (that is five thousand). Thank goodness that I am also one of the email admins so I was able to delete everything that went to my email address while the 5000 were coming in and did not blue screen the mail server. Any suggestions on how I could have gotten over 5000 because I rebooted the nagios server.. Thanks; Eddie -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at profitability.net Wed Jul 6 19:18:39 2005 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 6 Jul 2005 13:18:39 -0400 Subject: email notification question In-Reply-To: References: Message-ID: Did you have trouble getting notifications set up properly at first? The only way I could see that happening is if you had Sendmail (or whatever MTA you're using on that server) misconfigured and all those alerts from all the time you were testing were queued up and didn't get sent until sendmail was fixed and restarted which caused the queued messages to be retried, this time successfully. Andrew _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Edward Ford Sent: Wednesday, July 06, 2005 1:12 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] email notification question I finally have Nagios up and running pretty well at this point. I did get an interesting event happen that I would like to get some feedback on if possible. - All was working well notifications for critical and recovery went by email working fine - As a last test I decided to reboot to make sure all still worked well. - I got over 5000 email notifications for critical and recovery ( I have about 40 servers with three things being checked each: cpu, disk and memory) three multiplied by 40 should have been at most 120 emails. I figured that nagios was rechecking everything. - I am not so sure why I got over 5000 email notifications (that is five thousand). Thank goodness that I am also one of the email admins so I was able to delete everything that went to my email address while the 5000 were coming in and did not blue screen the mail server. Any suggestions on how I could have gotten over 5000 because I rebooted the nagios server.. Thanks; Eddie -------------- next part -------------- An HTML attachment was scrubbed... URL: From Edward.Smith at demandtec.com Wed Jul 6 19:29:22 2005 From: Edward.Smith at demandtec.com (Ed Smith) Date: Wed, 6 Jul 2005 10:29:22 -0700 Subject: Command line options Message-ID: <2B5C62C548D2FC48BC0334E8AE4941850663451A@parrot.demandtec.com> hello, Does anyone know if there is a way to acknowledge something from the command line, or by editing a file. We have nagios setup in a place where we cannot access the web interface, but we need to acknowledge a service alert (for the web server, ironically). Is there a way to do this from the os lever? Thanks. Ed Smith ------------------------ Edward Smith Systems Application Engineer DemandTec, Inc esmith at demandtec.com 650-226-4609 --------------------------------------------------------------------------------------------------------------------------------------------- DEMANDTEC EMAIL NOTICE:

NOTICE: This email transmission and all attached files contain information intended for the designated individual or entity to whom it is addressed and may contain information that is proprietary, privileged and/or exempt from disclosure under applicable law. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this email or its attachments is strictly prohibited. If you have received this email in error, please notify the sender immediately by replying to this message and please delete the original message without making any copies.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. Although we have taken reasonable precautions to ensure that this email and all attachments are free from viruses, we accept no liability for any loss or damage arising from the use of this email or its attachments. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Wed Jul 6 20:06:24 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Wed, 6 Jul 2005 14:06:24 -0400 Subject: check_Ntp problem Message-ID: <097D3590441CB345A836C4B3F7F813DC44E4BE@mailsrv.cbct.com> I've been able to successfully build a nagios server before, now I'm building another one and so far everything is working well except for one check command. Check_ntp The result of this command shoots out an error stating 'could not open ntpdate' I've made sure I have a working ntpdate in /usr/sbin as well as made sure that this command runs on the correct nagios path. I"ve looked at the check_ntp script and I don't see a variable of where I could enter the path for the actual ntpdate script. Any ideas of what I might be missing? Thanks Guillermo -------------- next part -------------- An HTML attachment was scrubbed... URL: From lgetschel at denver.westerngeco.slb.com Wed Jul 6 20:20:29 2005 From: lgetschel at denver.westerngeco.slb.com (Lewis Getschel) Date: Wed, 06 Jul 2005 12:20:29 -0600 Subject: Command line options In-Reply-To: <2B5C62C548D2FC48BC0334E8AE4941850663451A@parrot.demandtec.com> References: <2B5C62C548D2FC48BC0334E8AE4941850663451A@parrot.demandtec.com> Message-ID: <42CC20ED.2080400@denver.westerngeco.slb.com> Ed- Is it possible? Yes! anything is possible ;-) Is is Easy? Well... it's not a one-liner. I have an event handler that automatically acknowledges my disk warnings when they go below 10% free. (And emails the users...) Here is that portion of the script to create the proper format of the acknowledgment and service comment to place into the nagios "command pipe" # This is not a complete script here, just a snippet # echo Passed Parameters are: #echo 1 -$1 -SERVICESTATE >> /tmp/nagios_event_debug.txt #echo 2 -$2 -STATETYPE >> /tmp/nagios_event_debug.txt #echo 3 -$3 -SERVICEATTEMPT >> /tmp/nagios_event_debug.txt #echo 4 -$4 -HOSTNAME >> /tmp/nagios_event_debug.txt #echo 5 -$5 -SERVICEDESC >> /tmp/nagios_event_debug.txt # Now put the acknowledgment into Nagios so it doesn't continue to show warning/critical state echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command lines to add to the command file # In next line, the 4th parameter is 0=non-persistant, 1=persistant cmdline1="[$datetime] ADD_SVC_COMMENT;$4;$5;1;Nagios_script;ACKNOWLEDGEMENT:FS $freediskspace free disk,mail sent to $numberofmailsent users" # Comment appears as: 06-14-2005 09:41:30 Nagios_script ACKNOWLEDGEMENT:FS 10% free disk,mail sent to 23 users 1412 Yes cmdline2="[$datetime] ACKNOWLEDGE_SVC_PROBLEM;$4;$5;0;FS $freediskspace freedisk, mail sent to $numberofmailsent users" `$echocmd $cmdline1 >> $CommandFile` `$echocmd $cmdline2 >> $CommandFile` Ed Smith wrote: >hello, > >Does anyone know if there is a way to acknowledge something from the command line, or by editing a file. We have nagios setup in a place where we cannot access the web interface, but we need to acknowledge a service alert (for the web server, ironically). Is there a way to do this from the os lever? Thanks. > >Ed Smith > >------------------------ >Edward Smith >Systems Application Engineer >DemandTec, Inc >esmith at demandtec.com >650-226-4609 > > > > > --------------------------------------------------------------------------------------------------------------------------------------------- > DEMANDTEC EMAIL NOTICE: >

NOTICE: This email transmission and all attached files contain information intended for the designated individual or entity to whom it is addressed and may contain information that is proprietary, privileged and/or exempt from disclosure under applicable law. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this email or its attachments is strictly prohibited. If you have received this email in error, please notify the sender immediately by replying to this message and please delete the original message without making any copies. >

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. Although we have taken reasonable precautions to ensure that this email and all attachments are free from viruses, we accept no liability for any loss or damage arising from the use of this email or its attachments. > > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tomorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 6 20:31:35 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 6 Jul 2005 14:31:35 -0400 (EDT) Subject: check_Ntp problem In-Reply-To: <097D3590441CB345A836C4B3F7F813DC44E4BE@mailsrv.cbct.com> References: <097D3590441CB345A836C4B3F7F813DC44E4BE@mailsrv.cbct.com> Message-ID: The path is set in utils.pm by configure. You may also want to verify the the Nagios user can execute ntpdate On Wed, 6 Jul 2005, Guillermo Padilla wrote: > I've been able to successfully build a nagios server before, now I'm > building another one and so far everything is working well except for > one check command. > > > > Check_ntp > > > > The result of this command shoots out an error stating 'could not open > ntpdate' I've made sure I have a working ntpdate in /usr/sbin as well > as made sure that this command runs on the correct nagios path. > > > > I"ve looked at the check_ntp script and I don't see a variable of where > I could enter the path for the actual ntpdate script. > > > > Any ideas of what I might be missing? > > > > Thanks > > Guillermo > > -- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Wed Jul 6 20:47:26 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Wed, 6 Jul 2005 14:47:26 -0400 Subject: check_Ntp problem Message-ID: <097D3590441CB345A836C4B3F7F813DC44E4CA@mailsrv.cbct.com> Thanks much! That worked. I'll make a note of utils.pm Thanks again g -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Wednesday, July 06, 2005 2:32 PM To: Guillermo Padilla Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_Ntp problem The path is set in utils.pm by configure. You may also want to verify the the Nagios user can execute ntpdate On Wed, 6 Jul 2005, Guillermo Padilla wrote: > I've been able to successfully build a nagios server before, now I'm > building another one and so far everything is working well except for > one check command. > > > > Check_ntp > > > > The result of this command shoots out an error stating 'could not open > ntpdate' I've made sure I have a working ntpdate in /usr/sbin as well > as made sure that this command runs on the correct nagios path. > > > > I"ve looked at the check_ntp script and I don't see a variable of where > I could enter the path for the actual ntpdate script. > > > > Any ideas of what I might be missing? > > > > Thanks > > Guillermo > > -- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tringer at mpr.org Wed Jul 6 20:49:00 2005 From: tringer at mpr.org (Torleiv Ringer) Date: Wed, 06 Jul 2005 13:49:00 -0500 Subject: check_Ntp problem In-Reply-To: <097D3590441CB345A836C4B3F7F813DC44E4BE@mailsrv.cbct.com> References: <097D3590441CB345A836C4B3F7F813DC44E4BE@mailsrv.cbct.com> Message-ID: <1120675740.1916.250.camel@unwise.mpr.org> On Wed, 2005-07-06 at 14:06 -0400, Guillermo Padilla wrote: > The result of this command shoots out an error stating ?could not open > ntpdate? I?ve made sure I have a working ntpdate in /usr/sbin as well > as made sure that this command runs on the correct nagios path. > I?ve looked at the check_ntp script and I don?t see a variable of > where I could enter the path for the actual ntpdate script. > It might be looking for /usr/bin/ntpq -- Torleiv Ringer Broadcast Systems Administrator Minnesota Public Radio http://www.mpr.org ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ktynagios at richard-group.com Wed Jul 6 21:23:11 2005 From: ktynagios at richard-group.com (Kurt Yoder) Date: Wed, 6 Jul 2005 15:23:11 -0400 Subject: cgi extended information disappeared Message-ID: <0aafd735175210f210eaf68c71ff996a@richard-group.com> Hi list Nagios is an excellent monitoring package, so thanks to the author(s) for writing it. I recently upgraded my Debian server to Sarge. Nagios continued to function properly after the upgrade, with one exception: I no longer see my extended host/service information icons on the status web page. I've looked around on Google and in the documentation, but I can't find anybody else who has mentioned this problem. My nagios version is now 1.3. I'm not certain what it was before the upgrade, although it was probably less than a year old. In my cgi.cfg, I have these two lines which are supposed to include the (unchanged) extended information for each host and service: xedtemplate_config_file=/etc/nagios/hostextinfo.cfg xedtemplate_config_file=/etc/nagios/serviceextinfo.cfg The services file starts off like this: define serviceextinfo{ name rrd-service register 0 icon_image graph.jpg icon_image_alt Performance graph notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ } define serviceextinfo{ use rrd-service service_description Check disks host_name ads1-vpn,db1-vpn,db2-vpn,db3-vpn,files,greatdance-vpn,newns1- vpn,newns2-v } As mentioned, everything else is working properly. Did the syntax for extended info recently change? I tried copying the serviceextinfo objects directly into cgi.cfg, but this didn't make a difference. Any help is appreciated; thanks! -- Kurt Yoder ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Wed Jul 6 22:34:29 2005 From: moshesharon at gmail.com (Moshe Sharon) Date: Wed, 6 Jul 2005 20:34:29 +0000 (UTC) Subject: cgi extended information disappeared References: <0aafd735175210f210eaf68c71ff996a@richard-group.com> Message-ID: hello there are two posibilities (that i bumped into). that service extinfo disappear 1. wrong configuration input in the ext info file ( perhapse a problemtic } sign ). 2. if the cgi.cfg contains "xedtemplate_config_file=" with files that do not exists. means if you have: xedtemplate_config_file=1.cfg xedtemplate_config_file=2.cfg xedtemplate_config_file=3.cfg and 1.cfg and 3.cfg only exists. only the data from 1.cfg will be shown. hope it helped Moshe Sharon ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ktynagios at richard-group.com Wed Jul 6 23:10:43 2005 From: ktynagios at richard-group.com (Kurt Yoder) Date: Wed, 6 Jul 2005 17:10:43 -0400 Subject: cgi extended information disappeared In-Reply-To: References: <0aafd735175210f210eaf68c71ff996a@richard-group.com> Message-ID: Replies in-line On Jul 6, 2005, at 4:34 PM, Moshe Sharon wrote: > hello > > there are two posibilities (that i bumped into). that service extinfo > disappear > 1. wrong configuration input in the ext info file ( perhapse a > problemtic } > sign ). Is there some way to view debugging output of the cgi to see what is going on? I didn't change the extinfo files when I upgraded. They were working before the upgrade, so I can only assume that they contain no errors. > 2. if the cgi.cfg contains "xedtemplate_config_file=" with files that > do not > exists. > > means if you have: > xedtemplate_config_file=1.cfg > xedtemplate_config_file=2.cfg > xedtemplate_config_file=3.cfg > > and 1.cfg and 3.cfg only exists. only the data from 1.cfg will be > shown. Again, the configuration files are un-changed from before the update. I also know that both of my ext config files exist... -- Kurt Yoder ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pah at campana.com Wed Jul 6 23:40:37 2005 From: pah at campana.com (Paul Haygarth) Date: Wed, 6 Jul 2005 17:40:37 -0400 Subject: Nagios sending notification to a script... Message-ID: Content removed... ># "nemir" contact definition >define contact{ > contact_name nemir > alias Nemir Nemiria > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-sms > host_notification_commands notify-by-sms > email nemri at ex... > } > > > # "notify-by-sms" command definition > define command{ > command_name notify-by-sms > command_line /usr/local/nagios/send_sms "$NOTIFICATIONTYPE$ with > $SERVICEDESC$ at $HOSTADDRESS$ State: $SERVICESTATE$" && /usr/bin/printf > "%b" "Notification 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$/$SERVICEDESC$ is $SERVICESTATE$ **" > $CONTACTEMAIL$ > } > > # cat /usr/local/nagios/send_sms > for x in 6135551416 > do > echo $1 | /usr/local/bin/gnokii --sendsms $x > sleep 10 > done > echo `id -un` `date +%c` $x $1 >> /usr/local/nagios/logs > I ran into a similar problem, where we were running a script to filter out certain timeout Alerts, so we wouldn't get excess false Notifications, during our Network instability. What I had to do was pipe the information into the script, instead of using it as a command line variable. So you could try changing your stuff to look like this: # "notify-by-sms" command definition define command{ command_name notify-by-sms command_line /usr/bin/printf "$NOTIFICATIONTYPE$ with $SERVICEDESC$ at $HOSTADDRESS$ State: $SERVICESTATE$" | /usr/local/nagios/send_sms && /usr/bin/printf "%b" "Notification 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$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } # cat /usr/local/nagios/send_sms read smstxt for x in 6135551416 do echo $smstxt | /usr/local/bin/gnokii --sendsms $x sleep 10 done echo `id -un` `date +%c` $x $smstxt >> /usr/local/nagios/logs Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott at scl.utah.edu Thu Jul 7 01:46:02 2005 From: scott at scl.utah.edu (Scott Doenges) Date: Wed, 6 Jul 2005 17:46:02 -0600 Subject: monitoring printers with Nagios Message-ID: Hi all, First post on this list, please excuse my noobisms. We are interested in using Nagios to monitor printers in our building, and have it tell us when a printer is reporting out of paper/toner, etc. What would be the best way to do this? SNMP? Or can you monitor via IPP, which can report these different alert states? Any suggestions would be greatly appreciated! thanks, Scott -- _________________________________________ Scott Doenges Assistant Macintosh Specialist Student Computing Labs, Marriott Library University of Utah (801) 585-9811 http://www.macos.utah.edu http://scott.scl.utah.edu Even a stopped clock gives the right time twice a day. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_stave at yahoo.com Thu Jul 7 06:23:11 2005 From: sam_stave at yahoo.com (Sam Stave) Date: Wed, 6 Jul 2005 21:23:11 -0700 (PDT) Subject: Nagios Wiki Message-ID: <20050707042311.45156.qmail@web50310.mail.yahoo.com> All, I have added some documentation to the Nagios Wiki located here: http://en.wikipedia.org/wiki/Nagios It's still needs contribution, but I think its a good summary on configuring an initial Nagios install. Please review, edit, comment and let me know what you think. Thanks Sam __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at ranahminang.net Thu Jul 7 06:51:56 2005 From: paul at ranahminang.net (PD) Date: Thu, 7 Jul 2005 11:51:56 +0700 Subject: UPS Monitoring In-Reply-To: <20050707042311.45156.qmail@web50310.mail.yahoo.com> References: <20050707042311.45156.qmail@web50310.mail.yahoo.com> Message-ID: <200507071151.56609.paul@ranahminang.net> hi all, Has anyone has en experience of using Nagios for UPS monitoring ? We use local UPS (brand ICA) with RUPS interface card from megatec (http://www.megatec.com.tw/) Regards PD ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Javier.Castillo at alhambra-eidos.com Thu Jul 7 12:30:15 2005 From: Javier.Castillo at alhambra-eidos.com (Javier Castillo Alcibar) Date: Thu, 7 Jul 2005 12:30:15 +0200 Subject: performance problems Message-ID: <635868854FEE3845B2D264D9D0E4017D1CAE2D@ALHM3SRV.alhpridom.as> Hello everybody, I did find the plugin guilty. It's a shell script (bash), that makes a telnet to a router, and checks the output of some commands. I use it in 30 hosts. But why this pluging makes nagios become crazy?. If I execute it from the command line, it takes just 0.4 seconds....so it seems to be fast..... What can I do? Any suggestions? Regards, Javier. -----Mensaje original----- De: Javier Castillo Alcibar Enviado el: mi?rcoles, 06 de julio de 2005 12:05 Para: nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] performance problems Hello Hendrik, The machine is a DL380, 2xCPU 2.8Ghz, 2Gb RAM. I think it has enough hw resources..... Technically: alhmngsrv2:/etc/nagios# vmstat 5 procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 4 215764 222008 594536 0 0 0 0 0 1 6 4 88 2 1 0 4 211028 222008 594536 0 0 0 246 1170 0 4 1 93 2 1 0 4 202228 222008 594536 0 0 0 314 1182 0 13 2 83 3 0 0 4 205300 222008 594536 0 0 0 126 1167 0 8 1 90 1 18 0 4 209660 222008 594536 0 0 0 275 1207 0 1 1 94 4 0 0 4 209596 222008 594536 0 0 0 229 1143 0 2 1 96 2 0 0 4 202428 222012 594532 0 0 0 77 1117 0 5 1 94 0 2 0 4 186940 222016 594528 0 0 0 110 1145 0 19 2 80 0 2 0 4 190076 222016 594528 0 0 0 245 1127 0 1 1 96 2 17 0 4 191020 222016 594528 0 0 0 150 1128 0 2 1 96 2 2 0 4 198316 222016 594460 0 0 0 286 1138 0 3 1 94 2 0 0 4 197004 222020 594456 0 0 0 168 1125 0 2 1 96 2 17 0 4 196436 222028 594448 0 0 0 396 1210 0 2 1 93 3 9 0 4 205908 222028 594448 0 0 0 393 1244 0 3 1 92 3 It's very strange, because, when I start nagios, everything goes nicely, plugins execution times and latencies are ok, but two or three minutes later, nagios starts getting strange time values, for example: 1120644060 FIREWALL PING OK 1 HARD 9 157 FPING OK - 192.168.0.1 (loss=0%, rta=72.400000 ms) loss=0%;10;30;0;100 rta=0.072400s;2.000000;5.000000;0.000000 Executiontime=9 and Latency=157 ???? Why? This test have had no packet loss, the machine is working nicely....but... Another strange thing I noticed: if have "max_concurrent_checks=120", why are so many times that nagios is running only 1,2,3,4 plugins at the same time? It's true, I'm very confused.... Thx in advance, Javier. -----Mensaje original----- De: Hendrik Baecker [mailto:b00mer at gmx.net] Enviado el: mi?rcoles, 06 de julio de 2005 10:49 Para: Javier Castillo Alcibar CC: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] performance problems Hello Javier, try to figure out where your Service Latencies comes from. Hints are: in nagios.cfg process_performance_data=0 http://nagios.sourceforge.net/docs/1_0/perfdata.html Out of the performance data you can perhaps see where your latencies comes from. Other ways were to view a 'top' and have a look to the swap memory, the load and perhaps the 'wa' CPU count Its not quiet good to have a server swapping, to have a high load and very ugly if your server is waiting for I/O... Javier Castillo Alcibar schrieb: >Hi everybody!! > >I have strange performance problem with my nagios 1.3 server(debian >sarge). It checks very slowly, I can see this info using extinfo.cgi. >How can I debug this? Any hint/trick? Any parameter? > >Program-Wide Performance Information > >Active Checks: > Time Frame Checks Completed ><= 1 minute: 95 (28.1%) ><= 5 minutes: 283 (83.7%) ><= 15 minutes: 338 (100.0%) ><= 1 hour: 338 (100.0%) >Since program start: 338 (100.0%) > > >Metric Min. Max. Average >Check Execution Time: < 1 sec 24 sec 7.201 sec >Check Latency: 99 sec 135 sec 119.867 sec >Percent State Change: 0.00% 0.00% 0.00% > > >Passive Checks: > Time Frame Checks Completed ><= 1 minute: 0 (0.0%) ><= 5 minutes: 0 (0.0%) ><= 15 minutes: 0 (0.0%) ><= 1 hour: 0 (0.0%) >Since program start: 0 (0.0%) > > >Metric Min. Max. Average >Percent State Change: 0.00% 0.00% 0.00% > ># >log_file=/var/log/nagios/nagios.log >cfg_file=/etc/nagios/checkcommands.cfg >cfg_file=/etc/nagios/misccommands.cfg >cfg_file=/etc/nagios/contactgroups.cfg >cfg_file=/etc/nagios/contacts.cfg >cfg_file=/etc/nagios/dependencies.cfg >cfg_file=/etc/nagios/escalations.cfg >cfg_file=/etc/nagios/hostgroups.cfg >cfg_file=/etc/nagios/hosts.cfg >cfg_file=/etc/nagios/services.cfg >cfg_file=/etc/nagios/timeperiods.cfg >resource_file=/etc/nagios/resource.cfg >temp_file=/var/log/nagios/nagios.tmp >status_file=/var/log/nagios/status.log >aggregate_status_updates=1 >status_update_interval=15 >nagios_user=nagios >nagios_group=nagios >enable_notifications=1 >execute_service_checks=1 >accept_passive_service_checks=1 >enable_event_handlers=1 >log_rotation_method=d >log_archive_path=/var/log/nagios/archives >check_external_commands=1 >command_check_interval=-1 >comment_file=/var/log/nagios/comment.log >downtime_file=/var/log/nagios/downtime.log >command_file=/var/log/nagios/rw/nagios.cmd >lock_file=/var/log/nagios/nagios.lock >retain_state_information=1 >state_retention_file=/var/log/nagios/status.sav >retention_update_interval=60 >use_retained_program_state=0 >use_syslog=1 >log_notifications=1 >log_service_retries=1 >log_host_retries=1 >log_event_handlers=1 >log_initial_states=0 >log_external_commands=1 >log_passive_service_checks=1 >sleep_time=1 >max_concurrent_checks=120 >#service_reaper_frequency=10 >service_reaper_frequency=5 >interval_length=60 >use_agressive_host_checking=0 >enable_flap_detection=0 >low_service_flap_threshold=5.0 >high_service_flap_threshold=20.0 >low_host_flap_threshold=5.0 >high_host_flap_threshold=20.0 >soft_state_dependencies=0 >service_check_timeout=30 >host_check_timeout=30 >event_handler_timeout=60 >notification_timeout=60 >ocsp_timeout=5 >perfdata_timeout=5 >obsess_over_services=0 >process_performance_data=0 >check_for_orphaned_services=0 >check_service_freshness=1 >freshness_check_interval=60 >admin_email=nagios >admin_pager=pagenagios >date_format=euro > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 7 15:48:16 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 7 Jul 2005 09:48:16 -0400 (EDT) Subject: monitoring printers with Nagios In-Reply-To: References: Message-ID: On Wed, 6 Jul 2005, Scott Doenges wrote: > Hi all, > > First post on this list, please excuse my noobisms. > > We are interested in using Nagios to monitor printers in our building, and > have it tell us when a printer is reporting out of paper/toner, etc. > > What would be the best way to do this? SNMP? Or can you monitor via IPP, > which can report these different alert states? > > Any suggestions would be greatly appreciated! > > thanks, > Scott > SNMP is the easiest. if you have HP JetDirect, try check_hpjd, otherwise try check_snmp_printer in contrib. -- -sg ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 7 15:47:00 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 7 Jul 2005 09:47:00 -0400 (EDT) Subject: UPS Monitoring In-Reply-To: <200507071151.56609.paul@ranahminang.net> References: <20050707042311.45156.qmail@web50310.mail.yahoo.com> <200507071151.56609.paul@ranahminang.net> Message-ID: On Thu, 7 Jul 2005, PD wrote: > hi all, > > Has anyone has en experience of using Nagios for UPS monitoring ? > We use local UPS (brand ICA) with RUPS interface card from megatec > (http://www.megatec.com.tw/) > > Regards > > PD > If that UPS is supported by Network UPS Tools (networkupstools.org) as a generic RUPS model, you will be able to use check_ups plugin. Otherwise SNMP support for UPS monitoring exists with check_apc_ups -- -sg ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BConrad at passkey.com Thu Jul 7 15:44:35 2005 From: BConrad at passkey.com (Ben Conrad) Date: Thu, 7 Jul 2005 09:44:35 -0400 Subject: UPS Monitoring Message-ID: <8FB96300C132D511AE7500508BD6ABCD05AB3DA7@eagle.passkey.com> No, but if it runs snmp you should be able to use a Mib browser (I use GetIf) to get some interesting info. You will probably want to get the MIB so you can get text descriptions of the OID's For my APC I can get the load via: .1.3.6.1.4.1.318.1.1.1.4.2.3.0 The current UPS load expressed in percent of rated capacity. Ben -----Original Message----- From: PD [mailto:paul at ranahminang.net] Sent: Thursday, July 07, 2005 12:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] UPS Monitoring hi all, Has anyone has en experience of using Nagios for UPS monitoring ? We use local UPS (brand ICA) with RUPS interface card from megatec (http://www.megatec.com.tw/) Regards PD ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ktynagios at richard-group.com Thu Jul 7 16:07:04 2005 From: ktynagios at richard-group.com (Kurt Yoder) Date: Thu, 7 Jul 2005 10:07:04 -0400 Subject: Nagios Wiki In-Reply-To: <20050707042311.45156.qmail@web50310.mail.yahoo.com> References: <20050707042311.45156.qmail@web50310.mail.yahoo.com> Message-ID: On Jul 7, 2005, at 12:23 AM, Sam Stave wrote: > All, > > I have added some documentation to the Nagios Wiki > located here: http://en.wikipedia.org/wiki/Nagios > > It's still needs contribution, but I think its a good > summary on configuring an initial Nagios install. > > Please review, edit, comment and let me know what you > think. The documentation looks pretty good. However, I'm wondering if Wikipedia is the correct place for it. Why not add it to the Nagios wiki instead? I suspect that Wikipedia people may delete the configuration information as "not encyclopedia-like". If you move the info to the Nagios wiki, you can add an external link on wikipedia pointing to the nagios wiki. -- Kurt Yoder ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Jul 7 17:03:37 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 07 Jul 2005 10:03:37 -0500 Subject: Nagios Wiki In-Reply-To: References: <20050707042311.45156.qmail@web50310.mail.yahoo.com> Message-ID: <1120748618.11896.80.camel@chi101100.int.tt.local> On Thu, 2005-07-07 at 10:07 -0400, Kurt Yoder wrote: > On Jul 7, 2005, at 12:23 AM, Sam Stave wrote: > > > All, > > > > I have added some documentation to the Nagios Wiki > > located here: http://en.wikipedia.org/wiki/Nagios > > > > It's still needs contribution, but I think its a good > > summary on configuring an initial Nagios install. > > > > Please review, edit, comment and let me know what you > > think. > > The documentation looks pretty good. However, I'm wondering if > Wikipedia is the correct place for it. Why not add it to the Nagios > wiki instead? I suspect that Wikipedia people may delete the > configuration information as "not encyclopedia-like". If you move the > info to the Nagios wiki, you can add an external link on wikipedia > pointing to the nagios wiki. I was thinking the same. In fact, I'll go do that now and have a configuration docs link instea -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From sekuela at gmail.com Thu Jul 7 17:14:05 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Thu, 7 Jul 2005 12:14:05 -0300 Subject: Nagios Wiki In-Reply-To: <1120748618.11896.80.camel@chi101100.int.tt.local> References: <20050707042311.45156.qmail@web50310.mail.yahoo.com> <1120748618.11896.80.camel@chi101100.int.tt.local> Message-ID: <806f904f05070708145cfd6c00@mail.gmail.com> Hey,, Does Nagios have a oficial wiki site? Daniel On 7/7/05, jeff vier wrote: > On Thu, 2005-07-07 at 10:07 -0400, Kurt Yoder wrote: > > On Jul 7, 2005, at 12:23 AM, Sam Stave wrote: > > > > > All, > > > > > > I have added some documentation to the Nagios Wiki > > > located here: http://en.wikipedia.org/wiki/Nagios > > > > > > It's still needs contribution, but I think its a good > > > summary on configuring an initial Nagios install. > > > > > > Please review, edit, comment and let me know what you > > > think. > > > > The documentation looks pretty good. However, I'm wondering if > > Wikipedia is the correct place for it. Why not add it to the Nagios > > wiki instead? I suspect that Wikipedia people may delete the > > configuration information as "not encyclopedia-like". If you move the > > info to the Nagios wiki, you can add an external link on wikipedia > > pointing to the nagios wiki. > > I was thinking the same. > > In fact, I'll go do that now and have a configuration docs link instea > > > BodyID:137685075.2.n.logpart (stored separately) > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 7 17:32:24 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Jul 2005 10:32:24 -0500 Subject: Nagios Wiki Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Daniel Szortyka > Sent: Thursday, July 07, 2005 10:14 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Wiki > > Hey,, > > Does Nagios have a oficial wiki site? Not really but one has been started at http://www.nagiosexchange.org. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_stave at yahoo.com Thu Jul 7 18:01:45 2005 From: sam_stave at yahoo.com (Sam Stave) Date: Thu, 7 Jul 2005 09:01:45 -0700 (PDT) Subject: Nagios Wiki In-Reply-To: <1120748618.11896.80.camel@chi101100.int.tt.local> References: <1120748618.11896.80.camel@chi101100.int.tt.local> Message-ID: <20050707160146.68387.qmail@web50305.mail.yahoo.com> Excellent! Thanks, ill look forward to contributing there instead. Sam --- jeff vier wrote: > On Thu, 2005-07-07 at 10:07 -0400, Kurt Yoder wrote: > > On Jul 7, 2005, at 12:23 AM, Sam Stave wrote: > > > > > All, > > > > > > I have added some documentation to the Nagios > Wiki > > > located here: > http://en.wikipedia.org/wiki/Nagios > > > > > > It's still needs contribution, but I think its a > good > > > summary on configuring an initial Nagios > install. > > > > > > Please review, edit, comment and let me know > what you > > > think. > > > > The documentation looks pretty good. However, I'm > wondering if > > Wikipedia is the correct place for it. Why not add > it to the Nagios > > wiki instead? I suspect that Wikipedia people may > delete the > > configuration information as "not > encyclopedia-like". If you move the > > info to the Nagios wiki, you can add an external > link on wikipedia > > pointing to the nagios wiki. > > I was thinking the same. > > In fact, I'll go do that now and have a > configuration docs link instea > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_stave at yahoo.com Thu Jul 7 18:04:27 2005 From: sam_stave at yahoo.com (Sam Stave) Date: Thu, 7 Jul 2005 09:04:27 -0700 (PDT) Subject: Nagios Wiki In-Reply-To: <1120748618.11896.80.camel@chi101100.int.tt.local> References: <1120748618.11896.80.camel@chi101100.int.tt.local> Message-ID: <20050707160427.69318.qmail@web50305.mail.yahoo.com> uh, did you simply DELETE the doc that I posted and replace it with a link to the wiki on nagiosexchange without migrating the content??? Sam --- jeff vier wrote: > On Thu, 2005-07-07 at 10:07 -0400, Kurt Yoder wrote: > > On Jul 7, 2005, at 12:23 AM, Sam Stave wrote: > > > > > All, > > > > > > I have added some documentation to the Nagios > Wiki > > > located here: > http://en.wikipedia.org/wiki/Nagios > > > > > > It's still needs contribution, but I think its a > good > > > summary on configuring an initial Nagios > install. > > > > > > Please review, edit, comment and let me know > what you > > > think. > > > > The documentation looks pretty good. However, I'm > wondering if > > Wikipedia is the correct place for it. Why not add > it to the Nagios > > wiki instead? I suspect that Wikipedia people may > delete the > > configuration information as "not > encyclopedia-like". If you move the > > info to the Nagios wiki, you can add an external > link on wikipedia > > pointing to the nagios wiki. > > I was thinking the same. > > In fact, I'll go do that now and have a > configuration docs link instea > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Jul 7 18:27:00 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 07 Jul 2005 11:27:00 -0500 Subject: Nagios Wiki In-Reply-To: <20050707160427.69318.qmail@web50305.mail.yahoo.com> References: <20050707160427.69318.qmail@web50305.mail.yahoo.com> Message-ID: <1120753621.11896.102.camel@chi101100.int.tt.local> On Thu, 2005-07-07 at 09:04 -0700, Sam Stave wrote: > uh, > > did you simply DELETE the doc that I posted and > replace it with a link to the wiki on nagiosexchange > without migrating the content??? I don't personally care to migrate content out of the wikipedia to an external site. You're free to do so all you like. And, for you and anyone else unfamiliar with wiki, nothing ever gets DELETEd (sic). http://en.wikipedia.org/w/index.php?title=Nagios&oldid=18306099 there's your last version. > --- jeff vier wrote: > > > On Thu, 2005-07-07 at 10:07 -0400, Kurt Yoder wrote: > > > On Jul 7, 2005, at 12:23 AM, Sam Stave wrote: > > > > > > > All, > > > > > > > > I have added some documentation to the Nagios > > Wiki > > > > located here: > > http://en.wikipedia.org/wiki/Nagios > > > > > > > > It's still needs contribution, but I think its a > > good > > > > summary on configuring an initial Nagios > > install. > > > > > > > > Please review, edit, comment and let me know > > what you > > > > think. > > > > > > The documentation looks pretty good. However, I'm > > wondering if > > > Wikipedia is the correct place for it. Why not add > > it to the Nagios > > > wiki instead? I suspect that Wikipedia people may > > delete the > > > configuration information as "not > > encyclopedia-like". If you move the > > > info to the Nagios wiki, you can add an external > > link on wikipedia > > > pointing to the nagios wiki. > > > > I was thinking the same. > > > > In fact, I'll go do that now and have a > > configuration docs link instea > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From Sam.Harris at fns.usda.gov Thu Jul 7 18:26:35 2005 From: Sam.Harris at fns.usda.gov (Harris, Sam) Date: Thu, 7 Jul 2005 12:26:35 -0400 Subject: Nagios with database support Message-ID: Anybody knows of a document where the compilation with database support method is explained for Nagios Thanks Sam Harris -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjesse at iserv.net Thu Jul 7 18:41:40 2005 From: jjesse at iserv.net (Jonathan Jesse) Date: Thu, 7 Jul 2005 12:41:40 -0400 Subject: Nagios with database support In-Reply-To: References: Message-ID: <200507071241.40269.jjesse@iserv.net> A reponse to my question asked yesterday stated that Database support was dropped in the 2.x version, however I have had a chance to research it yet so I would be curious as well. On Thursday 07 July 2005 12:26 pm, Harris, Sam wrote: > Anybody knows of a document where the compilation with database support > method is explained for Nagios > Thanks > > Sam Harris ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sekuela at gmail.com Thu Jul 7 18:47:09 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Thu, 7 Jul 2005 13:47:09 -0300 Subject: Nagios with database support In-Reply-To: <200507071241.40269.jjesse@iserv.net> References: <200507071241.40269.jjesse@iserv.net> Message-ID: <806f904f0507070947ca9ed2b@mail.gmail.com> Hi, I always had a question... or a doubt... The nagios database support store what exactly? Example... Can I save my nagios.log and status.log on my mysql..? I say that cause in 1.x version, when I go in "Aviability" of hosts or services, frequently I had a error result... the hosts always stay with 100% of a some result.... With the 2.0b I dont have more this error... Thanks! Daniel On 7/7/05, Jonathan Jesse wrote: > A reponse to my question asked yesterday stated that Database support was > dropped in the 2.x version, however I have had a chance to research it yet so > I would be curious as well. > > On Thursday 07 July 2005 12:26 pm, Harris, Sam wrote: > > Anybody knows of a document where the compilation with database support > > method is explained for Nagios > > Thanks > > > > Sam Harris > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 7 18:48:14 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Jul 2005 11:48:14 -0500 Subject: Nagios with database support Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Harris, Sam > Sent: Thursday, July 07, 2005 11:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios with database support > > Anybody knows of a document where the compilation with database support > method is explained for Nagios The 'Database Support' section of the documentation -- http://nagios.sourceforge.net/docs/1_0/xdata-db.html Note: database support has been dropped from 2.x so if you are trying to use the development version you'll need to use the nagios-db addon from http://sourceforge.net/projects/nagios-db/. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 7 19:01:03 2005 From: marc at ena.com (Marc Powell) Date: Thu, 7 Jul 2005 12:01:03 -0500 Subject: Nagios with database support Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Daniel Szortyka > Sent: Thursday, July 07, 2005 11:47 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios with database support > > Hi, > > I always had a question... or a doubt... The nagios database support > store what exactly? > > Example... > > Can I save my nagios.log and status.log on my mysql..? I say that > cause in 1.x version, when I go in "Aviability" of hosts or services, > frequently I had a error result... the hosts always stay with 100% of > a some result.... With the 2.0b I dont have more this error... In the 1.x tree, database support consists solely of storing current host, service and program status data. No historical data is stored in the database. The CGI's used the database info for current information and the nagios.log archives for historical data (trends, availability, etc). With the 2.0 development version, all database support has been removed from the core code in favor of the NEB (Nagios Event Broker) which allows for greater flexibility and a plugin like approach. The previously mentioned nagios-db project is one such plugin that emulates the 1.x database support. I believe that it also stores historical data in the database as well. The _key_ difference is that the core nagios processes and CGIs will _always_ use flat files for everything. To use the database stored information you'll either need to use the PHP scripts included with nagios-db or create your own. It's impossible to guess what your availability report problem might be with so little specific information. If you want help with that, post specific details about the type of report you are running, the time period, initial state option, etc as well as the log entries for that host in nagios.log and the archives within that time period as well as the backtracked archives that you are specifying. Chances are that Nagios isn't able to find any log entries within your time period for that host or service or can't determine the initial state within the time period or backtracked archives. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JLaack at alegent.org Thu Jul 7 22:28:24 2005 From: JLaack at alegent.org (Jacob Laack) Date: Thu, 07 Jul 2005 15:28:24 -0500 Subject: Acknowledgement and Hard State change Message-ID: I have had a Nagios system working here for a couple months. We have a AIX machine named Kramer which is a test system and has nrpe commands set to send a warning page/email if a filesystem is less than 10% free and critical for less than 5%. Our users are upgrading a peoplesoft database which has caused the database to slowly grow and fill up the filesystem. Yesterday we had a notification that a service on a host went from OK to WARNING. A filesystem went below the 10% watermark. We acknowledged the problem and decided to wait until it had reached the CRITICAL state. We were told by our previous monitoring system, that has a much lower threshold of 98%, this same filesystem had less than 2% free. I looked at Nagios and noticed the service went to a CRITICAL state, but the (Has been acknowledged) was still there preventing any notifications from going out. What methods can be used to change the acknowledgements to "evaporate" if the service state switches from WARNING to CRITICAL? -Jake jlaackATalegent.org ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CQuillen at txfb-ins.com Thu Jul 7 23:06:00 2005 From: CQuillen at txfb-ins.com (Quillen, Channon) Date: Thu, 7 Jul 2005 16:06:00 -0500 Subject: Defining a service dependency for a hostgroup? - revisited Message-ID: <7FEF2AD0BDCF4D429DB22B5CEA66FCD7020033C6@TXS13418.txfb-ins.com> I searched the archives and came upon a thread by Lee Melvin with the same subject as this email. I didn't see any replies. Mr. Melvin wrote: I"m seeing an annoying paging behavior with our Nagios implementation. We have a number of Windows boxes being monitored -- each box has several (4-10) services being monitored on it. Most of the service checks are made through NSClient. The annoying behavior is, if NSClient crashes, Nagios detects all the services on the box as failing, and sends out a notification for each service. All our notifications go to a site hotpager, so one person gets 8 pages in a row when the system fails, and then another 8 when NSClient is restored. I"ve created a checkcommand to watch NSClient itself (basically I just test on the CLIENTVERSION variable), and I"d like to make each of the other NSClient-based service checks on the system dependent on this NSClient check. The problem I"m running into, and the thing I want help with, is that it doesn"t appear possible to define a service dependency for a host group, only for individual hosts. I"d rather not have to add (# of Windows servers) * (avg. # of service checks per server) service dependency entries to my configuration. Is there any way I can define a configuration entry along the lines of (not remotely real config code) servicedependency { hostgroup_name win_servers service check_nsclient dependent_service check_win_diskfree_c } so that all my Windows hosts know that the win_diskfree_c check is dependent on check_nsclient on the same host? This would allow me to do what I want with only one service dependency entry for each NSClient based service check, which is manageable. Alternately, is there some other way to achieve this effect? I"m anticipating similar issues on the UNIX side if a NRPE client craps out... Thanks! - Lee My question is very similar except that I want to use the PING service as the trigger. If PING = CRITICAL Send notification that host cannot be reached Don't send any other service notifications When PING = RECOVER Send notification that host is back up Don't send any other service notifications -Channon ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bobjohnson at nexus9000.com Thu Jul 7 23:52:43 2005 From: bobjohnson at nexus9000.com (Bob Johnson) Date: Thu, 7 Jul 2005 14:52:43 -0700 (PDT) Subject: passive host checks ? Message-ID: <34554.127.0.0.1.1120773163.squirrel@bols> Although the appended text is >8 months old, I was curious if the passive host checks fix was already in 2.0b3 or is a recent snapshot still required? I too, can only send the passive host checks manually in 2.0b3. Thank you. >solved ... looks like i used a 2.0 version where passive host checks >were documented but broken. using a recent snapshot it works fine :-D > >h. > >On Mon, 2004-11-15 at 20:26, Holger Brueckner wrote: >>hello *, >> >>i want to enable passive host check on a distributed setup. i have >>configured the following: >> >>nagios.cfg >> >>obsess_over_hosts=1 >>ochp_command=submit_hosts >>accept_passive_host_checks=1 >> >>misccommands.cfg: >> >>define command{ >> command_name submit_hosts >> command_line >>/usr/local/nagios/libexec/eventhandlers/submit_hosts $HOSTNAME$ >>$SERVICESTATE$ "$SERVICEOUTPUT$" >>} >> >>if i manually call the submit_hosts script i can see the check on the >>receiving nsca daemon. unfortunately the script doesn"t get called by >>nagios on the sending side. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HJahn at woosh.com Fri Jul 8 00:21:10 2005 From: HJahn at woosh.com (Holger Jahn) Date: Fri, 8 Jul 2005 10:21:10 +1200 Subject: Perfdata truncated? Message-ID: <44C4DC99A083FA48864ACEFF85B96261030A0208@wwl_mail1.intwwl.net> Hi there, I ran into a problem with 2.0b3. It looks like it somehow truncates the incoming perfdata (btw, are threre any limitations?). That's what my test script spits out on the command line: SNMP: DISCONNECT query finished.|numConnectionAttempts=1549, normalUserDisconnect=882, ueFault=19, handover=4, uePowerDownDisconnect=59, ueLostCoverage=5, ueNoAllocation=3, ueLayer2Failure=4, ueHardwareUnsupported=0, managerInitiatedForcedUserDisc=2, overload=0, systemInit=0, relocMaxIuCxns=0, nodeBDecommission=0, l2tpSessionFailure=0, l2tpSessionDisconnect=202, coreNetworkFailure=0, smTimerExpiry=0, ueUndetectable=13, airInterfaceFailure=208, requestedSecurityAlgorithmsNotSupported=0, changeOfSecuritySetupNotSupported=0, unknownSecurityModeSetupFailure=0, iubLayer1Failure=0, iubOutOfSync=1, invalidCellId=0, downlinkTfcsUnavailable=3, networkUSIMAuthenticationFailure=0, usimNetworkAuthenticationFailure=0, usimResynchronisationFailure=0, unexpectedIuRelease=0, pathFailure=0, reasonUnknown=0, imsiUnknownInHlr=0, illegalMS=0, illegalME=0, gprsServicesNotAllowed=0, msIdentityCannotBeDerivedByNetwork=0, implicitlyDetached=0, plmnNotAllowed=0, locationAreaNotAllowed=0, roamingNotAllowedInLocationArea=0, gprsServicesNotAllowedInPLMN=0, noSuitableCellsInLocationArea=0, mscTemporarilyNotReachable=0, macFailure=0, syncFailure=0, congestion=0, gsmAuthenticationUnacceptable=0, noPDPContextActivated=0, retryUponEntryIntoNewCell=0, semanticallyIncorrectMessage=0, invalidMandatoryInformation=0, messageTypeNonExistentOrNotImplemented=0, messageTypeNotCompatibleWithProtocolState=0, ieNonExistentOrNotImplemented=0, conditionalIEError=0, messageNotCompatibleWithProtocolState=0, protocolErrorUnspecified=0, ueCallSetupDisconnectInd=0, ueCallSetupDisconnectCfm=4, ueAuthenticationTimeout=0, ueAuthenticationFailure=13, ueAuthResponseTimeout=6, l2tpTimeoutSessionOpen=0, pppClientCreateFailure=0, dnsNoEntryFound=0, dnsServerFail=0, imeiSVcheckTimeout=0, authVectorTimeout=0, smStatusInd=1, gmmRegStatusInd=0 And that's what I see in status.dat and also as HTML output: plugin_output=SNMP: DISCONNECT query finished. performance_data=numConnectionAttempts=1552, normalUserDisconnect=883, ueFault=19, handover=4, uePowerDownDisconnect=59, ueLostCoverage=5, ueNoAllocation=3, ueLayer2Failure=4, ueHardwareUnsupported=0, managerInitiatedForcedUserDisc=2, overload=0, systemInit=0, relocMaxIuCxns=0, nodeBDecommission=0, l2tpSessionFailure=0, l2tpSessi Would be very nice if someone had an idea what this might cause. Cheers, Holger -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby_12172004 at yahoo.com Fri Jul 8 01:56:27 2005 From: kirby_12172004 at yahoo.com (Michael Carel) Date: Fri, 8 Jul 2005 00:56:27 +0100 (BST) Subject: NRPE daemon and Nagios Plugins Installer In-Reply-To: <56962.63.227.74.41.1120741696.squirrel@webmail.stinkweasel.net> References: <56962.63.227.74.41.1120741696.squirrel@webmail.stinkweasel.net> Message-ID: <20050707235627.53495.qmail@web31315.mail.mud.yahoo.com> I'm also using a non-SSL on nagios server. I've also tried to run it using inetd in HP-UX using the following config: /etc/inetd.conf nrpe stream tcp nowait root /opt/nrpe/bin/nrpe -c /opt/nrpe/etc/nrpe.cfg -i /etc/services nrpe 5666/tcp #nagios daemon The nagios server responding to a "CHECK_NRPE: Response packet had invalid CRC32." Trying to check the port on the nrpe daemon using telnet 5666 , the responses shows:Escape character is '^]'. NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0 Last Modified: 09-08-2003 License: GPL with exemptions (-l for more info) *************************************************************** ** POSSIBLE SECURITY RISK - COMMAND ARGUMENTS ARE SUPPORTED! ** ** Read the NRPE SECURITY file for more information ** *************************************************************** Usage: nrpe -c Options: = Name of config file to use = One of the following two operating modes: -i = Run as a service under inetd or xinetd -d = Run as a standalone daemon ...... etc Any idea why? or do i missed something with the config? --- "C. Bensend" wrote: > > > have you tried running the nrpe in daemon mode? > I've > > tried installing your HP-UX depot > > nrpe-2.0-B.11.00-RISC11.depot > > > > I cannot establish connection using that depot. I > can > > see a time_wait response in the nrpe daemon: > > > > Is there any idea why? > > No, I haven't run it in daemon mode, I don't use > NRPE. > > Are you trying to use SSL? SSL support is disabled > in my depots, > and will cause problems if SSL support is enabled on > the other > end. > > > -- > "I'd rather staple a skunk to my forehead and go to > a trade show > for banjo makers." -- > PHB's secretary, > > Dilbert, 07-2002 > > Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at ranahminang.net Fri Jul 8 03:55:54 2005 From: paul at ranahminang.net (PD) Date: Fri, 8 Jul 2005 08:55:54 +0700 Subject: UPS Monitoring In-Reply-To: References: <20050707042311.45156.qmail@web50310.mail.yahoo.com> <200507071151.56609.paul@ranahminang.net> Message-ID: <200507080855.54851.paul@ranahminang.net> On Thursday 07 July 2005 20:47, Subhendu Ghosh wrote: > On Thu, 7 Jul 2005, PD wrote: > > hi all, > > > > Has anyone has en experience of using Nagios for UPS monitoring ? > > We use local UPS (brand ICA) with RUPS interface card from megatec > > (http://www.megatec.com.tw/) > > If that UPS is supported by Network UPS Tools (networkupstools.org) as a > generic RUPS model, you will be able to use check_ups plugin. > > Otherwise SNMP support for UPS monitoring exists with check_apc_ups The UPS vendor just send me an interface module, ups mainboard interface cable, serial cable and software CD. The software on CD only for Windows (all version) and linux. The software under linux only doing the job to do a proper shutdown 10 minutes after commercial power down BUT does not have any options for custom rules for all evens such as sending an email, sms, etc. On readme file, I found that the serial cable schema is exactly the same with explained at http://www.fentonups.com/Support___Service/Cables___Comm_Info/cables___comm_info.html How can I do a test of check_ups plugin on UPS and where (URL) to get it ? Regards PD ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Fri Jul 8 03:57:37 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 8 Jul 2005 13:57:37 +1200 Subject: UPS Monitoring In-Reply-To: <200507071151.56609.paul@ranahminang.net> References: <200507071151.56609.paul@ranahminang.net> Message-ID: <009501c58360$6ced0960$01fea8c0@itss.auckland.ac.nz> >Has anyone has en experience of using Nagios for UPS >monitoring ? We use local UPS (brand ICA) with RUPS interface >card from megatec >(http://www.megatec.com.tw/) We monitor ours via SNMP. I have no idea what the interface card is, though, although it seems to use a standard UPS part of the MIB tree. Here's the config if you're interested (suitably obfuscated): -Steve define service{ name svc-dev-ups-timeleft use generic-service service_description Autonomy Time check_command check_snmp!community!1.3.6.1.2.1.33.1.2.3.0!30:999!10:999!m in remaining!Battery contact_groups unix-admins,operators host_name ups max_check_attempts 2 normal_check_interval 5 retry_check_interval 1 } define service{ name svc-dev-ups-output use generic-service contact_groups unix-admins,operators host_name ups max_check_attempts 2 normal_check_interval 20 retry_check_interval 5 register 0 } define service { use svc-dev-ups-output service_description Output Load 1 [Blue] check_command check_snmp!public!1.3.6.1.2.1.33.1.4.4.1.5.1!0:80!0:95!% !Load } define service{ use svc-dev-ups-output service_description Output Load 2 [Yellow] check_command check_snmp!community!1.3.6.1.2.1.33.1.4.4.1.5.2!0:80!0:95!% !Load } define service{ use svc-dev-ups-output service_description Output Load 3 [Red] check_command check_snmp!community!1.3.6.1.2.1.33.1.4.4.1.5.3!0:80!0:95!% !Load } define service{ name svc-dev-ups-alarms-present use generic-service service_description UPS Alarms check_command check_snmp!community!1.3.6.1.2.1.33.1.6.1.0!0:0!0:0!alarms! UPS alarm count: contact_groups unix-admins,operators host_name ups max_check_attempts 1 retry_check_interval 5 } ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at ranahminang.net Fri Jul 8 04:01:05 2005 From: paul at ranahminang.net (PD) Date: Fri, 8 Jul 2005 09:01:05 +0700 Subject: Sample script for send SMS In-Reply-To: References: <20050707042311.45156.qmail@web50310.mail.yahoo.com> <200507071151.56609.paul@ranahminang.net> Message-ID: <200507080901.05405.paul@ranahminang.net> Hi all, on sample scripts, I could not find the way to send sms to reach contact person. On our case, we use gnokii to handle sms daemon. To send sms, just insert values "number" and "text" on outbox table using mysql database, and smsd will do the jobs less than 1 minute. Can anyone give me an example for this purposes (insert any even text detail to mysql table) ? Regards PD ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at ranahminang.net Fri Jul 8 04:14:46 2005 From: paul at ranahminang.net (PD) Date: Fri, 8 Jul 2005 09:14:46 +0700 Subject: UPS Monitoring In-Reply-To: <009501c58360$6ced0960$01fea8c0@itss.auckland.ac.nz> References: <009501c58360$6ced0960$01fea8c0@itss.auckland.ac.nz> Message-ID: <200507080914.46620.paul@ranahminang.net> On Friday 08 July 2005 08:57, Steve Shipway wrote: > We monitor ours via SNMP. I have no idea what the interface card is, > though, although it seems to use a standard UPS part of the MIB tree. > Here's the config if you're interested (suitably obfuscated): > > -Steve Thx Steve, I've to see SNMP MIB first for this purposes. I did see the MIB number before but can not recall where (on CD directory). I will choose the best ways (using ups_check plugin or MIB code). Can anyone give me the suggesions ? Regards PD ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Fri Jul 8 07:16:42 2005 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Fri, 08 Jul 2005 07:16:42 +0200 Subject: Nagios notification via SMS Message-ID: <42CE0C3A.2080704@perso.be> Hello, I wondered what hardware / software you are using to send text-messages (SMS) to cell phones. I think this could be done with an ordinary modem, but aren't there some cellphone-modems where you can put the SIM-card ? Thanks, Frederik ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ralf.prengel at comline.de Fri Jul 8 11:25:29 2005 From: ralf.prengel at comline.de (Ralf Prengel) Date: Fri, 08 Jul 2005 11:25:29 +0200 Subject: alert only for one service Message-ID: <42CE4689.4070609@comline.de> The problem: We have several netwerk-printers (laser/colour) that are only active for some hours. It s not possible to define regual downtimes so we have the problem to recive alerts we don t want to see;-) My idea is to configure nagios so that only error-messages like -- example from the pase service detail) error Notifications for this service have been disabled CRITICAL 07-08-2005 11:11:45 0d 22h 38m 45s 3/3 SNMP CRITICAL - *06 * are generated by nagios. Is that possible? Thanks ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at ranahminang.net Fri Jul 8 12:25:58 2005 From: paul at ranahminang.net (PD) Date: Fri, 8 Jul 2005 17:25:58 +0700 Subject: Nagios notification via SMS In-Reply-To: <42CE0C3A.2080704@perso.be> References: <42CE0C3A.2080704@perso.be> Message-ID: <200507081725.58890.paul@ranahminang.net> On Friday 08 July 2005 12:16, Frederik Vanhee wrote: > Hello, > > I wondered what hardware / software you are using to send text-messages > (SMS) to cell phones. > I think this could be done with an ordinary modem, but aren't there some > cellphone-modems where you can put the SIM-card ? We are using Nokia 6110 cellular phone (incl SIM card inside) and connected to com1 server via NCDS cable. The server running smsd from gnokii. We already able to send and received SMS. Regards PD ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosadmin at snef.fr Fri Jul 8 13:02:16 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Fri, 8 Jul 2005 13:02:16 +0200 Subject: Nagios and SMS References: <42CE0C3A.2080704@perso.be> <200507081725.58890.paul@ranahminang.net> Message-ID: <001501c583ac$80c49e70$c26710ac@sneftechnologies.fr> Hi, I also want to know if someone have found a freeware to send nagios notifications via SMS ? I am in France and I am not sure all the products are available . Thank you by advance Davy ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidworld.org Fri Jul 8 13:07:40 2005 From: chris at aidworld.org (Chris Wilson) Date: Fri, 08 Jul 2005 12:07:40 +0100 Subject: Nagios and SMS In-Reply-To: <001501c583ac$80c49e70$c26710ac@sneftechnologies.fr> References: <42CE0C3A.2080704@perso.be> <200507081725.58890.paul@ranahminang.net> <001501c583ac$80c49e70$c26710ac@sneftechnologies.fr> Message-ID: <1120820860.15605.8.camel@rocio.int.aidworld.org> Hi Davy, We use kapow.co.uk with a custom Perl script to submit Nagios notifications to SMS by HTTP. Cheers, Chris. On Fri, 2005-07-08 at 12:02, Davy Gaussen wrote: > Hi, > > I also want to know if someone have found a freeware to send nagios > notifications via SMS ? I am in France and I am not sure all the products > are available . > > Thank you by advance > > Davy > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > !DSPAM:42ce5dde99072039069433! -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ralf.prengel at comline.de Fri Jul 8 13:19:49 2005 From: ralf.prengel at comline.de (Ralf Prengel) Date: Fri, 08 Jul 2005 13:19:49 +0200 Subject: alert only for one service In-Reply-To: <42CE4689.4070609@comline.de> References: <42CE4689.4070609@comline.de> Message-ID: <42CE6155.2090500@comline.de> Ralf Prengel wrote: > The problem: > We have several netwerk-printers (laser/colour) that are only active for > some hours. > It s not possible to define regual downtimes so we have the problem to > recive alerts we don t want to see;-) > My idea is to configure nagios so that only error-messages like > -- example from the pase service detail) > error Notifications for this service have been disabled CRITICAL > 07-08-2005 11:11:45 0d 22h 38m 45s 3/3 SNMP CRITICAL - *06 * > are generated by nagios. > Is that possible? solved I found the options on the service-page of the webfrontend. Sorry. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin.Wolfert at ptv.de Fri Jul 8 13:23:11 2005 From: Martin.Wolfert at ptv.de (Martin Wolfert) Date: Fri, 8 Jul 2005 13:23:11 +0200 Subject: Plugin to check smp CPU's Message-ID: <9BAD90A62DF5AD4CA65EFCAAA6C012EE3E7D6A@ska-wn-e05.ptv.ptv.de> Hi anyone, did you knew any nagios plugin for monitoring cpu's ? The python based script on the nagios exchange website does not work on our sytem. And .... i cant "speak" python, so i cant fix the problem :-( Best Regards Martin Wolfert PTV AG Webadministrator R2.2 - Betrieb Internet Tel.: +49 7 21 96 51- 7128 Fax: +49 7 21 96 51- 599 E-Mail: martin.wolfert at ptv.de ____________________________ PTV Planung Transport Verkehr AG Stumpfstrasse 1 76131 Karlsruhe Germany http://www.ptv.de http://www.Reiseplanung.de http://www.varta-guide.de http://www.CityGuideFinder.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjl at topdanmark.dk Fri Jul 8 13:34:09 2005 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Fri, 8 Jul 2005 13:34:09 +0200 Subject: Vedr.: Plugin to check smp CPU's Message-ID: Hello, I use a selfmade plugin bash script to check more than one cpu. It is done via SNMP and it is working with a temp file to compare previous results. It's proberly not the smartest script in the world, but it works.... Currently it only checks win2000 os and up to 4 cpu's. You can expand the number of cpu?s your self. I can send you the plugin if you like. Best regards Thomas |---------+----------------------------------------> | | Martin Wolfert | | | | | | Sendt af: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 08-07-2005 13:23 | | | | |---------+----------------------------------------> >--------------------------------------------------------------------------------------------------------------| | | | Til: "'nagios-users at lists.sourceforge.net'" | | cc: | | Vedr.: [Nagios-users] Plugin to check smp CPU's | >--------------------------------------------------------------------------------------------------------------| Hi anyone, did you knew any nagios plugin for monitoring cpu's ? The python based script on the nagios exchange website does not work on our sytem. And .... i cant "speak" python, so i cant fix the problem :-( Best Regards Martin Wolfert PTV AG Webadministrator R2.2 - Betrieb Internet Tel.: +49 7 21 96 51- 7128 Fax: +49 7 21 96 51- 599 E-Mail: martin.wolfert at ptv.de ____________________________ PTV Planung Transport Verkehr AG Stumpfstrasse 1 76131 Karlsruhe Germany http://www.ptv.de http://www.Reiseplanung.de http://www.varta-guide.de http://www.CityGuideFinder.de ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin.Wolfert at ptv.de Fri Jul 8 13:41:29 2005 From: Martin.Wolfert at ptv.de (Martin Wolfert) Date: Fri, 8 Jul 2005 13:41:29 +0200 Subject: AW: Vedr.: Plugin to check smp CPU's Message-ID: <9BAD90A62DF5AD4CA65EFCAAA6C012EE3E7D6B@ska-wn-e05.ptv.ptv.de> Hi Thomas, thx for your posting .... It's my fault ... i had to check linux servers ..... SORRY .... Best Regards Martin > -----Urspr?ngliche Nachricht----- > Von: Thomas Jens Lauritsen [mailto:tjl at topdanmark.dk] > Gesendet: Freitag, 8. Juli 2005 13:34 > An: nagios-users at lists.sourceforge.net > Betreff: Vedr.: [Nagios-users] Plugin to check smp CPU's > > > Hello, > > I use a selfmade plugin bash script to check more than one cpu. > > It is done via SNMP and it is working with a temp file to > compare previous > results. > > It's proberly not the smartest script in the world, but it works.... > > Currently it only checks win2000 os and up to 4 cpu's. You > can expand the > number of cpu?s your self. > > I can send you the plugin if you like. > > Best regards > > Thomas > > > > > > > |---------+----------------------------------------> > | | Martin Wolfert | > | | | > | | Sendt af: | > | | nagios-users-admin at lists.sour| > | | ceforge.net | > | | | > | | | > | | 08-07-2005 13:23 | > | | | > |---------+----------------------------------------> > > >------------------------------------------------------------- > -------------------------------------------------| > | > | > | Til: "'nagios-users at lists.sourceforge.net'" > | > | cc: > | > | Vedr.: [Nagios-users] Plugin to check smp CPU's > | > > >------------------------------------------------------------- > -------------------------------------------------| > > > > > Hi anyone, > > > did you knew any nagios plugin for monitoring cpu's ? > > > The python based script on the nagios exchange website does > not work on our > sytem. > And .... i cant "speak" python, so i cant fix the problem :-( > > > Best Regards > > > Martin Wolfert > > > > > > PTV AG > Webadministrator > R2.2 - Betrieb Internet > Tel.: +49 7 21 96 51- 7128 > Fax: +49 7 21 96 51- 599 > E-Mail: martin.wolfert at ptv.de > ____________________________ > PTV > Planung Transport Verkehr AG > Stumpfstrasse 1 > 76131 Karlsruhe > Germany > http://www.ptv.de > http://www.Reiseplanung.de > http://www.varta-guide.de > http://www.CityGuideFinder.de > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' > webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the > latest in dual > core and dual graphics technology at this free one hour event > hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sampinar at gmail.com Fri Jul 8 15:21:00 2005 From: sampinar at gmail.com (Sam Pinar) Date: Fri, 8 Jul 2005 23:21:00 +1000 Subject: No statusmap.cgi Message-ID: <4aa21538050708062118fcdcad@mail.gmail.com> Hi all. I have a slight problem with Status Map. I have no "statusmap.cgi"!!! Any tips/solutions appreciated. 3-D Status Map works though. OS: Slackware 10.0 Nagios Version: 2.0b3 Cheers Sam Pinar ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 8 16:24:33 2005 From: marc at ena.com (Marc Powell) Date: Fri, 8 Jul 2005 09:24:33 -0500 Subject: No statusmap.cgi Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sam Pinar > Sent: Friday, July 08, 2005 8:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] No statusmap.cgi > > Hi all. I have a slight problem with Status Map. I have no > "statusmap.cgi"!!! > > Any tips/solutions appreciated. It's detailed in the FAQ. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sxanrr at yahoo.com Fri Jul 8 16:35:36 2005 From: sxanrr at yahoo.com (Sxan) Date: Fri, 8 Jul 2005 07:35:36 -0700 (PDT) Subject: check_external_commands option Message-ID: <20050708143537.54359.qmail@web32205.mail.mud.yahoo.com> Hey all, I have a question regarding the check_external_commands option in the nagios.cfg file. Basically, I tried to schedule some downtime, saw that I needed to have that option enabled, so I went into the nagios.cfg file and changed the 0 to a 1 for that line like it is below: check_external_commands=1 I saved the .cfg and now when I try and restart nagios, it won't start. I just get: honda:/usr/local/nagios/etc # sh /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios Starting network monitor: nagios PID TTY TIME CMD honda:/usr/local/nagios/etc # If I run the following ..../nagios/etc/../bin/nagios -v nagios.cfg Everything checks out ok with just a couple warnings that have been there before. Am I missing something else I should be doing? Like perhaps specifying somewhere in the configs who has the right to run external commands? Thanks. Jim --------------------------------- Yahoo! Mail Stay connected, organized, and protected. Take the tour -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Jul 8 17:14:59 2005 From: marc at ena.com (Marc Powell) Date: Fri, 8 Jul 2005 10:14:59 -0500 Subject: check_external_commands option Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sxan > Sent: Friday, July 08, 2005 9:36 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_external_commands option > > > Hey all, > > I have a question regarding the check_external_commands option in the > nagios.cfg > file. Basically, I tried to schedule some downtime, saw that I needed to > have that > option enabled, so I went into the nagios.cfg file and changed the 0 to a > 1 for that line > like it is below: > > check_external_commands=1 > > I saved the .cfg and now when I try and restart nagios, it won't start. I > just get: > > honda:/usr/local/nagios/etc # sh /etc/init.d/nagios restart > Running configuration check...done > Stopping network monitor: nagios > Starting network monitor: nagios > PID TTY TIME CMD > honda:/usr/local/nagios/etc # > > If I run the following > ..../nagios/etc/../bin/nagios -v nagios.cfg Everything checks out ok with > just a couple warnings > that have been there before. Am I missing something else I should be > doing? Like perhaps > specifying somewhere in the configs who has the right to run external > commands? Thanks. Did you check nagios.log? Chances are that nagios isn't able to actually create the command pipe (nagios.cmd) in the path specified by command_file in nagios.cfg. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DKeller at ABNCompany.com Fri Jul 8 17:29:58 2005 From: DKeller at ABNCompany.com (David Keller) Date: Fri, 8 Jul 2005 11:29:58 -0400 Subject: !st Time Message-ID: <8757FD4E4F83134BABC549F49929252306640A@abnco1404.abncompany.com> I am a novice at Linux and I am running Fedora Core 2 Is there an easy Nagios for Dummies reference to get this installed correctly? Keeping in mind I am from a Windows background... David Keller Network Engineer / Systems Administrator American Banknote Company 711 Armstrong Lane Columbia, TN. 38401 931-490-1726 (W) 931-698-6043 (C) -------------- next part -------------- An HTML attachment was scrubbed... URL: From eford at nexusenergy.com Fri Jul 8 17:37:31 2005 From: eford at nexusenergy.com (Edward Ford) Date: Fri, 8 Jul 2005 11:37:31 -0400 Subject: !st Time Message-ID: Good luck. Watch out for people in this forum also, they don't like easy questions. It took me awhile to get mine going and looking past the rude people in this forum with the help of the forum I got mine working. There are no books that I am aware of but there are a few good sites that I also used. Do a google search for them and they will be there. Good luck and ignore the rude people in this forum, there are a few helpful people in the forum along with them. Eddie -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of David Keller Sent: Friday, July 08, 2005 11:30 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] !st Time I am a novice at Linux and I am running Fedora Core 2 Is there an easy Nagios for Dummies reference to get this installed correctly? Keeping in mind I am from a Windows background. David Keller Network Engineer / Systems Administrator American Banknote Company 711 Armstrong Lane Columbia, TN. 38401 931-490-1726 (W) 931-698-6043 (C) -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott at scl.utah.edu Fri Jul 8 17:41:24 2005 From: scott at scl.utah.edu (Scott Doenges) Date: Fri, 8 Jul 2005 09:41:24 -0600 Subject: arguments for check_hpjd plugin Message-ID: Hi all, Thanks for your suggestions regarding the check_hpjd plugin for monitoring printers. It sounds like it will do just what I want. However I am trying to use this Nagios plugin with Intermapper (a similar networking monitoring app for Mac OS X). Intermapper fully supports using Nagios plugins with their standard arguments, but since I'm a Nagios noob I'm having some difficulty setting up the plugin's arguments to report error conditions on a printer. It sounds like each plugin has a help page somewhere but without a proper Nagios install I can't get to them :) Can anyone offer some suggestions on the argument I need to use with this plugin, to report out of paper/toner/paper jam, etc? thanks, Scott -- _________________________________________ Scott Doenges Assistant Macintosh Specialist Student Computing Labs, Marriott Library University of Utah (801) 585-9811 http://www.macos.utah.edu http://scott.scl.utah.edu Even a stopped clock gives the right time twice a day. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 8 17:42:38 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 8 Jul 2005 11:42:38 -0400 (EDT) Subject: UPS Monitoring In-Reply-To: <200507080914.46620.paul@ranahminang.net> References: <009501c58360$6ced0960$01fea8c0@itss.auckland.ac.nz> <200507080914.46620.paul@ranahminang.net> Message-ID: On Fri, 8 Jul 2005, PD wrote: > On Friday 08 July 2005 08:57, Steve Shipway wrote: >> We monitor ours via SNMP. I have no idea what the interface card is, >> though, although it seems to use a standard UPS part of the MIB tree. >> Here's the config if you're interested (suitably obfuscated): >> >> -Steve > > Thx Steve, > > I've to see SNMP MIB first for this purposes. > I did see the MIB number before but can not recall where (on CD directory). > > I will choose the best ways (using ups_check plugin or MIB code). > > Can anyone give me the suggesions ? > > Regards > > PD > In order to run check_ups, you need to be running Network UPS Tools (NUTs) instead of the vendor provided software. If the cable is the same as a Fenton UPS cable thats fine, but of more inportance is the protocol. You mentioned the software was RUPS, hence my guess is RUPS protocol. Both fenton and rups are supported by NUTs. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 8 17:49:34 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 8 Jul 2005 11:49:34 -0400 (EDT) Subject: arguments for check_hpjd plugin In-Reply-To: References: Message-ID: On Fri, 8 Jul 2005, Scott Doenges wrote: > Hi all, > > Thanks for your suggestions regarding the check_hpjd plugin for monitoring > printers. It sounds like it will do just what I want. > > However I am trying to use this Nagios plugin with Intermapper (a similar > networking monitoring app for Mac OS X). Intermapper fully supports using > Nagios plugins with their standard arguments, but since I'm a Nagios noob I'm > having some difficulty setting up the plugin's arguments to report error > conditions on a printer. It sounds like each plugin has a help page > somewhere but without a proper Nagios install I can't get to them :) > > Can anyone offer some suggestions on the argument I need to use with this > plugin, to report out of paper/toner/paper jam, etc? > > thanks, > Scott > Plugin help can be retrieved by running the plugins with -h as an option. There are no man pages. ----- This plugin tests the STATUS of an HP printer with a JetDirect card. Ucd-snmp must be installed on the computer running the plugin. Usage: check_hpjd -H host [-C community] check_hpjd --help check_hpjd --version Options: -H, --hostname=STRING or IPADDRESS Check server on the indicated host -C, --community=STRING The SNMP community name -h, --help Print detailed help screen -V, --version Print version information ------ This plugin checks the following objects and will error on all. #define HPJD_LINE_STATUS ".1.3.6.1.4.1.11.2.3.9.1.1.2.1" #define HPJD_PAPER_STATUS ".1.3.6.1.4.1.11.2.3.9.1.1.2.2" #define HPJD_INTERVENTION_REQUIRED ".1.3.6.1.4.1.11.2.3.9.1.1.2.3" #define HPJD_GD_PERIPHERAL_ERROR ".1.3.6.1.4.1.11.2.3.9.1.1.2.6" #define HPJD_GD_PAPER_JAM ".1.3.6.1.4.1.11.2.3.9.1.1.2.8" #define HPJD_GD_PAPER_OUT ".1.3.6.1.4.1.11.2.3.9.1.1.2.9" #define HPJD_GD_TONER_LOW ".1.3.6.1.4.1.11.2.3.9.1.1.2.10" #define HPJD_GD_PAGE_PUNT ".1.3.6.1.4.1.11.2.3.9.1.1.2.11" #define HPJD_GD_MEMORY_OUT ".1.3.6.1.4.1.11.2.3.9.1.1.2.12" #define HPJD_GD_DOOR_OPEN ".1.3.6.1.4.1.11.2.3.9.1.1.2.17" #define HPJD_GD_PAPER_OUTPUT ".1.3.6.1.4.1.11.2.3.9.1.1.2.19" #define HPJD_GD_STATUS_DISPLAY ".1.3.6.1.4.1.11.2.3.9.1.1.3" -- -sg ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Fri Jul 8 17:50:42 2005 From: james at lovedthanlost.net (James Turnbull) Date: Sat, 09 Jul 2005 01:50:42 +1000 Subject: !st Time In-Reply-To: <8757FD4E4F83134BABC549F49929252306640A@abnco1404.abncompany.com> References: <8757FD4E4F83134BABC549F49929252306640A@abnco1404.abncompany.com> Message-ID: <42CEA0D2.70204@lovedthanlost.net> David Keller wrote: > I am a novice at Linux and I am running Fedora Core 2 > > Is there an easy Nagios for Dummies reference to get this installed > correctly? > > Keeping in mind I am from a Windows background? > Hi The Nagios documentation is really quite good - http://www.nagios.org/docs/ and there are also these links (a little old but still good) that might help: http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html http://www.totkat.org/pages/nagios.shtml Regards James Turnbull -- James Turnbull --- Author of Hardening Linux from Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joseph.Petrucci at ddiworld.com Fri Jul 8 19:54:25 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Fri, 8 Jul 2005 13:54:25 -0400 Subject: !st Time Message-ID: Do yourself a favor and make sure your Apache web-server and your SMTP server are working properly before you try to install Nagios. I have seen a lot of people start out installing Nagios on a system that is not fully functional and it makes it hard to tell if you problems are Nagios related or basic setup. >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of James >Turnbull >Sent: Friday, July 08, 2005 11:51 AM >To: David Keller; nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] !st Time > > >David Keller wrote: > >> I am a novice at Linux and I am running Fedora Core 2 >> >> Is there an easy Nagios for Dummies reference to get this installed >> correctly? >> >> Keeping in mind I am from a Windows background? >> >Hi > >The Nagios documentation is really quite good - >http://www.nagios.org/docs/ and there are also these links (a >little old >but still good) that might help: > >http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html >http://www.totkat.org/pages/nagios.shtml > >Regards > >James Turnbull > >-- >James Turnbull >--- >Author of Hardening Linux from Apress >(http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) >--- >PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) > > > >------------------------------------------------------- >This SF.Net email is sponsored by the 'Do More With Dual!' >webinar happening >July 14 at 8am PDT/11am EDT. We invite you to explore the >latest in dual >core and dual graphics technology at this free one hour event >hosted by HP, >AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From formy-duval_alan at bah.com Fri Jul 8 22:01:22 2005 From: formy-duval_alan at bah.com (Formy-Duval Alan) Date: Fri, 8 Jul 2005 16:01:22 -0400 Subject: Downloading Nagios Plugin Snapshot Message-ID: <70F40B6058284248BEAB168BF640CC598FCD9B@MCLNEXVS03.resource.ds.bah.com> Hello, I am trying to download and compile the latest snapshot in order to resolve a bug found with the libnsl library on Solaris. Which is the correct file to download from http://nagiosplug.sf.net/snapshot? Do I need the 'HEAD' file or the 'r1_4' file? Thanks Alan Formy-Duval, CISSP Booz | Allen | Hamilton (202)508-6827 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Fri Jul 8 22:08:06 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Fri, 8 Jul 2005 16:08:06 -0400 Subject: Warning error Message-ID: <097D3590441CB345A836C4B3F7F813DC583D0B@mailsrv.cbct.com> I cant figure out why nagios gives me the following message: Warning: Monitoring process may not be running! Click here for more info. The nagios process is running as well as apache. Nagios.cmd is there with user nagios group nagiocmd. Any Ideas as to why I'm getting this? G -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Fri Jul 8 22:21:21 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 8 Jul 2005 16:21:21 -0400 (EDT) Subject: Warning error In-Reply-To: <097D3590441CB345A836C4B3F7F813DC583D0B@mailsrv.cbct.com> References: <097D3590441CB345A836C4B3F7F813DC583D0B@mailsrv.cbct.com> Message-ID: On Fri, 8 Jul 2005, Guillermo Padilla wrote: > I cant figure out why nagios gives me the following message: > > Warning: Monitoring process may not be running! > Click here > for more info. > > > > The nagios process is running as well as apache. Nagios.cmd is there > with user nagios group nagiocmd. > > > > Any Ideas as to why I'm getting this? > > > > G > > FAQ 170 or FAQ 240 -- -sg ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Rusch at fotf.org Fri Jul 8 22:25:26 2005 From: Daniel.Rusch at fotf.org (Rusch, Daniel) Date: Fri, 8 Jul 2005 14:25:26 -0600 Subject: AS 400 Plugin Message-ID: <8514B8AEA269234B82EF64E707E5885005886B15@nahum.mis.fotf.priv> I am using Version 0.18 of the check_as400 pluggin. I can get all of the checks to work except the check job (CJ) which is the one I need of course I think the problem is in identifying the job: ./check_as400 -H abraham -v CJ JDENET_K The check simply hangs and does not return in diag mode I get: Establishing connection to server...done. Logging in... waiting for screen... waiting for token IBM CORP... token received. sending login information for XXXXXXX... waiting for login to process... waiting for token ===>... responding to allocated to another job message... token received. Login completed. Sending command (4)... waiting for token Auswahl... JDENET_K is an active job. Any ideas? Thank you, Daniel G. Rusch x2027 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gpadilla at cbct.com Fri Jul 8 22:42:02 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Fri, 8 Jul 2005 16:42:02 -0400 Subject: Warning error Message-ID: <097D3590441CB345A836C4B3F7F813DC583D19@mailsrv.cbct.com> Yeah I've checked these FAQ's before but didn't help much. I have plenty of space and my cgi.cgi command is up to par with the nagios process running on the system. -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Friday, July 08, 2005 4:21 PM To: Guillermo Padilla Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Warning error On Fri, 8 Jul 2005, Guillermo Padilla wrote: > I cant figure out why nagios gives me the following message: > > Warning: Monitoring process may not be running! > Click here > for more info. > > > > The nagios process is running as well as apache. Nagios.cmd is there > with user nagios group nagiocmd. > > > > Any Ideas as to why I'm getting this? > > > > G > > FAQ 170 or FAQ 240 -- -sg ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 8 22:44:57 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 8 Jul 2005 16:44:57 -0400 (EDT) Subject: Warning error In-Reply-To: <097D3590441CB345A836C4B3F7F813DC583D19@mailsrv.cbct.com> References: <097D3590441CB345A836C4B3F7F813DC583D19@mailsrv.cbct.com> Message-ID: On Fri, 8 Jul 2005, Guillermo Padilla wrote: > Yeah I've checked these FAQ's before but didn't help much. > > I have plenty of space and my cgi.cgi command is up to par with the > nagios process running on the system. > try and run the command defined in cgi.cfg for the proccess check and see what the output is. > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Friday, July 08, 2005 4:21 PM > To: Guillermo Padilla > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Warning error > > On Fri, 8 Jul 2005, Guillermo Padilla wrote: > >> I cant figure out why nagios gives me the following message: >> >> Warning: Monitoring process may not be running! >> Click here > >> for more info. >> >> >> >> The nagios process is running as well as apache. Nagios.cmd is there >> with user nagios group nagiocmd. >> >> >> >> Any Ideas as to why I'm getting this? >> >> >> >> G >> >> > > FAQ 170 or FAQ 240 > > -- ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at bowmansystems.com Fri Jul 8 23:07:58 2005 From: mark at bowmansystems.com (Mark Rinaudo) Date: 08 Jul 2005 16:07:58 -0500 Subject: Nagios fills up the /tmp directory Message-ID: <1120856878.4460.1598.camel@penguin1> nagios-users, I've been using nagios for a little over a year. I'm running Nagios 1.2. I've just recently started running into problems where Nagios is writing files to the /tmp directory but does'nt seem to be removing them. The files start with the Ip address of the host that it's checking with an extension containing a series of letters and numbers. For some reason Nagios is filling up the /tmp directory with the maximum number of files allowed in a directory (not space wise) which causes the email server to break on the server making Nagios useless. This is running on Debian (woody). I've checked the permissions on the tmp directory and it's rwx by everyone. Has anyone run into this problem and what did you do to fix it? TIA mark -- Mark Rinaudo 318-213-8780 ext 111 Bowman Systems ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Fri Jul 8 23:06:02 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Fri, 8 Jul 2005 17:06:02 -0400 Subject: Warning error Message-ID: <097D3590441CB345A836C4B3F7F813DC583D20@mailsrv.cbct.com> This is what I get ./check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios Nagios ok: located 59 processes, status log updated 12 seconds ago -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Friday, July 08, 2005 4:45 PM To: Guillermo Padilla Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Warning error On Fri, 8 Jul 2005, Guillermo Padilla wrote: > Yeah I've checked these FAQ's before but didn't help much. > > I have plenty of space and my cgi.cgi command is up to par with the > nagios process running on the system. > try and run the command defined in cgi.cfg for the proccess check and see what the output is. > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Friday, July 08, 2005 4:21 PM > To: Guillermo Padilla > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Warning error > > On Fri, 8 Jul 2005, Guillermo Padilla wrote: > >> I cant figure out why nagios gives me the following message: >> >> Warning: Monitoring process may not be running! >> Click here > >> for more info. >> >> >> >> The nagios process is running as well as apache. Nagios.cmd is there >> with user nagios group nagiocmd. >> >> >> >> Any Ideas as to why I'm getting this? >> >> >> >> G >> >> > > FAQ 170 or FAQ 240 > > -- ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 8 23:10:04 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 8 Jul 2005 17:10:04 -0400 (EDT) Subject: Warning error In-Reply-To: <097D3590441CB345A836C4B3F7F813DC583D20@mailsrv.cbct.com> References: <097D3590441CB345A836C4B3F7F813DC583D20@mailsrv.cbct.com> Message-ID: On Fri, 8 Jul 2005, Guillermo Padilla wrote: > This is what I get > > ./check_nagios -F /usr/local/nagios/var/status.log -e 5 -C > /usr/local/nagios/bin/nagios > Nagios ok: located 59 processes, status log updated 12 seconds ago > If the above command is present in cgi.cfg - then it would be an issue of the web-server user not being able to see the full proccess list. Are you running SELinux? > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Friday, July 08, 2005 4:45 PM > To: Guillermo Padilla > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Warning error > > On Fri, 8 Jul 2005, Guillermo Padilla wrote: > >> Yeah I've checked these FAQ's before but didn't help much. >> >> I have plenty of space and my cgi.cgi command is up to par with the >> nagios process running on the system. >> > > try and run the command defined in cgi.cfg for the proccess check and > see > what the output is. > > >> >> -----Original Message----- >> From: Subhendu Ghosh [mailto:sghosh at sghosh.org] >> Sent: Friday, July 08, 2005 4:21 PM >> To: Guillermo Padilla >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Warning error >> >> On Fri, 8 Jul 2005, Guillermo Padilla wrote: >> >>> I cant figure out why nagios gives me the following message: >>> >>> Warning: Monitoring process may not be running! >>> Click here >> >>> for more info. >>> >>> >>> >>> The nagios process is running as well as apache. Nagios.cmd is there >>> with user nagios group nagiocmd. >>> >>> >>> >>> Any Ideas as to why I'm getting this? >>> >>> >>> >>> G >>> >>> >> >> FAQ 170 or FAQ 240 >> >> > > -- ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Fri Jul 8 23:14:31 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Fri, 8 Jul 2005 17:14:31 -0400 Subject: Warning error Message-ID: <097D3590441CB345A836C4B3F7F813DC583D21@mailsrv.cbct.com> That's what I'm thinking, I'm using apache 2.0.54 on RedHat Linux A.S. 4 -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Friday, July 08, 2005 5:10 PM To: Guillermo Padilla Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Warning error On Fri, 8 Jul 2005, Guillermo Padilla wrote: > This is what I get > > ./check_nagios -F /usr/local/nagios/var/status.log -e 5 -C > /usr/local/nagios/bin/nagios > Nagios ok: located 59 processes, status log updated 12 seconds ago > If the above command is present in cgi.cfg - then it would be an issue of the web-server user not being able to see the full proccess list. Are you running SELinux? > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Friday, July 08, 2005 4:45 PM > To: Guillermo Padilla > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Warning error > > On Fri, 8 Jul 2005, Guillermo Padilla wrote: > >> Yeah I've checked these FAQ's before but didn't help much. >> >> I have plenty of space and my cgi.cgi command is up to par with the >> nagios process running on the system. >> > > try and run the command defined in cgi.cfg for the proccess check and > see > what the output is. > > >> >> -----Original Message----- >> From: Subhendu Ghosh [mailto:sghosh at sghosh.org] >> Sent: Friday, July 08, 2005 4:21 PM >> To: Guillermo Padilla >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Warning error >> >> On Fri, 8 Jul 2005, Guillermo Padilla wrote: >> >>> I cant figure out why nagios gives me the following message: >>> >>> Warning: Monitoring process may not be running! >>> Click here >> >>> for more info. >>> >>> >>> >>> The nagios process is running as well as apache. Nagios.cmd is there >>> with user nagios group nagiocmd. >>> >>> >>> >>> Any Ideas as to why I'm getting this? >>> >>> >>> >>> G >>> >>> >> >> FAQ 170 or FAQ 240 >> >> > > -- ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Jul 8 23:15:31 2005 From: benny at bennyvision.com (C. Bensend) Date: Fri, 8 Jul 2005 16:15:31 -0500 (CDT) Subject: Warning error In-Reply-To: References: <097D3590441CB345A836C4B3F7F813DC583D20@mailsrv.cbct.com> Message-ID: <3695.134.244.169.17.1120857331.squirrel@webmail.stinkweasel.net> > If the above command is present in cgi.cfg - then it would be an issue of > the web-server user not being able to see the full proccess list. > > Are you running SELinux? Or perhaps the webserver user cannot read nagios.log? Benny -- "I'd rather staple a skunk to my forehead and go to a trade show for banjo makers." -- PHB's secretary, Dilbert, 07-2002 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Jul 8 23:17:36 2005 From: benny at bennyvision.com (C. Bensend) Date: Fri, 8 Jul 2005 16:17:36 -0500 (CDT) Subject: Warning error In-Reply-To: <3695.134.244.169.17.1120857331.squirrel@webmail.stinkweasel.net> References: <097D3590441CB345A836C4B3F7F813DC583D20@mailsrv.cbct.com> <3695.134.244.169.17.1120857331.squirrel@webmail.stinkweasel.net> Message-ID: <3697.134.244.169.17.1120857456.squirrel@webmail.stinkweasel.net> > >> If the above command is present in cgi.cfg - then it would be an issue >> of >> the web-server user not being able to see the full proccess list. >> >> Are you running SELinux? > > Or perhaps the webserver user cannot read nagios.log? Of course, I meant the status.log file. *sigh* Long week, TGIF. -- "I'd rather staple a skunk to my forehead and go to a trade show for banjo makers." -- PHB's secretary, Dilbert, 07-2002 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Fri Jul 8 23:39:48 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Fri, 8 Jul 2005 17:39:48 -0400 Subject: Warning error Message-ID: <097D3590441CB345A836C4B3F7F813DC583D22@mailsrv.cbct.com> I've resolved this issue, early in the day I was working on trying to fix a problem the statusmap.cgi link where I get an internal error has occurred error. So I ran chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ To try to fix the problem which it didn't. I did an ls -lz and enter the default security settings for that folder as if where when it was first installed. Well the process now shows as working. Now one to battling my cgi issue. Thanks for the help giving to me thus far. -g -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Friday, July 08, 2005 5:10 PM To: Guillermo Padilla Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Warning error On Fri, 8 Jul 2005, Guillermo Padilla wrote: > This is what I get > > ./check_nagios -F /usr/local/nagios/var/status.log -e 5 -C > /usr/local/nagios/bin/nagios > Nagios ok: located 59 processes, status log updated 12 seconds ago > If the above command is present in cgi.cfg - then it would be an issue of the web-server user not being able to see the full proccess list. Are you running SELinux? > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Friday, July 08, 2005 4:45 PM > To: Guillermo Padilla > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Warning error > > On Fri, 8 Jul 2005, Guillermo Padilla wrote: > >> Yeah I've checked these FAQ's before but didn't help much. >> >> I have plenty of space and my cgi.cgi command is up to par with the >> nagios process running on the system. >> > > try and run the command defined in cgi.cfg for the proccess check and > see > what the output is. > > >> >> -----Original Message----- >> From: Subhendu Ghosh [mailto:sghosh at sghosh.org] >> Sent: Friday, July 08, 2005 4:21 PM >> To: Guillermo Padilla >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Warning error >> >> On Fri, 8 Jul 2005, Guillermo Padilla wrote: >> >>> I cant figure out why nagios gives me the following message: >>> >>> Warning: Monitoring process may not be running! >>> Click here >> >>> for more info. >>> >>> >>> >>> The nagios process is running as well as apache. Nagios.cmd is there >>> with user nagios group nagiocmd. >>> >>> >>> >>> Any Ideas as to why I'm getting this? >>> >>> >>> >>> G >>> >>> >> >> FAQ 170 or FAQ 240 >> >> > > -- ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Sat Jul 9 00:45:25 2005 From: tdondich at gmail.com (Taylor Dondich) Date: Fri, 8 Jul 2005 15:45:25 -0700 Subject: Fruity 1.0 beta 1 is now available! Message-ID: <3d2eb72a05070815456f643ff8@mail.gmail.com> Fruity 1.0 Beta 1 Released! http://fruity.sf.net Fruity 1.0 Beta is now released. Now is the time to try out the new Fruity program to ease the configuration tasks of your Nagios installation. Included is the new template system (which allows you to do a lot more than normal Nagios templates), escalations, and dependencies. Also a lot more error checking and some additional addons. Please note, Fruity is now covered under GPLv2. View LICENSE in the release for more information. Requirements: Web Server PHP 5.x (5 Is now used, for object orientated support) - PHP MySQL Extension - PHP Session Extension MySQL Database Engine - Tested on MySQL 4.1, should work on 3.x as well. ADOdb PHP Database Abstraction Layer - The adodb folder must be in your PHP's include_path. - http://adodb.sf.net PEAR's HTML_TreeMenu package - This must also be installed in your PHP's include_path. - See PHP Pear's Site for more info (http://pear.php.net) Downloading: Download the latest release at our Sourceforge Files section. Bug Tracking: To submit bug reports, please use our Sourceforge bug tracker. Support: Use either our Mailing List or our Discussion Forum to discuss problems or implementation issues. Fruity is developed by Taylor Dondich at Groundwork Open Source Solutions. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at ranahminang.net Sat Jul 9 05:48:33 2005 From: paul at ranahminang.net (PD) Date: Sat, 9 Jul 2005 10:48:33 +0700 Subject: UPS Monitoring In-Reply-To: References: <009501c58360$6ced0960$01fea8c0@itss.auckland.ac.nz> <200507080914.46620.paul@ranahminang.net> Message-ID: <200507091048.33778.paul@ranahminang.net> On Friday 08 July 2005 22:42, Subhendu Ghosh wrote: > In order to run check_ups, you need to be running Network UPS Tools (NUTs) > instead of the vendor provided software. Hm... means... UPS - NUTs - check_ups plug-in - Nagios engine - SMSD and... how if we choose using MIB ? is it UPS - check MIB every 60 second - Nagios engine - SMSD ? > If the cable is the same as a Fenton UPS cable thats fine, but of more > inportance is the protocol. You mentioned the software was RUPS, hence my > guess is RUPS protocol. exactly the same with the pin out too. > Both fenton and rups are supported by NUTs. Ok.. I will try on the other machine first Regards PD ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jul 9 06:29:03 2005 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 9 Jul 2005 14:29:03 +1000 Subject: Nagios notification via SMS In-Reply-To: <20050708211431.CC200896F7@sc8-sf-spam1.sourceforge.net> References: <20050708211431.CC200896F7@sc8-sf-spam1.sourceforge.net> Message-ID: <20050709042902.GA236@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Fri, Jul 08, 2005 at 02:13:37PM -0700, nagios-users-request at lists.sourceforge.net wrote: > From: Frederik Vanhee > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios notification via SMS > > Hello, > (firstly, thanks a bunch for not posting in HTML _and__ Base 64 __and__ quoted printable) > I wondered what hardware / software you are using to send text-messages > (SMS) to cell phones. Wavecom WM02 or equivalent (gsm modem ie modem + aerial + SIM in small package useful for installations doing telemetry etc. These modems support the standard text message enhanced AT command set) + that marvellous Open Source Product from France, smslink. > I think this could be done with an ordinary modem, but aren't there some > cellphone-modems where you can put the SIM-card ? > Using a GSM modem means that you bypass the providers interface to their text mesages service (for which you need to write an Expect/chat script to interact with anyway). smslink + GSM modems is a superior solution because 1 email interface 2 daemon/server instance 3 multiple modems 4 smslink has good debugging in the unlikely event of your troubleshooting delivery problems 5 mesage delivery logging 6 years of flawless operation here (but of course you may have to compile it yourself since I don't know if there are packages) If you > Thanks, > > Frederik > > > Also for local delivery to non contact 9-5 interested parties (eg developers, PHBs) jabber is a nice complement. I suppose one could also use it __instead__ of SMS but I haven't tried that. Yours sincerely -- Stanley Hopcroft -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From niceforums at yahoo.com Sat Jul 9 08:57:07 2005 From: niceforums at yahoo.com (hamideh daliri) Date: Fri, 8 Jul 2005 23:57:07 -0700 (PDT) Subject: problem with freewrl Message-ID: <20050709065707.93370.qmail@web30110.mail.mud.yahoo.com> hi , i have got freewrl for viewing ed status map, but nothing is shown ,just this message ' (loading...) 1.66 fps EXAMINE(?help) ' is shown, what does it mean? i have this problem on linux,in WinXP it works well. whoould you help me ? ____________________________________________________ Sell on Yahoo! Auctions ? no fees. Bid on great items. http://auctions.yahoo.com/ ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Sat Jul 9 08:26:02 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Sat, 09 Jul 2005 08:26:02 +0200 Subject: Nagios fills up the /tmp directory In-Reply-To: <1120856878.4460.1598.camel@penguin1> References: <1120856878.4460.1598.camel@penguin1> Message-ID: <42CF6DFA.10107@gmx.net> Hi Mark, I am assuming that you're using the check_mssql.sh Plugin and the IP Adresses are all your MSSQL Server? I got this little failure long time ago and since them just deleted the files because they don't comes regulary. But I think on a special error with the MS-SQL Check this files were written and were not be cleaned up by the script. I am sorry but until now I had no chance to find out where to change the plugin, it looks clean for me. In every situation the 'rmcmd' is called for every of the three tmpfiles before script termination. A few days ago I've changed the filenames of the three tmpfiles and waiting for this special error to find out in which section of the script the error comes from. Now it looks like that the error occurs when the check_mssql.sh runs into a Service Check timeout: This is in the Nagios-Log: [06-07-2005 21:24:33] SERVICE ALERT: WIN100A023;MS-SQL 2000;CRITICAL;SOFT;1;(Service Check Timed Out) And these are the files: -rw------- 1 nagios nagios 0 Jul 6 21:24 10.2.70.132-error.KayB5a -rw------- 1 nagios nagios 0 Jul 6 21:24 10.2.70.132-result.c8dPP7 -rw------- 1 nagios nagios 12 Jul 6 21:24 10.2.70.132-tmp.SoGrv7 On Monday I have to find out from our Database Guys what was happend to their MS SQL on that date. Perhaps I can tell you more on Monday. Mark Rinaudo schrieb: >nagios-users, > >I've been using nagios for a little over a year. I'm running Nagios 1.2. >I've just recently started running into problems where Nagios is writing >files to the /tmp directory but does'nt seem to be removing them. >The files start with the Ip address of the host that it's checking with >an extension containing a series of letters and numbers. For some >reason Nagios is filling up the /tmp directory with the maximum number >of files allowed in a directory (not space wise) which causes the email >server to break on the server making Nagios useless. This is running on >Debian (woody). I've checked the permissions on the tmp directory and >it's rwx by everyone. Has anyone run into this problem and what did you >do to fix it? > >TIA >mark > > > ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at ranahminang.net Sat Jul 9 10:01:03 2005 From: paul at ranahminang.net (PD) Date: Sat, 9 Jul 2005 15:01:03 +0700 Subject: UPS Monitoring In-Reply-To: <200507091048.33778.paul@ranahminang.net> References: <009501c58360$6ced0960$01fea8c0@itss.auckland.ac.nz> <200507091048.33778.paul@ranahminang.net> Message-ID: <200507091501.03870.paul@ranahminang.net> On Saturday 09 July 2005 10:48, PD wrote: > On Friday 08 July 2005 22:42, Subhendu Ghosh wrote: > > In order to run check_ups, you need to be running Network UPS Tools > > (NUTs) instead of the vendor provided software. > > Hm... means... UPS - NUTs - check_ups plug-in - Nagios engine - SMSD > I just install nut 2.0.1.... # upsd Network UPS Tools upsd 2.0.1 /usr/local/etc/nut/upsd.conf is world readable Connected to UPS [ica-sin3100c]: genericups-cuaa0 /usr/local/etc/nut/upsd.users is world readable Synchronizing...done # upsdrvctl -v start Network UPS Tools - UPS driver controller 2.0.1 exec: /usr/local/libexec/nut/genericups -a ica-sin3100c Network UPS Tools - Generic UPS driver 1.30 (2.0.1) UPS type: Generic RUPS model # upsc ica-sin3100c at localhost driver.name: genericups driver.parameter.port: /dev/cuaa0 driver.parameter.upstype: 4 driver.version: 2.0.1 driver.version.internal: 1.30 ups.mfr: Generic ups.model: Generic RUPS model ups.status: OL # upsmon Network UPS Tools upsmon 2.0.1 UPS: ica-sin3100c at localhost (master) (power value 1) Using power down flag file /etc/killpower Broadcast Message from admin at localhost (no tty) at 14:48 WIT... Communications with UPS ica-sin3100c at localhost lost Broadcast Message from admin at localhost (no tty) at 14:48 WIT... UPS ica-sin3100c at localhost is unavailable --- end of snipped -- What could be wrong ? Regards PD ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jul 9 13:07:43 2005 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 9 Jul 2005 21:07:43 +1000 Subject: OT: SEC forwarding of Nagios hard events to a jabber conference (logical multicast of the Nag log) In-Reply-To: <20050709031443.8D39E89924@sc8-sf-spam1.sourceforge.net> References: <20050709031443.8D39E89924@sc8-sf-spam1.sourceforge.net> Message-ID: <20050709110742.GC239@IPAustralia.Gov.AU> Dear Folks, My employer uses SEC to forward Nagios events to a jabber/instant message conference. Without SEC watching the tail of the Nagios log, it would have been necessary to write another daemon. Here is the extremely simple minded SEC rule # 10 Hard Nag events to jabber # [1120877089] SERVICE ALERT: aphrodite;SysTst B2B OLP;OK;HARD;3;OK OLP Worst: Test Time => 0.10 Statii: OLP User Manager => OK, OLP Payment Notification Provider => OK .. # host service state # type type=Single ptype=RegExp pattern=\[\d+\] SERVICE ALERT: .+?;.+?;.+?;HARD;.* desc=Hard events from Nagios to Jabber conference action=eval %o ( \ $nag_event = '$0'; \ $nag_event =~ s/^\[\d+\] //; \ $nag_event; \ ); \ pipe '%o' /usr/local/bin/sendxmpp -c -r nagios nagios at conference.xena Since SEC runs as user root, the root account must contain the .sendxmpp file in which are the credentials of the jabber user writing t othe conference. Yours sincerely. -- Stanley Hopcroft -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From sghosh at sghosh.org Sat Jul 9 14:57:38 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 9 Jul 2005 08:57:38 -0400 (EDT) Subject: UPS Monitoring In-Reply-To: <200507091048.33778.paul@ranahminang.net> References: <009501c58360$6ced0960$01fea8c0@itss.auckland.ac.nz> <200507080914.46620.paul@ranahminang.net> <200507091048.33778.paul@ranahminang.net> Message-ID: On Sat, 9 Jul 2005, PD wrote: > On Friday 08 July 2005 22:42, Subhendu Ghosh wrote: >> In order to run check_ups, you need to be running Network UPS Tools (NUTs) >> instead of the vendor provided software. > > Hm... means... UPS - NUTs - check_ups plug-in - Nagios engine - SMSD > > and... how if we choose using MIB ? > is it UPS - check MIB every 60 second - Nagios engine - SMSD ? If you choose the MIB route, you need either firmware in the UPS that talks SNMP or an SNMP agent on the host that talks to UPS over the serial connections. In both cases you still need a software to control the host shutdown sequence. > >> If the cable is the same as a Fenton UPS cable thats fine, but of more >> inportance is the protocol. You mentioned the software was RUPS, hence my >> guess is RUPS protocol. > > exactly the same with the pin out too. > >> Both fenton and rups are supported by NUTs. > Ok.. I will try on the other machine first > > Regards > > PD > -sg -- ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Sun Jul 10 04:47:56 2005 From: az at whoever.org (Az) Date: Sun, 10 Jul 2005 12:47:56 +1000 Subject: Nagios notification via SMS In-Reply-To: <42CE0C3A.2080704@perso.be> References: <42CE0C3A.2080704@perso.be> Message-ID: <20050710124756.gzwvgwzjn8tcckwk@webmail.whoever.org> We've been using a pair of old Siemens M20 GSM modems with SMS Server Tools (http://smstools.meinemullemaus.de/) for about 4 years for a variety of things. We've wrapped some home grown stuff around these for sending SMS from Nagios and can acknowledge a service outage via SMS as well. Cheers. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists-nagios at silverwraith.com Sat Jul 9 22:11:30 2005 From: lists-nagios at silverwraith.com (Avleen Vig) Date: Sat, 9 Jul 2005 13:11:30 -0700 Subject: BUG: check_smtp, protocol problems Message-ID: <20050709201130.GL11612@silverwraith.com> Hi folks, I think I've found a bug in the current check_smtp. The problem occurs with MTA behaviour that is becoming more common: banner delays. The theory is, that if someone sends you data before the end of the banner (before a line starting '220 '), they are probably a spammer Well behaved mail software waits for the checkpoints instead of just blasting data down the pipe. Unfortunately the plugin isn't well behaved. As soon as the cnnection is formed, it sends the HELO to the server being checked. It should wait for a like starting with three digits and a space. If the three digits are 220, then everything is OK. Otherwise, there's an error. Unfortunately I don't know enough C to write a patch :( Can anyone help? -- Avleen Vig Systems Administrator Personal: www.silverwraith.com ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jul 10 11:15:47 2005 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sun, 10 Jul 2005 19:15:47 +1000 Subject: Nagios notification via SMS In-Reply-To: <20050710031415.E061089B4D@sc8-sf-spam1.sourceforge.net> References: <20050710031415.E061089B4D@sc8-sf-spam1.sourceforge.net> Message-ID: <20050710091546.GA238@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Sat, Jul 09, 2005 at 08:12:52PM -0700, nagios-users-request at lists.sourceforge.net wrote: > From: Az > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios notification via SMS > .. snip .. > We've wrapped some home grown stuff around these for sending SMS from > Nagios and can acknowledge a service outage via SMS as well. Would you care to share (privately or with the list) how to acknowledge alerts by SMS ? Thank you for raising this exciting possibility. > > Cheers. Yours sincerely -- Stanley Hopcroft -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From amacks at techtarget.com Sun Jul 10 17:18:31 2005 From: amacks at techtarget.com (Aaron Macks) Date: Sun, 10 Jul 2005 11:18:31 -0400 Subject: Checking GDTH RAID? Message-ID: I have several servers with the Intel SCSI Raid cards that use the GDTH driver. Does anyone know of a plugin to check the status of the RAID(enough info is available in /proc/scsi/gdth/#), or am I writing this one myself? Aaron -- ____________________________________________ Aaron Macks amacks at techtarget.com TechTarget PGP keyid: FBE946C5 117 Kendrick St, Suite 800 Phone: (781) 657-1519 Needham, MA 02494 Fax: (781) 657-1100 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HJahn at woosh.com Sun Jul 10 22:12:15 2005 From: HJahn at woosh.com (Holger Jahn) Date: Mon, 11 Jul 2005 08:12:15 +1200 Subject: Nagios and SMS Message-ID: <44C4DC99A083FA48864ACEFF85B96261030A0482@wwl_mail1.intwwl.net> You may want to have a look at clickatell.com, they are operating world wide. Holger > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Davy Gaussen > Sent: Friday, 8 July 2005 11:02 p.m. > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios and SMS > > Hi, > > I also want to know if someone have found a freeware to send nagios > notifications via SMS ? I am in France and I am not sure all the products > are available . > > Thank you by advance > > Davy > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar > happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by > HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Mon Jul 11 07:32:51 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 11 Jul 2005 07:32:51 +0200 Subject: AW: Perfdata truncated? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9D44@SYGOMAIL.GOE.AD.SYCOR.DE> >Hi there, Hi Holger, >I ran into a problem with 2.0b3. It looks like it somehow truncates the incoming perfdata (btw, are threre any limitations?). >That's what my test script spits out on the command line: >SNMP: DISCONNECT query finished.|numConnectionAttempts=1549, normalUserDisconnect=882, ueFault=19, handover=4, uePowerDownDisconnect=59, >ueLostCoverage=5, ueNoAllocation=3, ueLayer2Failure=4, ueHardwareUnsupported=0, managerInitiatedForcedUserDisc=2, overload=0, systemInit=0, [...]Snip .. lots of perfdata output here...[...] >And that's what I see in status.dat and also as HTML output: >plugin_output=SNMP: DISCONNECT query finished. >??????? performance_data=numConnectionAttempts=1552, normalUserDisconnect=883, ueFault=19, handover=4, uePowerDownDisconnect=59, ueLostCoverage=5, >ueNoAllocation=3, ueLayer2Failure=4, ueHardwareUnsupported=0, managerInitiatedForcedUserDisc=2, overload=0, systemInit=0, relocMaxIuCxns=0, >nodeBDecommission=0, l2tpSessionFailure=0, l2tpSessi > >Would be very nice if someone had an idea what this might cause. Ok, now that I see the output ... ;) I think it's because of some fieldsize variables in the status.cgi. I don't know the exact variable to change that fieldsize, but maybe you can find it yourself, or maybe somebody else here can help to locate it. You can find the source code in the nagios-2.0b3.tar.gz -> Nagios-2.0b3/cgi directory. Hope this helps! Greetz, Philipp ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Mon Jul 11 09:47:59 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Mon, 11 Jul 2005 09:47:59 +0200 Subject: Nagios fills up the /tmp directory In-Reply-To: <42CF6DFA.10107@gmx.net> References: <1120856878.4460.1598.camel@penguin1> <42CF6DFA.10107@gmx.net> Message-ID: <42D2242F.7080501@gmx.net> Hi all, our database guys have looked into the different logs from the SQL Server but didn't find any hints. Perhaps its just a little Problem with the Plugin... Hendrik Baecker schrieb: > Hi Mark, > > I am assuming that you're using the check_mssql.sh Plugin and the IP > Adresses are all your MSSQL Server? > > I got this little failure long time ago and since them just deleted > the files because they don't comes regulary. > > But I think on a special error with the MS-SQL Check this files were > written and were not be cleaned up by the script. > I am sorry but until now I had no chance to find out where to change > the plugin, it looks clean for me. > In every situation the 'rmcmd' is called for every of the three > tmpfiles before script termination. > > A few days ago I've changed the filenames of the three tmpfiles and > waiting for this special error to find out in which section of the > script the error comes from. > > Now it looks like that the error occurs when the check_mssql.sh runs > into a Service Check timeout: > > This is in the Nagios-Log: > [06-07-2005 21:24:33] SERVICE ALERT: WIN100A023;MS-SQL > 2000;CRITICAL;SOFT;1;(Service Check Timed Out) > > And these are the files: > -rw------- 1 nagios nagios 0 Jul 6 21:24 > 10.2.70.132-error.KayB5a > -rw------- 1 nagios nagios 0 Jul 6 21:24 > 10.2.70.132-result.c8dPP7 > -rw------- 1 nagios nagios 12 Jul 6 21:24 > 10.2.70.132-tmp.SoGrv7 > > On Monday I have to find out from our Database Guys what was happend > to their MS SQL on that date. Perhaps I can tell you more on Monday. > > Mark Rinaudo schrieb: > >> nagios-users, >> >> I've been using nagios for a little over a year. I'm running Nagios 1.2. >> I've just recently started running into problems where Nagios is writing >> files to the /tmp directory but does'nt seem to be removing them. >> The files start with the Ip address of the host that it's checking with >> an extension containing a series of letters and numbers. For some >> reason Nagios is filling up the /tmp directory with the maximum number >> of files allowed in a directory (not space wise) which causes the email >> server to break on the server making Nagios useless. This is running on >> Debian (woody). I've checked the permissions on the tmp directory and >> it's rwx by everyone. Has anyone run into this problem and what did you >> do to fix it? >> >> TIA >> mark >> >> >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar > happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted > by HP, AMD, and NVIDIA. To register visit > http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Richard.Luys at vanderlet.nl Mon Jul 11 11:09:09 2005 From: Richard.Luys at vanderlet.nl (Richard.Luys at vanderlet.nl) Date: Mon, 11 Jul 2005 11:09:09 +0200 Subject: Nagios compile errors with MySQL on 64-bit SLES9 Message-ID: <9BC12CEA9D0D27409DB7599F44FDD3572E7EDB@vdlsv00029.vanderlet.nl> Hi all, We got some new hardware for our Nagios-server and I'm busy installing it. It's a 64-bit Intel architecture (EM64T) machine, installed with the 64-bit variant of SLES9. When I try to compile nagios 1.2 with MySQL support, I initially got the errors: mysql/mysql.h and mysql/errmsgs.h not found. I fixed those thanks to the user-list archives. But unfortunately, I now get these errors during make all: /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux /bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux /bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux /bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux /bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc Followed by a lot of 'unreferenced' messages. 'incompatible': does that mean the 64-bit libraries are not compatible and I should use 32-bit libraries instead? Or is it something else? Anybody have a similar setup? My ./configure options are as follows: ./configure \ --prefix=/usr/local/nagios \ --with-nagios-user=nagios \ --with-nagios-grp=nagios \ --with-gd-lib=/usr/lib \ --with-gd-inc=/usr/include \ --with-mysql-xdata \ --with-mysql-lib=/usr/local/mysql/lib/ \ --with-mysql-inc=/usr/local/mysql/include/ \ --with-mysql-status \ --with-mysql-comments \ --with-mysql-extinfo \ --with-mysql-retention \ --with-mysql-downtime The MySQL version used is: 4.0.24 64-bit. I've read on the user-list that this would be a problem since they changed the API from version 3 to 4; but we are running MySQL 4 on the 'old' Nagios-server as well, without problems ?!?!?! Any suggestions are greatly appreciated! Regards / Met vriendelijke groet, VANDERLET B.V. R. (Richard) Luys Systeem specialist VANDERLET SupportCentre Tel: 030-609 09 97 Zoomstede 1 Postbus 1038 3430 BA Nieuwegein Tel: 030-600 00 33 Fax: 030-600 00 13 E-mail: supportdesk at vanderlet.nl Internet: http://www.vanderlet.nl This e-mail message and its attachments are subject to the disclaimer published at the following website of VANDERLET: http://www.vanderlet.nl/disclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: From derfrecheDachs at gmx.net Mon Jul 11 11:12:43 2005 From: derfrecheDachs at gmx.net (derfrecheDachs at gmx.net) Date: Mon, 11 Jul 2005 11:12:43 +0200 (MEST) Subject: =?ISO-8859-1?Q?Central_nrpe_config-management?= Message-ID: <5000.1121073163@www79.gmx.net> Hi, I?d like to know if there is a solution for this problem and how it works if there are different config-files on the clients. How about the way to have the same cfg-file on the clients with not used (deacivated) services ?? Any other solution possible ?? Thnx Horst -- Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Mon Jul 11 12:41:49 2005 From: james at lovedthanlost.net (James Turnbull) Date: Mon, 11 Jul 2005 20:41:49 +1000 Subject: Central nrpe config-management In-Reply-To: <5000.1121073163@www79.gmx.net> References: <5000.1121073163@www79.gmx.net> Message-ID: <42D24CED.1090200@lovedthanlost.net> derfrecheDachs at gmx.net wrote: >Hi, > >I?d like to know if there is a solution for this problem and how it works if >there are different config-files on the clients. >How about the way to have the same cfg-file on the clients with not used >(deacivated) services ?? >Any other solution possible ?? > > >Thnx Horst > > > We used cfengine (http://www.cfengine.org/) to distribute our nrpe and other config files. We had a script which ran over the config file and enabled or disabled the services we wanted on each machine. This also meant you could change the services being montitored by running the script. Was just a very simple Bash script that used sed. I am sure you could do something much more impressive with Perl. Regards James Turnbull -- James Turnbull --- Author of Hardening Linux from Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidworld.org Mon Jul 11 12:59:13 2005 From: chris at aidworld.org (chris at aidworld.org) Date: Mon, 11 Jul 2005 11:59:13 +0100 (BST) Subject: Nagios and SMS In-Reply-To: <44C4DC99A083FA48864ACEFF85B96261030A0482@wwl_mail1.intwwl.net> References: <44C4DC99A083FA48864ACEFF85B96261030A0482@wwl_mail1.intwwl.net> Message-ID: <52907.131.111.156.217.1121079553.squirrel@131.111.156.217> Hi Holger, > You may want to have a look at clickatell.com, they are operating world > wide. We used to use clickatell, but when they started demanding photocopies of the front and back of our credit card and contracts signed in blood, we switched to Kapow, which is slightly more expensive but UK-based and easier to work with. I think they will deliver SMSes to any mobile number worldwide, and don't charge us different rates for different networks and countries. Cheers, Chris. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sxanrr at yahoo.com Mon Jul 11 14:02:01 2005 From: sxanrr at yahoo.com (Sxan) Date: Mon, 11 Jul 2005 05:02:01 -0700 (PDT) Subject: check_external_commands option In-Reply-To: References: Message-ID: <20050711120201.69737.qmail@web32212.mail.mud.yahoo.com> Thanks for the reply, as far as what you suggested, I checked the log and there are no errors in there that are outside the scope of the normal notifications that Nagios gives. Does using the external commands require that it be configured in more places than just the nagios.cfg? I'm guessing that maybe I'm missing some other variable that the external command checking depends on or something. Thanks again for the reply and help. Marc Powell wrote: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sxan > Sent: Friday, July 08, 2005 9:36 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_external_commands option > > > Hey all, > > I have a question regarding the check_external_commands option in the > nagios.cfg > file. Basically, I tried to schedule some downtime, saw that I needed to > have that > option enabled, so I went into the nagios.cfg file and changed the 0 to a > 1 for that line > like it is below: > > check_external_commands=1 > > I saved the .cfg and now when I try and restart nagios, it won't start. I > just get: > > honda:/usr/local/nagios/etc # sh /etc/init.d/nagios restart > Running configuration check...done > Stopping network monitor: nagios > Starting network monitor: nagios > PID TTY TIME CMD > honda:/usr/local/nagios/etc # > > If I run the following > ..../nagios/etc/../bin/nagios -v nagios.cfg Everything checks out ok with > just a couple warnings > that have been there before. Am I missing something else I should be > doing? Like perhaps > specifying somewhere in the configs who has the right to run external > commands? Thanks. Did you check nagios.log? Chances are that nagios isn't able to actually create the command pipe (nagios.cmd) in the path specified by command_file in nagios.cfg. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Yahoo! Mail for Mobile Take Yahoo! Mail with you! Check email on your mobile phone. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sxanrr at yahoo.com Mon Jul 11 16:41:05 2005 From: sxanrr at yahoo.com (Sxan) Date: Mon, 11 Jul 2005 07:41:05 -0700 (PDT) Subject: check_external_commands option In-Reply-To: <20050711120201.69737.qmail@web32212.mail.mud.yahoo.com> References: <20050711120201.69737.qmail@web32212.mail.mud.yahoo.com> Message-ID: <20050711144105.51392.qmail@web32213.mail.mud.yahoo.com> Update: I apologize, but I must have just missed seeing it in the log file. You are correct about the error with Nagios and the nagios.cmd file. Here is the error in the log... [1121088502] Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (2) -> No suc h file or directory. If this file already exists and you are sure that another copy of Nagios is not running, you should del ete this file. [1121088502] Bailing out due to errors encountered while trying to open the external command file for reading... (PID=3627) So is this a common error with an easy fix? I'm going to be googling for the resolution and checking the faq's, but any replies would still be appreciated. Thanks! Sxan wrote: Thanks for the reply, as far as what you suggested, I checked the log and there are no errors in there that are outside the scope of the normal notifications that Nagios gives. Does using the external commands require that it be configured in more places than just the nagios.cfg? I'm guessing that maybe I'm missing some other variable that the external command checking depends on or something. Thanks again for the reply and help. Marc Powell wrote: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sxan > Sent: Friday, July 08, 2005 9:36 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_external_commands option > > > Hey all, > > I have a question regarding the check_external_commands option in the > nagios.cfg > file. Basically, I tried to schedule some downtime, saw that I needed to > have that > option enabled, so I went into the nagios.cfg file and changed the 0 to a > 1 for that line > like it is below: > > check_external_commands=1 > > I saved the .cfg and now when I try and restart nagios, it won't start. I > just get: > > honda:/usr/local/nagios/etc # sh /etc/init.d/nagios restart > Running configuration check...done > Stopping network monitor: nagios > Starting network monitor: nagios > PID TTY TIME CMD > honda:/usr/local/nagios/etc # > > If I run the following > ..../nagios/etc/../bin/nagios -v nagios.cfg Everything checks out ok with > just a couple warnings > that have been there before. Am I missing something else I should be > doing? Like perhaps > specifying somewhere in the configs who has the right to run external > commands? Thanks. Did you check nagios.log? Chances are that nagios isn't able to actually create the command pipe (nagios.cmd) in the path specified by command_file in nagios.cfg. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Yahoo! Mail for Mobile Take Yahoo! Mail with you! Check email on your mobile phone. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Jul 11 16:55:26 2005 From: marc at ena.com (Marc Powell) Date: Mon, 11 Jul 2005 09:55:26 -0500 Subject: check_external_commands option Message-ID: Does the /usr/local/nagios/var/rw directory exist and have permissions such that nagios (and also your web server) can write to it? I do not believe that directory is created by the nagios install as it's just a suggested location so you would need to create it yourself. http://nagios.sourceforge.net/docs/1_0/commandfile.html might be useful. -- Marc > -----Original Message----- > From: Sxan [mailto:sxanrr at yahoo.com] > Sent: Monday, July 11, 2005 9:41 AM > To: Sxan; Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_external_commands option > > > > Update: > > I apologize, but I must have just missed seeing it in the log file. You > are correct about the > error with Nagios and the nagios.cmd file. Here is the error in the log... > > [1121088502] Error: Could not create external command file > '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (2) -> No suc > h file or directory. If this file already exists and you are sure that > another copy of Nagios is not running, you should del > ete this file. > [1121088502] Bailing out due to errors encountered while trying to open > the external command file for reading... (PID=3627) > > So is this a common error with an easy fix? I'm going to be googling for > the resolution and checking the faq's, but any replies would still be > appreciated. Thanks! > > Sxan wrote: > > > > Thanks for the reply, as far as what you suggested, I checked the > log and > there are no errors in there that are outside the scope of the > normal notifications > that Nagios gives. Does using the external commands require that it > be configured > in more places than just the nagios.cfg? I'm guessing that maybe I'm > missing > some other variable that the external command checking depends on or > something. > Thanks again for the reply and help. > > Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Sxan > > Sent: Friday, July 08, 2005 9:36 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_external_commands option > > > > > > Hey all, > > > > I have a question regarding the check_external_commands > option in the > > nagios.cfg > > file. Basically, I tried to schedule some downtime, saw that > I needed > to > > have that > > option enabled, so I went into the nagios.cfg file and > changed the 0 > to a > > 1 for that line > > like it is below: > > > > check_external_commands=1 > > > > I saved the .cfg and now when I try and restart nagios, it > won't > start. I > > just get: > > > > honda:/usr/local/nagios/etc # sh /etc/init.d/nagios restart > > Running configuration check...done > > Stopping network monitor: nagios > > Starting network monitor: nagios > > PID TTY TIME CMD > > honda:/usr/local/nagios/etc # > > > > If I run the following > > ..../nagios/etc/../bin/nagios -v nagios.cfg Everything > checks out ok > with > > just a couple warnings > > that have been there before. Am I missing something else I > should be > > doing? Like perhaps > > specifying somewhere in the configs who has the right to run > external > > commands? Thanks. > > Did you check nagios.log? Chances are that nagios isn't able > to actually > create the command pipe (nagios.cmd) in the path specified by > command_file in nagios.cfg. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' > webinar happening > July 14 at 8am PDT/11am EDT. We! invite you to explore the > latest in dual > core and dual graphics technology at this free one hour event > hosted by HP, > AMD, and NVIDIA. To register visit > http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > > > ________________________________ > > Yahoo! Mail for Mobile > Take Yahoo! Mail with you! > > Check email on your mobile phone. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sxanrr at yahoo.com Mon Jul 11 17:14:38 2005 From: sxanrr at yahoo.com (Sxan) Date: Mon, 11 Jul 2005 08:14:38 -0700 (PDT) Subject: check_external_commands option In-Reply-To: <20050711120201.69737.qmail@web32212.mail.mud.yahoo.com> References: <20050711120201.69737.qmail@web32212.mail.mud.yahoo.com> Message-ID: <20050711151438.73519.qmail@web32202.mail.mud.yahoo.com> Update: I apologize, but I must have just missed seeing it in the log file. You are correct about the error with Nagios and the nagios.cmd file. Here is the error in the log... [1121088502] Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (2) -> No suc h file or directory. If this file already exists and you are sure that another copy of Nagios is not running, you should del ete this file. [1121088502] Bailing out due to errors encountered while trying to open the external command file for reading... (PID=3627) So is this a common error with an easy fix? I'm going to be googling for the resolution and checking the faq's, but any replies would still be appreciated. Thanks! Sxan wrote: Thanks for the reply, as far as what you suggested, I checked the log and there are no errors in there that are outside the scope of the normal notifications that Nagios gives. Does using the external commands require that it be configured in more places than just the nagios.cfg? I'm guessing that maybe I'm missing some other variable that the external command checking depends on or something. Thanks again for the reply and help. Marc Powell wrote: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sxan > Sent: Friday, July 08, 2005 9:36 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_external_commands option > > > Hey all, > > I have a question regarding the check_external_commands option in the > nagios.cfg > file. Basically, I tried to schedule some downtime, saw that I needed to > have that > option enabled, so I went into the nagios.cfg file and changed the 0 to a > 1 for that line > like it is below: > > check_external_commands=1 > > I saved the .cfg and now when I try and restart nagios, it won't start. I > just get: > > honda:/usr/local/nagios/etc # sh /etc/init.d/nagios restart > Running configuration check...done > Stopping network monitor: nagios > Starting network monitor: nagios > PID TTY TIME CMD > honda:/usr/local/nagios/etc # > > If I run the following > ..../nagios/etc/../bin/nagios -v nagios.cfg Everything checks out ok with > just a couple warnings > that have been there before. Am I missing something else I should be > doing? Like perhaps > specifying somewhere in the configs who has the right to run external > commands? Thanks. Did you check nagios.log? Chances are that nagios isn't able to actually create the command pipe (nagios.cmd) in the path specified by command_file in nagios.cfg. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Yahoo! Mail for Mobile Take Yahoo! Mail with you! Check email on your mobile phone. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sxanrr at yahoo.com Mon Jul 11 17:20:01 2005 From: sxanrr at yahoo.com (Sxan) Date: Mon, 11 Jul 2005 08:20:01 -0700 (PDT) Subject: check_external_commands option - host showing down when it's up In-Reply-To: References: Message-ID: <20050711152001.35420.qmail@web32211.mail.mud.yahoo.com> Thanks Marc, I actually found that same document during my search and it worked out well. Now to the root of the reason why I needed to enable external commands. I have a host that was going up and down all throughout the weekend due to power issues. This host is now up and functioning, yet nagios is still reporting it as being down. I just ran the check again manually through the web interface, and it's still reporting the host as down. I can ping the host fine from the box that nagios is running on, all other hosts are showing fine. It's just this one host. Is there some kind of cache or anything that I might need to clear in order to correct this issue? Marc Powell wrote: Does the /usr/local/nagios/var/rw directory exist and have permissions such that nagios (and also your web server) can write to it? I do not believe that directory is created by the nagios install as it's just a suggested location so you would need to create it yourself. http://nagios.sourceforge.net/docs/1_0/commandfile.html might be useful. -- Marc > -----Original Message----- > From: Sxan [mailto:sxanrr at yahoo.com] > Sent: Monday, July 11, 2005 9:41 AM > To: Sxan; Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_external_commands option > > > > Update: > > I apologize, but I must have just missed seeing it in the log file. You > are correct about the > error with Nagios and the nagios.cmd file. Here is the error in the log... > > [1121088502] Error: Could not create external command file > '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (2) -> No suc > h file or directory. If this file already exists and you are sure that > another copy of Nagios is not running, you should del > ete this file. > [1121088502] Bailing out due to errors encountered while trying to open > the external command file for reading... (PID=3627) > > So is this a common error with an easy fix? I'm going to be googling for > the resolution and checking the faq's, but any replies would still be > appreciated. Thanks! > > Sxan wrote: > > > > Thanks for the reply, as far as what you suggested, I checked the > log and > there are no errors in there that are outside the scope of the > normal notifications > that Nagios gives. Does using the external commands require that it > be configured > in more places than just the nagios.cfg? I'm guessing that maybe I'm > missing > some other variable that the external command checking depends on or > something. > Thanks again for the reply and help. > > Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Sxan > > Sent: Friday, July 08, 2005 9:36 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_external_commands option > > > > > > Hey all, > > > > I have a question regarding the check_external_commands > option in the > > nagios.cfg > > file. Basically, I tried to schedule some downtime, saw that > I needed > to > > have that > > option enabled, so I went into the nagios.cfg file and > changed the 0 > to a > > 1 for that line > > like it is below: > > > > check_external_commands=1 > > > > I saved the .cfg and now when I try and restart nagios, it > won't > start. I > > just get: > > > > honda:/usr/local/nagios/etc # sh /etc/init.d/nagios restart > > Running configuration check...done > > Stopping network monitor: nagios > > Starting network monitor: nagios > > PID TTY TIME CMD > > honda:/usr/local/nagios/etc # > > > > If I run the following > > ..../nagios/etc/../bin/nagios -v nagios.cfg Everything > checks out ok > with > > just a couple warnings > > that have been there before. Am I missing something else I > should be > > doing? Like perhaps > > specifying somewhere in the configs who has the right to run > external > > commands? Thanks. > > Did you check nagios.log? Chances are that nagios isn't able > to actually > create the command pipe (nagios.cmd) in the path specified by > command_file in nagios.cfg. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' > webinar happening > July 14 at 8am PDT/11am EDT. We! invite you to explore the > latest in dual > core and dual graphics technology at this free one hour event > hosted by HP, > AMD, and NVIDIA. To register visit > http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > > > ________________________________ > > Yahoo! Mail for Mobile > Take Yahoo! Mail with you! > > Check email on your mobile phone. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From anasd2 at yahoo.fr Mon Jul 11 17:38:17 2005 From: anasd2 at yahoo.fr (Anas Dhouib) Date: Mon, 11 Jul 2005 17:38:17 +0200 (CEST) Subject: RH AS3.0 Message-ID: <20050711153817.88033.qmail@web25710.mail.ukl.yahoo.com> Hi all, Is there anyone who tested Nagios1.2 on RedHat AS3.0? If yes, is there any specific problems? thanks, Anas ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joshadmin at netnitco.net Mon Jul 11 18:05:26 2005 From: joshadmin at netnitco.net (NetNITCO Systems Administration) Date: Mon, 11 Jul 2005 11:05:26 -0500 Subject: check_radius works from command line but lists Auth Error via interface Message-ID: <42D298C6.9090603@netnitco.net> While deploying a new Nagios installation, I've ran into a problem with the 'check_radius' plugin. I can execute check_radius as follows from the command line and it appears to function properly: # ./check_radius -H 216.xxx.xxx.xxx -F /etc/nagios/radiusclient.conf -u Username -p Password -t 10 The result from the above command is "Auth OK" without a newline. However, with the service configured, I get the following from Nagios: Service Status Last Check Duration Attempt Status Information RADIUS CRITICAL 07-11-2005 10:44:04 0d 1h 27m 34s 3/3 Auth Error I also noticed that when executing the command manually from the command line, I get the following in my RADIUS logs: Mon Jul 11 10:45:37 2005 : Auth: Login OK: [Username] (from client hostsystem port 0) I do NOT have any information in my RADIUS logs for the attempts by Nagios. After noticing this, I used tcpdump to see what was happening when Nagios attempted the check. I only get the following: 10:49:04.976764 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], length: 84) hostsystem.domain.net > radiushost.domain.net: icmp 64: echo request seq 1 10:49:04.976989 IP (tos 0x0, ttl 64, id 35731, offset 0, flags [DF], length: 84) radiushost.domain.net > hostsystem.domain.net: icmp 64: echo reply seq 1 10:49:05.976415 IP (tos 0x0, ttl 64, id 1, offset 0, flags [DF], length: 84) hostsystem.domain.net > radiushost.domain.net: icmp 64: echo request seq 2 10:49:05.976676 IP (tos 0x0, ttl 64, id 35734, offset 0, flags [DF], length: 84) radiushost.domain.net > hostsystem.domain.net: icmp 64: echo reply seq 2 [SNIP] However, when I run the command manually, I receive: 10:45:39.988513 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], length: 90) hostsystem.domain.net.39090 > radiushost.domain.net.datametrics: RADIUS, length: 62 Access Request (1), id: 0x9e, Authenticator: 40c1d67540eae20c5551b7292a18dfdf Service Type Attribute (6), length: 6, Value: Authenticate Only 0x0000: 0000 0008 10:45:39.992663 IP (tos 0x0, ttl 64, id 27936, offset 0, flags [none], length: 90) radiushost.domain.net.datametrics > hostsystem.domain.net.39090: RADIUS, length: 62 Access Accept (2), id: 0x9e, Authenticator: ec6b64d922ae10566679dd15f5a632fc Service Type Attribute (6), length: 6, Value: Framed 0x0000: 0000 0002 My configuration for this service and command is as follows: services.cfg: --------------- define service{ use generic-service host_name radiushost.domain.net service_description RADIUS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sysadmin notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_radius } checkcommands.cfg: ------------------ define command{ command_name check_radius command_line $USER1$/check_radius -H $HOSTADDRESS$ -F /etc/nagios/radiusclient.conf -u Username -p Password -t 10 I have also tried specifying all options for the checkcommand.cfg entry as $ARGn$ variables and passing them that way, as well as manually specifying the host IP in place of $HOSTADDRESS$. My check_radius version reports: check_radius (nagios-plugins 1.4) 1.21 Thanks, ~ Josh Snyder, System Administrator NetNITCO Internet Services joshadmin at netnitco.net ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Mon Jul 11 18:43:20 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Mon, 11 Jul 2005 12:43:20 -0400 Subject: nagios external command error Message-ID: <097D3590441CB345A836C4B3F7F813DC583D7F@mailsrv.cbct.com> I've gotten the following error Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. I've done the suggested http://nagios.sourceforge.net/docs/1_0/commandfile.html Instructions to fix this issue with no luck. The only way I can run external commands via the nagios interface is by manually chmoddin nagios.cmd to 777. Currently the user/group for this process is nagios:nagiocmd I'm running RH AS 4.0 with apache 2.0.54 and nagios 1.2 Any suggestions would be great. g -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at m5computersecurity.com Mon Jul 11 18:57:18 2005 From: mike at m5computersecurity.com (Michael J McCafferty) Date: Mon, 11 Jul 2005 09:57:18 -0700 Subject: RH AS3.0 In-Reply-To: <20050711153817.88033.qmail@web25710.mail.ukl.yahoo.com> References: <20050711153817.88033.qmail@web25710.mail.ukl.yahoo.com> Message-ID: <5.2.0.9.0.20050711095711.04a10488@stout.m5hosting.com> Anas, I am using Nagios 1.2 on RHEL 3.0. I am actually using WS, but AS is the same with more packages. I used the RPMs from DAG. Works great. Only problems I had were related to specific versions of specific plugins, which have nothing to do with the distro of Linux you use. Go for it. Mike At 05:38 PM 7/11/2005 +0200, Anas Dhouib wrote: >Hi all, >Is there anyone who tested Nagios1.2 on RedHat AS3.0? >If yes, is there any specific problems? >thanks, >Anas > > > > > > > >___________________________________________________________________________ >Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger >T?l?chargez cette version sur http://fr.messenger.yahoo.com > > >------------------------------------------------------- >This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening >July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual >core and dual graphics technology at this free one hour event hosted by HP, >AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 11 21:46:32 2005 From: marc at ena.com (Marc Powell) Date: Mon, 11 Jul 2005 14:46:32 -0500 Subject: nagios external command error Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Guillermo Padilla > Sent: Monday, July 11, 2005 11:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios external command error > > I've gotten the following error > > > > Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' > for update! > > The permissions on the external command file and/or directory may be > incorrect. Read the FAQs on how to setup proper permissions. > > An error occurred while attempting to commit your command for processing. > > > > I've done the suggested > http://nagios.sourceforge.net/docs/1_0/commandfile.html > > Instructions to fix this issue with no luck. > > > > The only way I can run external commands via the nagios interface is by > manually chmoddin nagios.cmd to 777. > > > > Currently the user/group for this process is nagios:nagiocmd > > > > I'm running RH AS 4.0 with apache 2.0.54 and nagios 1.2 Mmmmm. AS 4.0. Do you have SELINUX enabled? Do you see SELINUX errors in /var/log/messages? Make sure your policy allows apache to write to that file/directory. Another common problem is that apache is not a member of the nagiocmd group _or_ wasn't restarted after adding it to that group. Your apache error logs might be informative in that regard as well. -- Marc p.s. Please try to send to the list in text/plain as a matter of courtesy. The digests don't handle HTML mail well. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 11 21:48:47 2005 From: marc at ena.com (Marc Powell) Date: Mon, 11 Jul 2005 14:48:47 -0500 Subject: check_external_commands option - host showing down when it's up Message-ID: > -----Original Message----- > From: Sxan [mailto:sxanrr at yahoo.com] > Sent: Monday, July 11, 2005 10:20 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_external_commands option - host showing down > when it's up > > > Thanks Marc, > > I actually found that same document during my search and it worked out > well. Now > to the root of the reason why I needed to enable external commands. I have > a host that was going up and down all throughout the weekend due to power > issues. This host is now up > and functioning, yet nagios is still reporting it as being down. I just > ran the check again > manually through the web interface, and it's still reporting the host as > down. I can ping > the host fine from the box that nagios is running on, all other hosts are > showing fine. It's > just this one host. Is there some kind of cache or anything that I might > need to clear > in order to correct this issue? No, there isn't. Can you run the command successfully exactly as nagios is configured to run it, as the nagios user, from the command line? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sxanrr at yahoo.com Mon Jul 11 21:53:37 2005 From: sxanrr at yahoo.com (Sxan) Date: Mon, 11 Jul 2005 12:53:37 -0700 (PDT) Subject: check_external_commands option - host showing down when it's up In-Reply-To: References: Message-ID: <20050711195337.25997.qmail@web32214.mail.mud.yahoo.com> Well, I've troubleshot it down to where the problem is lying, now it's just a matter of seeing if it's the host that really does have a problem. Basically, Nagios is complaining that the TTL is being exceeded for this host, yet I have another host in the same office with the same conditions that doesn't get anything like that. So I'm just confused how this came up all of a sudden. Since the second host is just fine, I thought Nagios might have been having some kind of issue. I think I'm going to be troubleshooting more on the server side now as opposed to thinking that Nagios is having any problems. Thanks for your help, much appreciated as always. --- Marc Powell wrote: > > > > -----Original Message----- > > From: Sxan [mailto:sxanrr at yahoo.com] > > Sent: Monday, July 11, 2005 10:20 AM > > To: Marc Powell; > nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_external_commands > option - host showing > down > > when it's up > > > > > > Thanks Marc, > > > > I actually found that same document during my > search and it worked out > > well. Now > > to the root of the reason why I needed to enable > external commands. I > have > > a host that was going up and down all throughout > the weekend due to > power > > issues. This host is now up > > and functioning, yet nagios is still reporting it > as being down. I > just > > ran the check again > > manually through the web interface, and it's still > reporting the host > as > > down. I can ping > > the host fine from the box that nagios is running > on, all other hosts > are > > showing fine. It's > > just this one host. Is there some kind of cache or > anything that I > might > > need to clear > > in order to correct this issue? > > No, there isn't. Can you run the command > successfully exactly as nagios > is configured to run it, as the nagios user, from > the command line? > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With > Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to > explore the latest in dual > core and dual graphics technology at this free one > hour event hosted by HP, > AMD, and NVIDIA. To register visit > http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Mon Jul 11 22:33:17 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Mon, 11 Jul 2005 16:33:17 -0400 Subject: nagios external command error Message-ID: <097D3590441CB345A836C4B3F7F813DC583DCE@mailsrv.cbct.com> Yes I have SELINUX enabled but no errors in /var/log/messages. I'll check the policy. I've previously restarted apache after nobody was added to nagiocmd with no luck. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Monday, July 11, 2005 3:47 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios external command error > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Guillermo Padilla > Sent: Monday, July 11, 2005 11:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios external command error > > I've gotten the following error > > > > Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' > for update! > > The permissions on the external command file and/or directory may be > incorrect. Read the FAQs on how to setup proper permissions. > > An error occurred while attempting to commit your command for processing. > > > > I've done the suggested > http://nagios.sourceforge.net/docs/1_0/commandfile.html > > Instructions to fix this issue with no luck. > > > > The only way I can run external commands via the nagios interface is by > manually chmoddin nagios.cmd to 777. > > > > Currently the user/group for this process is nagios:nagiocmd > > > > I'm running RH AS 4.0 with apache 2.0.54 and nagios 1.2 Mmmmm. AS 4.0. Do you have SELINUX enabled? Do you see SELINUX errors in /var/log/messages? Make sure your policy allows apache to write to that file/directory. Another common problem is that apache is not a member of the nagiocmd group _or_ wasn't restarted after adding it to that group. Your apache error logs might be informative in that regard as well. -- Marc p.s. Please try to send to the list in text/plain as a matter of courtesy. The digests don't handle HTML mail well. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscribe at aehome.net Tue Jul 12 02:12:27 2005 From: subscribe at aehome.net (Adam Emery) Date: Mon, 11 Jul 2005 19:12:27 -0500 Subject: RH AS3.0 In-Reply-To: <20050711153817.88033.qmail@web25710.mail.ukl.yahoo.com> References: <20050711153817.88033.qmail@web25710.mail.ukl.yahoo.com> Message-ID: <002b01c58676$75782c40$0208090a@a1> I had 1.2 running on redhat as 3 for quite some time. There were no issues at all. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Anas Dhouib Sent: Monday, July 11, 2005 10:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RH AS3.0 Hi all, Is there anyone who tested Nagios1.2 on RedHat AS3.0? If yes, is there any specific problems? thanks, Anas ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Tue Jul 12 02:19:28 2005 From: jamie.baddeley at vpc.co.nz (jamie.baddeley at vpc.co.nz) Date: Tue, 12 Jul 2005 12:19:28 +1200 Subject: RH AS3.0 In-Reply-To: <002b01c58676$75782c40$0208090a@a1> References: <002b01c58676$75782c40$0208090a@a1> Message-ID: <1121127568.15684.57.camel@localhost.localdomain> If you use dag wieers packages from his rpm repository - he compiles in the embedded perl support. And that memory leaks like a sieve. So don't compile embedded perl and everything is fine. jamie On Mon, 2005-07-11 at 19:12 -0500, Adam Emery wrote: > I had 1.2 running on redhat as 3 for quite some time. There were no issues > at all. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Anas Dhouib > Sent: Monday, July 11, 2005 10:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RH AS3.0 > > Hi all, > Is there anyone who tested Nagios1.2 on RedHat AS3.0? > If yes, is there any specific problems? > thanks, > Anas > ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dthorndi at bigpond.net.au Tue Jul 12 02:22:02 2005 From: dthorndi at bigpond.net.au (David Thorndike) Date: Tue, 12 Jul 2005 10:22:02 +1000 Subject: Nagios New User Message-ID: <003b01c58677$ba4bb0c0$204fa8c0@laptop> Hi all I currently have Nagios installed on a fedora box in a data centre and have managed to get it configured so that I can get ot the web managment etc.. But.... as soon a I try and use any of the cgi's it just comes back with a "Internal Server Error" webpage. Has anyone else had this problem ? and IF so what are the fixes? I'm a totally new user to all of this having come from a windows background. Thanks David Thorndike. -------------- next part -------------- An HTML attachment was scrubbed... URL: From prosolutions at gmx.net Tue Jul 12 04:04:36 2005 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Mon, 11 Jul 2005 19:04:36 -0700 Subject: How to get nagios to re-authenticate Message-ID: <20050712020436.GH31487@localdomain> I am working on configuring nagios and re-access it frequently from a web browser. However, it seems once I auth against it one time from a particular host it never asks me to re-authenticate. I have just made changes to my config and from one machine on which I was able to log in fresh everything is working. However from the original machine that I logged in I keep getting the nasty "It appears as though you do not have permission to view information for any of the services you requested...". I see no way to get around this since there is no "logout" option and it just keeps assuming I'm the same user without proper permissions... ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 12 04:53:36 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 11 Jul 2005 22:53:36 -0400 (EDT) Subject: nagios external command error In-Reply-To: <097D3590441CB345A836C4B3F7F813DC583D7F@mailsrv.cbct.com> References: <097D3590441CB345A836C4B3F7F813DC583D7F@mailsrv.cbct.com> Message-ID: Nagios and apache need to be in the same group, if SELINUX is running, allow http_context on var/rw/ On Mon, 11 Jul 2005, Guillermo Padilla wrote: > I've gotten the following error > > > > Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' > for update! > > The permissions on the external command file and/or directory may be > incorrect. Read the FAQs on how to setup proper permissions. > > An error occurred while attempting to commit your command for > processing. > > > > I've done the suggested > http://nagios.sourceforge.net/docs/1_0/commandfile.html > > Instructions to fix this issue with no luck. > > > > The only way I can run external commands via the nagios interface is by > manually chmoddin nagios.cmd to 777. > > > > Currently the user/group for this process is nagios:nagiocmd > > > > I'm running RH AS 4.0 with apache 2.0.54 and nagios 1.2 > > > > Any suggestions would be great. > > > > g > > > > -- ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Jul 12 05:34:43 2005 From: benny at bennyvision.com (C. Bensend) Date: Mon, 11 Jul 2005 22:34:43 -0500 (CDT) Subject: nagios external command error In-Reply-To: References: <097D3590441CB345A836C4B3F7F813DC583D7F@mailsrv.cbct.com> Message-ID: <60012.63.227.74.41.1121139283.squirrel@webmail.stinkweasel.net> > Nagios and apache need to be in the same group, > if SELINUX is running, allow http_context on var/rw/ I wonder if the Makefile could be adapted to check for selinux, and if it's present/enabled, spit out a blurb stating the above? It seems to be a pretty common question. I'd submit a patch, but unfortunately makefiles are not exactly my strong suit. OK, I'm exaggerating - I couldn't makefile my way out of a wet paper bag. ;) Benny -- "I'd rather staple a skunk to my forehead and go to a trade show for banjo makers." -- PHB's secretary, Dilbert, 07-2002 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 12 05:46:48 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 11 Jul 2005 23:46:48 -0400 (EDT) Subject: nagios external command error In-Reply-To: <60012.63.227.74.41.1121139283.squirrel@webmail.stinkweasel.net> References: <097D3590441CB345A836C4B3F7F813DC583D7F@mailsrv.cbct.com> <60012.63.227.74.41.1121139283.squirrel@webmail.stinkweasel.net> Message-ID: On Mon, 11 Jul 2005, C. Bensend wrote: > >> Nagios and apache need to be in the same group, >> if SELINUX is running, allow http_context on var/rw/ > > I wonder if the Makefile could be adapted to check for selinux, and > if it's present/enabled, spit out a blurb stating the above? > > It seems to be a pretty common question. I'd submit a patch, but > unfortunately makefiles are not exactly my strong suit. OK, I'm > exaggerating - I couldn't makefile my way out of a wet paper > bag. ;) > > Benny > Agreed - the whole SELINUX situation seems to be folks running settings without understanding implications. Should probably also add a FAQ item. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 12 07:17:34 2005 From: Stanley.Hopcroft at IPAustralia.gov.au (Stanley Hopcroft) Date: Tue, 12 Jul 2005 15:17:34 +1000 Subject: RH AS3.0 In-Reply-To: <20050712031757.BF5B512E7B@sc8-sf-spam2.sourceforge.net> References: <20050712031757.BF5B512E7B@sc8-sf-spam2.sourceforge.net> Message-ID: <20050712051734.GD13671@ws11114.aipo.gov.au> Dear Folks, I am writing to thank you for your letter and say, On Mon, Jul 11, 2005 at 08:12:41PM -0700, nagios-users-request at lists.sourceforge.net wrote: > > Subject: RE: [Nagios-users] RH AS3.0 > From: "jamie.baddeley at vpc.co.nz" > To: nagios-users at lists.sourceforge.net > Organization: Viewpoint Consulting Ltd > Date: Tue, 12 Jul 2005 12:19:28 +1200 > > If you use dag wieers packages from his rpm repository - he compiles in > the embedded perl support. > And that memory leaks like a sieve. With respect, I think you are wrong. Initial releases of 2.0 had embedded Perl support with the leak from Hell that you describe. Since 2.0b3, that is no longer case. The embedded Perl support still leaks memory __but__ there are sites with 2,000 plus Perl service checks that think the leak rate is acceptable given the performance boost. I urge you try the embedded Perl support post at 2.0b3 at CVS and let the list know of the leak rate, the number of services and the number of Perl plugin services if you find the rate is unacceptable. Embedded Perl is not like a supercharger; you are prob better off without it than with. OTOH, if you use Perl plugins exte > So don't compile embedded perl and everything is fine. > > jamie > Yours sincerely. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From jamie.baddeley at vpc.co.nz Tue Jul 12 07:28:53 2005 From: jamie.baddeley at vpc.co.nz (jamie.baddeley at vpc.co.nz) Date: Tue, 12 Jul 2005 17:28:53 +1200 Subject: RH AS3.0 In-Reply-To: <20050712051734.GD13671@ws11114.aipo.gov.au> References: <20050712031757.BF5B512E7B@sc8-sf-spam2.sourceforge.net> <20050712051734.GD13671@ws11114.aipo.gov.au> Message-ID: <1121146134.15684.154.camel@localhost.localdomain> On Tue, 2005-07-12 at 15:17 +1000, Stanley Hopcroft wrote: > Dear Folks, > > I am writing to thank you for your letter and say, > > On Mon, Jul 11, 2005 at 08:12:41PM -0700, nagios-users-request at lists.sourceforge.net wrote: > > > > Subject: RE: [Nagios-users] RH AS3.0 > > From: "jamie.baddeley at vpc.co.nz" > > To: nagios-users at lists.sourceforge.net > > Organization: Viewpoint Consulting Ltd > > Date: Tue, 12 Jul 2005 12:19:28 +1200 > > > > If you use dag wieers packages from his rpm repository - he compiles in > > the embedded perl support. > > > And that memory leaks like a sieve. > > With respect, I think you are wrong. Nope. I disagree. I used the rpm's for 1.2 from Dag's site and it leaked big time. I can show the graphs if you want. I recompiled with the embedded perl option left out and it stopped leaking. Past threads pointed me this way - which is why I tried it. As for 2.0b3 I concur that your efforts may well have stopped what ever leak it is you refer to (noting the feedback in devel) cheers jamie ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jzygmont at solarflow.net Tue Jul 12 07:27:49 2005 From: jzygmont at solarflow.net (Justin Zygmont) Date: Mon, 11 Jul 2005 22:27:49 -0700 (PDT) Subject: Nagios New User In-Reply-To: <003b01c58677$ba4bb0c0$204fa8c0@laptop> References: <003b01c58677$ba4bb0c0$204fa8c0@laptop> Message-ID: yes, I have. I seem to have got farther to the next problem, so maybe I can help you with this. On Tue, 12 Jul 2005, David Thorndike wrote: > Hi all > > I currently have Nagios installed on a fedora box in a data centre and have managed to get it configured so that I can get ot the web managment etc.. > > But.... as soon a I try and use any of the cgi's it just comes back with a "Internal Server Error" webpage. > > Has anyone else had this problem ? and IF so what are the fixes? > > I'm a totally new user to all of this having come from a windows background. > > Thanks > > David Thorndike. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jzygmont at solarflow.net Tue Jul 12 07:37:04 2005 From: jzygmont at solarflow.net (Justin Zygmont) Date: Mon, 11 Jul 2005 22:37:04 -0700 (PDT) Subject: setting up nagios Message-ID: Hi, I am trying to setup nagios for the first time, and whenever I click on a link, I keep getting the error message that says it's unable to read the object data. I tried following the docs, but it stops short of what to do after compiling, and installation. I'd appreciate if anyone knows what else to do. thanks, ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at ranahminang.net Tue Jul 12 09:15:52 2005 From: paul at ranahminang.net (PD) Date: Tue, 12 Jul 2005 14:15:52 +0700 Subject: UPS Monitoring In-Reply-To: References: <009501c58360$6ced0960$01fea8c0@itss.auckland.ac.nz> <200507091048.33778.paul@ranahminang.net> Message-ID: <200507121415.52274.paul@ranahminang.net> Dear all. Can someone give me an example brief about how to use check_ups ? the utilities under NUT already up and run. # upsc ica-sin3100c at localhost driver.name: genericups driver.parameter.port: /dev/cuaa0 driver.parameter.upstype: 4 driver.version: 2.0.1 driver.version.internal: 1.30 ups.mfr: Generic ups.model: Generic RUPS model ups.status: OL But, check_ups still not working. How to test it ? # /usr/local/libexec/nagios/check_ups -H 127.0.0.1 -u ica-sin3100c UPS does not support any available options Regards PD ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Tue Jul 12 10:10:32 2005 From: moshesharon at gmail.com (Moshe Sharon) Date: Tue, 12 Jul 2005 08:10:32 +0000 (UTC) Subject: How to get nagios to re-authenticate References: <20050712020436.GH31487@localdomain> Message-ID: Hello this is not nagios issue. its apache related to basic authentication method ( if you are using standard htpasswd ). there are few ways to do it but it involves little programming. you can do it by creating a link logout and then in the new page ( php or perl ) changing the header to: Header("WWW-Authenticate: Basic realm='NAGIOS REALM'"); Header("HTTP/1.0 401 Unauthorized"); this will reask your password. put the web page in the same dir and refresh after it to the nagios files. you can find more examples on using mod_perl to do it. and some examples with php do a web search "apache basic authentication logout". Hope it helped Moshe Sharon ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Tue Jul 12 10:24:32 2005 From: moshesharon at gmail.com (Moshe Sharon) Date: Tue, 12 Jul 2005 08:24:32 +0000 (UTC) Subject: Central nrpe config-management References: <5000.1121073163@www79.gmx.net> Message-ID: Hi if you dont mind about security much. you can compile nrpe with option --enable- command-args. then in the nrpe config file you need to adjust your lines to: command[check_disk]=/usr/local/nagios/libexec/check_disk $ARG1$ or something like that. in the nrpe check_command from the nagios server pass all the required parameters to check the disk. you can define all possible commands in the nrpe.cfg. and then just use what ever you need in the host. and all is controlled from the nagios server. no need to edit by hand each nrpe.cfg Hope it helped Moshe Sharon ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kindy_s at yahoo.fr Tue Jul 12 11:58:22 2005 From: kindy_s at yahoo.fr (Kindy Sylla) Date: Tue, 12 Jul 2005 11:58:22 +0200 (CEST) Subject: Critical Could not interpret output from ping command Message-ID: <20050712095822.96219.qmail@web26908.mail.ukl.yahoo.com> Hi all, I am having error while using the check_ping plugin on Linux Suse 9.1.( I diddn't have this probl?me with Mandrake 10.1). I installed the nagios 1.2 along with the plugins 1.4. As nagios user when I try the following command : ./check_ping -v -H 102.11.17.5 -w 100.0,20% -c 500.0,60% -p 5 I got the following /bin/ping -n -U -w 10 -c 5 102.11.17.5 ==> /bin/ping -n -U -w 10 -c 5 102.11.17.5 Critical - Could not interpret output from ping command. While the /bin/ping -n -U -w 10 -c 5 102.11.17.5 works fine. I believe it is something related to the OS version and the plugin( since it works fine on Madrake) Any idea to solve this? By the way, I also tried to use the check_icmp plugin, as nagios user, the operation is not permitted!!!! While as a root I can get the response. Thanks in advance, Kindy Sylla ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smalhotra at dataarmor.net Tue Jul 12 13:15:22 2005 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Tue, 12 Jul 2005 16:45:22 +0530 Subject: Service records not getting stale ?? Message-ID: <001301c586d3$00af7f50$74c5a8c0@sumit> Hello, I am planning to use Nagios in distributed environment. The Server side settings are given below. Host and service records are not getting stale even though I have configured them to. The script "service-is-stale" makes the results stale if executed manually. Permissions are also OK. If active_checks_enabled are enabled then it makes Service s stale (As it should). I am using nagios-2.0-0.b3.1.1.fc1.test form diag-weers. Any ideas??? ######################################################################## ######## # SERVICE DEFINITIONS ######################################################################## ######## # Generic service definition template define service{ name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 0 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts freshness_threshold 200 ; register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } # Service definition define service{ use generic-service ; Name of service template to use host_name test service_description Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 5 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command service-is-stale } Thanks, Sumit Malhotra -------------- next part -------------- An HTML attachment was scrubbed... URL: From sxanrr at yahoo.com Tue Jul 12 13:43:05 2005 From: sxanrr at yahoo.com (Sxan) Date: Tue, 12 Jul 2005 04:43:05 -0700 (PDT) Subject: Strange issue Message-ID: <20050712114305.33504.qmail@web32210.mail.mud.yahoo.com> Hey again, Ok, this is a wierd issue. Basically, one of my hosts was going up and down over the weekend, and it's now back up and running ok but Nagios is still reporting it being down. I've checked the logs and Nagios is seeing it as the TTL expiring. Nothing has changed at all since before the weekend, and this is the only host that it's doing it with. I've pinged the host and saw the TTL=61 and when I ping other hosts, the TTL varies depending on the host. Is there any way Nagios has set the TTL or what the TTL it's looking to use is? I'm just confused as to how this may have happened. We are also looking into the possibility that the NIC on the host was damaged somehow or something else, but if anyone has seen this happen before please let me know! Thanks! ~Jim __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Matthias.Eble at kaufland.de Tue Jul 12 15:23:56 2005 From: Matthias.Eble at kaufland.de (Matthias.Eble at kaufland.de) Date: Tue, 12 Jul 2005 15:23:56 +0200 Subject: Nagios CGIs: Premature end of script headers [Virus checked] Message-ID: Hi list, we have been expierienced problems with Nagios' 2.0b3 web interface. There are about 110 Services on about 60 hosts active in our Nagios installation. But one week ago (and today again) all the cgis got "Premature end of script headers:" errors and the browser got a status 500. The same configuration (with fewer hosts/services) was running for about three months without any problems until last week. That time I tried to solve the problems by - removing some services/hosts, - delete state/retention information. After the removal of services, the frontend seemed to work. Then I gradually added services and restarted nagios again. So I tried to find the services/hosts that caused the problems. Unfortunately it seemed like no explicit service/host caused the problems. Preflight check worked without errors. So.. After testing around for about half a day in suddenly worked again (it looked like the solution was linked with the deletion of the var/ files) with all services and hosts. After adding a few hosts/services the problems returned today. When I restarted nagios the frontend worked for about 15 seconds, which matched the status_update_interval in nagios .cfg. After increasing this value, the frontend worked for status_update_interval seconds. Now.. while writing this mail I tried to move the files in var/ to /tmp, restarted nagios... and it works now. Can you figure out, what caused the problems? We use Nagios 2.0b3 on httpd 2.0.53 with mod_auth_digest and mod_ssl. Thank you matthias ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Jul 12 16:09:22 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 12 Jul 2005 16:09:22 +0200 Subject: Integrate Cisco Works into Nagios Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9DEE@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, has anyone done this before? Any hints? Thanks in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ? ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 12 16:25:31 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 12 Jul 2005 10:25:31 -0400 (EDT) Subject: Integrate Cisco Works into Nagios In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9DEE@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9DEE@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: On Tue, 12 Jul 2005, Sand Philipp wrote: > Hi, > > has anyone done this before? Any hints? > > Thanks in advance! > > Philipp Haven't done so, but you should be able to defined another host to receive traps generated by CW for events. Nagios can receive those traps. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From formy-duval_alan at bah.com Tue Jul 12 16:55:52 2005 From: formy-duval_alan at bah.com (Formy-Duval Alan) Date: Tue, 12 Jul 2005 10:55:52 -0400 Subject: statusmap issue Message-ID: <70F40B6058284248BEAB168BF640CC5992935E@MCLNEXVS03.resource.ds.bah.com> I too am having this problem when clicking on statusmap and also trends and a few other things. I'm attempting to Run Nagios on Solaris 9, using ldd, I've discovered there is no libgd. However, I don't see libgd available for Solaris as a package. I'm still checking my other dependancies, does anyone have any info concerning Nagios on Solaris 9 Sparc? Thanks, Alan > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: Monday, June 13, 2005 10:24 AM > To: Nagios Users List > Subject: RE: [Nagios-users] statusmap issue > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Fabiano Martins > > Sent: Monday, June 13, 2005 9:17 AM > > To: Nagios Users List > > Subject: [Nagios-users] statusmap issue > > > > Hi, > > > > I have a problem clicking in statusmap on the nagios menu. I receive > the > > following message: > > > > "The server encountered an internal error or > misconfiguration and was > > unable to complete your request. > > > > Please contact the server administrator, admin at mydomain.net > and inform > > them of the time the error occurred, and anything you might > have done > that > > may have caused the error. > > > > More information about this error may be available in the > server error > > log." > > > > And when I've checked the error_log file, I saw the following: > > > > > > > > [Mon Jun 13 09:49:02 2005] [error] [client xxx.xxx.xxx.xxx] > > /usr/local/nagios/sbin/statusmap.cgi: error while loading shared > > libraries: libgd.so.1.8: cannot open shared object file: No > such file > or > > directory, referer: http://www.mydomain.net/nagios/side.html > > > > So I've already installed the libgd2, that has the required library > and > > I'm still receiving the same message... > > > > Is there some setting that I'm missing or some specific library to > > install...? > > Was nagios compiled on this box? It would appear that statusmap.cgi is > expecting libgd.so.1.8 to be in a different location than it is (which > is set at compile time). Run 'ldd statusmap.cgi' in the nagios sbin > directory and verify that libgd.so.1.8 is in the path that > statusmap.cgi > is expecting it. If it isn't you should probably re-compile > so that the > correct location is determined. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far > can you shotput > a projector? How fast can you ride your desk chair down the > office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Tue Jul 12 17:01:21 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Tue, 12 Jul 2005 11:01:21 -0400 Subject: nagios external command error Message-ID: <097D3590441CB345A836C4B3F7F813DC583E0D@mailsrv.cbct.com> At this point I've disabled selinux and I'm still getting the same error. I've re-ran the external command instructions for v 1.0 and for some reason I still receive an external command error. The way I've been manually fixing this problem is by chmodin nagios.cmd to 777. But there has to bee something causing nagiocmd group not to act the way it should. Here is a snippet of the nagios var dir drwxrwxrwx 2 nagios nagios 4096 Jul 11 00:00 archives -rwxrwxrwx 1 nagios nagios 32762 Jul 12 10:12 status.sav -rw-r--r-- 1 nagios nagios 6 Jul 12 10:39 nagios.lock drwxrwsr-x 2 nagios nagiocmd 4096 Jul 12 10:39 rw -rw-rw-r-- 1 nagios nagios 0 Jul 12 10:39 downtime.log -rw-rw-r-- 1 nagios nagios 314 Jul 12 10:45 comment.log -rw-rw-r-- 1 nagios nagios 91003 Jul 12 10:58 nagios.log -rw-rw-r-- 1 nagios nagios 44441 Jul 12 10:58 status.log -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu Ghosh Sent: Monday, July 11, 2005 11:47 PM To: C. Bensend Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios external command error On Mon, 11 Jul 2005, C. Bensend wrote: > >> Nagios and apache need to be in the same group, >> if SELINUX is running, allow http_context on var/rw/ > > I wonder if the Makefile could be adapted to check for selinux, and > if it's present/enabled, spit out a blurb stating the above? > > It seems to be a pretty common question. I'd submit a patch, but > unfortunately makefiles are not exactly my strong suit. OK, I'm > exaggerating - I couldn't makefile my way out of a wet paper > bag. ;) > > Benny > Agreed - the whole SELINUX situation seems to be folks running settings without understanding implications. Should probably also add a FAQ item. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Jul 12 17:15:34 2005 From: benny at bennyvision.com (C. Bensend) Date: Tue, 12 Jul 2005 10:15:34 -0500 (CDT) Subject: nagios external command error In-Reply-To: <097D3590441CB345A836C4B3F7F813DC583E0D@mailsrv.cbct.com> References: <097D3590441CB345A836C4B3F7F813DC583E0D@mailsrv.cbct.com> Message-ID: <1490.134.244.169.17.1121181334.squirrel@webmail.stinkweasel.net> > Here is a snippet of the nagios var dir > > drwxrwxrwx 2 nagios nagios 4096 Jul 11 00:00 archives > -rwxrwxrwx 1 nagios nagios 32762 Jul 12 10:12 status.sav > -rw-r--r-- 1 nagios nagios 6 Jul 12 10:39 nagios.lock > drwxrwsr-x 2 nagios nagiocmd 4096 Jul 12 10:39 rw > -rw-rw-r-- 1 nagios nagios 0 Jul 12 10:39 downtime.log > -rw-rw-r-- 1 nagios nagios 314 Jul 12 10:45 comment.log > -rw-rw-r-- 1 nagios nagios 91003 Jul 12 10:58 nagios.log > -rw-rw-r-- 1 nagios nagios 44441 Jul 12 10:58 status.log Let's see the exact cut-n-paste of the output of the following commands: ls -al /path/to/nagios/var/rw grep nagios /etc/group grep ^User /path/to/apache/httpd.conf grep ^Group /path/to/apache/httpd.conf ps auxww | grep httpd -- "I'd rather staple a skunk to my forehead and go to a trade show for banjo makers." -- PHB's secretary, Dilbert, 07-2002 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From formy-duval_alan at bah.com Tue Jul 12 17:23:02 2005 From: formy-duval_alan at bah.com (Formy-Duval Alan) Date: Tue, 12 Jul 2005 11:23:02 -0400 Subject: statusmap issue Message-ID: <70F40B6058284248BEAB168BF640CC59929389@MCLNEXVS03.resource.ds.bah.com> Actually, I do have gd installed (SMCgd), so I'm wondering if my $PATH or $LD_LIBRARY_PATH was incorrect when I compiled. Any suggestions? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Formy-Duval Alan > Sent: Tuesday, July 12, 2005 10:56 AM > To: Nagios Users List > Subject: RE: [Nagios-users] statusmap issue > > I too am having this problem when clicking on statusmap and > also trends > and a few other things. > > I'm attempting to Run Nagios on Solaris 9, using ldd, I've discovered > there is no libgd. However, I don't see libgd available for > Solaris as > a package. I'm still checking my other dependancies, does anyone have > any info concerning Nagios on Solaris 9 Sparc? > > Thanks, > Alan > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Marc Powell > > Sent: Monday, June 13, 2005 10:24 AM > > To: Nagios Users List > > Subject: RE: [Nagios-users] statusmap issue > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Fabiano Martins > > > Sent: Monday, June 13, 2005 9:17 AM > > > To: Nagios Users List > > > Subject: [Nagios-users] statusmap issue > > > > > > Hi, > > > > > > I have a problem clicking in statusmap on the nagios > menu. I receive > > the > > > following message: > > > > > > "The server encountered an internal error or > > misconfiguration and was > > > unable to complete your request. > > > > > > Please contact the server administrator, admin at mydomain.net > > and inform > > > them of the time the error occurred, and anything you might > > have done > > that > > > may have caused the error. > > > > > > More information about this error may be available in the > > server error > > > log." > > > > > > And when I've checked the error_log file, I saw the following: > > > > > > > > > > > > [Mon Jun 13 09:49:02 2005] [error] [client xxx.xxx.xxx.xxx] > > > /usr/local/nagios/sbin/statusmap.cgi: error while loading shared > > > libraries: libgd.so.1.8: cannot open shared object file: No > > such file > > or > > > directory, referer: http://www.mydomain.net/nagios/side.html > > > > > > So I've already installed the libgd2, that has the > required library > > and > > > I'm still receiving the same message... > > > > > > Is there some setting that I'm missing or some specific library to > > > install...? > > > > Was nagios compiled on this box? It would appear that > statusmap.cgi is > > expecting libgd.so.1.8 to be in a different location than > it is (which > > is set at compile time). Run 'ldd statusmap.cgi' in the nagios sbin > > directory and verify that libgd.so.1.8 is in the path that > > statusmap.cgi > > is expecting it. If it isn't you should probably re-compile > > so that the > > correct location is determined. > > > > -- > > Marc > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. How far > > can you shotput > > a projector? How fast can you ride your desk chair down the > > office luge track? > > If you want to score the big prize, get to know the little guy. > > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please 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 the 'Do More With Dual!' > webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the > latest in dual > core and dual graphics technology at this free one hour event > hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Tue Jul 12 17:34:01 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Tue, 12 Jul 2005 11:34:01 -0400 Subject: nagios external command error Message-ID: <097D3590441CB345A836C4B3F7F813DC583E16@mailsrv.cbct.com> Here it is... ls -al /usr/local/nagios/var/rw total 12 drwxrwsr-x 2 nagios nagiocmd 4096 Jul 12 11:25 . drwxrwxr-x 4 nagios nagios 4096 Jul 12 11:28 .. prw-rw---- 1 nagios nagiocmd 0 Jul 12 11:25 nagios.cmd prw-rw---- 1 nagios nagiocmd 0 Jul 12 11:25 nagios.cmd [root at watchdog rw]# grep nagios /etc/group nagios:x:502: nagiocmd:x:503:nagios,nobody [root at watchdog rw]# grep ^User /usr/local/apache/conf/httpd.conf User nobody UserDir public_html [root at watchdog rw]# grep ^Group /usr/local/apache/conf/httpd.conf Group #-1 [root at watchdog rw]# ps auxwww |grep httpd root 2319 0.0 0.4 11960 4896 ? Ss 09:49 0:00 /usr/local/apache/bin/httpd -k start nobody 16057 0.0 0.4 12100 5036 ? S 11:25 0:00 /usr/local/apache/bin/httpd -k start nobody 16058 0.0 0.4 12100 5032 ? S 11:25 0:00 /usr/local/apache/bin/httpd -k start nobody 16059 0.0 0.4 12092 4996 ? S 11:25 0:00 /usr/local/apache/bin/httpd -k start nobody 16060 0.0 0.4 12092 4996 ? S 11:25 0:00 /usr/local/apache/bin/httpd -k start nobody 16061 0.0 0.4 12100 5032 ? S 11:25 0:00 /usr/local/apache/bin/httpd -k start nobody 16115 0.0 0.4 12092 4920 ? S 11:25 0:00 /usr/local/apache/bin/httpd -k start nobody 19404 0.0 0.4 12092 4920 ? S 11:28 0:00 /usr/local/apache/bin/httpd -k start -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of C. Bensend Sent: Tuesday, July 12, 2005 11:16 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios external command error > Here is a snippet of the nagios var dir > > drwxrwxrwx 2 nagios nagios 4096 Jul 11 00:00 archives > -rwxrwxrwx 1 nagios nagios 32762 Jul 12 10:12 status.sav > -rw-r--r-- 1 nagios nagios 6 Jul 12 10:39 nagios.lock > drwxrwsr-x 2 nagios nagiocmd 4096 Jul 12 10:39 rw > -rw-rw-r-- 1 nagios nagios 0 Jul 12 10:39 downtime.log > -rw-rw-r-- 1 nagios nagios 314 Jul 12 10:45 comment.log > -rw-rw-r-- 1 nagios nagios 91003 Jul 12 10:58 nagios.log > -rw-rw-r-- 1 nagios nagios 44441 Jul 12 10:58 status.log Let's see the exact cut-n-paste of the output of the following commands: ls -al /path/to/nagios/var/rw grep nagios /etc/group grep ^User /path/to/apache/httpd.conf grep ^Group /path/to/apache/httpd.conf ps auxww | grep httpd -- "I'd rather staple a skunk to my forehead and go to a trade show for banjo makers." -- PHB's secretary, Dilbert, 07-2002 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Jul 12 17:43:26 2005 From: benny at bennyvision.com (C. Bensend) Date: Tue, 12 Jul 2005 10:43:26 -0500 (CDT) Subject: nagios external command error In-Reply-To: <097D3590441CB345A836C4B3F7F813DC583E16@mailsrv.cbct.com> References: <097D3590441CB345A836C4B3F7F813DC583E16@mailsrv.cbct.com> Message-ID: <1620.134.244.169.17.1121183006.squirrel@webmail.stinkweasel.net> > ls -al /usr/local/nagios/var/rw > total 12 > drwxrwsr-x 2 nagios nagiocmd 4096 Jul 12 11:25 . > drwxrwxr-x 4 nagios nagios 4096 Jul 12 11:28 .. > prw-rw---- 1 nagios nagiocmd 0 Jul 12 11:25 nagios.cmd > > > prw-rw---- 1 nagios nagiocmd 0 Jul 12 11:25 nagios.cmd Um, what's up with that? Is there just the one single nagios.cmd file there and there was a cut-n-paste oops, or are there two files that _appear_ to the be same filename, but likely with spaces/control chars in the filename of one? > [root at watchdog rw]# grep nagios /etc/group > nagios:x:502: > nagiocmd:x:503:nagios,nobody OK. > [root at watchdog rw]# grep ^User /usr/local/apache/conf/httpd.conf > User nobody > UserDir public_html OK. > [root at watchdog rw]# grep ^Group /usr/local/apache/conf/httpd.conf > Group #-1 I've never seen anyone use a numerical GID there, but I'm sure it's probably valid. Can you try changing it to: Group nagioscmd and restarting (actually stop, check for processes, and start) Apache? -- "I'd rather staple a skunk to my forehead and go to a trade show for banjo makers." -- PHB's secretary, Dilbert, 07-2002 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jul 12 17:21:52 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 12 Jul 2005 17:21:52 +0200 Subject: Critical Could not interpret output from ping command In-Reply-To: <20050712095822.96219.qmail@web26908.mail.ukl.yahoo.com> References: <20050712095822.96219.qmail@web26908.mail.ukl.yahoo.com> Message-ID: <42D3E010.1050505@op5.se> Kindy Sylla wrote: > Hi all, > I am having error while using the check_ping plugin on > Linux Suse 9.1.( I diddn't have this probl?me with > Mandrake 10.1). > I installed the nagios 1.2 along with the plugins 1.4. > > As nagios user when I try the following command : > ./check_ping -v -H 102.11.17.5 -w 100.0,20% -c > 500.0,60% -p 5 > I got the following > /bin/ping -n -U -w 10 -c 5 102.11.17.5 ==> /bin/ping > -n -U -w 10 -c 5 102.11.17.5 > Critical - Could not interpret output from ping > command. > While the /bin/ping -n -U -w 10 -c 5 102.11.17.5 works > fine. > I believe it is something related to the OS version > and the plugin( since it works fine on Madrake) > Any idea to solve this? > By the way, I also tried to use the check_icmp plugin, > as nagios user, the operation is not permitted!!!! > While as a root I can get the response. chown root:nagios check_icmp chmod 4750 check_icmp Give it a shake as the nagios user. It should work nicely. > Thanks in advance, > Kindy Sylla > > > > > > > > > ___________________________________________________________________________ > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger > T?l?chargez cette version sur http://fr.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Tue Jul 12 17:50:51 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Tue, 12 Jul 2005 11:50:51 -0400 Subject: nagios external command error Message-ID: <097D3590441CB345A836C4B3F7F813DC583E1D@mailsrv.cbct.com> Ahh. That's my fault cut-n-paste oops is right. There's only one file in that dir. Here it is again: [root at watchdog rw]# ls -al total 12 drwxrwsr-x 2 nagios nagiocmd 4096 Jul 12 11:25 . drwxrwxr-x 4 nagios nagios 4096 Jul 12 11:47 .. prw-rw---- 1 nagios nagiocmd 0 Jul 12 11:25 nagios.cmd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of C. Bensend Sent: Tuesday, July 12, 2005 11:43 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios external command error > ls -al /usr/local/nagios/var/rw > total 12 > drwxrwsr-x 2 nagios nagiocmd 4096 Jul 12 11:25 . > drwxrwxr-x 4 nagios nagios 4096 Jul 12 11:28 .. > prw-rw---- 1 nagios nagiocmd 0 Jul 12 11:25 nagios.cmd > > > prw-rw---- 1 nagios nagiocmd 0 Jul 12 11:25 nagios.cmd Um, what's up with that? Is there just the one single nagios.cmd file there and there was a cut-n-paste oops, or are there two files that _appear_ to the be same filename, but likely with spaces/control chars in the filename of one? > [root at watchdog rw]# grep nagios /etc/group > nagios:x:502: > nagiocmd:x:503:nagios,nobody OK. > [root at watchdog rw]# grep ^User /usr/local/apache/conf/httpd.conf > User nobody > UserDir public_html OK. > [root at watchdog rw]# grep ^Group /usr/local/apache/conf/httpd.conf > Group #-1 I've never seen anyone use a numerical GID there, but I'm sure it's probably valid. Can you try changing it to: Group nagioscmd and restarting (actually stop, check for processes, and start) Apache? -- "I'd rather staple a skunk to my forehead and go to a trade show for banjo makers." -- PHB's secretary, Dilbert, 07-2002 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Jul 12 17:47:34 2005 From: benny at bennyvision.com (C. Bensend) Date: Tue, 12 Jul 2005 10:47:34 -0500 (CDT) Subject: nagios external command error In-Reply-To: <1620.134.244.169.17.1121183006.squirrel@webmail.stinkweasel.net> References: <097D3590441CB345A836C4B3F7F813DC583E16@mailsrv.cbct.com> <1620.134.244.169.17.1121183006.squirrel@webmail.stinkweasel.net> Message-ID: <1626.134.244.169.17.1121183254.squirrel@webmail.stinkweasel.net> >> [root at watchdog rw]# grep ^Group /usr/local/apache/conf/httpd.conf >> Group #-1 > > I've never seen anyone use a numerical GID there, but I'm sure > it's probably valid. Can you try changing it to: > > Group nagioscmd > > and restarting (actually stop, check for processes, and start) > Apache? Er, thinko on my part. I meant, of course, 'Group nagiocmd' as you have your group setup. -- "I'd rather staple a skunk to my forehead and go to a trade show for banjo makers." -- PHB's secretary, Dilbert, 07-2002 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 12 17:54:44 2005 From: marc at ena.com (Marc Powell) Date: Tue, 12 Jul 2005 10:54:44 -0500 Subject: nagios external command error Message-ID: > > [root at watchdog rw]# grep ^Group /usr/local/apache/conf/httpd.conf > > Group #-1 > > I've never seen anyone use a numerical GID there, but I'm sure > it's probably valid. Can you try changing it to: >From a previous posting to this list some time ago I infer that this means that apache isn't a member of any groups. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Jul 12 18:02:21 2005 From: benny at bennyvision.com (C. Bensend) Date: Tue, 12 Jul 2005 11:02:21 -0500 (CDT) Subject: nagios external command error In-Reply-To: References: Message-ID: <1671.134.244.169.17.1121184141.squirrel@webmail.stinkweasel.net> > From a previous posting to this list some time ago I infer that this > means that apache isn't a member of any groups. Hmmm, if THAT'S the case, I think we found the problem on that one. ;) -- "I'd rather staple a skunk to my forehead and go to a trade show for banjo makers." -- PHB's secretary, Dilbert, 07-2002 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From James.P.Fuentes at boeing.com Tue Jul 12 18:05:14 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Tue, 12 Jul 2005 09:05:14 -0700 Subject: How to get nagios to re-authenticate Message-ID: <626FC7C6A97381468FB872072AB5DDC801FEA5@XCH-SW-42.sw.nos.boeing.com> You have to clear your browser cache and probably exit and restart your browser. -Jim ________________________________ From: prosolutions at gmx.net [mailto:prosolutions at gmx.net] Sent: Mon 7/11/2005 7:04 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to get nagios to re-authenticate I am working on configuring nagios and re-access it frequently from a web browser. However, it seems once I auth against it one time from a particular host it never asks me to re-authenticate. I have just made changes to my config and from one machine on which I was able to log in fresh everything is working. However from the original machine that I logged in I keep getting the nasty "It appears as though you do not have permission to view information for any of the services you requested...". I see no way to get around this since there is no "logout" option and it just keeps assuming I'm the same user without proper permissions... ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Tue Jul 12 18:10:56 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Tue, 12 Jul 2005 12:10:56 -0400 Subject: nagios external command error Message-ID: <097D3590441CB345A836C4B3F7F813DC583E21@mailsrv.cbct.com> Damm... it work!! WTF, I've set other nagios servers before and I never had to do any fudging around with the group on the http.conf. I guess apache 2.0.54 acts different. Well Gents much thanks to all. Now onto fixing my statusmap.cgi problem! LOL g -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of C. Bensend Sent: Tuesday, July 12, 2005 12:02 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios external command error > From a previous posting to this list some time ago I infer that this > means that apache isn't a member of any groups. Hmmm, if THAT'S the case, I think we found the problem on that one. ;) -- "I'd rather staple a skunk to my forehead and go to a trade show for banjo makers." -- PHB's secretary, Dilbert, 07-2002 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 12 18:16:57 2005 From: marc at ena.com (Marc Powell) Date: Tue, 12 Jul 2005 11:16:57 -0500 Subject: How to get nagios to re-authenticate Message-ID: Clearing the cache has no effect and is unnecessary. You need to simply restart the browser or follow previous suggestions for creating a logout page. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of EXT-Fuentes, James P > Sent: Tuesday, July 12, 2005 11:05 AM > To: prosolutions at gmx.net; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] How to get nagios to re-authenticate > > You have to clear your browser cache and probably exit and restart your > browser. > -Jim > > ________________________________ > > From: prosolutions at gmx.net [mailto:prosolutions at gmx.net] > Sent: Mon 7/11/2005 7:04 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to get nagios to re-authenticate > > > > I am working on configuring nagios and re-access it frequently from a > web browser. However, it seems once I auth against it one time from a > particular host it never asks me to re-authenticate. I have just made > changes to my config and from one machine on which I was able to log in > fresh everything is working. However from the original machine that I > logged in I keep getting the nasty "It appears as though you do not have > permission to view information for any of the services you > requested...". I see no way to get around this since there is no > "logout" option and it just keeps assuming I'm the same user without > proper permissions... > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar > happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by > HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 the 'Do More With Dual!' webinar > happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by > HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jt at domainfactory.de Tue Jul 12 18:17:44 2005 From: jt at domainfactory.de (Jochen Tuchbreiter) Date: Tue, 12 Jul 2005 18:17:44 +0200 Subject: Scaling nagios: The right way to go? Message-ID: Hello, currently I am running a setup of about 700 hosts with about 6.500 services, all actively checked. This is Nagios v1 with historic "check_nrpep" (compiled via perlcc). About 3.000 of the services get graphed via apan. Nagios runs on one machine, all checks that get graphed are run on a second one (graphs are also generated there). Both machines are high end x86 equipment. Loading status.cgi currently takes about 6 CPU-seconds on a dual-xeon. The service checks (scheduler) is getting behind on a regular basis, concurrency is tuned to the max. Obviously I need to do something about this. In fact I am looking for a solution that will scale up to 2.000 hosts with 15.000 services. What way of scaling to you recommend? I can see three different scenarios: 1. "Divide and conquer" by using many smaller nagios-installations monitoring disjoint host quantities, somehow keeping the configuration loosely in sync (-> contact-data etc.) pros: -> KISS at its best -> will scale "indefinitely" cons: -> syncing of configuration files will be a major PITA -> No common status overview. (Will have to write my own frontend to merge the status information) 2. "Optimize as hell" by using passive service checks only (-> uh, will graphing still work?), switching from apan to something faster, ditching nrpep for nrpe, ...? pros: -> Still KISS cons: -> major changes compared to my current setup would be required -> not sure if this will scale up to the numbers above no matter how well I optimize 3. "Scale like the documentation says" by switching to Nagios 2 beta(!) and setting up the complex "cluster" configuration required to do this. pros: -> doing it the way it is supposed to be done -> people won't kill me for being "weird" when I show them my setup cons: -> major changes compared to my current setup would be required -> using beta software for this -> complexity! I don't really like to maintain n sets of configuration files for n cluster members. I'd have to find a way to generate cluster-member configuration files by parsing the file on the master Has anybody gathered experience with one of the three ways and can recommend / speak against one of them? Are there any large installations that are well documented? Does anybody trust their business on Nagios v2 beta yet? Any help / comments would be highly appreciated. regards, Jochen ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthias.Eble at kaufland.de Tue Jul 12 18:25:28 2005 From: Matthias.Eble at kaufland.de (Matthias.Eble at kaufland.de) Date: Tue, 12 Jul 2005 18:25:28 +0200 Subject: Antwort: RE: How to get nagios to re-authenticate [Virus checked] In-Reply-To: References: Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 12.07.2005 18:16:57: > > I am working on configuring nagios and re-access it frequently from a > > web browser. However, it seems once I auth against it one time from a > > particular host it never asks me to re-authenticate. I have just made > > changes to my config and from one machine on which I was able to log > in > > fresh everything is working. However from the original machine that I > > logged in I keep getting the nasty "It appears as though you do not > have > > permission to view information for any of the services you > > requested...". I see no way to get around this since there is no > > "logout" option and it just keeps assuming I'm the same user without > > proper permissions... > > there is a mozilla extension called webdeveloper. http://webdeveloper.mozdev.org/ After activating the extension you get a toolbar with lots of icons/functions. There is a "clear http authentication" button in the "misc" menu. perhaps it helps.. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Tue Jul 12 18:34:13 2005 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Tue, 12 Jul 2005 09:34:13 -0700 Subject: Global Events Message-ID: <03B7848F0657B34B25AF6A07@[10.0.0.1]> Stanford has written a process that gets called any time a global event is trigger, that sends a SOAP event to another system that pulls together alerts from a number of different monitoring systems. However, one problem we've noticed is that some very useful events that we'd want that other system to see do not trigger global events. Specifically, acknowledgements of a problem would be the most useful. Is there an easy way to add to the events that are considered global? Are there changes to what the global events are in Nagios 2.0? Another trigger for a global even that would be useful is for a system going into downtime. Example: [1121002943] EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;kerberos1;1121002923;1121010123;1;3600;rra;Upgrading to Debian [1121002944] HOST DOWNTIME ALERT: kerberos1;STARTED; Host has entered a period of scheduled downtime [1121010123] HOST DOWNTIME ALERT: kerberos1;STOPPED; Host has exited from a period of scheduled downtime Obviously kerberos1 was put into downtime @1121002944, however, the following global events were still generated: [1121004587] GLOBAL HOST EVENT HANDLER: kerberos1;DOWN;SOFT;1;notify-smarts [1121004608] GLOBAL HOST EVENT HANDLER: kerberos1;DOWN;HARD;2;notify-smarts [1121006152] GLOBAL HOST EVENT HANDLER: kerberos1;UP;HARD;1;notify-smarts Notifying the other system that the host was down (notify-smarts). Since the downtime knowledge isn't also broadcast, the SMARTS system has no way of knowing the host down alerts should be ignored. Alternative, perhaps global events shouldn't be broadcast for systems in downtime. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosadmin at snef.fr Tue Jul 12 18:37:11 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Tue, 12 Jul 2005 18:37:11 +0200 Subject: Best way to graph services response Message-ID: <007801c586ff$f3d59350$c26710ac@sneftechnologies.fr> Hi, I am currently running a nagios v2.0b2 with nagios_plugins1.4. I am looking for a way to graph service response and include them in nagios extended service infos (action_url for instance). I am using cacti to graph LAN utilization by SNMP. But how to graph a HTTP response ( or something else) ?. Another point : Do somebody know a tool to do more precise reports in Nagios ? Thank you for your response. Davy -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladams at cloudmark.com Tue Jul 12 18:43:55 2005 From: ladams at cloudmark.com (Lori Adams) Date: Tue, 12 Jul 2005 09:43:55 -0700 Subject: Central nrpe config-management Message-ID: We use a Perl script using the Expect module to distribute configs, and add new commands to the nrpe.cfg file. There's no need to disable/enable services on the "remote" machine (one running nrpe). They can all be listed in the config, some just won't be used. -L -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of James Turnbull Sent: Monday, July 11, 2005 3:42 AM To: derfrecheDachs at gmx.net Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Central nrpe config-management derfrecheDachs at gmx.net wrote: >Hi, > >I?d like to know if there is a solution for this problem and how it works if >there are different config-files on the clients. >How about the way to have the same cfg-file on the clients with not used >(deacivated) services ?? >Any other solution possible ?? > > >Thnx Horst > > > We used cfengine (http://www.cfengine.org/) to distribute our nrpe and other config files. We had a script which ran over the config file and enabled or disabled the services we wanted on each machine. This also meant you could change the services being montitored by running the script. Was just a very simple Bash script that used sed. I am sure you could do something much more impressive with Perl. Regards James Turnbull -- James Turnbull --- Author of Hardening Linux from Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Tue Jul 12 19:19:05 2005 From: robmossrm at aol.com (Rob Moss) Date: Tue, 12 Jul 2005 18:19:05 +0100 Subject: Scaling nagios: The right way to go? In-Reply-To: References: Message-ID: <42D3FB89.9080803@aol.com> Hi, AOL UK is using Nagios 2.0b3 for some monitoring (under 1,000 hosts). I'm actively developing plugins and tuning/compiling code for Sun Solaris 8 and 9, no problems so far. There are some real bottlenecks performing monitoring from one host, aside from the fact that some of the built-in plugins are simply wrappers to the real program (check_icmp for a start). If you are after performance, multiple check hosts feeding into a collector is probably the best way, and scrapping some of the built-in nagios checks, in favour of compiled C checks that do all the work instead of being wrappers around other system tools. Also, the built-in Perl compiler should be quite fast for executing Perl scripts, such as HTTPS checks in perl/LWP etc. Hope this helps Rob Moss AOL UK Jochen Tuchbreiter wrote: > Hello, > > currently I am running a setup of about 700 hosts with about 6.500 services, > all actively checked. This is Nagios v1 with historic "check_nrpep" > (compiled via perlcc). About 3.000 of the services get graphed via apan. > Nagios runs on one machine, all checks that get graphed are run on a second > one (graphs are also generated there). Both machines are high end x86 > equipment. > > Loading status.cgi currently takes about 6 CPU-seconds on a dual-xeon. The > service checks (scheduler) is getting behind on a regular basis, concurrency > is tuned to the max. > > Obviously I need to do something about this. In fact I am looking for a > solution that will scale up to 2.000 hosts with 15.000 services. > > What way of scaling to you recommend? I can see three different scenarios: > > > 1. > "Divide and conquer" by using many smaller nagios-installations monitoring > disjoint host quantities, somehow keeping the configuration loosely in sync > (-> contact-data etc.) > > pros: > -> KISS at its best > -> will scale "indefinitely" > > cons: > -> syncing of configuration files will be a major PITA > -> No common status overview. (Will have to write my own frontend to merge > the status information) > > > 2. > "Optimize as hell" by using passive service checks only (-> uh, will > graphing still work?), switching from apan to something faster, ditching > nrpep for nrpe, ...? > > pros: > > -> Still KISS > > cons: > > -> major changes compared to my current setup would be required > > -> not sure if this will scale up to the numbers above no matter how well I > optimize > > > 3. > "Scale like the documentation says" by switching to Nagios 2 beta(!) and > setting up the complex "cluster" configuration required to do this. > > pros: > > -> doing it the way it is supposed to be done -> people won't kill me for > being "weird" when I show them my setup > > cons: > > -> major changes compared to my current setup would be required > > -> using beta software for this > > -> complexity! I don't really like to maintain n sets of configuration files > for n cluster members. I'd have to find a way to generate cluster-member > configuration files by parsing the file on the master > > > Has anybody gathered experience with one of the three ways and can recommend > / speak against one of them? Are there any large installations that are well > documented? Does anybody trust their business on Nagios v2 beta yet? Any > help / comments would be highly appreciated. > > regards, > Jochen > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Rob Moss Snr. Unix Administrator Hosting & DB Operations ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Tue Jul 12 19:34:59 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 12 Jul 2005 19:34:59 +0200 Subject: Critical Could not interpret output from ping command In-Reply-To: <20050712095822.96219.qmail@web26908.mail.ukl.yahoo.com> References: <20050712095822.96219.qmail@web26908.mail.ukl.yahoo.com> Message-ID: <42D3FF43.40202@its-lehmann.de> Hello, Kindy Sylla wrote: > Hi all, > I am having error while using the check_ping plugin on > Linux Suse 9.1.( I diddn't have this probl?me with > Mandrake 10.1). > I installed the nagios 1.2 along with the plugins 1.4. > > As nagios user when I try the following command : > ./check_ping -v -H 102.11.17.5 -w 100.0,20% -c > 500.0,60% -p 5 > I got the following > /bin/ping -n -U -w 10 -c 5 102.11.17.5 ==> /bin/ping > -n -U -w 10 -c 5 102.11.17.5 > Critical - Could not interpret output from ping > command. I suggest to use check_icmp instead of check_ping. check_ping uses the system's ping, and that output is not standardized. And, of course, if has to start another process - both issues are, to my knowledge, not existing in check_icmp. Which is more flexible anyway, in my opinion. Arno > While the /bin/ping -n -U -w 10 -c 5 102.11.17.5 works > fine. > I believe it is something related to the OS version > and the plugin( since it works fine on Madrake) > Any idea to solve this? > By the way, I also tried to use the check_icmp plugin, > as nagios user, the operation is not permitted!!!! > While as a root I can get the response. > Thanks in advance, > Kindy Sylla > > > > > > > > > ___________________________________________________________________________ > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger > T?l?chargez cette version sur http://fr.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Tue Jul 12 19:43:25 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 12 Jul 2005 19:43:25 +0200 Subject: Critical Could not interpret output from ping command In-Reply-To: <20050712095822.96219.qmail@web26908.mail.ukl.yahoo.com> References: <20050712095822.96219.qmail@web26908.mail.ukl.yahoo.com> Message-ID: <42D4013D.5060709@its-lehmann.de> Hi again, I just noticed I wrote nonsense... see below. Kindy Sylla wrote: > By the way, I also tried to use the check_icmp plugin, > as nagios user, the operation is not permitted!!!! > While as a root I can get the response. This seems to be the right solution. Either chmod check_icmp to be SUID root or use sudo. In the latter case, you've got the two-processes-problem again. Arno > Thanks in advance, > Kindy Sylla > > > > > > > > > ___________________________________________________________________________ > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger > T?l?chargez cette version sur http://fr.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Rusch at fotf.org Tue Jul 12 21:15:58 2005 From: Daniel.Rusch at fotf.org (Rusch, Daniel) Date: Tue, 12 Jul 2005 13:15:58 -0600 Subject: AS400 plug-in Message-ID: <8514B8AEA269234B82EF64E707E5885005886B6A@nahum.mis.fotf.priv> I am using Version 0.18 of the check_as400 plug-in. I can get all of the checks to work except the check job (CJ) which is the one I need of course I think the problem is in identifying the job: ./check_as400 -H abraham -v CJ JDENET_K The check simply hangs and does not return in diag mode I get: Establishing connection to server...done. Logging in... waiting for screen... waiting for token IBM CORP... token received. sending login information for XXXXXXX... waiting for login to process... waiting for token ===>... responding to allocated to another job message... token received. Login completed. Sending command (4)... waiting for token Auswahl... JDENET_K is an active job. Any ideas? Thank you, Daniel G. Rusch x2027 -------------- next part -------------- An HTML attachment was scrubbed... URL: From forums at emat.be Tue Jul 12 23:19:01 2005 From: forums at emat.be (js) Date: Tue, 12 Jul 2005 23:19:01 +0200 Subject: Servicegroups not displayed ->permission issue Message-ID: <42D433C5.4010304@emat.be> Hi all, I have defined 2 servicegroups: pop3 services imap4 services They both have 10 member services. I have 2 different kind of logins. User1 can see the 2 servicegroups with all the 20 members because user1 is in the correct contactgroups of every individual host where each of the services are running. User2 has a problem. User2 is a member of the contactgroups for the 10 pop3 hosts. User2 is a member of the contactgroups for only 5 imap4 hosts. On the host overview user2 sees all the 15 hosts correctly, they way it should be. But when he looks at the "servicegroup overview" he only sees the the pop3 servicegroup and NOT the imap4 servicegroup..... From the moment there is a service (which is member of a servicegroup) and you aren't a member of the contactgroup for the host which runs this service, you are automatically denied access to the entire servicegroup, although it might contain several services which you entitled to to see. In the above example, as user2 , when I choose 'Service group overview' I should see 2 servicegroups pop3 services with 10 services imap4 services with 5 services What am I missing? Am I overlooking something trivial ? Thanks in advance. Greetings, JS ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Wed Jul 13 00:00:42 2005 From: james at lovedthanlost.net (James Turnbull) Date: Wed, 13 Jul 2005 08:00:42 +1000 Subject: Central nrpe config-management In-Reply-To: References: Message-ID: <42D43D8A.2090101@lovedthanlost.net> Lori Adams wrote: >We use a Perl script using the Expect module to distribute configs, and add new commands to the nrpe.cfg file. There's no need to disable/enable services on the "remote" machine (one running nrpe). They can all be listed in the config, some just won't be used. > >-L > Sorry should have been clearer - the configuration files on the Nagios server not the nrpe config file. Regards James Turnbull -- James Turnbull --- Author of Hardening Linux from Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfnet at bingle.org Wed Jul 13 01:35:50 2005 From: sfnet at bingle.org (Bingle) Date: Tue, 12 Jul 2005 19:35:50 -0400 Subject: change wrt icon_image Message-ID: <42D453D6.4A841A0E@bingle.org> In 1.x, when using extended service data, clicking on the icon supplied (icon_image) would take you directly to the services' notes_url (e.g. the page displaying the graphs of the service perfdata). In 2.x, a change has been made so that clicking on this same icon you simply go to the extinfo.cgi page. From that page if you click on the Notes icon (not the supplied icon), you get to the page actually displaying the graphs. Shouldn't the icon take you directly to the extended info? The change seems to be in cgi/status.c near line 1666 and seems to have been intentional, but it seems "wrong". Anyone know why this was changed and if anything breaks by changing that section back to the way it was in 1.x? ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jul 13 01:34:03 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Jul 2005 01:34:03 +0200 Subject: Scaling nagios: The right way to go? In-Reply-To: <42D3FB89.9080803@aol.com> References: <42D3FB89.9080803@aol.com> Message-ID: <42D4536B.7020005@op5.se> Rob Moss wrote: > Hi, > AOL UK is using Nagios 2.0b3 for some monitoring (under 1,000 hosts). > > I'm actively developing plugins and tuning/compiling code for Sun > Solaris 8 and 9, no problems so far. > > There are some real bottlenecks performing monitoring from one host, > aside from the fact that some of the built-in plugins are simply > wrappers to the real program (check_icmp for a start). > check_icmp is not a wrapper. It was written for the precise purpose of getting rid of the extra overhead caused by invoking an external program (and to get rid of the umpteen-hundred people telling the list that it doesn't work on Fedora Core 3). > If you are after performance, multiple check hosts feeding into a > collector is probably the best way, Using check_icmp in check_host mode will easily cut the performance loss of services going to non-OK states by a rough 99%, although that only works when the host is up. When it's down, it's more like 50%. > and scrapping some of the built-in > nagios checks, Nagios has no built-in checks. It wasn't designed for it, and benchmarks show that it would hardly benefit at all from it. This has been discussed and tested in great detail on the nagios-devel@ mailing-list. > in favour of compiled C checks that do all the work > instead of being wrappers around other system tools. > > Also, the built-in Perl compiler should be quite fast for executing Perl > scripts, such as HTTPS checks in perl/LWP etc. > Compiled C-programs run about 30% faster than cached perl-plugins executed by the embedded perl interpreter. I believe some of that has to do with exception handling in Nagios when the EPN is compiled in (theoretically it should only be about a 10% loss due to perl creating less efficient machine code than gcc), but I haven't done any profiling on it, so I can't say for sure. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfnet at bingle.org Wed Jul 13 01:43:16 2005 From: sfnet at bingle.org (Bingle) Date: Tue, 12 Jul 2005 19:43:16 -0400 Subject: RH AS3.0 Message-ID: <42D45594.8763B348@bingle.org> I don't know how well embedded perl works with RHEL3, but I do know that I had to turn off embedded perl on 2.0b2 with Fedora Core 2 in order to use the perl plugins that are included with nagiosgraph (e.g. insert.pl). If I didn't turn off embedded perl and recompile, it appeared that insert.pl was never being called. I had been using Dag Wieers rpm, but this problem forced me to build nagios myself. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jul 13 01:39:21 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Jul 2005 01:39:21 +0200 Subject: Global Events In-Reply-To: <03B7848F0657B34B25AF6A07@[10.0.0.1]> References: <03B7848F0657B34B25AF6A07@[10.0.0.1]> Message-ID: <42D454A9.3020001@op5.se> Quanah Gibson-Mount wrote: > Stanford has written a process that gets called any time a global event > is trigger, that sends a SOAP event to another system that pulls > together alerts from a number of different monitoring systems. However, > one problem we've noticed is that some very useful events that we'd want > that other system to see do not trigger global events. > > Specifically, acknowledgements of a problem would be the most useful. > Is there an easy way to add to the events that are considered global? > Are there changes to what the global events are in Nagios 2.0? > You could easily accomplish this with a neb-module. I believe the code needed to do it should stay well below 100 lines of C, including comments, assuming you want to call an external app to actually generate the event, that is. > > Another trigger for a global even that would be useful is for a system > going into downtime. > > > Example: > > [1121002943] EXTERNAL COMMAND: > SCHEDULE_HOST_DOWNTIME;kerberos1;1121002923;1121010123;1;3600;rra;Upgrading > to Debian > [1121002944] HOST DOWNTIME ALERT: kerberos1;STARTED; Host has entered a > period of scheduled downtime > [1121010123] HOST DOWNTIME ALERT: kerberos1;STOPPED; Host has exited > from a period of scheduled downtime > > Obviously kerberos1 was put into downtime @1121002944, however, the > following global events were still generated: > > [1121004587] GLOBAL HOST EVENT HANDLER: kerberos1;DOWN;SOFT;1;notify-smarts > [1121004608] GLOBAL HOST EVENT HANDLER: kerberos1;DOWN;HARD;2;notify-smarts > [1121006152] GLOBAL HOST EVENT HANDLER: kerberos1;UP;HARD;1;notify-smarts > > Notifying the other system that the host was down (notify-smarts). > Since the downtime knowledge isn't also broadcast, the SMARTS system has > no way of knowing the host down alerts should be ignored. Alternative, > perhaps global events shouldn't be broadcast for systems in downtime. > > --Quanah > > > -- > Quanah Gibson-Mount > Principal Software Developer > ITSS/Shared Services > Stanford University > GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar > happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by > HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ladams at cloudmark.com Wed Jul 13 01:39:53 2005 From: ladams at cloudmark.com (Lori Adams) Date: Tue, 12 Jul 2005 16:39:53 -0700 Subject: multiple instances of nagios Message-ID: Is it possible to run multiple instances of nagios and have them show up together in a nice hierarchical manner in the cgis. It'd be nice to be able to roll them up together and also be able to view the instances separately. Obviously having separate instances, I can view them apart in n web sites. We'd like to be able to roll them up into one. Thanks in advance, -Lori -------------- next part -------------- An HTML attachment was scrubbed... URL: From Philipp.Sand at sycor.de Wed Jul 13 08:33:17 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 13 Jul 2005 08:33:17 +0200 Subject: AW: Integrate Cisco Works into Nagios Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9DFB@SYGOMAIL.GOE.AD.SYCOR.DE> Ok, thanks! I just startet to install CiscoWorks yesterday. Traps seems to be a nice idea, thanks ;) > -----Urspr?ngliche Nachricht----- > Von: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Gesendet: Dienstag, 12. Juli 2005 16:26 > An: Sand Philipp > Cc: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] Integrate Cisco Works into Nagios > > On Tue, 12 Jul 2005, Sand Philipp wrote: > > > Hi, > > > > has anyone done this before? Any hints? > > > > Thanks in advance! > > > > Philipp > > Haven't done so, but you should be able to defined another host to receive > traps generated by CW for events. > > Nagios can receive those traps. > -- > -sg ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jzygmont at solarflow.net Wed Jul 13 10:08:43 2005 From: jzygmont at solarflow.net (Justin Zygmont) Date: Wed, 13 Jul 2005 01:08:43 -0700 (PDT) Subject: setting up nagios Message-ID: I did not receive any replies to this message, I would just like to know if there is any info on how to do this, and if not i'd even write it up, if I can get this to work. Hi, I am trying to setup nagios for the first time, and whenever I click on a link, I keep getting the error message that says it's unable to read the object data. I tried following the docs, but it stops short of what to do after compiling, and installation. I'd appreciate if anyone knows what else to do. thanks, ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Wed Jul 13 10:40:28 2005 From: james at lovedthanlost.net (James Turnbull) Date: Wed, 13 Jul 2005 18:40:28 +1000 Subject: setting up nagios In-Reply-To: References: Message-ID: <42D4D37C.3060006@lovedthanlost.net> Justin Zygmont wrote: > I am trying to setup nagios for the first time, and whenever I click > on a link, I keep getting the error message that says it's unable to > read the Is the Nagios process running? Regards James Turnbull -- James Turnbull --- Author of Hardening Linux, Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3194 bytes Desc: S/MIME Cryptographic Signature URL: From ae at op5.se Wed Jul 13 10:48:31 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Jul 2005 10:48:31 +0200 Subject: setting up nagios In-Reply-To: References: Message-ID: <42D4D55F.5000602@op5.se> Justin Zygmont wrote: > I did not receive any replies to this message, I would just like to know > if there is any info on how to do this, and if not i'd even write it up, > if I can get this to work. > > > Hi, > > I am trying to setup nagios for the first time, and whenever I click on > a link, I keep getting the error message that says it's unable to read the > object data. I tried following the docs, but it stops short of what to > do after compiling, and installation. What docs have you been reading? Nagios is one of the better documented gpl products available. See http://www.nagios.org/docs/ for detailed documentation. > I'd appreciate if anyone knows > what else to do. > > thanks, > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar > happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by > HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kindy_s at yahoo.fr Wed Jul 13 12:21:47 2005 From: kindy_s at yahoo.fr (Kindy Sylla) Date: Wed, 13 Jul 2005 12:21:47 +0200 (CEST) Subject: Critical Could not interpret output from ping command In-Reply-To: <42D4013D.5060709@its-lehmann.de> References: <42D4013D.5060709@its-lehmann.de> Message-ID: <20050713102147.7501.qmail@web26903.mail.ukl.yahoo.com> Hi Arno, Thanks! Now it is working. I modified the check_icmp permission to be SUID root. Regards, Kindy Arno Lehmann a ?crit : Hi again, I just noticed I wrote nonsense... see below. Kindy Sylla wrote: > By the way, I also tried to use the check_icmp plugin, > as nagios user, the operation is not permitted!!!! > While as a root I can get the response. This seems to be the right solution. Either chmod check_icmp to be SUID root or use sudo. In the latter case, you've got the two-processes-problem again. Arno > Thanks in advance, > Kindy Sylla > > > > > > > > > ___________________________________________________________________________ > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger > T?l?chargez cette version sur http://fr.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez le ici ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Marcus.Hildenbrand at sap.com Wed Jul 13 13:19:23 2005 From: Marcus.Hildenbrand at sap.com (Marcus Hildenbrand) Date: Wed, 13 Jul 2005 13:19:23 +0200 Subject: webinterface don't works with large number of hosts in Nagios 2.0 current cvs version In-Reply-To: <42CBC3EE.4050900@sap.com> References: <42CBC3EE.4050900@sap.com> Message-ID: <42D4F8BB.60408@sap.com> Hi, the cause of this seems to be a too long list of services in a servicegroup. My config includes something like this: - servicegroup definition: define servicegroup{ servicegroup_name filesystems alias filesystems members host1,filesystems } - service template which includes also the above servicegroup name define service{ use generic-service name check_filesystems service_description filesystems normal_check_interval 15 max_check_attempts 3 servicegroups filesystems register 0 } - and for nearly every host something like this define service{ use check_filesystems host_name hostxx check_command check_nrpe!check_filesystems normal_check_interval 15 contact_groups GROUPX } This means that the servicegroup includes nearly 4k services. After doubling MAX_XODTEMPLATE_INPUT_BUFFER in xdata/xodtemplate.h from 65535 to 131070 the webinterface works again. Maybe the size of this variable should be adjusted to something higher. Regards Marcus Hildenbrand > Hi, > > in a test environment I try to monitor nearly 4.000 hosts. Nagios core > seems to run (checks and notifications are beeing executed) but the > webinterface always says: > > Whoops! > > Error: Could not read host and service status information! > .... > .... > > The webinterface seems to think Nagios is not running. > > After reducing the number of hosts to 3925 the webinterface works again. > So there seems to be a limitation somewhere in the cgi code. > > Any idea how to fix this? > > Thanks and Best Regards > Marcus Hildenbrand > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar From Matthias.Eble at kaufland.de Wed Jul 13 14:47:28 2005 From: Matthias.Eble at kaufland.de (Matthias.Eble at kaufland.de) Date: Wed, 13 Jul 2005 14:47:28 +0200 Subject: Antwort: RE: Nagios CGIs: Premature end of script headers [Virus checked] In-Reply-To: References: Message-ID: "Marc Powell" schrieb am 12.07.2005 18:06:42: > > > > > Can you figure out, what caused the problems? > > We use Nagios 2.0b3 on httpd 2.0.53 with mod_auth_digest and mod_ssl. > > Your apache error_log will detail the exact cause of the 500 error or at > the very least provide you with enough information to get you, and us if > you still need us, started. Why guess at causes when you probably have > it detailed? hi! here's some output of the error_log (looks all the same..) [Tue Jul 12 13:59:37 2005] [error] [client CLIENT_IP] Premature end of script headers: status.cgi, referer: https://FQDN/nagios/side.html [Tue Jul 12 14:01:09 2005] [error] [client CLIENT_IP] Premature end of script headers: tac.cgi, referer: https://FQDN/nagios/side.html [Tue Jul 12 14:01:11 2005] [error] [client CLIENT_IP] Premature end of script headers: status.cgi, referer: https://FQDN/nagios/side.html [Tue Jul 12 14:02:09 2005] [error] [client CLIENT_IP] Premature end of script headers: status.cgi, referer: https://FQDN/nagios/side.html is there a verbose output? ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthias.Eble at kaufland.de Wed Jul 13 15:57:48 2005 From: Matthias.Eble at kaufland.de (Matthias.Eble at kaufland.de) Date: Wed, 13 Jul 2005 15:57:48 +0200 Subject: Nagios CGIs: Premature end of script headers [Virus checked] In-Reply-To: References: Message-ID: Hi! > "Marc Powell" schrieb am 12.07.2005 18:06:42: > > > > > > > > Can you figure out, what caused the problems? > > > We use Nagios 2.0b3 on httpd 2.0.53 with mod_auth_digest and mod_ssl. > > > > Your apache error_log will detail the exact cause of the 500 error or at > > the very least provide you with enough information to get you, and us if > > you still need us, started. Why guess at causes when you probably have > > it detailed? > hi! here's some output of the error_log (looks all the same..) > > [Tue Jul 12 13:59:37 2005] [error] [client CLIENT_IP] Premature end > of script headers: status.cgi, referer: https://FQDN/nagios/side.html > [Tue Jul 12 14:01:09 2005] [error] [client CLIENT_IP] Premature end > of script headers: tac.cgi, referer: https://FQDN/nagios/side.html > [Tue Jul 12 14:01:11 2005] [error] [client CLIENT_IP] Premature end > of script headers: status.cgi, referer: https://FQDN/nagios/side.html > [Tue Jul 12 14:02:09 2005] [error] [client CLIENT_IP] Premature end > of script headers: status.cgi, referer: https://FQDN/nagios/side.html well... hit me, shoot me.. whatever you like.. my nagios volume got full, so that's why the deletion of var/ helped. The cgi's got segmentation faults and ended before they could send all headers. I'm monitoring dozens of filesystems and forgot the nagios host itsself. thanks for your help matthias ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coelhoapm at gmail.com Wed Jul 13 17:09:02 2005 From: coelhoapm at gmail.com (=?ISO-8859-1?Q?Ant=F3nio_Coelho?=) Date: Wed, 13 Jul 2005 16:09:02 +0100 Subject: check_remote_disk problem on AIX Message-ID: Hello all, My Nagios is monitoring several services and machines on the network. One of the services is check_remote_disk for a AIX machine, with the line check_remote_disk!10%!5%!"/ /var /home /oracle /oracle/backup" The problem is, if I run the plugin directly on the AIX-server (via command shell) it returns a valid output, but in nagios web interface it shows like NO OUTPUT! zugtwz2 Disk OK 07-13-2005 15:52:32 1d 23h 40m 15s 1/3 (No output!) Can anyone help me on this? Thanks, -- Ant?nio Coelho coelhoapm at gmail.com ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Wed Jul 13 20:24:44 2005 From: tdondich at gmail.com (Taylor Dondich) Date: Wed, 13 Jul 2005 11:24:44 -0700 Subject: Fruity 1.0 beta 1 patchlevel 2 released! Message-ID: <3d2eb72a0507131124409cf31@mail.gmail.com> Fruity, a web based nagios configuration tool for nagios v2.0 has been updated! Patchlevel 2 of Beta 1 has been released. This fixes a few issues that were leftover from Patchlevel 1. Below is the changelog for this release: CHANGELOG: - Corrected servicegroup,contactgroup import/export functionality for services and service templates - Corrected CGI config export. - Corrected Host Export issue where the tag name would be set as the host_name, making it a template. - Corrected command name export in main configuration. Find the patchlevel release in the Sourceforge project page. There are no database schema changes required for this fix (however, you should empty your nagios_hosts table). http://fruity.sf.net Taylor ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Laden at tudor.com Wed Jul 13 20:42:59 2005 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Wed, 13 Jul 2005 14:42:59 -0400 Subject: Are escalation contacts considered contacts in the gui Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA014EC142@tudor.com> If I have a service with a one group listed as contacts (ie, the help desk) and a different group in a service escalation definition (ie, the subject specialists), are both groups authorized to issue commands via the cgis? Or only the helpdesk group. I want notifications to go to the helpdesk first, and then escalate to the specalists. But I want both groups to be able to ack alarms via the gui. Thanks -Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: From fruiz at netsuite.com Wed Jul 13 21:26:39 2005 From: fruiz at netsuite.com (Ruiz, Francisco) Date: Wed, 13 Jul 2005 12:26:39 -0700 Subject: Nagios Blank Emails Message-ID: <2BF1D777D914174DB2F6874540E3B6C703590A@corpmail1.svale.netledger.com> Hi, Just curious if anyone has seen this problem. I am getting blank emails sent from nagios. I checked disk space levels, and all looks fine. The blank emails are sporadic. And occur only a few times a day. Any thoughts. Thanks in advance! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ajit.Mohan at dc.gov Wed Jul 13 21:28:14 2005 From: Ajit.Mohan at dc.gov (Mohan, Ajit (CFSA)) Date: Wed, 13 Jul 2005 15:28:14 -0400 Subject: Nagios home page issue Message-ID: <03BC54053BE9A843B1785F0185A1F7EA13577E@emo-exch2k3-210.dcgov.priv> Hi, When I try and access nagios home page (http://ipaddress/nagios/) I get "Access Forbidden" Page 403 message.You don't have permission to access the requested object. It is either read-protected or not readable by the server" I don't have any specific settings other than the one listed in the nagios document. As per the doc, I should be able to access the /nagios/ directory even before configuring any authorisation or starting the nagios service. I am using SUSE 9.0 with Apache2 Can someone please help. Here are my settings in default-server.conf scriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/share/nagios/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Error in apache logs [Wed Jul 13 04:24:22 2005] [error] [client 10.9.66.31] client denied by server configuration: /usr/share/nagios/ [Wed Jul 13 04:24:25 2005] [error] [client 10.9.66.31] client denied by server configuration: /usr/share/nagios/ Any help is greatly appreciated Thanks Ajit -------------- next part -------------- An HTML attachment was scrubbed... URL: From tinzauro at ha-solutions.net Wed Jul 13 21:38:44 2005 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Wed, 13 Jul 2005 14:38:44 -0500 Subject: Nagios home page issue In-Reply-To: <03BC54053BE9A843B1785F0185A1F7EA13577E@emo-exch2k3-210.dcgov.priv> References: <03BC54053BE9A843B1785F0185A1F7EA13577E@emo-exch2k3-210.dcgov.priv> Message-ID: <42D56DC4.6000108@ha-solutions.net> Mohan, Ajit (CFSA) wrote: > Hi, > > When I try and access nagios home page (http://ipaddress/nagios/) I > get "Access Forbidden" Page 403 message.You don't have permission to > access the requested object. It is either read-protected or not readable > by the server" > I don't have any specific settings other than the one listed in the > nagios document. As per the doc, I should be able to access the /nagios/ > directory even before configuring any authorisation or starting the > nagios service. > I am using SUSE 9.0 with Apache2 > > Can someone please help. Here are my settings in default-server.conf > > scriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /nagios/ /usr/share/nagios/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > Error in apache logs > > [Wed Jul 13 04:24:22 2005] [error] [client 10.9.66.31] client denied by > server configuration: /usr/share/nagios/ > [Wed Jul 13 04:24:25 2005] [error] [client 10.9.66.31] client denied by > server configuration: /usr/share/nagios/ > > > Any help is greatly appreciated > > > > Thanks > Ajit > > even though this is an apache question.... - make sure that there is an index.xxx file in there (/usr/share/nagios/) somewhere. - make sure that the perms are set ok on the file in there (/usr/share/nagios/) - perhaps start with less restrictive and then work tword more restrictive.... Options Indexes FollowSymLinks MultiViews AllowOverride AuthConfig Order allow,deny Allow from all _Terry - ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pgoslin at amtrex.com Wed Jul 13 23:13:42 2005 From: pgoslin at amtrex.com (Paul Goslin) Date: Wed, 13 Jul 2005 14:13:42 -0700 Subject: Looking for specific plugins, can't wget them Message-ID: Hello all, I have not been able to wget Rosenthals netsaint stuff rns_stuff.tar.gz from NagiosExchange which has all of these plugins I am looking for. Is there another mirror where rns_stuff.tar.gz can be found or where can I get them separately. I am using 1.2 with plugins 1.4 on RH 7.3. check_socket check_mem check_disk2, check_storage, nsreport nsconlog Thanks, Paul ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ed.bragg at gmail.com Wed Jul 13 23:08:22 2005 From: ed.bragg at gmail.com (Ed Bragg) Date: Wed, 13 Jul 2005 17:08:22 -0400 Subject: Nagios Blank Emails In-Reply-To: <2BF1D777D914174DB2F6874540E3B6C703590A@corpmail1.svale.netledger.com> References: <2BF1D777D914174DB2F6874540E3B6C703590A@corpmail1.svale.netledger.com> Message-ID: I was seeing something similar I guess. We have our own SMTP service running to receive the e-mails for further processing by other alert tools. Our setup is using the modified sample notify-by-email and host-notify-by-email commands defined in the sample configs using /usr/bin/mail to send the messages. Occasionaly our SMTP service would get a non-stop stream of null's. The way we found this out was our smtp service was starting a new thread for each smtp connection, eventually causing the server to run out of CPU cycles. Of course, since Nagios doesn't actually open port 25 to send the mail, my guess is we have a problem with the way our mail command is executing the notify-by-email and host-notify-by-email commands. 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$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } define command { command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } Is there some way to turn up the logging levels in Nagios that might include the exact arguments passed when sending the notification command? On 7/13/05, Ruiz, Francisco wrote: > > > > Hi, > > > > Just curious if anyone has seen this problem. I am getting blank emails sent > from nagios. I checked disk space levels, and all looks fine. The blank > emails are sporadic. And occur only a few times a day. > > > > Any thoughts. > > > > Thanks in advance! -- Ed Bragg ---------------------------------------------------------------- http://www.ebware.com X10 Wireless Security Equipment - Affordable Security! ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Wed Jul 13 23:42:17 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 13 Jul 2005 23:42:17 +0200 Subject: Looking for specific plugins, can't wget them In-Reply-To: References: Message-ID: <42D58AB9.4070207@its-lehmann.de> Hi, Paul Goslin wrote: > Hello all, > > I have not been able to wget Rosenthals netsaint stuff rns_stuff.tar.gz from NagiosExchange which has all of these plugins I am looking for. > Is there another mirror where rns_stuff.tar.gz can be found or where can I get them separately. I just tried and downloaded # ll -h /tmp/rns_stuff.tar.gz -rwxr--r-- 1 arno users 234K Jul 13 23:39 /tmp/rns_stuff.tar.gz if you still can't access it I can mail the archive, or put it on a website. Arno > I am using 1.2 with plugins 1.4 on RH 7.3. > > check_socket > check_mem > check_disk2, > check_storage, > nsreport > nsconlog > > > Thanks, > Paul > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil at roysys.com.au Wed Jul 13 23:47:24 2005 From: phil at roysys.com.au (phil) Date: Thu, 14 Jul 2005 07:47:24 +1000 Subject: outlook web access - OWA Message-ID: <003401c587f4$7848e3e0$0200000a@proylt> Is anyone monitoring the contents of an OWA account? Any help in trying to monitor OWA would be much appreciated. I can't get check_http past the authentication process. WebInject looks like it might be a solution but again I can't seem to get through the authentication. Thanks in advance. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Wed Jul 13 23:54:57 2005 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 13 Jul 2005 17:54:57 -0400 Subject: outlook web access - OWA In-Reply-To: <003401c587f4$7848e3e0$0200000a@proylt> References: <003401c587f4$7848e3e0$0200000a@proylt> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > Is anyone monitoring the contents of an OWA account? Any help > in trying to monitor OWA would be much appreciated. I can't > get check_http past the authentication process. WebInject > looks like it might be a solution but again I can't seem to > get through the authentication. This completely off-the-cuff so it may or may not work for you, but I would imagine an expect script that navigates into OWA using Lynx or something along those lines would probably get you where you need to go. Andrew ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Thu Jul 14 04:47:39 2005 From: james at lovedthanlost.net (James Turnbull) Date: Thu, 14 Jul 2005 12:47:39 +1000 Subject: Technical Reviewer required for Nagios book Message-ID: <20050714124739.xg2t3lgzk4owgg4c@webmail.lovedthanlost.net> All I am currently writing a book focusing on installing, administering and configuring Nagios 2.0. The book is being published by Apress (http://www.apress.com) and will probably be released in early 2006. I am seeking a technical reviewer for the book. The role of the technical reviewer is to ensure that the technical details in the book are accurate. The role requires a very good knowledge of Nagios and pays USD$3 per page reviewed. Please reply to my email - james at lovedthanlost.net - rather than the list if you are interested. Regards James Turnbull -- James Turnbull --- Author of Hardening Linux from Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar From ae at op5.se Thu Jul 14 00:38:02 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 14 Jul 2005 00:38:02 +0200 Subject: Nagios Blank Emails In-Reply-To: References: <2BF1D777D914174DB2F6874540E3B6C703590A@corpmail1.svale.netledger.com> Message-ID: <42D597CA.8050807@op5.se> Ed Bragg wrote: > > Is there some way to turn up the logging levels in Nagios that might > include the exact arguments passed when sending the notification > command? > ./configure --enable-DEBUG3 (or some such). If there is some config option it should be in the docs. > > > On 7/13/05, Ruiz, Francisco wrote: > >> >> >> >>Hi, >> >> >> >>Just curious if anyone has seen this problem. I am getting blank emails sent >>from nagios. I checked disk space levels, and all looks fine. The blank >>emails are sporadic. And occur only a few times a day. >> >> >> >>Any thoughts. >> >> >> >>Thanks in advance! > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Thu Jul 14 06:00:14 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 14 Jul 2005 16:00:14 +1200 Subject: Nagios - High Availability Message-ID: <003501c58828$8a124650$01fea8c0@itss.auckland.ac.nz> I'm just at the final stages of implementing out High Availability Nagios/MRTG setup. If you are interested in how it was achieved, then read on. We have two identical servers with ServeRAID-6M SCSI cards (important to use this type of SCSI card) connected to the same bus of an external SCSI disk unit. They each have two network interfaces, one on the LAN and one joined by a crossover cable. The two servers have Linux RedHat AS4 with Linux-HA installed. The crossover ethernet and LAN are used for heartbeat. I have defined a resource group for Nagios, consisting of a virtual IP, the SCSI RAID logical volume, the filesystem, an instance of Apache, and Nagios. For Nagios, I defined a special resource.d file which changes settings in the xined.d/nsca file and starts/stops Nagios. All Nagios files are installed on the /u02 filesystem, which resides on the external disk unit. This is identified by a disk label and NOT defined in fstab. For MRTG, a similar setup is used on a separate RAID LV, ip address, and filesystem /u01. It adds and removes crontab entries to enable and disable the MRTG data collection. One server is the primary for MRTG, and the other for Nagios. If one goes down, then the other can take over within 2 minutes, enough to have constant monitoring coverage although the web interface experiences a slight outage during the changeover. At the moment, this is working very well. There were a couple of places where error messages needed to be binned if a machine was running cron or xinetd entries for a system not currently mounted, but it was minor. The web servers httpd.cfg files had to be sure to keep all data on the HA filesystems, and to use different filenames in /var, particularly for the /var/run/http.pid The ServeRAID card helpfully locks the other card out of accessing the disks, so we cannot get both machines mounting the filesystem at once. This obviously protects data integrity. All SNMP and firewall rulesets are set to allow access from both machine's static IP addresses. Any nsca processes send to the Nagios virtual IP, and web access is to the virtual Ips (the web servers bind to just the virtual IP address, so we can have two separate instances) If anyone would like more details on how to set up a similar system, and a copy of the haresources.d/nagios script, then please contact me. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From jzygmont at solarflow.net Thu Jul 14 10:30:00 2005 From: jzygmont at solarflow.net (Justin Zygmont) Date: Thu, 14 Jul 2005 01:30:00 -0700 (PDT) Subject: setting up nagios In-Reply-To: <42D4D37C.3060006@lovedthanlost.net> References: <42D4D37C.3060006@lovedthanlost.net> Message-ID: thanks for the tip, i'm suprised that all it was, was the process kept dying silently. At least it's working now.. thanks for the help. On Wed, 13 Jul 2005, James Turnbull wrote: > Justin Zygmont wrote: > >> I am trying to setup nagios for the first time, and whenever I click on a >> link, I keep getting the error message that says it's unable to read the > > Is the Nagios process running? > > Regards > > James Turnbull > > ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johan at knudde.be Thu Jul 14 11:12:47 2005 From: johan at knudde.be (Johan Braeken) Date: Thu, 14 Jul 2005 11:12:47 +0200 Subject: Hard en soft states: problem, maybe bug. Message-ID: <200507141112.48432.johan@knudde.be> Hello all, I have the following problem, which might be a bug in the handling of states. I don't know if this is already known as I'm quite new to Nagios... I had a service (ping) which went through the following states: Warning: Hard state Critical: Soft state OK: Soft state Although this service displays as OK in de service detail, all my availability reports keep saying it is still in "warning" state. So, it looks like the hard warning state wasn't "undone". How can I solve this? Cheers, -- Johan Braeken http://www.knudde.be ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ivdneut at gmail.com Thu Jul 14 11:39:42 2005 From: ivdneut at gmail.com (Ian van der Neut) Date: Thu, 14 Jul 2005 11:39:42 +0200 Subject: nagios.cmd file disappears on solaris9 Message-ID: <4a4499e050714023982d9b31@mail.gmail.com> Hello all, I am running nagios 1.2 on a Solaris 9 (sparc) machine. However, after a while, the /usr/local/nagios/var/rw/nagios.cmd file disappears for no apparent reason. I have only one nagios daemon running, and the permissions on the directory are: After I restart nagios, the file reappears and has the following permissions. 504 [root at zodiac:/usr/local/nagios/var/rw] # ls -la total 2 drwxrws--- 2 nagios nagiocmd 512 Jul 14 11:37 ./ drwxrwxr-x 4 nagios nagios 512 Jul 14 11:37 ../ prw-rw---- 1 nagios nagiocmd 0 Jul 14 11:37 nagios.cmd| Anybody ever seen this before and have any idea as to the cause of this. Found one similar post to this mailing list, but it was apparently because multiple instances of the nagios daemon were running, which is not the case here: 505 [root at zodiac:/usr/local/nagios/var/rw] # ps -ef | grep nagios nagios 5645 1 0 11:37:28 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 5671 5625 0 11:39:08 pts/1 0:00 grep nagios thank you for any help, Ian. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjesse at iserv.net Thu Jul 14 14:15:07 2005 From: jjesse at iserv.net (Jonathan Jesse) Date: Thu, 14 Jul 2005 08:15:07 -0400 Subject: Frustrations w/ Nagios -- newbie Message-ID: <200507140815.07291.jjesse@iserv.net> Currently runing Debian (sarge) and have installed nagios via apt-get install nagios-text and am getting frustrated. After Nagios is installed I can access all of the pages correctly, Nagios runs because my default gateway is 192.168.1.1. I have setup a test box to configure and test things and everything works correctly. I can change the .cfg files to set things up correctly, but on the box I want to use for production as soon as I edit a file I get the error "It appears as though you do not have permission to view information for any of the servers you requested. On my test box the .cfg is owned by nagios.nagios and on the production box it is owned by nagios.www-data. I changed the directory to nagios.nagios and am still getting the error. The two boxes are setup as identically as I can get them, same CD to install Debian, same install apt-get install nagios-text, same version of apache. Any help would be appreciated. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidworld.org Thu Jul 14 12:28:40 2005 From: chris at aidworld.org (Chris Wilson) Date: Thu, 14 Jul 2005 11:28:40 +0100 Subject: Hard en soft states: problem, maybe bug. In-Reply-To: <200507141112.48432.johan@knudde.be> References: <200507141112.48432.johan@knudde.be> Message-ID: <1121336919.27626.29.camel@localhost> Hi Johan, I have seen the same thing happen sometimes. Do you use passive service checks by any chance? I reported it as a problem with avail.cgi a few weeks ago, but I guess it's really an internal Nagios state change bug, not avail.cgi. Restarting Nagios should return the service to a hard state, not a good workaround, but better than nothing :-) Cheers, Chris. On Thu, 2005-07-14 at 10:12, Johan Braeken wrote: > Hello all, > > I have the following problem, which might be a bug in the handling of states. > I don't know if this is already known as I'm quite new to Nagios... > > > I had a service (ping) which went through the following states: > > Warning: Hard state > Critical: Soft state > OK: Soft state > > Although this service displays as OK in de service detail, all my availability > reports keep saying it is still in "warning" state. > So, it looks like the hard warning state wasn't "undone". > > How can I solve this? > > > Cheers, -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From don.alfredo at pandora.be Thu Jul 14 02:38:35 2005 From: don.alfredo at pandora.be (Don Alfredo) Date: Thu, 14 Jul 2005 02:38:35 +0200 Subject: check_radius works from command line but lists Auth Error via interface In-Reply-To: <42D298C6.9090603@netnitco.net> References: <42D298C6.9090603@netnitco.net> Message-ID: <200507140238.35881.don.alfredo@pandora.be> checkcommands expect arguments to be separated by ! (exclamation mark) e.g. check_command check_radius!Username!Password grtz, Fred On Monday 11 July 2005 18:05, NetNITCO Systems Administration wrote: > My configuration for this service and command is as follows: > > services.cfg: > --------------- > define service{ > use generic-service > host_name radiushost.domain.net > service_description RADIUS > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups sysadmin > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_radius > } > > checkcommands.cfg: > ------------------ > define command{ > command_name check_radius > command_line $USER1$/check_radius -H $HOSTADDRESS$ -F > /etc/nagios/radiusclient.conf -u Username -p Password -t 10 > > ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Thu Jul 14 15:15:14 2005 From: robmossrm at aol.com (Rob Moss) Date: Thu, 14 Jul 2005 14:15:14 +0100 Subject: Frustrations w/ Nagios -- newbie In-Reply-To: <200507140815.07291.jjesse@iserv.net> References: <200507140815.07291.jjesse@iserv.net> Message-ID: <42D66562.4050107@aol.com> You need to set up Apache .htaccess and passwords for the directories nagios is installed to. There are docs on the Apache website. http://httpd.apache.org/docs/howto/htaccess.html http://httpd.apache.org/docs/mod/core.html#allowoverride Also update your nagios cgi.cfg to say which users can perform which actions. Cheers Jonathan Jesse wrote: > Currently runing Debian (sarge) and have installed nagios via apt-get install > nagios-text and am getting frustrated. > > After Nagios is installed I can access all of the pages correctly, Nagios runs > because my default gateway is 192.168.1.1. I have setup a test box to > configure and test things and everything works correctly. I can change > the .cfg files to set things up correctly, but on the box I want to use for > production as soon as I edit a file I get the error "It appears as though you > do not have permission to view information for any of the servers you > requested. > > On my test box the .cfg is owned by nagios.nagios and on the production box it > is owned by nagios.www-data. I changed the directory to nagios.nagios and am > still getting the error. > > The two boxes are setup as identically as I can get them, same CD to install > Debian, same install apt-get install nagios-text, same version of apache. > Any help would be appreciated. > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joshadmin at netnitco.net Thu Jul 14 15:50:29 2005 From: joshadmin at netnitco.net (NetNITCO Systems Administration) Date: Thu, 14 Jul 2005 08:50:29 -0500 Subject: check_radius works from command line but lists Auth Error via interface In-Reply-To: <200507140238.35881.don.alfredo@pandora.be> References: <42D298C6.9090603@netnitco.net> <200507140238.35881.don.alfredo@pandora.be> Message-ID: <42D66DA5.4000101@netnitco.net> Don Alfredo wrote: > checkcommands expect arguments to be separated by ! (exclamation mark) > e.g. > check_command check_radius!Username!Password > I do not need to pass arguments in the check_command from the services.cfg file as the checkcommand.cfg file already has everything hard-coded. The only dynamic variable to the command is $HOSTADDRESS$ which isn't passed from the services.cfg file. As you can see in my checkcommands.cfg file, the command_line does not have any $ARGn$ variables. > > grtz, > Fred > > > On Monday 11 July 2005 18:05, NetNITCO Systems Administration wrote: > >>My configuration for this service and command is as follows: >> >>services.cfg: >>--------------- >>define service{ >> use generic-service >> host_name radiushost.domain.net >> service_description RADIUS >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 3 >> normal_check_interval 5 >> retry_check_interval 1 >> contact_groups sysadmin >> notification_interval 120 >> notification_period 24x7 >> notification_options w,u,c,r >> check_command check_radius >> } >> >>checkcommands.cfg: >>------------------ >>define command{ >> command_name check_radius >> command_line $USER1$/check_radius -H $HOSTADDRESS$ -F >>/etc/nagios/radiusclient.conf -u Username -p Password -t 10 >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coelhoapm at gmail.com Thu Jul 14 16:24:15 2005 From: coelhoapm at gmail.com (=?ISO-8859-1?Q?Ant=F3nio_Coelho?=) Date: Thu, 14 Jul 2005 15:24:15 +0100 Subject: check_disk no output Message-ID: Hello all, My Nagios is monitoring several services and machines on the network. One of the services is check_remote_disk for a AIX machine, with the line check_remote_disk!10%!5%!"/ /var /home /oracle /oracle/backup" The problem is, if I run the plugin directly on the AIX-server (via command shell) it returns a valid output, but in nagios web interface it shows like NO OUTPUT! zugtwz2 Disk OK 07-13-2005 15:52:32 1d 23h 40m 15s 1/3 (No output!) Can anyone help me on this? Thanks, -- Ant?nio Coelho http://www.antoniocoelho.com.pt coelhoapm at gmail.com ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkamper at mxlogic.com Thu Jul 14 18:23:10 2005 From: dkamper at mxlogic.com (Dustin Kamper) Date: Thu, 14 Jul 2005 10:23:10 -0600 Subject: Distributed Nagios and scheduling service check from the central server Message-ID: <0B34A6972BF39E4CB465A64DBBAD2BB9437AF3@mxlhq-exch01.corp.mxlogic.com> I have a distributed Nagios setup I'm testing with 2 distributed servers and 1 central server. The distributed servers run all checks and send the results to the central server. The central server is configured to accept passive service checks and check for freshness. Active checks are turned off on the central server. With active checks turned off, it seems that I cannot schedule a check of services from the central server web page. If I turn on active checks (to allow a forced scheduled check) then the checks are run per normal_check_interval, which I don't want. So, I have increased the normal_check_interval to a very high number to make active check only run occasionally, but this will effect the freshness checking. Nothing seems to be working the way I need it to. Is there a way to be able to manually schedule a check of services from the central server in a distributed setup? I don't want active checks performed from the central server but I would like freshness checking to be performed. Dustin Kamper Systems Engineer MX Logic, Inc. Direct: +1.720.895.4427 Fax: +1.303.221.4930 Email: dkamper at mxlogic.com Your first line of email defense. http://www.mxlogic.com/ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjesse at iserv.net Thu Jul 14 18:48:41 2005 From: jjesse at iserv.net (Jonathan Jesse) Date: Thu, 14 Jul 2005 12:48:41 -0400 Subject: Frustrations w/ Nagios -- newbie In-Reply-To: <42D66562.4050107@aol.com> References: <200507140815.07291.jjesse@iserv.net> <42D66562.4050107@aol.com> Message-ID: <200507141248.42188.jjesse@iserv.net> Thanks for the links. Here is where my confusion and my frustration lies. Before editing any files I can view all of the pages through Nagios. As soon as I make one change, I get the error about me not having permissions. Nothing has changed in the apache config, it is in the nagios setup On Thursday 14 July 2005 09:15 am, Rob Moss wrote: > You need to set up Apache .htaccess and passwords for the directories > nagios is installed to. There are docs on the Apache website. > > http://httpd.apache.org/docs/howto/htaccess.html > http://httpd.apache.org/docs/mod/core.html#allowoverride > > Also update your nagios cgi.cfg to say which users can perform which > actions. > > Cheers > > Jonathan Jesse wrote: > > Currently runing Debian (sarge) and have installed nagios via apt-get > > install nagios-text and am getting frustrated. > > > > After Nagios is installed I can access all of the pages correctly, Nagios > > runs because my default gateway is 192.168.1.1. I have setup a test box > > to configure and test things and everything works correctly. I can > > change the .cfg files to set things up correctly, but on the box I want > > to use for production as soon as I edit a file I get the error "It > > appears as though you do not have permission to view information for any > > of the servers you requested. > > > > On my test box the .cfg is owned by nagios.nagios and on the production > > box it is owned by nagios.www-data. I changed the directory to > > nagios.nagios and am still getting the error. > > > > The two boxes are setup as identically as I can get them, same CD to > > install Debian, same install apt-get install nagios-text, same version of > > apache. Any help would be appreciated. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the 'Do More With Dual!' webinar > > happening July 14 at 8am PDT/11am EDT. We invite you to explore the > > latest in dual core and dual graphics technology at this free one hour > > event hosted by HP, AMD, and NVIDIA. To register visit > > http://www.hp.com/go/dualwebinar > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please 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 the 'Do More With Dual!' webinar > happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest > in dual core and dual graphics technology at this free one hour event > hosted by HP, AMD, and NVIDIA. To register visit > http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ladams at cloudmark.com Thu Jul 14 19:32:35 2005 From: ladams at cloudmark.com (Lori Adams) Date: Thu, 14 Jul 2005 10:32:35 -0700 Subject: Frustrations w/ Nagios -- newbie Message-ID: Have you restarted nagios after updating the configs? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jonathan Jesse Sent: Thursday, July 14, 2005 9:49 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Frustrations w/ Nagios -- newbie Thanks for the links. Here is where my confusion and my frustration lies. Before editing any files I can view all of the pages through Nagios. As soon as I make one change, I get the error about me not having permissions. Nothing has changed in the apache config, it is in the nagios setup On Thursday 14 July 2005 09:15 am, Rob Moss wrote: > You need to set up Apache .htaccess and passwords for the directories > nagios is installed to. There are docs on the Apache website. > > http://httpd.apache.org/docs/howto/htaccess.html > http://httpd.apache.org/docs/mod/core.html#allowoverride > > Also update your nagios cgi.cfg to say which users can perform which > actions. > > Cheers > > Jonathan Jesse wrote: > > Currently runing Debian (sarge) and have installed nagios via apt-get > > install nagios-text and am getting frustrated. > > > > After Nagios is installed I can access all of the pages correctly, Nagios > > runs because my default gateway is 192.168.1.1. I have setup a test box > > to configure and test things and everything works correctly. I can > > change the .cfg files to set things up correctly, but on the box I want > > to use for production as soon as I edit a file I get the error "It > > appears as though you do not have permission to view information for any > > of the servers you requested. > > > > On my test box the .cfg is owned by nagios.nagios and on the production > > box it is owned by nagios.www-data. I changed the directory to > > nagios.nagios and am still getting the error. > > > > The two boxes are setup as identically as I can get them, same CD to > > install Debian, same install apt-get install nagios-text, same version of > > apache. Any help would be appreciated. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the 'Do More With Dual!' webinar > > happening July 14 at 8am PDT/11am EDT. We invite you to explore the > > latest in dual core and dual graphics technology at this free one hour > > event hosted by HP, AMD, and NVIDIA. To register visit > > http://www.hp.com/go/dualwebinar > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please 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 the 'Do More With Dual!' webinar > happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest > in dual core and dual graphics technology at this free one hour event > hosted by HP, AMD, and NVIDIA. To register visit > http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjesse at iserv.net Thu Jul 14 19:50:26 2005 From: jjesse at iserv.net (Jonathan Jesse) Date: Thu, 14 Jul 2005 13:50:26 -0400 Subject: Frustrations w/ Nagios -- newbie In-Reply-To: References: Message-ID: <200507141350.27374.jjesse@iserv.net> Yes I have, I restarted both and also restarted apache. just on a whim I restarted the whole server and it cleared up. Probablly something stupid on my end? Thanks for all the assistance w/ my questionsl On Thursday 14 July 2005 01:32 pm, Lori Adams wrote: > Have you restarted nagios after updating the configs? > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jonathan > Jesse > Sent: Thursday, July 14, 2005 9:49 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Frustrations w/ Nagios -- newbie > > Thanks for the links. Here is where my confusion and my frustration > lies. > Before editing any files I can view all of the pages through Nagios. As > soon > as I make one change, I get the error about me not having permissions. > Nothing has changed in the apache config, it is in the nagios setup > > On Thursday 14 July 2005 09:15 am, Rob Moss wrote: > > You need to set up Apache .htaccess and passwords for the directories > > nagios is installed to. There are docs on the Apache website. > > > > http://httpd.apache.org/docs/howto/htaccess.html > > http://httpd.apache.org/docs/mod/core.html#allowoverride > > > > Also update your nagios cgi.cfg to say which users can perform which > > actions. > > > > Cheers > > > > Jonathan Jesse wrote: > > > Currently runing Debian (sarge) and have installed nagios via > > apt-get > > > > install nagios-text and am getting frustrated. > > > > > > After Nagios is installed I can access all of the pages correctly, > > Nagios > > > > runs because my default gateway is 192.168.1.1. I have setup a > > test box > > > > to configure and test things and everything works correctly. I can > > > change the .cfg files to set things up correctly, but on the box I > > want > > > > to use for production as soon as I edit a file I get the error "It > > > appears as though you do not have permission to view information for > > any > > > > of the servers you requested. > > > > > > On my test box the .cfg is owned by nagios.nagios and on the > > production > > > > box it is owned by nagios.www-data. I changed the directory to > > > nagios.nagios and am still getting the error. > > > > > > The two boxes are setup as identically as I can get them, same CD to > > > install Debian, same install apt-get install nagios-text, same > > version of > > > > apache. Any help would be appreciated. > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by the 'Do More With Dual!' webinar > > > happening July 14 at 8am PDT/11am EDT. We invite you to explore the > > > latest in dual core and dual graphics technology at this free one > > hour > > > > event hosted by HP, AMD, and NVIDIA. To register visit > > > http://www.hp.com/go/dualwebinar > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please 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 the 'Do More With Dual!' webinar > > happening July 14 at 8am PDT/11am EDT. We invite you to explore the > > latest > > > in dual core and dual graphics technology at this free one hour event > > hosted by HP, AMD, and NVIDIA. To register visit > > http://www.hp.com/go/dualwebinar > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk > > being > > > ::: sent to /dev/null > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 14 21:20:43 2005 From: marc at ena.com (Marc Powell) Date: Thu, 14 Jul 2005 14:20:43 -0500 Subject: Frustrations w/ Nagios -- newbie Message-ID: This is most often caused by a typo or misconfiguration in one of your cfg files. Run bin/nagios -v etc/nagios.cfg to have nagios test your config files. Another possibility is that the file you are editing is locked and unreadable by apache. Since the CGI's read those for every request, they'll bomb out with that error if they can't read one of the files. I suspect that the former is more likely however. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jonathan Jesse > Sent: Thursday, July 14, 2005 11:49 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Frustrations w/ Nagios -- newbie > > Thanks for the links. Here is where my confusion and my frustration lies. > Before editing any files I can view all of the pages through Nagios. As > soon > as I make one change, I get the error about me not having permissions. > Nothing has changed in the apache config, it is in the nagios setup > > On Thursday 14 July 2005 09:15 am, Rob Moss wrote: > > You need to set up Apache .htaccess and passwords for the directories > > nagios is installed to. There are docs on the Apache website. > > > > http://httpd.apache.org/docs/howto/htaccess.html > > http://httpd.apache.org/docs/mod/core.html#allowoverride > > > > Also update your nagios cgi.cfg to say which users can perform which > > actions. > > > > Cheers > > > > Jonathan Jesse wrote: > > > Currently runing Debian (sarge) and have installed nagios via apt-get > > > install nagios-text and am getting frustrated. > > > > > > After Nagios is installed I can access all of the pages correctly, > Nagios > > > runs because my default gateway is 192.168.1.1. I have setup a test > box > > > to configure and test things and everything works correctly. I can > > > change the .cfg files to set things up correctly, but on the box I > want > > > to use for production as soon as I edit a file I get the error "It > > > appears as though you do not have permission to view information for > any > > > of the servers you requested. > > > > > > On my test box the .cfg is owned by nagios.nagios and on the > production > > > box it is owned by nagios.www-data. I changed the directory to > > > nagios.nagios and am still getting the error. > > > > > > The two boxes are setup as identically as I can get them, same CD to > > > install Debian, same install apt-get install nagios-text, same version > of > > > apache. Any help would be appreciated. > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by the 'Do More With Dual!' webinar > > > happening July 14 at 8am PDT/11am EDT. We invite you to explore the > > > latest in dual core and dual graphics technology at this free one hour > > > event hosted by HP, AMD, and NVIDIA. To register visit > > > http://www.hp.com/go/dualwebinar > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please 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 the 'Do More With Dual!' webinar > > happening July 14 at 8am PDT/11am EDT. We invite you to explore the > latest > > in dual core and dual graphics technology at this free one hour event > > hosted by HP, AMD, and NVIDIA. To register visit > > http://www.hp.com/go/dualwebinar > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk > being > > ::: sent to /dev/null > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 14 21:28:36 2005 From: marc at ena.com (Marc Powell) Date: Thu, 14 Jul 2005 14:28:36 -0500 Subject: Distributed Nagios and scheduling service check from the central server Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Dustin Kamper > Sent: Thursday, July 14, 2005 11:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Distributed Nagios and scheduling service check > from the central server > > I have a distributed Nagios setup I'm testing with 2 distributed servers > and 1 central server. The distributed servers run all checks and send > the results to the central server. The central server is configured to > accept passive service checks and check for freshness. Active checks > are turned off on the central server. > > With active checks turned off, it seems that I cannot schedule a check > of services from the central server web page. If I turn on active > checks (to allow a forced scheduled check) then the checks are run per > normal_check_interval, which I don't want. So, I have increased the > normal_check_interval to a very high number to make active check only > run occasionally, but this will effect the freshness checking. Nothing > seems to be working the way I need it to. Set your check_period to none. Active checks will never happen except for the forced freshness check. You can then force an active check from the GUI for any host or service that you want and it will be executed. Scheduled checks will not happen. See below. > > Is there a way to be able to manually schedule a check of services from > the central server in a distributed setup? I don't want active checks > performed from the central server but I would like freshness checking to > be performed. There is no mechanism to send an 'active check request' from a central server to the distributed servers. Nagios itself isn't even aware that they exist let alone how to communicate with them. It just knows that it got a passive check, not where it came from. You either need to use the GUI on the distributed servers to force the check, use the GUI on the central server and have the check execute from there or create your own mechanism to send/execute the request on your distributed machines. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 14 21:30:49 2005 From: marc at ena.com (Marc Powell) Date: Thu, 14 Jul 2005 14:30:49 -0500 Subject: check_disk no output Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ant?nio Coelho > Sent: Thursday, July 14, 2005 9:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_disk no output > > Hello all, > > My Nagios is monitoring several services and machines on the network. > One of the services is check_remote_disk for a AIX machine, with the > line > > check_remote_disk!10%!5%!"/ /var /home /oracle /oracle/backup" > > The problem is, if I run the plugin directly on the AIX-server (via > command shell) it returns a valid output, but in nagios web interface > it shows like NO OUTPUT! > > zugtwz2 Disk OK 07-13-2005 15:52:32 1d 23h 40m 15s 1/3 (No > output!) > > Can anyone help me on this? Run the command as the nagios user exactly as it's defined in your commands.cfg file from your nagios machine. Chances are high that it's spitting out something that you're not seeing. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 14 21:36:30 2005 From: marc at ena.com (Marc Powell) Date: Thu, 14 Jul 2005 14:36:30 -0500 Subject: check_radius works from command line but lists Auth Error via interface Message-ID: This would only be relevant if he was specifying $ARGn$ macros in his command definition. He's not. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Don Alfredo > Sent: Wednesday, July 13, 2005 7:39 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_radius works from command line but lists > Auth Error via interface > > checkcommands expect arguments to be separated by ! (exclamation mark) > e.g. > check_command check_radius!Username!Password > > > grtz, > Fred > > > On Monday 11 July 2005 18:05, NetNITCO Systems Administration wrote: > > My configuration for this service and command is as follows: > > > > services.cfg: > > --------------- > > define service{ > > use generic-service > > host_name radiushost.domain.net > > service_description RADIUS > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups sysadmin > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_radius > > } > > > > checkcommands.cfg: > > ------------------ > > define command{ > > command_name check_radius > > command_line $USER1$/check_radius -H $HOSTADDRESS$ -F > > /etc/nagios/radiusclient.conf -u Username -p Password -t 10 > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 14 21:42:33 2005 From: marc at ena.com (Marc Powell) Date: Thu, 14 Jul 2005 14:42:33 -0500 Subject: multiple instances of nagios Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Lori Adams > Sent: Tuesday, July 12, 2005 6:40 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] multiple instances of nagios > > Is it possible to run multiple instances of nagios and have them show up > together in a nice hierarchical manner in the cgis. It'd be nice to be > able to roll them up together and also be able to view the instances > separately. Obviously having separate instances, I can view them apart > in n web sites. We'd like to be able to roll them up into one. No, it's not. Why do you need to? One the face of it, using Authentication/Authorization within Nagios likely fits the bill; it does for us at least. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cameron.matheson at gmail.com Thu Jul 14 22:09:31 2005 From: cameron.matheson at gmail.com (Cam) Date: Thu, 14 Jul 2005 14:09:31 -0600 Subject: check_oracle plugin and $ORACLE_HOME Message-ID: <7e2f9af905071413091ff21cc4@mail.gmail.com> Hi, I'm using nagios to monitor some of my systems. It seems like a pretty slick system. Anyway, i'm trying to check if the oracle database is up on one of my boxes, but i really know nothing about oracle at all (i'm just monitoring the box, i have nothing to do w/ anything other than that). Anyway, i was happy to see the check_oracle plugin, but i'm having a little bit of difficulty. The error i get when i try './check_oracle --tns aspdb' i get the error: Cannot determine ORACLE_HOME for sid aspapp2 i did a search on the mailing list archives, but the only thing i could come up w/ some problems that people had w/ the plugin and nrpe (i don't want to use nrpe). I tried setting ORACLE_HOME here on my nagios server, but that didn't do me any good. Am i doing something wrong? Is this not the right plugin for me? I was thinking about how i could check it other than through the plugin... maybe check if the process is running through SNMP? Any hints would be greatly appreciated. Thanks, Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Thu Jul 14 22:31:12 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 14 Jul 2005 15:31:12 -0500 (CDT) Subject: check_oracle plugin and $ORACLE_HOME In-Reply-To: <7e2f9af905071413091ff21cc4@mail.gmail.com> References: <7e2f9af905071413091ff21cc4@mail.gmail.com> Message-ID: On Thu, 14 Jul 2005, Cam wrote: > Hi, > > I'm using nagios to monitor some of my systems. It seems like a > pretty slick system. Anyway, i'm trying to check if the oracle > database is up on one of my boxes, but i really know nothing about > oracle at all (i'm just monitoring the box, i have nothing to do w/ > anything other than that). Anyway, i was happy to see the > check_oracle plugin, but i'm having a little bit of difficulty. The > error i get when i try './check_oracle --tns aspdb' i get the error: > > Cannot determine ORACLE_HOME for sid aspapp2 > > i did a search on the mailing list archives, but the only thing i > could come up w/ some problems that people had w/ the plugin and nrpe > (i don't want to use nrpe). I tried setting ORACLE_HOME here on my > nagios server, but that didn't do me any good. Am i doing something > wrong? Is this not the right plugin for me? I was thinking about how > i could check it other than through the plugin... maybe check if the > process is running through SNMP? Any hints would be greatly > appreciated. > > Thanks, > Cameron Matheson Take a look at the file called /etc/oratab or alternatively /var/opt/oracle/oratab. That file defines the home environment based on the sid. You can optionally add a "*" entry in the oratab for a default ORACLE_HOME for undefined sids. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkamper at mxlogic.com Thu Jul 14 22:40:24 2005 From: dkamper at mxlogic.com (Dustin Kamper) Date: Thu, 14 Jul 2005 14:40:24 -0600 Subject: Distributed Nagios and scheduling service check from the central server Message-ID: <0B34A6972BF39E4CB465A64DBBAD2BB9437B71@mxlhq-exch01.corp.mxlogic.com> OK, All of the checks on the distributed servers can be executed by the central server with no issues. So I just used a 'concatonated' version of the services.cfg from all the distributed servers on the central server. So, basically, the central server can step in and check services when/if the distributed server(s) stop responding. That is what I am using the freshness checking for. The freshness checking will automatically start checking services on a distributed server failure. But I also want to be able to check services on demand via 'Re-schedule the next check of this service' link on the web page from the central server. >From what I can figure out, freshness checks base the 'freshness' of the the results on the normal_check_interval setting. Since normal_check_interval controls the timming of the active checks, you must turn active checks off so you don't have the central server checking what the distributed servers are already checking. When active service checks are turned off, the 'Re-schedule the next check of this service' link is not available from the web page. I would like 1 source of Nagios for monitoring all of my servers but would like to spread the load of all the service checks to many distributed servers. It would be a pain to have to go to one of the distributed servers just to run one re-scheduled service check on demand. Now I'm not sure that a distributed solution is going to work for my monitoring needs. Any pointers would be appreciated. -Dustin -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, July 14, 2005 1:29 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Distributed Nagios and scheduling service check from the central server > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Dustin Kamper > Sent: Thursday, July 14, 2005 11:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Distributed Nagios and scheduling service check > from the central server > > I have a distributed Nagios setup I'm testing with 2 distributed servers > and 1 central server. The distributed servers run all checks and send > the results to the central server. The central server is configured to > accept passive service checks and check for freshness. Active checks > are turned off on the central server. > > With active checks turned off, it seems that I cannot schedule a check > of services from the central server web page. If I turn on active > checks (to allow a forced scheduled check) then the checks are run per > normal_check_interval, which I don't want. So, I have increased the > normal_check_interval to a very high number to make active check only > run occasionally, but this will effect the freshness checking. Nothing > seems to be working the way I need it to. Set your check_period to none. Active checks will never happen except for the forced freshness check. You can then force an active check from the GUI for any host or service that you want and it will be executed. Scheduled checks will not happen. See below. > > Is there a way to be able to manually schedule a check of services from > the central server in a distributed setup? I don't want active checks > performed from the central server but I would like freshness checking to > be performed. There is no mechanism to send an 'active check request' from a central server to the distributed servers. Nagios itself isn't even aware that they exist let alone how to communicate with them. It just knows that it got a passive check, not where it came from. You either need to use the GUI on the distributed servers to force the check, use the GUI on the central server and have the check execute from there or create your own mechanism to send/execute the request on your distributed machines. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 15 00:13:48 2005 From: marc at ena.com (Marc Powell) Date: Thu, 14 Jul 2005 17:13:48 -0500 Subject: Distributed Nagios and scheduling service check from the central server Message-ID: Please try to avoid top-posting. sucks. posting top why is This > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Dustin Kamper > Sent: Thursday, July 14, 2005 3:40 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Distributed Nagios and scheduling service > check from the central server > > All of the checks on the distributed servers can be executed by the > central server with no issues. So I just used a 'concatonated' version > From what I can figure out, freshness checks base the 'freshness' of the > the results on the normal_check_interval setting. Since > normal_check_interval controls the timming of the active checks, you > must turn active checks off so you don't have the central server > checking what the distributed servers are already checking. When active > service checks are turned off, the 'Re-schedule the next check of this > service' link is not available from the web page. The documentation is unambiguous, no need to figure anything out -- http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service freshness_threshold: This directive is used to specify the freshness threshold (in seconds) for this service. If you set this directive to a value of 0, Nagios will determine a freshness threshold to use automatically. And http://nagios.sourceforge.net/docs/1_0/freshness.html "Assuming you're using the template-based object configuration file(s), you need to configure service definitions as follows. * The check_freshness option in the service definition should be set to 1. This enables "freshness" checking for the service. * The freshness_threshold option in the service definition should be set to a value (in seconds) which reflects how "fresh" the results for the service should be. * The check_command option in the service definition should reflect valid command that should be used to actively check the service when it is detected as being "stale". How The Freshness Threshold Works Nagios periodically checks the "freshness" of the results for all services that have freshness checking enabled. The freshness_threshold option in each service definition is used to determine how "fresh" the results for each service should be. For example, if you set the freshness_threshold option to 60 for one of your services, Nagios will consider that service to be "stale" if its results are older than 60 seconds (1 minute). If you do not specify a value for the freshness_threshold option (or you set it to zero), Nagios will automatically calculate a "freshness" threshold to use by looking at either the normal_check_interval or retry_check_interval options (depending on what type of state the service is currently in)." > > I would like 1 source of Nagios for monitoring all of my servers but > would like to spread the load of all the service checks to many > distributed servers. It would be a pain to have to go to one of the > distributed servers just to run one re-scheduled service check on > demand. > > Now I'm not sure that a distributed solution is going to work for my > monitoring needs. Any pointers would be appreciated. Active_checks_enabled 1 Passive_checks_enabled 1 check_period none check_freshness 1 freshness_threshold 300 ; bad if 5 minutes old check_command some_valid_check_command Since you can execute all of your checks from the central server with no problems, this should be a workable solution for you (it's been for us for 4 years with 4 collectors and 2900+ passive service checks but to each his own). If you _really, really_ wanted to execute the checks from the remote host, write a script to ssh to the appropriate nagios machine and drop a SCHEDULE_SVC_CHECK external command into the pipe. check_by_ssh might be a good wrapper/start. Make that script the check_command for the services on your central machine. That way, freshness checks will be executed from the remote machine as well as forced checks. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 15 01:20:00 2005 From: teng at dataway.com (Tedman Eng) Date: Thu, 14 Jul 2005 16:20:00 -0700 Subject: Distributed Nagios and scheduling service chec k from the central server Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC757C@dw-mail.dataway.com> > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Thursday, July 14, 2005 3:14 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Distributed Nagios and scheduling service > check from the central server > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > Sent: Thursday, July 14, 2005 3:40 PM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Distributed Nagios and > > scheduling service check from the central server > > ... > > ... > > > Active_checks_enabled 1 > Passive_checks_enabled 1 > check_period none > check_freshness 1 > freshness_threshold 300 ; bad if 5 minutes old > check_command some_valid_check_command > Here is an important distinction: There are 2 ways to functionally "disable" active checks for a distributed nagios environment. Actve_checks_enabled 0 -or- check_period none I prefer the "check_period=none", as this means that the active checks are still enabled, but never get scheduled. Downside is they sit in your queue taking up space (unfortunately, at the top of the queue too). In some instances, the central server will never be able to perform the active check, so completely disabling the active check for those services would be the way to go, and they won't go into the queue. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johan at knudde.be Fri Jul 15 10:45:52 2005 From: johan at knudde.be (Johan Braeken) Date: Fri, 15 Jul 2005 10:45:52 +0200 Subject: Hard en soft states: problem, maybe bug. In-Reply-To: <1121336919.27626.29.camel@localhost> References: <200507141112.48432.johan@knudde.be> <1121336919.27626.29.camel@localhost> Message-ID: <200507151045.54361.johan@knudde.be> On Thursday 14 July 2005 12:28, Chris Wilson wrote: > Hi Johan, > > I have seen the same thing happen sometimes. Do you use passive service > checks by any chance? I reported it as a problem with avail.cgi a few > weeks ago, but I guess it's really an internal Nagios state change bug, > not avail.cgi. No, I'm not using passive checks. It happened with the standard ping plugin. > Restarting Nagios should return the service to a hard state, not a good > workaround, but better than nothing :-) Unfortunately it didn't. I temporarily changed the plugin parameters so I got a hard warning. After changing back and a hard OK was received, everything was like it should again. Cheers, Johan. > > Cheers, Chris. > > On Thu, 2005-07-14 at 10:12, Johan Braeken wrote: > > Hello all, > > > > I have the following problem, which might be a bug in the handling of > > states. I don't know if this is already known as I'm quite new to > > Nagios... > > > > > > I had a service (ping) which went through the following states: > > > > Warning: Hard state > > Critical: Soft state > > OK: Soft state > > > > Although this service displays as OK in de service detail, all my > > availability reports keep saying it is still in "warning" state. > > So, it looks like the hard warning state wasn't "undone". > > > > How can I solve this? > > > > > > Cheers, -- Johan Braeken http://www.knudde.be ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From francois.laupretre-prestataire at calyon.com Fri Jul 15 11:47:49 2005 From: francois.laupretre-prestataire at calyon.com (Fran=?utf-8?B?w6c=?=ois Laupretre) Date: Fri, 15 Jul 2005 11:47:49 +0200 Subject: [Nagios-devel] webinterface don't works w ith large number of hosts in Nagios 2.0 current cvs version Message-ID: <506CE696433BD711B7C6000802B2520C079871ED@mnts3023.capitalmarkets.fr.cly> The test for strlen(input)>MAX_XODTEMPLATE_INPUT_BUFFER has been removed on 05/25/2005 from xodtemplate_add_object_property() in the CVS version. Maybe you could try the current CVS. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marcus Hildenbrand > Sent: Wednesday, July 13, 2005 1:19 PM > To: nagios-devel at lists.sourceforge.net; > nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: [Nagios-devel] webinterface don't > works with large number of hosts in Nagios 2.0 current cvs version > > > Hi, > > the cause of this seems to be a too long list of services in > a servicegroup. My config includes something like this: > > - servicegroup definition: > define servicegroup{ > servicegroup_name filesystems > alias filesystems > members host1,filesystems > } > > - service template which includes also the above servicegroup > name define service{ > use generic-service > > name check_filesystems > service_description filesystems > normal_check_interval 15 > max_check_attempts 3 > servicegroups filesystems > register 0 > } > > - and for nearly every host something like this > define service{ > use check_filesystems > host_name hostxx > check_command check_nrpe!check_filesystems > normal_check_interval 15 > contact_groups GROUPX > } > > This means that the servicegroup includes nearly 4k services. > After doubling MAX_XODTEMPLATE_INPUT_BUFFER in > xdata/xodtemplate.h from 65535 to 131070 the webinterface works again. > > Maybe the size of this variable should be adjusted to > something higher. > > Regards > Marcus Hildenbrand > > > > Hi, > > > > in a test environment I try to monitor nearly 4.000 hosts. > Nagios core > > seems to run (checks and notifications are beeing executed) but the > > webinterface always says: > > > > Whoops! > > > > Error: Could not read host and service status information! .... > > .... > > > > The webinterface seems to think Nagios is not running. > > > > After reducing the number of hosts to 3925 the webinterface works > > again. > > So there seems to be a limitation somewhere in the cgi code. > > > > Any idea how to fix this? > > > > Thanks and Best Regards > > Marcus Hildenbrand > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > Nagios-devel mailing list > > Nagios-devel at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-devel > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' > webinar happening July 14 at 8am PDT/11am EDT. We invite you > to explore the latest in dual core and dual graphics > technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit > http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- Ce message et ses pi?ces jointes (le "message") est destin? ? l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser imm?diatement l'exp?diteur et de le d?truire ensuite. Le pr?sent message pouvant ?tre alt?r? ? notre insu, CALYON Corporate and Investment Bank ne peut pas ?tre engag? par son contenu. Tous droits r?serv?s. This message and/or any attachments (the "message") is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Corporate and Investment Bank. All rights reserved. From Joseph.Petrucci at ddiworld.com Fri Jul 15 13:09:59 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Fri, 15 Jul 2005 07:09:59 -0400 Subject: check_oracle plugin and $ORACLE_HOME Message-ID: First What version of Oracle are you runnning? I wrote my own plugins since I really could not find any I liked. I use a few methods to check if Oracle is up. First I have a plugin that uses ssh to logon (RSA no password) and simply look for the pmon process is running. Then I have one that logs onto the Oracle instance and does a select from the v$instance view to read the name of the instance to make sure it matches. I also use check_http and have a page on my web-server that connects to the instance and pulls the instance name from it. There are many other things you can do such as listener status, and pulling performance information. They are not ready to be published but I can send you the plugins I have, maybe between the two of us we can get them up to speed and publish them. >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Cam >Sent: Thursday, July 14, 2005 4:10 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] check_oracle plugin and $ORACLE_HOME > > >Hi, > >I'm using nagios to monitor some of my systems. It seems like a >pretty slick system. Anyway, i'm trying to check if the oracle >database is up on one of my boxes, but i really know nothing about >oracle at all (i'm just monitoring the box, i have nothing to do w/ >anything other than that). Anyway, i was happy to see the >check_oracle plugin, but i'm having a little bit of difficulty. The >error i get when i try './check_oracle --tns aspdb' i get the error: > >Cannot determine ORACLE_HOME for sid aspapp2 > >i did a search on the mailing list archives, but the only thing i >could come up w/ some problems that people had w/ the plugin and nrpe >(i don't want to use nrpe). I tried setting ORACLE_HOME here on my >nagios server, but that didn't do me any good. Am i doing something >wrong? Is this not the right plugin for me? I was thinking about how >i could check it other than through the plugin... maybe check if the >process is running through SNMP? Any hints would be greatly >appreciated. > >Thanks, >Cameron Matheson > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS >when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cameron.matheson at gmail.com Fri Jul 15 16:57:59 2005 From: cameron.matheson at gmail.com (Cam) Date: Fri, 15 Jul 2005 08:57:59 -0600 Subject: measuring bandwidth? Message-ID: <7e2f9af905071507571d03965a@mail.gmail.com> Hi, I've got some more stuff i'm trying to work out. We want to measure the bandwidth that the server is using and have nagios warn us if it get's too high or too low. Right now i'm monitoring that over SNMP w/ cacti and it's working good, but that just makes me pretty graphs, and i need warnings. anyway, i'm trying to figure out the best way to do this and i wanted to get other people's input. The problem that i'm having is that if i poll the data over SNMP that i just get a meaningless COUNTER value. So i guess what i'm wondering is does nagios have anyway to keep track of these things themselves, or do i need to write a script sort of like this (psuedo-code): #this file has the SNMP data polled last time nagios ran my script OLD = read $foor NEW = snmpget localhost ifinOctets.bar #something like that echo $NEW > $foo | awk $4 -print x = $(($NEW - $OLD)) if [ $x -lt $SOME_VALUE ]; then print_warning_message elif [ $x -gt $OTHER_VALUE ]; then print_another_warning_message else print_ok_message fi is there any problems w/ this approach? is there a cleaner way to do it? what exactly are the rules for plugin output (it seems like it's just 'FOO [OK|WARNING|FAIL]: comments'--is that right? Thanks! Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 15 17:01:31 2005 From: marc at ena.com (Marc Powell) Date: Fri, 15 Jul 2005 10:01:31 -0500 Subject: check_disk no output Message-ID: Please reply on-list always. In the future, please try to avoid top-posting as it makes replying in context difficult. The below appears to have been run as the root user on the local AIX box and not using the same command arguments as specified in the service check_command. This is specifically _not_ how nagios is executing the check. You've completely ignored everything I suggested doing. -- Marc > -----Original Message----- > From: Ant?nio Coelho [mailto:coelhoapm at gmail.com] > Sent: Friday, July 15, 2005 2:16 AM > To: Marc Powell > Subject: Re: [Nagios-users] check_disk no output > > Hello, > > As far as i can see the output is correct > > [root at zugtwz2]/softs/apps/nagios/plugins# ./check_disk -w 10 -c 5 > > DISK OK [224764 kB (85%) free on /dev/hd4] [475464 kB (30%) free on > /dev/hd2] [242024 kB (92%) free on /dev/hd9var] [149972 kB (57%) free > on /dev/hd3] [253740 kB (96%) free on /dev/hd1] [245136 kB (93%) free > on /dev/hd10opt] [342788 kB (21%) free on /dev/ibmlv] [58716 kB (0%) > free on /dev/oraclelv] [747148 kB (71%) free on /dev/ora_admin] > [1415888 kB (27%) free on /dev/ora_product] [584416 kB (11%) free on > /dev/ora_oradata] [30756660 kB (86%) free on /dev/ora_backup] [3584 kB > (0%) free on /dev/BD_temp] [26304 kB (0%) free on /dev/BD_rollback] > [578328 kB (18%) free on /dev/BD_movmts] [154564 kB (0%) free on > /dev/BD_ctlbck] [21764 kB (0%) free on /dev/ora_oradvlp] > > > On 7/14/05, Marc Powell wrote: > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Ant?nio Coelho > > > Sent: Thursday, July 14, 2005 9:24 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] check_disk no output > > > > > > Hello all, > > > > > > My Nagios is monitoring several services and machines on the > network. > > > One of the services is check_remote_disk for a AIX machine, with the > > > line > > > > > > check_remote_disk!10%!5%!"/ /var /home /oracle /oracle/backup" > > > > > > The problem is, if I run the plugin directly on the AIX-server (via > > > command shell) it returns a valid output, but in nagios web interface > > > it shows like NO OUTPUT! > > > > > > zugtwz2 Disk OK 07-13-2005 15:52:32 1d 23h 40m 15s 1/3 (No > > > output!) > > > > > > Can anyone help me on this? > > > > > > Run the command as the nagios user exactly as it's defined in your > commands.cfg file from your nagios machine. Chances are high that it's > spitting out something that you're not seeing. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coelhoapm at gmail.com Fri Jul 15 17:21:29 2005 From: coelhoapm at gmail.com (=?ISO-8859-1?Q?Ant=F3nio_Coelho?=) Date: Fri, 15 Jul 2005 16:21:29 +0100 Subject: check_disk no output In-Reply-To: References: Message-ID: Sorry for my previous mistake! The output I get from nagios machine for the command is: [admin at sumonitor admin]$ /servers/nagios/libexec/check_remote_disk_fra.pl sugtwn2 10% 5% "/var /home /oracle /oracle/backup" admin at sugtwn2's password: sh: -c: line 1: syntax error near unexpected token `(9' sh: -c: line 1: `echo DISK CRITICAL [242016 kB (92%) free on /var] [253740 kB (96%) free on /home] [58716 kB (0%) free on /oracle] [30756660 kB (86%) free on /oracle/backup]' DISK CRITICAL [242016 kB (92%) free on /var] [253740 kB (96%) free on /home] [58716 kB (0%) free on /oracle] [30756660 kB (86%) free on /oracle/backup] Any help? On 7/14/05, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Ant?nio Coelho > > Sent: Thursday, July 14, 2005 9:24 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_disk no output > > > > Hello all, > > > > My Nagios is monitoring several services and machines on the network. > > One of the services is check_remote_disk for a AIX machine, with the > > line > > > > check_remote_disk!10%!5%!"/ /var /home /oracle /oracle/backup" > > > > The problem is, if I run the plugin directly on the AIX-server (via > > command shell) it returns a valid output, but in nagios web interface > > it shows like NO OUTPUT! > > > > zugtwz2 Disk OK 07-13-2005 15:52:32 1d 23h 40m 15s 1/3 (No > > output!) > > > > Can anyone help me on this? > > > Run the command as the nagios user exactly as it's defined in your commands.cfg file from your nagios machine. Chances are high that it's spitting out something that you're not seeing. > > -- > Marc > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Ant?nio Coelho http://www.antoniocoelho.com.pt coelhoapm at gmail.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 15 17:25:23 2005 From: marc at ena.com (Marc Powell) Date: Fri, 15 Jul 2005 10:25:23 -0500 Subject: measuring bandwidth? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Cam > Sent: Friday, July 15, 2005 9:58 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] measuring bandwidth? > > Hi, > > I've got some more stuff i'm trying to work out. We want to measure > the bandwidth that the server is using and have nagios warn us if it > get's too high or too low. Right now i'm monitoring that over SNMP w/ > cacti and it's working good, but that just makes me pretty graphs, and > i need warnings. anyway, i'm trying to figure out the best way to do > this and i wanted to get other people's input. The problem that i'm > having is that if i poll the data over SNMP that i just get a > meaningless COUNTER value. So i guess what i'm wondering is does > nagios have anyway to keep track of these things themselves, or do i > need to write a script sort of like this (psuedo-code): No, it doesn't. Each plugin only looks at the current values of whatever it's checking and has no idea of historical values. > #this file has the SNMP data polled last time nagios ran my script > OLD = read $foor > NEW = snmpget localhost ifinOctets.bar #something like that > echo $NEW > $foo | awk $4 -print > > x = $(($NEW - $OLD)) > > if [ $x -lt $SOME_VALUE ]; then > print_warning_message > elif [ $x -gt $OTHER_VALUE ]; then > print_another_warning_message > else > print_ok_message > fi > > is there any problems w/ this approach? is there a cleaner way to do That's one way to do it. The other, probably better way would be to use the check_mrtgtraf plugin or check_rrd_data.pl (in the contrib dir) to read the rate data directly from the file depending on which format Cacti uses. The thread below also seems to provide another mechanism -- http://64.233.187.104/search?q=cache:EB26O7k-Ok8J:forums.cacti.net/about 624.html%26highlight%3D+check_rrd_data.pl+rrd&hl=en > it? what exactly are the rules for plugin output (it seems like it's > just 'FOO [OK|WARNING|FAIL]: comments'--is that right? No, it's not sufficient. Check out the Developer Guidelines at http://nagiosplug.sourceforge.net/. It's very simple. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsandoval at achs.cl Fri Jul 15 17:38:09 2005 From: jsandoval at achs.cl (Sandoval, Julio) Date: Fri, 15 Jul 2005 11:38:09 -0400 Subject: Postgresql Message-ID: <706C33200E04994E9BB6EE3E21E4C15EE06FFC@ACHS-E2K01.achs.cl> Hello everybody, I have a question: ?Where can I find the history data in postgresql? Exp. I saw the data in the 12 tables, but I just look few rows in them (30 rows max). Somebody help me with this... Thank for your kindness "Este mensaje y cualquier archivo adjunto es confidencial y est? destinado a la persona o entidad a qui?n ha sido dirigido. Si usted no es el receptor individualizado en el mismo, le solicitamos notificar de ello al remitente de manera inmediata, estando prohibido y sancionado por la ley cualquier almacenamiento, divulgaci?n, distribuci?n o copia de su contenido." -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Jul 15 17:47:01 2005 From: marc at ena.com (Marc Powell) Date: Fri, 15 Jul 2005 10:47:01 -0500 Subject: check_disk no output Message-ID: > -----Original Message----- > From: Ant?nio Coelho [mailto:coelhoapm at gmail.com] > Sent: Friday, July 15, 2005 10:21 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_disk no output > > Sorry for my previous mistake! > The output I get from nagios machine for the command is: > > [admin at sumonitor admin]$ > /servers/nagios/libexec/check_remote_disk_fra.pl sugtwn2 10% 5% "/var > /home /oracle /oracle/backup" > admin at sugtwn2's password: > > sh: -c: line 1: syntax error near unexpected token `(9' > sh: -c: line 1: `echo DISK CRITICAL [242016 kB (92%) free on /var] > [253740 kB (96%) free on /home] [58716 kB (0%) free on /oracle] > [30756660 kB (86%) free on /oracle/backup]' > DISK CRITICAL [242016 kB (92%) free on /var] [253740 kB (96%) free on > /home] [58716 kB (0%) free on /oracle] [30756660 kB (86%) free on > /oracle/backup] > > > Any help? Much better. So, it's seems clear that check_remote_disk_fra.pl is trying to ssh to the remote host but you haven't yet set up passwordless ssh access. That's problem number one. Use 'man sshd' and search for 'authorized_keys' and look at the file format. The quickest (but not necessarily most secure) way is -- 1 - Run 'ssh-keygen -t dsa' on the nagios host as the nagios user. Use the defaults and do not specify a password. This generates your public/private key pair. 2 - copy ~nagios/.ssh/id_dsa.pub to ~admin/.ssh/authorized_keys on sugtwn2. 3 - chmod 600 ~admin/.ssh/authorized_keys on sugtwn2 4 - as the nagios user on sumonitor - 'ssh admin at sugtwn2.rest.of.host.name' to accept the host key if you haven't already done so. You should not be prompted for a password. 5 - test the plugin again. I would suggest that you use authorized_keys to restrict the commands that can be executed in this manner. Again, the man page details how to do this. If you still see errors on sugtwn2 verify that check_disk run locally works as it does on zugtwz2. If check_disk does run correctly, we'll probably need to know exactly what check_remote_disk_fra.pl is doing. I noticed that you also switched hosts between your tests (previously zugtwz2). You'll need to perform the above steps 2-5 for every remote host you are intending to check. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 15 17:50:13 2005 From: marc at ena.com (Marc Powell) Date: Fri, 15 Jul 2005 10:50:13 -0500 Subject: Postgresql Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sandoval, Julio > Sent: Friday, July 15, 2005 10:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Postgresql > > Hello everybody, > I have a question: ?Where can I find the history data in postgresql? > Exp. I saw the data in the 12 tables, but I just look few rows in them (30 > rows max). > > Somebody help me with this... Historical data is not stored in the database. ~nagios/var/nagios.log and ~nagios/var/archives/*. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus.hildenbrand at sap.com Fri Jul 15 18:27:41 2005 From: marcus.hildenbrand at sap.com (Hildenbrand, Marcus) Date: Fri, 15 Jul 2005 18:27:41 +0200 Subject: AW: RE : Re: [Nagios-devel] webinterface don't works with large number of hosts in Nagios 2.0 current cvs version Message-ID: <2F407CA16DFF544EA7C11A40D0A0628768CC58@dewdfe14.wdf.sap.corp> Hi, I checked this with the CVS version from 13/July with the follwing header in xdata/xodtemplate.c /***************************************************************************** * * XODTEMPLATE.C - Template-based object configuration data input routines * * Copyright (c) 2001-2005 Ethan Galstad (nagios at nagios.org) * Last Modified: 06-24-2005 * Should be good enough. Regards Marcus Hildenbrand ________________________________ Von: Fran?ois Laupretre [mailto:francois.laupretre-prestataire at calyon.com] Gesendet: Freitag, 15. Juli 2005 11:48 An: Hildenbrand, Marcus; nagios-devel at lists.sourceforge.net; nagios-users at lists.sourceforge.net Betreff: RE : [Nagios-users] Re: [Nagios-devel] webinterface don't works with large number of hosts in Nagios 2.0 current cvs version The test for strlen(input)>MAX_XODTEMPLATE_INPUT_BUFFER has been removed on 05/25/2005 from xodtemplate_add_object_property() in the CVS version. Maybe you could try the current CVS. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marcus Hildenbrand > Sent: Wednesday, July 13, 2005 1:19 PM > To: nagios-devel at lists.sourceforge.net; > nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: [Nagios-devel] webinterface don't > works with large number of hosts in Nagios 2.0 current cvs version > > > Hi, > > the cause of this seems to be a too long list of services in > a servicegroup. My config includes something like this: > > - servicegroup definition: > define servicegroup{ > servicegroup_name filesystems > alias filesystems > members host1,filesystems > } > > - service template which includes also the above servicegroup > name define service{ > use generic-service > > name check_filesystems > service_description filesystems > normal_check_interval 15 > max_check_attempts 3 > servicegroups filesystems > register 0 > } > > - and for nearly every host something like this > define service{ > use check_filesystems > host_name hostxx > check_command check_nrpe!check_filesystems > normal_check_interval 15 > contact_groups GROUPX > } > > This means that the servicegroup includes nearly 4k services. > After doubling MAX_XODTEMPLATE_INPUT_BUFFER in > xdata/xodtemplate.h from 65535 to 131070 the webinterface works again. > > Maybe the size of this variable should be adjusted to > something higher. > > Regards > Marcus Hildenbrand > > > > Hi, > > > > in a test environment I try to monitor nearly 4.000 hosts. > Nagios core > > seems to run (checks and notifications are beeing executed) but the > > webinterface always says: > > > > Whoops! > > > > Error: Could not read host and service status information! .... > > .... > > > > The webinterface seems to think Nagios is not running. > > > > After reducing the number of hosts to 3925 the webinterface works > > again. > > So there seems to be a limitation somewhere in the cgi code. > > > > Any idea how to fix this? > > > > Thanks and Best Regards > > Marcus Hildenbrand > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > Nagios-devel mailing list > > Nagios-devel at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-devel > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' > webinar happening July 14 at 8am PDT/11am EDT. We invite you > to explore the latest in dual core and dual graphics > technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit > http://www.hp.com/go/dualwebinar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 dkamper at mxlogic.com Fri Jul 15 18:57:49 2005 From: dkamper at mxlogic.com (Dustin Kamper) Date: Fri, 15 Jul 2005 10:57:49 -0600 Subject: Distributed Nagios and scheduling service check from the central server Message-ID: <0B34A6972BF39E4CB465A64DBBAD2BB9437BDF@mxlhq-exch01.corp.mxlogic.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Thursday, July 14, 2005 4:14 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Distributed Nagios and scheduling service > check from the central server Right.... ;) > Please try to avoid top-posting. > > sucks. > posting > top > why > is > This > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Dustin Kamper > > Sent: Thursday, July 14, 2005 3:40 PM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Distributed Nagios and scheduling service > > check from the central server > > > > > All of the checks on the distributed servers can be executed by the > > central server with no issues. So I just used a 'concatonated' > version > > > From what I can figure out, freshness checks base the 'freshness' of > the > > the results on the normal_check_interval setting. Since > > normal_check_interval controls the timming of the active checks, you > > must turn active checks off so you don't have the central server > > checking what the distributed servers are already checking. When > active > > service checks are turned off, the 'Re-schedule the next check of this > > service' link is not available from the web page. > > The documentation is unambiguous, no need to figure anything out -- > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > freshness_threshold: This directive is used to specify the freshness > threshold (in seconds) for this service. If you set this directive to a > value of 0, Nagios will determine a freshness threshold to use > automatically. > > And > > http://nagios.sourceforge.net/docs/1_0/freshness.html > > "Assuming you're using the template-based object configuration file(s), > you need to configure service definitions as follows. > > * The check_freshness option in the service definition should be set > to 1. This enables "freshness" checking for the service. > * The freshness_threshold option in the service definition should be > set to a value (in seconds) which reflects how "fresh" the results for > the service should be. > * The check_command option in the service definition should reflect > valid command that should be used to actively check the service when it > is detected as being "stale". > > How The Freshness Threshold Works > > Nagios periodically checks the "freshness" of the results for all > services that have freshness checking enabled. The freshness_threshold > option in each service definition is used to determine how "fresh" the > results for each service should be. For example, if you set the > freshness_threshold option to 60 for one of your services, Nagios will > consider that service to be "stale" if its results are older than 60 > seconds (1 minute). If you do not specify a value for the > freshness_threshold option (or you set it to zero), Nagios will > automatically calculate a "freshness" threshold to use by looking at > either the normal_check_interval or retry_check_interval options > (depending on what type of state the service is currently in)." > > > > > > I would like 1 source of Nagios for monitoring all of my servers but > > would like to spread the load of all the service checks to many > > distributed servers. It would be a pain to have to go to one of the > > distributed servers just to run one re-scheduled service check on > > demand. > > > > Now I'm not sure that a distributed solution is going to work for my > > monitoring needs. Any pointers would be appreciated. > > Active_checks_enabled 1 > Passive_checks_enabled 1 > check_period none > check_freshness 1 > freshness_threshold 300 ; bad if 5 minutes old > check_command some_valid_check_command Ok, I tested this and found that the check_period effects the freshness checking. If I set it to none (which is defined) then freshness is never checked. If set to 24x7 then it is always checked. I verified that active checks where not being performed by setting active_checks_enabled to 0 for each check_period test (4 test in all). I wish there was a freshness_check_period setting. Oh...BTW, I am using Nagios 2.0b3. I am assuming that there is not much difference in the logic of this since 1.0. I guess I should test it tho. Any other pointers? > Since you can execute all of your checks from the central server with no > problems, this should be a workable solution for you (it's been for us > for 4 years with 4 collectors and 2900+ passive service checks but to > each his own). If you _really, really_ wanted to execute the checks from > the remote host, write a script to ssh to the appropriate nagios machine > and drop a SCHEDULE_SVC_CHECK external command into the pipe. > check_by_ssh might be a good wrapper/start. Make that script the > check_command for the services on your central machine. That way, > freshness checks will be executed from the remote machine as well as > forced checks. > > -- > Marc > > > -Dustin ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eford at nexusenergy.com Fri Jul 15 19:02:31 2005 From: eford at nexusenergy.com (Edward Ford) Date: Fri, 15 Jul 2005 13:02:31 -0400 Subject: How do I get to the contrib dir that I keep hearing about Message-ID: I keep hearing about new plugins at the contrib dir. How do I get to it? Thanks; Eddie -------------- next part -------------- An HTML attachment was scrubbed... URL: From James.P.Fuentes at boeing.com Fri Jul 15 19:08:57 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Fri, 15 Jul 2005 10:08:57 -0700 Subject: How do I get to the contrib dir that I keep hearing about Message-ID: <626FC7C6A97381468FB872072AB5DDC801FEA7@XCH-SW-42.sw.nos.boeing.com> It's not in all available versions. I run 2.0b3 but had to download 1.4 to get the contrib contents. -Jim ________________________________ From: Edward Ford [mailto:eford at nexusenergy.com] Sent: Fri 7/15/2005 10:02 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How do I get to the contrib dir that I keep hearing about I keep hearing about new plugins at the contrib dir. How do I get to it? Thanks; Eddie ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adamengel at loanprotector.com Fri Jul 15 19:17:55 2005 From: adamengel at loanprotector.com (Adam Engel) Date: Fri, 15 Jul 2005 13:17:55 -0400 Subject: Alternate methods to notify Nagios Message-ID: <42D7EFC3.7020600@loanprotector.com> Hey guys! I have been using Nagios for over 2 years now and really enjoy it. I have a question regarding ways to inform Nagios of problems. Does anyone know of a plugin that will allow Nagios to accept email from a peice of software informing it that a problem is going on. This would be nice so that the software we have written can send an email to nagios stating there is a problem and then nagios sends out its normal notifications. I have already told the developers of NSCA, but they would like if there was a way Nagios could be informed via email because they wouldn't have to write anything. Thanks, Adam ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 15 20:09:09 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 15 Jul 2005 14:09:09 -0400 (EDT) Subject: Alternate methods to notify Nagios In-Reply-To: <42D7EFC3.7020600@loanprotector.com> References: <42D7EFC3.7020600@loanprotector.com> Message-ID: On Fri, 15 Jul 2005, Adam Engel wrote: > Hey guys! > > I have been using Nagios for over 2 years now and really enjoy it. I have a > question regarding ways to inform Nagios of problems. Does anyone know of a > plugin that will allow Nagios to accept email from a peice of software > informing it that a problem is going on. This would be nice so that the > software we have written can send an email to nagios stating there is a > problem and then nagios sends out its normal notifications. I have already > told the developers of NSCA, but they would like if there was a way Nagios > could be informed via email because they wouldn't have to write anything. > > Thanks, > > Adam > Have the mail hit a procmail filter that generates a NSCA event. -- -sg ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 15 20:37:16 2005 From: teng at dataway.com (Tedman Eng) Date: Fri, 15 Jul 2005 11:37:16 -0700 Subject: Alternate methods to notify Nagios Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC757F@dw-mail.dataway.com> I have not used this myself, but may fit the bill for you: http://naplax.sourceforge.net/REL.html Nagios REL addon provides an alternative way to send service check results from remote hosts back to nagios...Currently, REL uses SMTP to send the service check results to the Nagios server > -----Original Message----- > From: Adam Engel [mailto:adamengel at loanprotector.com] > Sent: Friday, July 15, 2005 10:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Alternate methods to notify Nagios > > > Hey guys! > > I have been using Nagios for over 2 years now and really enjoy it. I > have a question regarding ways to inform Nagios of problems. Does > anyone know of a plugin that will allow Nagios to accept email from a > peice of software informing it that a problem is going on. > This would > be nice so that the software we have written can send an > email to nagios > stating there is a problem and then nagios sends out its normal > notifications. I have already told the developers of NSCA, but they > would like if there was a way Nagios could be informed via > email because > they wouldn't have to write anything. > > Thanks, > > Adam > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Fri Jul 15 21:11:01 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 15 Jul 2005 14:11:01 -0500 (CDT) Subject: Alternate methods to notify Nagios In-Reply-To: <42D7EFC3.7020600@loanprotector.com> References: <42D7EFC3.7020600@loanprotector.com> Message-ID: On Fri, 15 Jul 2005, Adam Engel wrote: > Hey guys! > > I have been using Nagios for over 2 years now and really enjoy it. I have a > question regarding ways to inform Nagios of problems. Does anyone know of a > plugin that will allow Nagios to accept email from a peice of software > informing it that a problem is going on. This would be nice so that the > software we have written can send an email to nagios stating there is a > problem and then nagios sends out its normal notifications. I have already > told the developers of NSCA, but they would like if there was a way Nagios > could be informed via email because they wouldn't have to write anything. > > Thanks, > > Adam Adam, I doing exactly what you describe to connect my Nagios Distributed boxes to Nagios Central. NSCA wasn't an option in my environmnent to I needed to come up with an alternative that used a well-known port. I chose postfix as the MTA for both the sending and receiving sides and added a GPG encryption layer to encrypt the data. Then I hooked up a global_service_event_handler called submit_check_result_smtp that looks like this: time=`perl -e 'print time';` /bin/echo "[$time] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$return_code;$4" | /usr/bin/gpg -ea -r nagios --batch --no-tty --always-trust | mail -s "Nagios Status Message" nagios at nagioscentral.mydomain.com On the central box, I have a small perl script that takes mail on stdin, gpg decrypts it and writes the output to the named pipe using the Mail::GnuPG, MIME::Parser, and MIME::Entity perl modules. It has been running in production for 6 months now without any major issues. Some of the other advandantes of using an MTA include the ability to retry deferred messages (a mixed bag) and extended logging functionality. Hope that helps. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adamengel at loanprotector.com Fri Jul 15 21:29:21 2005 From: adamengel at loanprotector.com (Adam Engel) Date: Fri, 15 Jul 2005 15:29:21 -0400 Subject: Alternate methods to notify Nagios In-Reply-To: References: <42D7EFC3.7020600@loanprotector.com> Message-ID: <42D80E91.6070105@loanprotector.com> Demetri Mouratis wrote: > On Fri, 15 Jul 2005, Adam Engel wrote: > >> Hey guys! >> >> I have been using Nagios for over 2 years now and really enjoy it. I >> have a question regarding ways to inform Nagios of problems. Does >> anyone know of a plugin that will allow Nagios to accept email from a >> peice of software informing it that a problem is going on. This >> would be nice so that the software we have written can send an email >> to nagios stating there is a problem and then nagios sends out its >> normal notifications. I have already told the developers of NSCA, >> but they would like if there was a way Nagios could be informed via >> email because they wouldn't have to write anything. >> >> Thanks, >> >> Adam > > > Adam, > > I doing exactly what you describe to connect my Nagios Distributed > boxes to Nagios Central. NSCA wasn't an option in my environmnent to > I needed to come up with an alternative that used a well-known port. > I chose postfix as the MTA for both the sending and receiving sides > and added a GPG encryption layer to encrypt the data. Then I hooked > up a global_service_event_handler called submit_check_result_smtp that > looks like this: > > time=`perl -e 'print time';` > > /bin/echo "[$time] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$return_code;$4" > | /usr/bin/gpg -ea -r nagios --batch --no-tty --always-trust | mail -s > "Nagios Status Message" nagios at nagioscentral.mydomain.com > > On the central box, I have a small perl script that takes mail on > stdin, gpg decrypts it and writes the output to the named pipe using > the Mail::GnuPG, MIME::Parser, and MIME::Entity perl modules. > > It has been running in production for 6 months now without any major > issues. > > Some of the other advandantes of using an MTA include the ability to > retry deferred messages (a mixed bag) and extended logging functionality. > > Hope that helps. > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 it does. I have been informed of more, they want these to be sent from Java. We have Java jobs that run all day doing various tasks, and if a job detects that it is about to die or something bad is happening then it will email to Nagios. And then nagios will catch the message and process it. Adam ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 15 21:37:22 2005 From: marc at ena.com (Marc Powell) Date: Fri, 15 Jul 2005 14:37:22 -0500 Subject: How do I get to the contrib dir that I keep hearing about Message-ID: The nagios version (2.0b3) has nothing to do with the plugins version. They are created and distributed separately and are independent. You can use any version of the plugins with any version of netsaint/nagios but newer is better of course ;). There has been a contrib dir in every release of the plugins that I've used in the last 4 years or so as far as I can remember. If you download the plugins from http://nagiosplug.sf.net and untar the archive you'll find a directory named 'contrib' with user-contributed plugins. They don't undergo the same kind of coding and testing as the standard plugins but they generally work quite well. If you've installed the plugins using a package manager you may need to hunt around to find them if they're installed as part of the plugins package or they could be a separate package entirely. It all depends on the maintainer of the package. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of EXT-Fuentes, James P > Sent: Friday, July 15, 2005 12:09 PM > To: Edward Ford; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] How do I get to the contrib dir that I keep > hearing about > > It's not in all available versions. I run 2.0b3 but had to download 1.4 to > get the contrib contents. > -Jim > > ________________________________ > > From: Edward Ford [mailto:eford at nexusenergy.com] > Sent: Fri 7/15/2005 10:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How do I get to the contrib dir that I keep > hearing about > > > I keep hearing about new plugins at the contrib dir. How do I get to it? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From demian.m.ginther at boeing.com Fri Jul 15 22:22:55 2005 From: demian.m.ginther at boeing.com (Ginther, Demian M) Date: Fri, 15 Jul 2005 13:22:55 -0700 Subject: Downtime for ALL hosts and services on system? Message-ID: <96E0D04F2015B2428CE23EE68D608CEB100EB2@XCH-SW-2V2.sw.nos.boeing.com> We sometimes do a weekend maintenance of all systems being monitored. Instead of having to add a downtime for each and every host and service, does anyone know of a good way or has written a good plugin to schedule downtime for all hosts and services? Maybe a list of all hosts and services with checkboxes and a time input widget? I may try to write something to do this, but I don't want to duplicate effort. Thanks Demian -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Jul 15 22:29:52 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 15 Jul 2005 22:29:52 +0200 Subject: Downtime for ALL hosts and services on system? In-Reply-To: <96E0D04F2015B2428CE23EE68D608CEB100EB2@XCH-SW-2V2.sw.nos.boeing.com> References: <96E0D04F2015B2428CE23EE68D608CEB100EB2@XCH-SW-2V2.sw.nos.boeing.com> Message-ID: <42D81CC0.1020808@op5.se> Ginther, Demian M wrote: > We sometimes do a weekend maintenance of all systems being monitored. > Instead of having to add a downtime for each and every host and service, > does anyone know of a good way or has written a good plugin to schedule > downtime for all hosts and services? > > > > Maybe a list of all hosts and services with checkboxes and a time input > widget? > You can schedule downtime for an entire hostgroup if you like. Put everything you have in a hostgroup that's just for scheduling downtime and you'll be all set. > > > I may try to write something to do this, but I don't want to duplicate > effort. > > > > Thanks > > > > Demian > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Fri Jul 15 22:30:47 2005 From: agrajag at dragaera.net (Sean Dilda) Date: Fri, 15 Jul 2005 16:30:47 -0400 Subject: Downtime for ALL hosts and services on system? In-Reply-To: <96E0D04F2015B2428CE23EE68D608CEB100EB2@XCH-SW-2V2.sw.nos.boeing.com> References: <96E0D04F2015B2428CE23EE68D608CEB100EB2@XCH-SW-2V2.sw.nos.boeing.com> Message-ID: <42D81CF7.1040709@dragaera.net> Ginther, Demian M wrote: > We sometimes do a weekend maintenance of all systems being monitored. > Instead of having to add a downtime for each and every host and service, > does anyone know of a good way or has written a good plugin to schedule > downtime for all hosts and services? > > > > Maybe a list of all hosts and services with checkboxes and a time input > widget? On my RHEL3 box running nagios, I just do: /sbin/service nagios stop ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ben.polson at ehealth.com Fri Jul 15 22:36:08 2005 From: ben.polson at ehealth.com (Ben Polson) Date: Fri, 15 Jul 2005 13:36:08 -0700 Subject: Downtime for ALL hosts and services on system? In-Reply-To: <96E0D04F2015B2428CE23EE68D608CEB100EB2@XCH-SW-2V2.sw.nos.boeing.com> References: <96E0D04F2015B2428CE23EE68D608CEB100EB2@XCH-SW-2V2.sw.nos.boeing.com> Message-ID: Why not just stop nagios if you want to stop monitoring/alerting everything during the window? -Ben. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ginther, Demian M Sent: Friday, July 15, 2005 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Downtime for ALL hosts and services on system? We sometimes do a weekend maintenance of all systems being monitored. Instead of having to add a downtime for each and every host and service, does anyone know of a good way or has written a good plugin to schedule downtime for all hosts and services? Maybe a list of all hosts and services with checkboxes and a time input widget? I may try to write something to do this, but I don't want to duplicate effort. Thanks Demian -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Fri Jul 15 22:40:13 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 15 Jul 2005 15:40:13 -0500 (CDT) Subject: Alternate methods to notify Nagios In-Reply-To: <42D80E91.6070105@loanprotector.com> References: <42D7EFC3.7020600@loanprotector.com> <42D80E91.6070105@loanprotector.com> Message-ID: On Fri, 15 Jul 2005, Adam Engel wrote: > > > Demetri Mouratis wrote: > >> On Fri, 15 Jul 2005, Adam Engel wrote: >> >>> Hey guys! >>> >>> I have been using Nagios for over 2 years now and really enjoy it. I have >>> a question regarding ways to inform Nagios of problems. Does anyone know >>> of a plugin that will allow Nagios to accept email from a peice of >>> software informing it that a problem is going on. This would be nice so >>> that the software we have written can send an email to nagios stating >>> there is a problem and then nagios sends out its normal notifications. I >>> have already told the developers of NSCA, but they would like if there was >>> a way Nagios could be informed via email because they wouldn't have to >>> write anything. >>> >>> Thanks, >>> >>> Adam >> >> >> Adam, >> >> I doing exactly what you describe to connect my Nagios Distributed boxes to >> Nagios Central. NSCA wasn't an option in my environmnent to I needed to >> come up with an alternative that used a well-known port. I chose postfix >> as the MTA for both the sending and receiving sides and added a GPG >> encryption layer to encrypt the data. Then I hooked up a >> global_service_event_handler called submit_check_result_smtp that looks >> like this: >> >> time=`perl -e 'print time';` >> >> /bin/echo "[$time] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$return_code;$4" | >> /usr/bin/gpg -ea -r nagios --batch --no-tty --always-trust | mail -s >> "Nagios Status Message" nagios at nagioscentral.mydomain.com >> >> On the central box, I have a small perl script that takes mail on stdin, >> gpg decrypts it and writes the output to the named pipe using the >> Mail::GnuPG, MIME::Parser, and MIME::Entity perl modules. >> >> It has been running in production for 6 months now without any major >> issues. >> >> Some of the other advandantes of using an MTA include the ability to retry >> deferred messages (a mixed bag) and extended logging functionality. >> >> Hope that helps. > > Yes it does. I have been informed of more, they want these to be sent from > Java. We have Java jobs that run all day doing various tasks, and if a job > detects that it is about to die or something bad is happening then it will > email to Nagios. And then nagios will catch the message and process it. What you describe is very similar to how our Nagios infrastructure was configured when I arrived. All I can say is be very careful letting the developers drive too much. For example, they may send a CRITICAL state when java throws an exception but who is responsible for sending the OK state after the problem has abated? Also of concern is the exact name of the service check. You'll have to know the service names so that you can configure services.cfg. If the developer uses a different service name you'll end up with a mismatch. This can quickly get maddening. The alternate we settled on here was for the java developers to expose a call that would be responsible for maintaining the state of the various java components running our our application. Nagios in turn ssh's into the machine and invokes a plugin that can get the current state of the java components. This is a pull where the method you described above is a push. In my experience, managing the pull configuration is much easier. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Jul 15 22:50:03 2005 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 15 Jul 2005 16:50:03 -0400 Subject: Plugin for System Uptime Message-ID: <9C63A4713C4E3342B90428CE44806A73EC36F2@PHSXMB5.partners.org> What plugin would be the one to use to monitor the uptime of several remote hosts? The hosts in question are Linux and HP-UX. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ben.polson at ehealth.com Fri Jul 15 22:52:38 2005 From: ben.polson at ehealth.com (Ben Polson) Date: Fri, 15 Jul 2005 13:52:38 -0700 Subject: Downtime for ALL hosts and services on system? In-Reply-To: <59B15593F41BD24591D59436E7226EAD022C075A@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD022C075A@Khiphx2.khimetrics.com> Message-ID: Excellent points. I generally don't do maintenance on every single monitored server so I've set up simple group disabling scripts for blocks of servers based on our various environments. You mentioned your nfs mount scripts and I am wondering what kind of tests you run to verify these mounts. I'm in the process of writing my own nfs mount check currently, but would prefer to not have to go through this if there's already one available out there. Did you write this yourself, or have I missed something in my Googleing? Thanks! -Ben. -----Original Message----- From: Nathan Oyler [mailto:noyler at khimetrics.com] Sent: Friday, July 15, 2005 1:46 PM To: Ben Polson; Ginther, Demian M; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Downtime for ALL hosts and services on system? Because it's sloppy, and if you schedule downtime you can actually watch what's happening through nagios as things go up and down, and verify everything is up during the window. I have nfs mount scripts that it's always nice to verify are actually up before having messages start flying off again. Especially when people outside of IT get messages. I wrote a perl script to schedule downtime. I used a bash script on nagiosexchange.org to base the idea on, and it's been extremely helpful for every downtime since. ---------------------------------------------------------------------------- -- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ben Polson Sent: Friday, July 15, 2005 1:36 PM To: Ginther, Demian M; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Downtime for ALL hosts and services on system? Why not just stop nagios if you want to stop monitoring/alerting everything during the window? -Ben. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ginther, Demian M Sent: Friday, July 15, 2005 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Downtime for ALL hosts and services on system? We sometimes do a weekend maintenance of all systems being monitored. Instead of having to add a downtime for each and every host and service, does anyone know of a good way or has written a good plugin to schedule downtime for all hosts and services? Maybe a list of all hosts and services with checkboxes and a time input widget? I may try to write something to do this, but I don't want to duplicate effort. Thanks Demian -------------- next part -------------- An HTML attachment was scrubbed... URL: From noyler at khimetrics.com Fri Jul 15 22:45:54 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Fri, 15 Jul 2005 13:45:54 -0700 Subject: Downtime for ALL hosts and services on system? Message-ID: <59B15593F41BD24591D59436E7226EAD022C075A@Khiphx2.khimetrics.com> Because it's sloppy, and if you schedule downtime you can actually watch what's happening through nagios as things go up and down, and verify everything is up during the window. I have nfs mount scripts that it's always nice to verify are actually up before having messages start flying off again. Especially when people outside of IT get messages. I wrote a perl script to schedule downtime. I used a bash script on nagiosexchange.org to base the idea on, and it's been extremely helpful for every downtime since. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ben Polson Sent: Friday, July 15, 2005 1:36 PM To: Ginther, Demian M; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Downtime for ALL hosts and services on system? Why not just stop nagios if you want to stop monitoring/alerting everything during the window? -Ben. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ginther, Demian M Sent: Friday, July 15, 2005 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Downtime for ALL hosts and services on system? We sometimes do a weekend maintenance of all systems being monitored. Instead of having to add a downtime for each and every host and service, does anyone know of a good way or has written a good plugin to schedule downtime for all hosts and services? Maybe a list of all hosts and services with checkboxes and a time input widget? I may try to write something to do this, but I don't want to duplicate effort. Thanks Demian -------------- next part -------------- An HTML attachment was scrubbed... URL: From noyler at khimetrics.com Fri Jul 15 23:09:09 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Fri, 15 Jul 2005 14:09:09 -0700 Subject: Downtime for ALL hosts and services on system? Message-ID: <59B15593F41BD24591D59436E7226EAD022C0783@Khiphx2.khimetrics.com> I wrote this myself, and considering I've been learning perl over the last few months writing scripts to make nagios a much easier tool to use, I feel a little worried about submitting anything considering how new I am at it. :-) I have written scripts to add hosts, remove hosts, schedule downtime, a few plugins, a script to turn off blocks of checks quickly, make new services that I commonly add quickly. The nfs mounts script, I ended up using check_by_ssh to call it, I wanted to verify that all nfs mounts in fstab were mounted, considering if I put something in fstab, I want it to be up at all times. That's how I determine if something is important enough to check. So it checks for what's an nfs mount in fstab, then verify's that there is at least 1 file inside of the mount. I did this because I wanted to pick up stale instances, and other messages easily. I had tried a few other methods, but they didn't end up giving me what I wanted. I'll attach the script, but this was the first perl script I wrote, and I haven't updated it since then with anything additionally I may know. It's always worked for me, but if anyone has any suggestions or pointers, please send them my way. ________________________________ From: Ben Polson [mailto:ben.polson at ehealth.com] Sent: Friday, July 15, 2005 1:53 PM To: Nathan Oyler; Ginther, Demian M; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Downtime for ALL hosts and services on system? Excellent points. I generally don't do maintenance on every single monitored server so I've set up simple group disabling scripts for blocks of servers based on our various environments. You mentioned your nfs mount scripts and I am wondering what kind of tests you run to verify these mounts. I'm in the process of writing my own nfs mount check currently, but would prefer to not have to go through this if there's already one available out there. Did you write this yourself, or have I missed something in my Googleing? Thanks! -Ben. -----Original Message----- From: Nathan Oyler [mailto:noyler at khimetrics.com] Sent: Friday, July 15, 2005 1:46 PM To: Ben Polson; Ginther, Demian M; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Downtime for ALL hosts and services on system? Because it's sloppy, and if you schedule downtime you can actually watch what's happening through nagios as things go up and down, and verify everything is up during the window. I have nfs mount scripts that it's always nice to verify are actually up before having messages start flying off again. Especially when people outside of IT get messages. I wrote a perl script to schedule downtime. I used a bash script on nagiosexchange.org to base the idea on, and it's been extremely helpful for every downtime since. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ben Polson Sent: Friday, July 15, 2005 1:36 PM To: Ginther, Demian M; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Downtime for ALL hosts and services on system? Why not just stop nagios if you want to stop monitoring/alerting everything during the window? -Ben. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ginther, Demian M Sent: Friday, July 15, 2005 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Downtime for ALL hosts and services on system? We sometimes do a weekend maintenance of all systems being monitored. Instead of having to add a downtime for each and every host and service, does anyone know of a good way or has written a good plugin to schedule downtime for all hosts and services? Maybe a list of all hosts and services with checkboxes and a time input widget? I may try to write something to do this, but I don't want to duplicate effort. Thanks Demian -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_mount Type: application/octet-stream Size: 2367 bytes Desc: check_mount URL: From James.P.Fuentes at boeing.com Sat Jul 16 00:19:29 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Fri, 15 Jul 2005 15:19:29 -0700 Subject: Plugin for System Uptime Message-ID: <626FC7C6A97381468FB872072AB5DDC801FEA8@XCH-SW-42.sw.nos.boeing.com> check_snmp with an OID of say, 1.3.6.1.4.1.11.2.3.1.1.1.0 for HP-UX as an example. -Jim ________________________________ From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Fri 7/15/2005 1:50 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin for System Uptime What plugin would be the one to use to monitor the uptime of several remote hosts? The hosts in question are Linux and HP-UX. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Sat Jul 16 01:59:48 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 15 Jul 2005 16:59:48 -0700 Subject: Plugin for System Uptime In-Reply-To: <9C63A4713C4E3342B90428CE44806A73EC36F2@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A73EC36F2@PHSXMB5.partners.org> Message-ID: <20050715235948.GB17537@zippy.toger.us> On Fri, Jul 15, 2005 at 04:50:03PM -0400, Kaplan, Andrew H. wrote: > What plugin would be the one to use to monitor the uptime of several remote > hosts? The hosts in question are Linux and HP-UX. What would the threshold be for such a plugin? -Jason Martin -- Life is uncertain...eat dessert first! This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From amontibello at gmail.com Sat Jul 16 13:38:10 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 16 Jul 2005 07:38:10 -0400 Subject: NC_Net New Version Message-ID: Hi Everyone, NC_Net has a new version. v2.28 This version should help some of you who have been having issues with some performance counters, Included in this version: BUG FIX for -- intermittent event ID 16008 (only happened when output string is was too big for the socket) (Thanks to a Bug Fix Submission) Bug Fix -- Check_nt.c changed back to process_tcp_request (process_tcp_request2 was not fully compatible with the original NS_CLient). Enhancement -- Overloaded performance counters to use the ^ delimiter. now can use "^Category^Instance^Counter" for the -l "" or"^Category^Counter" This should help with some of the issues with custom performance counters. Remember check_nt uses the & as a delimiter during communications so if the counter has & in it use a passive check or a different plug in to overcome this issue. The new version is available form Nagiosexchange at: http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=199 or the official web site: http://www.shatterit.com/nc_net/ Thanks Tony ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Jul 16 15:51:15 2005 From: marc at ena.com (Marc Powell) Date: Sat, 16 Jul 2005 08:51:15 -0500 Subject: Plugin for System Uptime Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. > Sent: Friday, July 15, 2005 3:50 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugin for System Uptime > > What plugin would be the one to use to monitor the uptime of several > remote > hosts? The hosts in question are Linux and HP-UX. There's a check_uptime plugin in the contrib. folder. I've never used it but it's there. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From askarali at beaconet.net Sat Jul 16 16:07:44 2005 From: askarali at beaconet.net (Askar Ali) Date: Sat, 16 Jul 2005 19:07:44 +0500 Subject: Plugin for System Uptime In-Reply-To: References: Message-ID: <42D914B0.3000308@beaconet.net> Marc Powell wrote: > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. >>Sent: Friday, July 15, 2005 3:50 PM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Plugin for System Uptime >> >>What plugin would be the one to use to monitor the uptime of several >>remote >>hosts? The hosts in question are Linux and HP-UX. >> >> > >There's a check_uptime plugin in the contrib. folder. I've never used it >but it's there. > >-- >Marc > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > Yep you can use check_uptime from /libexec, however on remote hosts I would suggest you to use "nrpe". That way you nagios machine sends request to nrpe daemon running on remote host which in turn call a local plugin for a specific task say check_users, check_uptime etc. For check_uptime you must read the script where the auther of the plugin explain how you could use it, check_uptime use nmap -0 which must be run as root, in my case i'm running nrpe as nobody user on remote host. So i have to put an entry in /etc/sudoers nobody =NOPASSWD:/usr/bin/nmap otherwise you will get an no uptime from host. I hope this would helps Regards Askar Ali ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Sun Jul 17 10:30:13 2005 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Sun, 17 Jul 2005 10:30:13 +0200 Subject: Plugin for System Uptime In-Reply-To: <20050715235948.GB17537@zippy.toger.us> References: <9C63A4713C4E3342B90428CE44806A73EC36F2@PHSXMB5.partners.org> <20050715235948.GB17537@zippy.toger.us> Message-ID: <42DA1715.5040708@perso.be> Hello, I wrote my own little plugin for uptime on HP-UX systems. It's quite simple really. I use the uptime command and then I cut and sed a little to have the days, hours and minutes and if the uptime is less than 24 hours, the plugin exits with a warning status. Frederik Jason Martin wrote: >On Fri, Jul 15, 2005 at 04:50:03PM -0400, Kaplan, Andrew H. wrote: > > >>What plugin would be the one to use to monitor the uptime of several remote >>hosts? The hosts in question are Linux and HP-UX. >> >> >What would the threshold be for such a plugin? > >-Jason Martin > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Sun Jul 17 10:35:14 2005 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Sun, 17 Jul 2005 10:35:14 +0200 Subject: measuring bandwidth? In-Reply-To: References: Message-ID: <42DA1842.4080504@perso.be> Hello, I'm facing the same problem, SNMP only giving counter values and I need bandwidth. If found the check_iftraffic.pl plugin on Nagiosexchange. It keeps track of the former counter value via a file in /tmp -directory and calculates the bandwidth when the plugin is executed again. Frederik >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Cam >>Sent: Friday, July 15, 2005 9:58 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] measuring bandwidth? >> >>Hi, >> >>I've got some more stuff i'm trying to work out. We want to measure >>the bandwidth that the server is using and have nagios warn us if it >>get's too high or too low. Right now i'm monitoring that over SNMP w/ >>cacti and it's working good, but that just makes me pretty graphs, and >>i need warnings. anyway, i'm trying to figure out the best way to do >>this and i wanted to get other people's input. The problem that i'm >>having is that if i poll the data over SNMP that i just get a >>meaningless COUNTER value. So i guess what i'm wondering is does >>nagios have anyway to keep track of these things themselves, or do i >>need to write a script sort of like this (psuedo-code): >> >> > >No, it doesn't. Each plugin only looks at the current values of whatever >it's checking and has no idea of historical values. > > > >>#this file has the SNMP data polled last time nagios ran my script >>OLD = read $foor >>NEW = snmpget localhost ifinOctets.bar #something like that >>echo $NEW > $foo | awk $4 -print >> >>x = $(($NEW - $OLD)) >> >>if [ $x -lt $SOME_VALUE ]; then >> print_warning_message >>elif [ $x -gt $OTHER_VALUE ]; then >> print_another_warning_message >>else >> print_ok_message >>fi >> >>is there any problems w/ this approach? is there a cleaner way to do >> >> > >That's one way to do it. The other, probably better way would be to use >the check_mrtgtraf plugin or check_rrd_data.pl (in the contrib dir) to >read the rate data directly from the file depending on which format >Cacti uses. The thread below also seems to provide another mechanism -- > >http://64.233.187.104/search?q=cache:EB26O7k-Ok8J:forums.cacti.net/about >624.html%26highlight%3D+check_rrd_data.pl+rrd&hl=en > > > > >>it? what exactly are the rules for plugin output (it seems like it's >>just 'FOO [OK|WARNING|FAIL]: comments'--is that right? >> >> > >No, it's not sufficient. Check out the Developer Guidelines at >http://nagiosplug.sourceforge.net/. It's very simple. > >-- >Marc > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafael.rios.ext at juntadeandalucia.es Sun Jul 17 18:32:38 2005 From: rafael.rios.ext at juntadeandalucia.es (Rafael Rios) Date: Sun, 17 Jul 2005 18:32:38 +0200 Subject: newbie - nrpe Message-ID: <42DA8826.3040702@juntadeandalucia.es> Hi !, I am setting up nagios, I have downloaded nagios-2.0b3.tar.gz, then compiled and all run smoothly. Now I would like to monitor some remote hosts, I have read that I need nrpe, but I can't find where is it or how do I get it running. I haven't found it on FAQs or in the Nagios's documentation. Could anybody help me?? Thanks forehand, Rafa R?os ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Sun Jul 17 18:44:58 2005 From: jhmartin at toger.us (Jason Martin) Date: Sun, 17 Jul 2005 09:44:58 -0700 Subject: newbie - nrpe In-Reply-To: <42DA8826.3040702@juntadeandalucia.es> References: <42DA8826.3040702@juntadeandalucia.es> Message-ID: <20050717164458.GE17537@zippy.toger.us> On Sun, Jul 17, 2005 at 06:32:38PM +0200, Rafael Rios wrote: > Hi !, > I am setting up nagios, I have downloaded nagios-2.0b3.tar.gz, then > compiled and all run smoothly. NRPE is considered an 'addon'. Visit http://www.nagios.org and click on the addons link. -Jason Martin -- SCUD : Sure Could Use Directions This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From askarali at beaconet.net Sun Jul 17 18:59:53 2005 From: askarali at beaconet.net (Askar Ali) Date: Sun, 17 Jul 2005 21:59:53 +0500 Subject: newbie - nrpe In-Reply-To: <42DA8826.3040702@juntadeandalucia.es> References: <42DA8826.3040702@juntadeandalucia.es> Message-ID: <42DA8E89.7050501@beaconet.net> Rafael Rios wrote: > Hi !, > I am setting up nagios, I have downloaded nagios-2.0b3.tar.gz, then > compiled and all run smoothly. > Now I would like to monitor some remote hosts, I have read that I need > nrpe, but I can't find where is it or how do I get it running. > I haven't found it on FAQs or in the Nagios's documentation. > > Could anybody help me?? > > Thanks forehand, > Rafa R?os > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > I guess you can download nrpe from http://public.planetmirror.com/pub/netsaint/download/nrpe-1.2.2.tar.gz To monitor remote host services e,g check_users, check_uptime, check_cpu , check_disk etc its quite easy all you have to do install nrpe on remote host cp nrpe /usr/sbin 1) cp nrpe.cfg /etc 2) vi /etc/nrpe.cfg and uncomment check_command lines you want 3) dont' forget to copy the need plugins to remote host This is just a tips, I hope this will makes you go with nrpe. regards Askar ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafael.rios.ext at juntadeandalucia.es Sun Jul 17 19:47:36 2005 From: rafael.rios.ext at juntadeandalucia.es (Rafael Rios) Date: Sun, 17 Jul 2005 19:47:36 +0200 Subject: newbie - nrpe In-Reply-To: <42DA8E89.7050501@beaconet.net> References: <42DA8826.3040702@juntadeandalucia.es> <42DA8E89.7050501@beaconet.net> Message-ID: <42DA99B8.70105@juntadeandalucia.es> Thanks Askar I just found it at http://prdownloads.sourceforge.net/nagios/nrpe-2.0.tar.gz . I supose this is a more recent version than the one in planetmirror. Thanks for the tips >> > I guess you can download nrpe from > http://public.planetmirror.com/pub/netsaint/download/nrpe-1.2.2.tar.gz > > To monitor remote host services e,g check_users, check_uptime, > check_cpu , check_disk etc its quite easy all you have to do install > nrpe on remote host > > cp nrpe /usr/sbin > > 1) cp nrpe.cfg /etc > 2) vi /etc/nrpe.cfg and uncomment check_command lines you want > 3) dont' forget to copy the need plugins to remote host > > This is just a tips, I hope this will makes you go with nrpe. > > > regards > > Askar > > > -- /-------------8<--------------------------------------\ | | | Rafael R?os Saavedra | | | | Servicio de Inform?tica | | Consejer?a de Innovaci?n, Ciencia y Empresa | | | | rafael.rios.ext at juntadeandalucia.es | | Tlf. (348 956) 955 048 956 | \-------------------------------------->8-------------/ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-user at proy.org Sun Jul 17 22:43:54 2005 From: nagios-user at proy.org (Patrick Proy) Date: Sun, 17 Jul 2005 22:43:54 +0200 Subject: measuring bandwidth? In-Reply-To: <7e2f9af905071507571d03965a@mail.gmail.com> References: <7e2f9af905071507571d03965a@mail.gmail.com> Message-ID: <20050717204354.23249AB715@www.manubulon.com> Hi, The check_snmp_int.pl script does this (http://www.manubulon.com/nagios/snmp_int.html). Patrick Nagios AT proy dot org http://www.manubulon.com/nagios/ https://sourceforge.net/projects/nagios-snmp/ -----Message d'origine----- De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Cam Envoy? : vendredi 15 juillet 2005 16:58 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] measuring bandwidth? Hi, I've got some more stuff i'm trying to work out. We want to measure the bandwidth that the server is using and have nagios warn us if it get's too high or too low. Right now i'm monitoring that over SNMP w/ cacti and it's working good, but that just makes me pretty graphs, and i need warnings. anyway, i'm trying to figure out the best way to do this and i wanted to get other people's input. The problem that i'm having is that if i poll the data over SNMP that i just get a meaningless COUNTER value. So i guess what i'm wondering is does nagios have anyway to keep track of these things themselves, or do i need to write a script sort of like this (psuedo-code): #this file has the SNMP data polled last time nagios ran my script OLD = read $foor NEW = snmpget localhost ifinOctets.bar #something like that echo $NEW > $foo | awk $4 -print x = $(($NEW - $OLD)) if [ $x -lt $SOME_VALUE ]; then print_warning_message elif [ $x -gt $OTHER_VALUE ]; then print_another_warning_message else print_ok_message fi is there any problems w/ this approach? is there a cleaner way to do it? what exactly are the rules for plugin output (it seems like it's just 'FOO [OK|WARNING|FAIL]: comments'--is that right? Thanks! Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tstocking at itgroundwork.com Mon Jul 18 05:14:49 2005 From: tstocking at itgroundwork.com (tstocking at itgroundwork.com) Date: Sun, 17 Jul 2005 20:14:49 -0700 Subject: Out of the office for a bit... Message-ID: Hello, and thanks for your email. This is an automated response, letting you know that I'll be out of the office until August 1st, 2005. If you need to get in touch with me, and you don't have my other contact information, please call 1 510 899-7700, and someone will take a message or put you in touch with me. Have a great day, Thomas Thomas Stocking CTO, GroundWork Open Source Solutions, Inc. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Mon Jul 18 05:28:42 2005 From: james at lovedthanlost.net (James Turnbull) Date: Mon, 18 Jul 2005 13:28:42 +1000 Subject: [Nagios-users] Technical Reviewer required for Nagios book In-Reply-To: <20050714124739.xg2t3lgzk4owgg4c@webmail.lovedthanlost.net> References: <20050714124739.xg2t3lgzk4owgg4c@webmail.lovedthanlost.net> Message-ID: <42DB21EA.4020205@lovedthanlost.net> Thanks to all who responded. I have forwarded your details to my editor. Kind Regards James Turnbull ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click From Stanley.Hopcroft at IPAustralia.gov.au Mon Jul 18 06:03:13 2005 From: Stanley.Hopcroft at IPAustralia.gov.au (Stanley Hopcroft) Date: Mon, 18 Jul 2005 14:03:13 +1000 Subject: How does one notify on event handler failure ? In-Reply-To: <20050628200128.805BC33C4F@sc8-sf-spam1.sourceforge.net> References: <20050628200128.805BC33C4F@sc8-sf-spam1.sourceforge.net> Message-ID: <20050718040313.GA45829@ws11114.aipo.gov.au> Dear Folks, I don' think this an RTFM but please let me know which FM to read otherwise. I would like to have an event handler attempt a service restart __and__ then have Nagios process a restart failure by notifying the contact group and doing all the other Nag things (log, pace notifications, re-invoke event handlers ..) as long as the service fails to restart. How would I do this ? One option is to have the event handler 1 attempt a restart 2 retry the service and find that it is still unavailable 3 submit a notification event to the Nagios Command Queue. This is _not_ a very good solution because the event handler would have to hardcode the contact information since it has no access to the Nag macros. What are other people doing about this ? Yours sincerely. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From frederik.vanhee at perso.be Mon Jul 18 10:44:49 2005 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Mon, 18 Jul 2005 10:44:49 +0200 Subject: Nagios and performance data Message-ID: <42DB6C01.1080402@perso.be> Hello, I'm doing some experiments with performance data, but experience some strange behaviour I have a plugin 'check_iftraffic.pl' that returns this : Total RX Bytes : 145.74 MB, Total TX Bytes: 242,75 MB, Average Traffic: 2,89 kB/s (0,0%) in, 6,25 kB/s (0,0%) out | inUsage=0.0,85,98 outUsage=0.0,85,98 In nagios.cfg, I put 'process_performance_data=1' So I expect that Nagios splits the plugin output in two Macros : The text before the | should be the service output and the text after the | should be recognized as performance data $SERVICEOUTPUT$=Total RX Bytes : 145.74 MB, Total TX Bytes: 242,75 MB, Average Traffic: 2,89 kB/s (0,0%) in, 6,25 kB/s (0,0%) out $SERVICEPERFDATA$=inUsage=0.0,85,98 outUsage=0.0,85,98 Instead of what I expect, Nagios drops the text before the | and the text after the | is treated as the plugin output, so in my status-cgi's, I get : inUsage=0.0,85,98 outUsage=0.0,85,98 and I don't get any performance data. I thought it had something to do with an illegal character, this is what I have in nagios.cfg : illegal_macro_output_chars=`~$&|'"<> Any hints ? Apart from perfparse, what programs are you using to interpret performance data ? Thanks, Frederik ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Jevos at Oriflame-SW.Com Mon Jul 18 11:13:46 2005 From: Peter.Jevos at Oriflame-SW.Com (Jevos, Peter) Date: Mon, 18 Jul 2005 11:13:46 +0200 Subject: Error: Host Status Information Not Found! Message-ID: <6639BA20B265594590E97DD72A8EE035421A24@exosw.osw.ori.local> Hello, I've upgraded from 1.2 to 2.0b3 version and I have some problems. When I add new host or service, in the cgi's they sometimes disappear. After some refreshing pages they again appear. When I click on the host , Nagios sometimes write a message: Error: Host Status Information Not Found. As well as for service belong to this host. This behavior is tied only with new hosts and services. Does anybody know what's happening ? Thanx a lot Pet ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidworld.org Mon Jul 18 11:18:01 2005 From: chris at aidworld.org (chris at aidworld.org) Date: Mon, 18 Jul 2005 10:18:01 +0100 (BST) Subject: Error: Host Status Information Not Found! In-Reply-To: <6639BA20B265594590E97DD72A8EE035421A24@exosw.osw.ori.local> References: <6639BA20B265594590E97DD72A8EE035421A24@exosw.osw.ori.local> Message-ID: <56728.131.111.156.217.1121678281.squirrel@131.111.156.217> Hi Peter, > I've upgraded from 1.2 to 2.0b3 version and I have some problems. > When I add new host or service, in the cgi's they sometimes disappear. > After some refreshing pages they again appear. When I click on the host > , Nagios sometimes write a message: Error: Host Status Information Not > Found. As well as for service belong to this host. This behavior is tied > only with new hosts and services. > Does anybody know what's happening ? FAQ. You have more than one Nagios process running. Kill them all and start again with a single one. Has anyone thought about modifying the initscripts to search and destroy existing nagios processes before starting a new one, or at least refusing to start a new one if there's already one running? Would save a lot of boring questions on the list. Cheers, Chris. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidworld.org Mon Jul 18 11:21:02 2005 From: chris at aidworld.org (chris at aidworld.org) Date: Mon, 18 Jul 2005 10:21:02 +0100 (BST) Subject: How does one notify on event handler failure ? In-Reply-To: <20050718040313.GA45829@ws11114.aipo.gov.au> References: <20050628200128.805BC33C4F@sc8-sf-spam1.sourceforge.net> <20050718040313.GA45829@ws11114.aipo.gov.au> Message-ID: <56786.131.111.156.217.1121678462.squirrel@131.111.156.217> Hi Stanley, > I would like to have an event handler attempt a service restart __and__ > then > have Nagios process a restart failure by notifying the contact group and > doing > all the other Nag things (log, pace notifications, re-invoke event > handlers ..) as > long as the service fails to restart. How about: set your max_check_attempts to 10. On the 5th soft failure, restart the service. If the service doesn't come back up properly, Nagios will check it another 5 times and then report an error in the normal way. Cheers, Chris. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Evert.Goor at benp.nl Mon Jul 18 11:35:43 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Mon, 18 Jul 2005 11:35:43 +0200 Subject: is there a good nagios forum Message-ID: <19CCC8E70E4FA941848269F0C5D832CC898826@post.systems.nl> Hi All I'm watching for a few weeks all these threads on this mail system. I'm wondering is there also a forum about this product ? I see a lot of nice answers an tips but searching through this system is pretty difficult. Please let me know. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Peter.Jevos at Oriflame-SW.Com Mon Jul 18 11:35:57 2005 From: Peter.Jevos at Oriflame-SW.Com (Jevos, Peter) Date: Mon, 18 Jul 2005 11:35:57 +0200 Subject: Error: Host Status Information Not Found! Message-ID: <6639BA20B265594590E97DD72A8EE035421A26@exosw.osw.ori.local> Yes, I found it in FAQ. I killed them all , started new one. But when I started, Nagios created again few main processes: Here is ps fax | grep nagios: 2985 ? S 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg 2986 ? S 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg 2988 ? S 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg 2989 ? S 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg 2991 ? S 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg 2992 ? S 0:00 \_ /usr/local/nagios/libexec/check_smtp -H 10.3.100.1 -t 22 2995 ? S 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg 2996 ? S 0:00 \_ /usr/local/nagios/libexec/check_smtp -H 10.3.1.1 -t 22 Is there wrong startup script ? I used fron new distribution Thanx Pet Peter Jevos peter.jevos at oriflame-sw.com Oriflame Software , s.r.o - Oriflame IT services Na Pankraci 30, Praha 4, Czech rep. Tel. +420 225 994 456, Fax +420225994412 -----Original Message----- From: chris at aidworld.org [mailto:chris at aidworld.org] Sent: Monday, July 18, 2005 11:18 AM To: Jevos, Peter Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Error: Host Status Information Not Found! Hi Peter, > I've upgraded from 1.2 to 2.0b3 version and I have some problems. > When I add new host or service, in the cgi's they sometimes disappear. > After some refreshing pages they again appear. When I click on the > host , Nagios sometimes write a message: Error: Host Status > Information Not Found. As well as for service belong to this host. > This behavior is tied only with new hosts and services. > Does anybody know what's happening ? FAQ. You have more than one Nagios process running. Kill them all and start again with a single one. Has anyone thought about modifying the initscripts to search and destroy existing nagios processes before starting a new one, or at least refusing to start a new one if there's already one running? Would save a lot of boring questions on the list. Cheers, Chris. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 18 11:37:05 2005 From: teng at dataway.com (Tedman Eng) Date: Mon, 18 Jul 2005 02:37:05 -0700 Subject: Error: Host Status Information Not Found! Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7581@dw-mail.dataway.com> > -----Original Message----- > From: chris at aidworld.org [mailto:chris at aidworld.org] > Sent: Monday, July 18, 2005 2:18 AM > To: Jevos, Peter > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Error: Host Status Information Not Found! > > > Hi Peter, > > > I've upgraded from 1.2 to 2.0b3 version and I have some problems. > > When I add new host or service, in the cgi's they sometimes > disappear. > > After some refreshing pages they again appear. When I click > on the host > > , Nagios sometimes write a message: Error: Host Status > Information Not > > Found. As well as for service belong to this host. This > behavior is tied > > only with new hosts and services. > > Does anybody know what's happening ? > > FAQ. You have more than one Nagios process running. Kill them all and > start again with a single one. > > Has anyone thought about modifying the initscripts to search > and destroy > existing nagios processes before starting a new one, or at > least refusing > to start a new one if there's already one running? Would save a lot of > boring questions on the list. > > Cheers, Chris. > > I believe this phenomenon is tied to the check_timeout value of the nagios check processes. The initscripts work fine after I added a 'sleep 10' to them in between the stop and start clauses. I even converted them to RedHat style (Starting nagios... [OK]). My check_timeout is 10 seconds, so the lingering child processes have died by the time the script starts a new instance. If you're using a much longer timeout, 'killall nagios' in between the stop/start might work better. -T ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidworld.org Mon Jul 18 11:45:11 2005 From: chris at aidworld.org (chris at aidworld.org) Date: Mon, 18 Jul 2005 10:45:11 +0100 (BST) Subject: Error: Host Status Information Not Found! In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC7581@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC7581@dw-mail.dataway.com> Message-ID: <57325.131.111.156.217.1121679911.squirrel@131.111.156.217> Hello "T", > I believe this phenomenon is tied to the check_timeout value of the nagios > check processes. The initscripts work fine after I added a 'sleep 10' to > them in between the stop and start clauses. I even converted them to > RedHat > style (Starting nagios... [OK]). My check_timeout is 10 seconds, so the > lingering child processes have died by the time the script starts a new > instance. If you're using a much longer timeout, 'killall nagios' in > between the stop/start might work better. But I don't understand why a lingering service check is able to make the web interface behave this way. Once the main (old) nagios process is dead, the service checks should complete and then the old nagios should clean up after itself, while the new one takes over running service checks and maintaining state. It seems that it doesn't work in this nice clean way, but why? And shouldn't it be fixed? In the mean time, adding "killall nagios" to the initscript seems like a sensible precaution, if perhaps a little violent. Cheers, Chris. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Mon Jul 18 13:14:05 2005 From: james at lovedthanlost.net (James Turnbull) Date: Mon, 18 Jul 2005 21:14:05 +1000 Subject: is there a good nagios forum In-Reply-To: <19CCC8E70E4FA941848269F0C5D832CC898826@post.systems.nl> References: <19CCC8E70E4FA941848269F0C5D832CC898826@post.systems.nl> Message-ID: <42DB8EFD.6010102@lovedthanlost.net> Evert Goor wrote: > Hi All > > I?m watching for a few weeks all these threads on this mail system. > I?m wondering is there also a forum about this product ? I see a lot > of nice answers an tips but searching through this system is pretty > difficult. > > Please let me know. > Try: http://www.meulie.net/forum_viewforum.php?21 Regards James Turnbull -- James Turnbull --- Author of Hardening Linux, Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joseph.Petrucci at ddiworld.com Mon Jul 18 13:21:32 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Mon, 18 Jul 2005 07:21:32 -0400 Subject: Plugin for System Uptime Message-ID: I did the same thing but used ssh to execute the command Joseph A. Petrucci E Systems DBA ------------------------------------------------ Desk: 412-220-2646 Cell: 412-916-2867 Text message (e-mail) 4129162867 at mobile.att.net e-mail joseph.petrucci at ddiworld.com Personal Cell: 724-462-0443 Personal e-mail: japetrucci at hotmail.com ________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of Frederik Vanhee Sent: Sun 7/17/2005 4:30 AM To: Jason Martin Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Plugin for System Uptime Hello, I wrote my own little plugin for uptime on HP-UX systems. It's quite simple really. I use the uptime command and then I cut and sed a little to have the days, hours and minutes and if the uptime is less than 24 hours, the plugin exits with a warning status. Frederik Jason Martin wrote: >On Fri, Jul 15, 2005 at 04:50:03PM -0400, Kaplan, Andrew H. wrote: > > >>What plugin would be the one to use to monitor the uptime of several remote >>hosts? The hosts in question are Linux and HP-UX. >> >> >What would the threshold be for such a plugin? > >-Jason Martin > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 joel at carnat.net Mon Jul 18 13:47:31 2005 From: joel at carnat.net (Joel CARNAT) Date: Mon, 18 Jul 2005 13:47:31 +0200 Subject: notifications and thread view in MUA Message-ID: <20050718134731.207bbfee.joel@carnat.net> Hi, I'm used to sorting my mails in thread. When nagios sends notification (ALERT, DOWN, OK, ...), none are linked. Is there a way to "link" them (so that DOWN and UP would appear in the same thread) ? Is there a way to force the In-Reply-Of mail header ? TIA, Jo ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralph.Grothe at itdz-berlin.de Mon Jul 18 14:29:09 2005 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Mon, 18 Jul 2005 14:29:09 +0200 Subject: Very basic configuration questions Message-ID: <6B893C5F2902D311A23F0090272854FB0575B76A@litex001.lit.verwalt-berlin.de> Hi, I newly subscribed to this list. So forgive if these kind of embryonic questions already have been asked and answered a 1000 times. I'm a bit too impatient to dig through the FAQs and list archives right now. I will do this later. I tweaked my set of config files so long until nagios pre-flight check didn't report errors but only warnings anymore. The warnings are due to many predefined hosts that I haven't had the time to elaborate on required service checks yet. So I started nagios in daemon mode (i.e. -d), and having had the first 6 nodes monitored (i.e. mere check_icmp so far) for the lunch break. Of course I couldn't expect everything to work from the beginning. So I noticed a couple of errors when I turned my eye on nagios log and nagios user's mail queue. First there's a minute macro expansion problem. Among others I defined this MX domain $ grep ^\$USER5 /opt/sw/nagios/etc/resource.cfg $USER5$=our.site.tld $ grep resource.cfg /opt/sw/nagios/etc/nagios.cfg resource_file=/opt/sw/nagios/etc/resource.cfg $ cat -n /opt/sw/nagios/etc/contacts.cfg | sed -n 15,23p 15 16 define contact { 17 use generic-contact 18 contact_name grothe 19 alias Ralph Grothe SAZ 20 # see resource.cfg for $USER5$ 21 email ralph.grothe@$USER5$ 22 } 23 This is what happened. The MTA bounced the notification on an check_icmp alert because there was some queer substitution, recipient rewriting going on. $ grep -E Final-Recipient\|Diagnostic-Code /var/spool/mail/nagios Final-Recipient: rfc822; ralph.grothe at USER5.other.site.tld Diagnostic-Code: X-Postfix; Name service error for name=user5.other.site.tld Why didn't the macro get substituted? Did the MTA rewrite the other.site.tld as suffix, or where could have come from? (n.b. {our,other}.site.tld are merely dummies for real addresses for I feared being spammed) Another question, if I extend or adapt my Nagios config do I have to bring the the daemon down, or would a $ kill -HUP $(cat /var/opt/nagios/nagios.pid) suffice? Thanks ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quantis at itc.auth.gr Mon Jul 18 14:38:23 2005 From: quantis at itc.auth.gr (Kostas Boukouvalas) Date: Mon, 18 Jul 2005 15:38:23 +0300 Subject: UPS MGE 3000 Galaxy Plugin Message-ID: <42DBA2BF.4040101@itc.auth.gr> Is there any plugin for the above UPS for Nagios? I made a little search without result. Kostas Boukouvalas Aristotle University of Thessaloniki IT Center - System Administrator Assistant ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete at stuff-done.co.uk Mon Jul 18 14:44:08 2005 From: pete at stuff-done.co.uk (Pete Dewell) Date: Mon, 18 Jul 2005 13:44:08 +0100 Subject: Very basic configuration questions In-Reply-To: <6B893C5F2902D311A23F0090272854FB0575B76A@litex001.lit.verwalt-berlin.de> References: <6B893C5F2902D311A23F0090272854FB0575B76A@litex001.lit.verwalt-berlin.de> Message-ID: <42DBA418.6060906@stuff-done.co.uk> Try defining the $USER$ variable as $USER5$='our.site.tld' I found that using single quotes stops a lot of substitution errors. As for restarting Nagios, there is a "restart" option on the web interface, under "process info". I'm not sure whether it uses HUP, but it seems to do the job. Pete Dewell Ralph.Grothe at itdz-berlin.de wrote: > Hi, > > I newly subscribed to this list. > So forgive if these kind of embryonic questions already have been > asked and answered a 1000 times. > I'm a bit too impatient to dig through the FAQs and list archives > right now. > I will do this later. > > I tweaked my set of config files so long until nagios pre-flight > check didn't report errors > but only warnings anymore. > > The warnings are due to many predefined hosts that I haven't had > the time to elaborate on required service checks yet. > > So I started nagios in daemon mode (i.e. -d), and having had the > first 6 nodes monitored (i.e. mere check_icmp so far) for the > lunch break. > > Of course I couldn't expect everything to work from the > beginning. > > So I noticed a couple of errors when I turned my eye on nagios > log and nagios user's mail queue. > > First there's a minute macro expansion problem. > > Among others I defined this MX domain > > $ grep ^\$USER5 /opt/sw/nagios/etc/resource.cfg > $USER5$=our.site.tld > > $ grep resource.cfg /opt/sw/nagios/etc/nagios.cfg > resource_file=/opt/sw/nagios/etc/resource.cfg > > $ cat -n /opt/sw/nagios/etc/contacts.cfg | sed -n 15,23p > 15 > 16 define contact { > 17 use generic-contact > 18 contact_name grothe > 19 alias Ralph Grothe SAZ > 20 # see resource.cfg > for $USER5$ > 21 email > ralph.grothe@$USER5$ > 22 } > 23 > > This is what happened. > The MTA bounced the notification on an check_icmp alert because > there was some queer substitution, > recipient rewriting going on. > > > $ grep -E Final-Recipient\|Diagnostic-Code /var/spool/mail/nagios > > Final-Recipient: rfc822; ralph.grothe at USER5.other.site.tld > Diagnostic-Code: X-Postfix; Name service error for > name=user5.other.site.tld > > > Why didn't the macro get substituted? > Did the MTA rewrite the other.site.tld as suffix, or where could > have come from? > (n.b. {our,other}.site.tld are merely dummies for real addresses > for I feared being spammed) > > Another question, > if I extend or adapt my Nagios config do I have to bring the the > daemon down, > or would a > > $ kill -HUP $(cat /var/opt/nagios/nagios.pid) > > suffice? > > Thanks > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Mon Jul 18 14:48:17 2005 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 18 Jul 2005 14:48:17 +0200 Subject: UPS MGE 3000 Galaxy Plugin In-Reply-To: <42DBA2BF.4040101@itc.auth.gr> References: <42DBA2BF.4040101@itc.auth.gr> Message-ID: <200507181448.21308.misch@multinet.de> Am Montag, 18. Juli 2005 14:38 schrieb Kostas Boukouvalas: > Is there any plugin for the above UPS for Nagios? I made a little search > without result. (...) Why don't you use SNMP? Look to the UPS MIB. All nescessary variables should be there! -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From bitsandbytes88 at hotmail.com Mon Jul 18 15:10:16 2005 From: bitsandbytes88 at hotmail.com (D Kavan) Date: Mon, 18 Jul 2005 09:10:16 -0400 Subject: check_nsca Message-ID: Hi, Is there a standard command to use when you want the nagios server to check the que for incoming nsca receipts. What is it? There isn't a check_nsca command that I can find anywhere. On the sending side, I'm trying to send load data. I'm not sure how to do that on the remote end either. I have suse linux on both ends. Thanks for any help. I have nsca, nagios, and the plugins, but I'm not sure of which command to use on either end. ~DjK ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 18 15:17:32 2005 From: marc at ena.com (Marc Powell) Date: Mon, 18 Jul 2005 08:17:32 -0500 Subject: check_nsca Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of D Kavan > Sent: Monday, July 18, 2005 8:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nsca > > > > Hi, > > Is there a standard command to use when you want the nagios server to > check > the que for incoming nsca receipts. What is it? There isn't a check_nsca > command that I can find anywhere. Enable external commands in nagios.cfg, specify how often to check and the path to the external command file. > On the sending side, I'm trying to send load data. I'm not sure how to do > that on the remote end either. I have suse linux on both ends. Thanks > for > any help. I have nsca, nagios, and the plugins, but I'm not sure of > which > command to use on either end. You'll need to have something execute the plugin and send the results to nsca via send_nsca like cron+wrapper script. Most often there is another instance of nagios running on the remote machine when using nsca. You probably want to look at NRPE or check-by-ssh which sound like they might better suit your needs. If you want to continue with NSCA, the Distributed Monitoring section of the documentation is an excellent resource. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bitsandbytes88 at hotmail.com Mon Jul 18 15:23:59 2005 From: bitsandbytes88 at hotmail.com (Dj kavanski) Date: Mon, 18 Jul 2005 15:23:59 +0200 (CEST) Subject: check_nsca In-Reply-To: References: Message-ID: <20050718132359.A17134F4002@desire.netways.de> Hi D Does Nagios(ie 2.0b3) need to be installed on the remote system running the send_nsca daemon? If you are using nsca does that mean you are also implementing distribute d monitoring? Thanks, ~DjK - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=8720 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 18 15:21:38 2005 From: marc at ena.com (Marc Powell) Date: Mon, 18 Jul 2005 08:21:38 -0500 Subject: notifications and thread view in MUA Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joel CARNAT > Sent: Monday, July 18, 2005 6:48 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notifications and thread view in MUA > > Hi, > > I'm used to sorting my mails in thread. > When nagios sends notification (ALERT, DOWN, OK, ...), none are linked. > Is there a way to "link" them (so that DOWN and UP would appear in the > same thread) ? Is there a way to force the In-Reply-Of mail header ? Sure. Change your host/service-notify-by-email scripts to add the appropriate headers. You have complete control over the format and contents of those e-mails. I'm not in a position to provide an example right now but it should be straightforward. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bitsandbytes88 at hotmail.com Mon Jul 18 15:27:34 2005 From: bitsandbytes88 at hotmail.com (Dj kavanski) Date: Mon, 18 Jul 2005 15:27:34 +0200 (CEST) Subject: check_nsca In-Reply-To: References: Message-ID: <20050718132734.902504F4002@desire.netways.de> Hi Marc Nothing showed up. - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=8721 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bitsandbytes88 at hotmail.com Mon Jul 18 15:27:52 2005 From: bitsandbytes88 at hotmail.com (Dj kavanski) Date: Mon, 18 Jul 2005 15:27:52 +0200 (CEST) Subject: check_nsca In-Reply-To: References: Message-ID: <20050718132752.754554F4002@desire.netways.de> Hi Marc Nothing showed up. - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=8721 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralph.Grothe at itdz-berlin.de Mon Jul 18 15:51:51 2005 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Mon, 18 Jul 2005 15:51:51 +0200 Subject: Very basic configuration questions Message-ID: <6B893C5F2902D311A23F0090272854FB0575B76B@litex001.lit.verwalt-berlin.de> Hello Pete, I surrounded the $USER5$ value by single quotes and sent the nagios pid a sighup. $ grep ^\$USER5 resource.cfg $USER5$='itdz-berlin.de' nagios understood the signal as intended, as it seems $ tail -2 /var/opt/nagios/log/nagios.log [1121692649] SERVICE EVENT HANDLER: neptun;check-host-neptun;OK;SOFT;3;notify-by-email [1121692735] Caught SIGHUP, restarting... Is there a test program from the nagios installed tools that could be used to deliberately raise an event in order to test if notifications work properly? Or do I have to provoke an event (e.g. filling a filesystem for a check_disk monitor)? For now I cannot use the cgi interface because my http server setting seems a little broken. I wonder where it got the wrong path for the ScriptAlias from? $ tail -1 /var/opt/nagios/log/www_nagdaisy_error.log |sed 's/\(.*\[client \).*\(\].*\)/\1\2/' [Mon Jul 18 15:44:19 2005] [error] [client ] attempt to invoke directory as script: /opt/sw/nagios/sbin The CGIs went here during installation. $ ll /opt/sw/nagios/sbin/ total 5648 -rwxrwxr-x 1 nagios nagios 214901 Jun 20 14:31 avail.cgi -rwxrwxr-x 1 nagios nagios 214033 Jun 20 14:31 cmd.cgi -rwxrwxr-x 1 nagios nagios 172201 Jun 20 14:31 config.cgi -rwxrwxr-x 1 nagios nagios 234106 Jun 20 14:31 extinfo.cgi -rwxrwxr-x 1 nagios nagios 178502 Jun 20 14:31 histogram.cgi -rwxrwxr-x 1 nagios nagios 151461 Jun 20 14:31 history.cgi -rwxrwxr-x 1 nagios nagios 148525 Jun 20 14:31 notifications.cgi -rwxrwxr-x 1 nagios nagios 149357 Jun 20 14:31 outages.cgi -rwxrwxr-x 1 nagios nagios 146489 Jun 20 14:31 showlog.cgi -rwxrwxr-x 1 nagios nagios 220574 Jun 20 14:31 status.cgi -rwxrwxr-x 1 nagios nagios 178047 Jun 20 14:31 statusmap.cgi -rwxrwxr-x 1 nagios nagios 165489 Jun 20 14:31 statuswml.cgi -rwxrwxr-x 1 nagios nagios 152752 Jun 20 14:31 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 177341 Jun 20 14:31 summary.cgi -rwxrwxr-x 1 nagios nagios 164868 Jun 20 14:31 tac.cgi -rwxrwxr-x 1 nagios nagios 185863 Jun 20 14:31 trends.cgi A little deviating from the usual webserver config as outlined in the Nagios docs I'm using here a virtual host configuration why I omitted the suggested nagios subdir from ServerRoot (no need for such distinction for a virtual host) and defined the below $ sed -n '/^# grothe/,$p' /usr/HTTPServer/conf/httpd.conf|sed -n /ScriptAlias/,\$p|grep -v Allow\ From From ScriptAlias /cgi-bin /opt/sw/nagios/sbin Options None AllowOverride AuthConfig Order allow,deny It looks like I need to substitute the href attributes in the anchors of the starting Nagios screen to get the CGIs properly invoked. Yes, a Nagios newbie shouldn't deviate from the standard procedures ;-) > -----Original Message----- > From: Pete Dewell [mailto:pete at stuff-done.co.uk] > Sent: Monday, July 18, 2005 2:44 PM > To: Ralph.Grothe at itdz-berlin.de > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Very basic configuration questions > > > Try defining the $USER$ variable as > > $USER5$='our.site.tld' > > I found that using single quotes stops a lot of substitution errors. > > As for restarting Nagios, there is a "restart" option on the web > interface, under "process info". I'm not sure whether it uses > HUP, but > it seems to do the job. > > Pete Dewell > > Ralph.Grothe at itdz-berlin.de wrote: > > Hi, > > > > I newly subscribed to this list. > > So forgive if these kind of embryonic questions already have been > > asked and answered a 1000 times. > > I'm a bit too impatient to dig through the FAQs and list archives > > right now. > > I will do this later. > > > > I tweaked my set of config files so long until nagios pre-flight > > check didn't report errors > > but only warnings anymore. > > > > The warnings are due to many predefined hosts that I haven't had > > the time to elaborate on required service checks yet. > > > > So I started nagios in daemon mode (i.e. -d), and having had the > > first 6 nodes monitored (i.e. mere check_icmp so far) for the > > lunch break. > > > > Of course I couldn't expect everything to work from the > > beginning. > > > > So I noticed a couple of errors when I turned my eye on nagios > > log and nagios user's mail queue. > > > > First there's a minute macro expansion problem. > > > > Among others I defined this MX domain > > > > $ grep ^\$USER5 /opt/sw/nagios/etc/resource.cfg > > $USER5$=our.site.tld > > > > $ grep resource.cfg /opt/sw/nagios/etc/nagios.cfg > > resource_file=/opt/sw/nagios/etc/resource.cfg > > > > $ cat -n /opt/sw/nagios/etc/contacts.cfg | sed -n 15,23p > > 15 > > 16 define contact { > > 17 use generic-contact > > 18 contact_name grothe > > 19 alias Ralph Grothe SAZ > > 20 # see resource.cfg > > for $USER5$ > > 21 email > > ralph.grothe@$USER5$ > > 22 } > > 23 > > > > This is what happened. > > The MTA bounced the notification on an check_icmp alert because > > there was some queer substitution, > > recipient rewriting going on. > > > > > > $ grep -E Final-Recipient\|Diagnostic-Code /var/spool/mail/nagios > > > > Final-Recipient: rfc822; ralph.grothe at USER5.other.site.tld > > Diagnostic-Code: X-Postfix; Name service error for > > name=user5.other.site.tld > > > > > > Why didn't the macro get substituted? > > Did the MTA rewrite the other.site.tld as suffix, or where could > > have come from? > > (n.b. {our,other}.site.tld are merely dummies for real addresses > > for I feared being spammed) > > > > Another question, > > if I extend or adapt my Nagios config do I have to bring the the > > daemon down, > > or would a > > > > $ kill -HUP $(cat /var/opt/nagios/nagios.pid) > > > > suffice? > > > > Thanks > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > -- > Pete Dewell | Stuff Done > pete at stuff-done.co.uk > > > ** The information contained in this message, including any > attachment, > is confidential and may be privileged or otherwise protected from > disclosure. The information is intended only for the person > or entity to > which it is addressed. If you are not the intended recipient, please > contact the sender and delete this message from your system. > Any review, > re-transmission, distribution or other use of this information by > persons or entities other than the intended recipient is prohibited. * > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forums at emat.be Mon Jul 18 16:03:05 2005 From: forums at emat.be (Forums) Date: Mon, 18 Jul 2005 16:03:05 +0200 Subject: Servicegroups bug? Message-ID: <42DBB699.8000700@emat.be> An HTML attachment was scrubbed... URL: From Ajit.Mohan at dc.gov Mon Jul 18 16:15:47 2005 From: Ajit.Mohan at dc.gov (Mohan, Ajit (CFSA)) Date: Mon, 18 Jul 2005 10:15:47 -0400 Subject: Plug-in for https Message-ID: <03BC54053BE9A843B1785F0185A1F7EA243909@emo-exch2k3-210.dcgov.priv> Is there a plug-in available for monitoring https servers from Nagios ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From admin at jpk236.com Mon Jul 18 16:24:33 2005 From: admin at jpk236.com (admin at jpk236.com) Date: Mon, 18 Jul 2005 10:24:33 -0400 Subject: Plug-in for https In-Reply-To: <03BC54053BE9A843B1785F0185A1F7EA243909@emo-exch2k3-210.dcgov.priv> References: <03BC54053BE9A843B1785F0185A1F7EA243909@emo-exch2k3-210.dcgov.priv> Message-ID: <42DBBBA1.7040803@jpk236.com> /usr/local/libexec/nagios#>./check_http -S -H your.domain.com For more information, run: /usr/local/libexec/nagios#>./check_http -h - Justin Kulikowski [ http://www.jpk236.com ] Mohan, Ajit (CFSA) wrote: > Is there a plug-in available for monitoring https servers from Nagios ? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete at stuff-done.co.uk Mon Jul 18 16:26:59 2005 From: pete at stuff-done.co.uk (Pete Dewell) Date: Mon, 18 Jul 2005 15:26:59 +0100 Subject: Plug-in for https In-Reply-To: <03BC54053BE9A843B1785F0185A1F7EA243909@emo-exch2k3-210.dcgov.priv> References: <03BC54053BE9A843B1785F0185A1F7EA243909@emo-exch2k3-210.dcgov.priv> Message-ID: <42DBBC33.8020308@stuff-done.co.uk> Its called check_http. Use the -S option. Mohan, Ajit (CFSA) wrote: > Is there a plug-in available for monitoring https servers from Nagios ? -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Mon Jul 18 16:37:12 2005 From: srunschke at abit.de (srunschke at abit.de) Date: Mon, 18 Jul 2005 16:37:12 +0200 Subject: Antwort: RE: Very basic configuration questions [Virus scanned] In-Reply-To: <6B893C5F2902D311A23F0090272854FB0575B76B@litex001.lit.verwalt-berlin.de> References: <6B893C5F2902D311A23F0090272854FB0575B76B@litex001.lit.verwalt-berlin.de> Message-ID: > A little deviating from the usual webserver config as outlined in > the Nagios docs I'm using here > a virtual host configuration why I omitted the suggested nagios > subdir from ServerRoot (no need for such distinction for a > virtual host) and defined the below That's perfectly ok, as long as you used the --with-htmurl and --with-cgiurl switches of the configure script and pointed them to starting in the serverroot aka ./configure --with-htmurl=/ --with-cgiurl=/cgi-bin > $ sed -n '/^# grothe/,$p' /usr/HTTPServer/conf/httpd.conf|sed -n > /ScriptAlias/,\$p|grep -v Allow\ From > From > ScriptAlias /cgi-bin /opt/sw/nagios/sbin > > Options None > AllowOverride AuthConfig > Order allow,deny > > > > > It looks like I need to substitute the href attributes in the > anchors of the starting Nagios screen to get the CGIs properly > invoked. > Yes, a Nagios newbie shouldn't deviate from the standard > procedures ;-) Well, do not expect CGIs to work if you do not give the directory cgi-execution permissions ;) Then again, the omission of trailing slashes can cause havoc on your installation too. ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin/ Options ExecCGI order deny,allow deny from all AuthType Basic AuthUserFile /usr/local/nagios/etc/nagios.users AuthGroupFile /usr/local/nagios/etc/nagios.groups AuthName "Administrativer Nagios Zugang" require group nagios Satisfy Any Alias /nagios /usr/local/nagios/share Options None order deny,allow deny from all AuthType Basic AuthUserFile /usr/local/nagios/etc/nagios.users AuthGroupFile /usr/local/nagios/etc/nagios.groups AuthName "Administrativer Nagios Zugang" require group nagios Satisfy Any Alias /nagios2help /usr/local/nagios/ Rework those to using ServerRoot instead and it should work. Using Auth is mandatory too when dealing with the CGIs, I don't know if you used that in your htaccess, but your config suggests so. -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ajit.Mohan at dc.gov Mon Jul 18 16:57:59 2005 From: Ajit.Mohan at dc.gov (Mohan, Ajit (CFSA)) Date: Mon, 18 Jul 2005 10:57:59 -0400 Subject: Plug-in for https Message-ID: <03BC54053BE9A843B1785F0185A1F7EA24390E@emo-exch2k3-210.dcgov.priv> Thanks guys for your response. After adding the line in the services.cfg I get this error " Service check command 'check_http -S -H "my domain name" specified in service 'HTTP' for host 'domain name' not defined anywhere!" Thanks -----Original Message----- From: admin at jpk236.com [mailto:admin at jpk236.com] Sent: Monday, July 18, 2005 10:25 AM To: Mohan, Ajit (CFSA) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Plug-in for https /usr/local/libexec/nagios#>./check_http -S -H your.domain.com For more information, run: /usr/local/libexec/nagios#>./check_http -h - Justin Kulikowski [ http://www.jpk236.com ] Mohan, Ajit (CFSA) wrote: > Is there a plug-in available for monitoring https servers from Nagios ? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ajit.Mohan at dc.gov Mon Jul 18 17:07:15 2005 From: Ajit.Mohan at dc.gov (Mohan, Ajit (CFSA)) Date: Mon, 18 Jul 2005 11:07:15 -0400 Subject: Plug-in for https Message-ID: <03BC54053BE9A843B1785F0185A1F7EA24390F@emo-exch2k3-210.dcgov.priv> I tried the following two commands ./check_http -H "my domain name" -p 443 Invalid HTTP response received from host on port 443 ./check_http -H "my domain name:443" Name or service not known Unable to open TCP socket I am running nagios-1.2. Please help. Thanks Ajit -----Original Message----- From: Mohan, Ajit (CFSA) Sent: Monday, July 18, 2005 10:58 AM To: 'admin at jpk236.com'; 'pete at stuff-done.co.uk' Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Plug-in for https Thanks guys for your response. After adding the line in the services.cfg I get this error " Service check command 'check_http -S -H "my domain name" specified in service 'HTTP' for host 'domain name' not defined anywhere!" Thanks -----Original Message----- From: admin at jpk236.com [mailto:admin at jpk236.com] Sent: Monday, July 18, 2005 10:25 AM To: Mohan, Ajit (CFSA) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Plug-in for https /usr/local/libexec/nagios#>./check_http -S -H your.domain.com For more information, run: /usr/local/libexec/nagios#>./check_http -h - Justin Kulikowski [ http://www.jpk236.com ] Mohan, Ajit (CFSA) wrote: > Is there a plug-in available for monitoring https servers from Nagios ? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 18 17:15:51 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 18 Jul 2005 11:15:51 -0400 (EDT) Subject: Plug-in for https In-Reply-To: <03BC54053BE9A843B1785F0185A1F7EA24390F@emo-exch2k3-210.dcgov.priv> References: <03BC54053BE9A843B1785F0185A1F7EA24390F@emo-exch2k3-210.dcgov.priv> Message-ID: -p only specifies port number - not protocol. Unless specified by -S, the default is to use HTTP, not HTTPS. Do you have a host definition for the service in the config? On Mon, 18 Jul 2005, Mohan, Ajit (CFSA) wrote: > > I tried the following two commands > > ./check_http -H "my domain name" -p 443 > Invalid HTTP response received from host on port 443 > > > ./check_http -H "my domain name:443" > Name or service not known > Unable to open TCP socket > > I am running nagios-1.2. Please help. > > Thanks > Ajit > > -----Original Message----- > From: Mohan, Ajit (CFSA) > Sent: Monday, July 18, 2005 10:58 AM > To: 'admin at jpk236.com'; 'pete at stuff-done.co.uk' > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Plug-in for https > > Thanks guys for your response. > > After adding the line in the services.cfg I get this error > > " Service check command 'check_http -S -H "my domain name" specified in > service 'HTTP' for host 'domain name' not defined anywhere!" > > Thanks > > -----Original Message----- > From: admin at jpk236.com [mailto:admin at jpk236.com] > Sent: Monday, July 18, 2005 10:25 AM > To: Mohan, Ajit (CFSA) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Plug-in for https > > /usr/local/libexec/nagios#>./check_http -S -H your.domain.com > > > For more information, run: > > /usr/local/libexec/nagios#>./check_http -h > > > - Justin Kulikowski > [ http://www.jpk236.com ] > > Mohan, Ajit (CFSA) wrote: >> Is there a plug-in available for monitoring https servers from Nagios > ? > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- From Ajit.Mohan at dc.gov Mon Jul 18 17:28:07 2005 From: Ajit.Mohan at dc.gov (Mohan, Ajit (CFSA)) Date: Mon, 18 Jul 2005 11:28:07 -0400 Subject: Plug-in for https Message-ID: <03BC54053BE9A843B1785F0185A1F7EA243912@emo-exch2k3-210.dcgov.priv> Yes, I have specified the host definition. I also tried ./check_http -H my domain name -S check_http: Invalid option - SSL is not available thanks -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Monday, July 18, 2005 11:16 AM To: Mohan, Ajit (CFSA) Cc: admin at jpk236.com; pete at stuff-done.co.uk; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Plug-in for https -p only specifies port number - not protocol. Unless specified by -S, the default is to use HTTP, not HTTPS. Do you have a host definition for the service in the config? On Mon, 18 Jul 2005, Mohan, Ajit (CFSA) wrote: > > I tried the following two commands > > ./check_http -H "my domain name" -p 443 Invalid HTTP response received > from host on port 443 > > > ./check_http -H "my domain name:443" > Name or service not known > Unable to open TCP socket > > I am running nagios-1.2. Please help. > > Thanks > Ajit > > -----Original Message----- > From: Mohan, Ajit (CFSA) > Sent: Monday, July 18, 2005 10:58 AM > To: 'admin at jpk236.com'; 'pete at stuff-done.co.uk' > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Plug-in for https > > Thanks guys for your response. > > After adding the line in the services.cfg I get this error > > " Service check command 'check_http -S -H "my domain name" specified > in service 'HTTP' for host 'domain name' not defined anywhere!" > > Thanks > > -----Original Message----- > From: admin at jpk236.com [mailto:admin at jpk236.com] > Sent: Monday, July 18, 2005 10:25 AM > To: Mohan, Ajit (CFSA) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Plug-in for https > > /usr/local/libexec/nagios#>./check_http -S -H your.domain.com > > > For more information, run: > > /usr/local/libexec/nagios#>./check_http -h > > > - Justin Kulikowski > [ http://www.jpk236.com ] > > Mohan, Ajit (CFSA) wrote: >> Is there a plug-in available for monitoring https servers from Nagios > ? > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admin at jpk236.com Mon Jul 18 17:31:17 2005 From: admin at jpk236.com (admin at jpk236.com) Date: Mon, 18 Jul 2005 11:31:17 -0400 Subject: Plug-in for https In-Reply-To: <03BC54053BE9A843B1785F0185A1F7EA243912@emo-exch2k3-210.dcgov.priv> References: <03BC54053BE9A843B1785F0185A1F7EA243912@emo-exch2k3-210.dcgov.priv> Message-ID: <42DBCB45.3040307@jpk236.com> When you run ./check_http -h, is there a -S option listed? Perhaps Nagios 1.2 doesn't support this option? I don't know. I never used Nagios 1.2 -- jumped right to Nagios 2. As an example of how it should look/work: #usr/local/libexec/nagios> ./check_http -S -H godaddy.com OK - HTTP/1.1 302 Object moved - 0.535 second response time |time=0.535305s;;;0.000000 size=651B;;;0 - Justin Kulikowski [ http://www.jpk236.com ] Mohan, Ajit (CFSA) wrote: > Yes, I have specified the host definition. > > I also tried > > ./check_http -H my domain name -S > check_http: Invalid option - SSL is not available > > thanks > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Monday, July 18, 2005 11:16 AM > To: Mohan, Ajit (CFSA) > Cc: admin at jpk236.com; pete at stuff-done.co.uk; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Plug-in for https > > > -p only specifies port number - not protocol. Unless specified by -S, the default is to use HTTP, not HTTPS. > > Do you have a host definition for the service in the config? > > On Mon, 18 Jul 2005, Mohan, Ajit (CFSA) wrote: > > >>I tried the following two commands >> >>./check_http -H "my domain name" -p 443 Invalid HTTP response received >>from host on port 443 >> >> >>./check_http -H "my domain name:443" >>Name or service not known >>Unable to open TCP socket >> >>I am running nagios-1.2. Please help. >> >>Thanks >>Ajit >> >>-----Original Message----- >>From: Mohan, Ajit (CFSA) >>Sent: Monday, July 18, 2005 10:58 AM >>To: 'admin at jpk236.com'; 'pete at stuff-done.co.uk' >>Cc: nagios-users at lists.sourceforge.net >>Subject: RE: [Nagios-users] Plug-in for https >> >>Thanks guys for your response. >> >>After adding the line in the services.cfg I get this error >> >>" Service check command 'check_http -S -H "my domain name" specified >>in service 'HTTP' for host 'domain name' not defined anywhere!" >> >>Thanks >> >>-----Original Message----- >>From: admin at jpk236.com [mailto:admin at jpk236.com] >>Sent: Monday, July 18, 2005 10:25 AM >>To: Mohan, Ajit (CFSA) >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Plug-in for https >> >>/usr/local/libexec/nagios#>./check_http -S -H your.domain.com >> >> >>For more information, run: >> >>/usr/local/libexec/nagios#>./check_http -h >> >> >> - Justin Kulikowski >> [ http://www.jpk236.com ] >> >>Mohan, Ajit (CFSA) wrote: >> >>>Is there a plug-in available for monitoring https servers from Nagios >> >>? >> >> >>------------------------------------------------------- >>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>from IBM. Find simple to follow Roadmaps, straightforward articles, >>informative Webcasts and more! Get everything you need to get up to >>speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op?k >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Mon Jul 18 17:35:09 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Mon, 18 Jul 2005 11:35:09 -0400 Subject: outlook web access - OWA Message-ID: I've never monitored the contents of an OWA account; however, I did once set up an Apache-based reverse proxy to an OWA server. I also ran into problems with the authentication process - specifically, OWA attempts to force the windows auth procedure instead of using basic HTTP AUTH (go Microsoft). I had to go into the IIS config of the OWA server and force basic HTTP AUTH for the OWA site. This might solve your problem as well. Dan. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of phil Sent: July 13, 2005 5:47 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] outlook web access - OWA Is anyone monitoring the contents of an OWA account? Any help in trying to monitor OWA would be much appreciated. I can't get check_http past the authentication process. WebInject looks like it might be a solution but again I can't seem to get through the authentication. Thanks in advance. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Mon Jul 18 17:48:54 2005 From: robmossrm at aol.com (Rob Moss) Date: Mon, 18 Jul 2005 16:48:54 +0100 Subject: Plug-in for https In-Reply-To: <42DBCB45.3040307@jpk236.com> References: <03BC54053BE9A843B1785F0185A1F7EA243912@emo-exch2k3-210.dcgov.priv> <42DBCB45.3040307@jpk236.com> Message-ID: <42DBCF66.7060001@aol.com> I wrote a Perl HTTPS plugin, using LWP. It works slightly differently to the check_http plugin, in that it only requires a URL, so you can group many URL's under the one physical server (as with Apache with virtual servers). Enjoy admin at jpk236.com wrote: > When you run ./check_http -h, is there a -S option listed? Perhaps > Nagios 1.2 doesn't support this option? I don't know. I never used > Nagios 1.2 -- jumped right to Nagios 2. > > As an example of how it should look/work: > #usr/local/libexec/nagios> ./check_http -S -H godaddy.com > OK - HTTP/1.1 302 Object moved - 0.535 second response time > |time=0.535305s;;;0.000000 size=651B;;;0 > > - Justin Kulikowski > [ http://www.jpk236.com ] > > Mohan, Ajit (CFSA) wrote: > >> Yes, I have specified the host definition. >> >> I also tried >> ./check_http -H my domain name -S >> check_http: Invalid option - SSL is not available >> thanks >> >> >> -----Original Message----- >> From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Monday, July >> 18, 2005 11:16 AM >> To: Mohan, Ajit (CFSA) >> Cc: admin at jpk236.com; pete at stuff-done.co.uk; >> nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] Plug-in for https >> >> >> -p only specifies port number - not protocol. Unless specified by >> -S, the default is to use HTTP, not HTTPS. >> >> Do you have a host definition for the service in the config? >> >> On Mon, 18 Jul 2005, Mohan, Ajit (CFSA) wrote: >> >> >>> I tried the following two commands >>> >>> ./check_http -H "my domain name" -p 443 Invalid HTTP response >>> received from host on port 443 >>> >>> >>> ./check_http -H "my domain name:443" >>> Name or service not known >>> Unable to open TCP socket >>> >>> I am running nagios-1.2. Please help. >>> >>> Thanks >>> Ajit >>> >>> -----Original Message----- >>> From: Mohan, Ajit (CFSA) >>> Sent: Monday, July 18, 2005 10:58 AM >>> To: 'admin at jpk236.com'; 'pete at stuff-done.co.uk' >>> Cc: nagios-users at lists.sourceforge.net >>> Subject: RE: [Nagios-users] Plug-in for https >>> >>> Thanks guys for your response. >>> >>> After adding the line in the services.cfg I get this error >>> >>> " Service check command 'check_http -S -H "my domain name" specified >>> in service 'HTTP' for host 'domain name' not defined anywhere!" >>> >>> Thanks >>> >>> -----Original Message----- >>> From: admin at jpk236.com [mailto:admin at jpk236.com] >>> Sent: Monday, July 18, 2005 10:25 AM >>> To: Mohan, Ajit (CFSA) >>> Cc: nagios-users at lists.sourceforge.net >>> Subject: Re: [Nagios-users] Plug-in for https >>> >>> /usr/local/libexec/nagios#>./check_http -S -H your.domain.com >>> >>> >>> For more information, run: >>> >>> /usr/local/libexec/nagios#>./check_http -h >>> >>> >>> - Justin Kulikowski >>> [ http://www.jpk236.com ] >>> >>> Mohan, Ajit (CFSA) wrote: >>> >>>> Is there a plug-in available for monitoring https servers from Nagios >>> >>> >>> ? >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is sponsored by: Discover Easy Linux Migration >>> Strategies from IBM. Find simple to follow Roadmaps, straightforward >>> articles, informative Webcasts and more! Get everything you need to >>> get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op?k >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Rob Moss Snr. Unix Administrator Hosting & DB Operations Hammersmith, London, UK Phone: +44 20 7348 8629 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_https.pl URL: From sghosh at sghosh.org Mon Jul 18 17:56:55 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 18 Jul 2005 11:56:55 -0400 (EDT) Subject: Plug-in for https In-Reply-To: <03BC54053BE9A843B1785F0185A1F7EA243912@emo-exch2k3-210.dcgov.priv> References: <03BC54053BE9A843B1785F0185A1F7EA243912@emo-exch2k3-210.dcgov.priv> Message-ID: If -S is not availble - your plugins were compiled without a recognized OpenSSL installation available. recompile the plugins and make sure the "configure" process recognizes your SSL installation. On Mon, 18 Jul 2005, Mohan, Ajit (CFSA) wrote: > Yes, I have specified the host definition. > > I also tried > > ./check_http -H my domain name -S > check_http: Invalid option - SSL is not available > > thanks > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Monday, July 18, 2005 11:16 AM > To: Mohan, Ajit (CFSA) > Cc: admin at jpk236.com; pete at stuff-done.co.uk; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Plug-in for https > > > -p only specifies port number - not protocol. Unless specified by -S, the default is to use HTTP, not HTTPS. > > Do you have a host definition for the service in the config? > > On Mon, 18 Jul 2005, Mohan, Ajit (CFSA) wrote: > >> >> I tried the following two commands >> >> ./check_http -H "my domain name" -p 443 Invalid HTTP response received >> from host on port 443 >> >> >> ./check_http -H "my domain name:443" >> Name or service not known >> Unable to open TCP socket >> >> I am running nagios-1.2. Please help. >> >> Thanks >> Ajit >> >> -----Original Message----- >> From: Mohan, Ajit (CFSA) >> Sent: Monday, July 18, 2005 10:58 AM >> To: 'admin at jpk236.com'; 'pete at stuff-done.co.uk' >> Cc: nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] Plug-in for https >> >> Thanks guys for your response. >> >> After adding the line in the services.cfg I get this error >> >> " Service check command 'check_http -S -H "my domain name" specified >> in service 'HTTP' for host 'domain name' not defined anywhere!" >> >> Thanks >> >> -----Original Message----- >> From: admin at jpk236.com [mailto:admin at jpk236.com] >> Sent: Monday, July 18, 2005 10:25 AM >> To: Mohan, Ajit (CFSA) >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Plug-in for https >> >> /usr/local/libexec/nagios#>./check_http -S -H your.domain.com >> >> >> For more information, run: >> >> /usr/local/libexec/nagios#>./check_http -h >> >> >> - Justin Kulikowski >> [ http://www.jpk236.com ] >> >> Mohan, Ajit (CFSA) wrote: >>> Is there a plug-in available for monitoring https servers from Nagios >> ? >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op?k >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > -- From Ajit.Mohan at dc.gov Mon Jul 18 17:57:43 2005 From: Ajit.Mohan at dc.gov (Mohan, Ajit (CFSA)) Date: Mon, 18 Jul 2005 11:57:43 -0400 Subject: Plug-in for https Message-ID: <03BC54053BE9A843B1785F0185A1F7EA243916@emo-exch2k3-210.dcgov.priv> Here is the output linux:/usr/local/nagios/libexec # ./check_http -h check_http (nagios-plugins 1.4) 1.81 Usage: check_http -H | -I [-u ] [-p ] [-w ] [-c ] [-t ] [-L] [-a auth] [-f ] [-e ] [-s string] [-l] [-r | -R ] [-P string] [-m :] [-4|-6] [-N] [-M ] [-A string] [-k string] NOTE: One or both of -H and -I must be specified Options: -h, --help Print detailed help screen -V, --version Print version information -H, --hostname=ADDRESS Host name argument for servers using host headers (virtual host) Append a port to include it in the header (eg: example.com:5000) -I, --IP-address=ADDRESS IP address or name (use numeric address if possible to bypass DNS lookup). -p, --port=INTEGER Port number (default: 80) -4, --use-ipv4 Use IPv4 connection -6, --use-ipv6 Use IPv6 connection -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, --post=STRING URL encoded http POST data -N, --no-body Don't wait for document body: stop reading after headers. (Note that this still does an HTTP GET or POST, not a HEAD.) -M, --max-age=SECONDS Warn if document is more than SECONDS old. the number can also be of the form "10m" for minutes, "10h" for hours, or "10d" for days. -T, --content-type=STRING specify Content-Type header media type when POSTing -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 -a, --authorization=AUTH_PAIR Username:password on sites with basic authentication -A, --useragent=STRING String to be sent in http header as "User Agent" -k, --header=STRING Any other tags to be sent in http header, separated by semicolon -L, --link=URL Wrap output in HTML link (obsoleted by urlize) -f, --onredirect= How to handle redirected pages -m, --pagesize=INTEGER<:INTEGER> Minimum page size required (bytes) : Maximum page size required (bytes) -w, --warning=DOUBLE Response time to result in warning status (seconds) -c, --critical=DOUBLE Response time to result in critical status (seconds) -t, --timeout=INTEGER Seconds before connection times out (default: 10) -v, --verbose -----Original Message----- From: admin at jpk236.com [mailto:admin at jpk236.com] Sent: Monday, July 18, 2005 11:31 AM To: Mohan, Ajit (CFSA) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Plug-in for https When you run ./check_http -h, is there a -S option listed? Perhaps Nagios 1.2 doesn't support this option? I don't know. I never used Nagios 1.2 -- jumped right to Nagios 2. As an example of how it should look/work: #usr/local/libexec/nagios> ./check_http -S -H godaddy.com OK - HTTP/1.1 302 Object moved - 0.535 second response time |time=0.535305s;;;0.000000 size=651B;;;0 - Justin Kulikowski [ http://www.jpk236.com ] Mohan, Ajit (CFSA) wrote: > Yes, I have specified the host definition. > > I also tried > > ./check_http -H my domain name -S > check_http: Invalid option - SSL is not available > > thanks > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Monday, July 18, 2005 11:16 AM > To: Mohan, Ajit (CFSA) > Cc: admin at jpk236.com; pete at stuff-done.co.uk; > nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Plug-in for https > > > -p only specifies port number - not protocol. Unless specified by -S, the default is to use HTTP, not HTTPS. > > Do you have a host definition for the service in the config? > > On Mon, 18 Jul 2005, Mohan, Ajit (CFSA) wrote: > > >>I tried the following two commands >> >>./check_http -H "my domain name" -p 443 Invalid HTTP response received >>from host on port 443 >> >> >>./check_http -H "my domain name:443" >>Name or service not known >>Unable to open TCP socket >> >>I am running nagios-1.2. Please help. >> >>Thanks >>Ajit >> >>-----Original Message----- >>From: Mohan, Ajit (CFSA) >>Sent: Monday, July 18, 2005 10:58 AM >>To: 'admin at jpk236.com'; 'pete at stuff-done.co.uk' >>Cc: nagios-users at lists.sourceforge.net >>Subject: RE: [Nagios-users] Plug-in for https >> >>Thanks guys for your response. >> >>After adding the line in the services.cfg I get this error >> >>" Service check command 'check_http -S -H "my domain name" specified >>in service 'HTTP' for host 'domain name' not defined anywhere!" >> >>Thanks >> >>-----Original Message----- >>From: admin at jpk236.com [mailto:admin at jpk236.com] >>Sent: Monday, July 18, 2005 10:25 AM >>To: Mohan, Ajit (CFSA) >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Plug-in for https >> >>/usr/local/libexec/nagios#>./check_http -S -H your.domain.com >> >> >>For more information, run: >> >>/usr/local/libexec/nagios#>./check_http -h >> >> >> - Justin Kulikowski >> [ http://www.jpk236.com ] >> >>Mohan, Ajit (CFSA) wrote: >> >>>Is there a plug-in available for monitoring https servers from Nagios >> >>? >> >> >>------------------------------------------------------- >>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>from IBM. Find simple to follow Roadmaps, straightforward articles, >>informative Webcasts and more! Get everything you need to get up to >>speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op?k >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tstocking at itgroundwork.com Mon Jul 18 17:58:55 2005 From: tstocking at itgroundwork.com (tstocking at itgroundwork.com) Date: Mon, 18 Jul 2005 08:58:55 -0700 Subject: Out of the office for a bit... Message-ID: Hello, and thanks for your email. This is an automated response, letting you know that I'll be out of the office until August 1st, 2005. If you need to get in touch with me, and you don't have my other contact information, please call 1 510 899-7700, and someone will take a message or put you in touch with me. Have a great day, Thomas Thomas Stocking CTO, GroundWork Open Source Solutions, Inc. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 18 18:15:01 2005 From: marc at ena.com (Marc Powell) Date: Mon, 18 Jul 2005 11:15:01 -0500 Subject: Plug-in for https Message-ID: Install OPENSSL and recompile the plugins. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mohan, Ajit (CFSA) > Sent: Monday, July 18, 2005 10:58 AM > To: admin at jpk236.com > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Plug-in for https > > Here is the output > > linux:/usr/local/nagios/libexec # ./check_http -h > check_http (nagios-plugins 1.4) 1.81 > > Usage: check_http -H | -I [-u ] [-p ] > [-w ] [-c ] [-t ] [- > L] > [-a auth] [-f ] [-e > ] > [-s string] [-l] [-r | -R regex>] > [-P string] [-m :] [-4|-6] [- > N] > [-M ] [-A string] [-k string] > NOTE: One or both of -H and -I must be specified > > Options: > -h, --help > Print detailed help screen > -V, --version > Print version information > -H, --hostname=ADDRESS > Host name argument for servers using host headers (virtual host) > Append a port to include it in the header (eg: example.com:5000) > -I, --IP-address=ADDRESS > IP address or name (use numeric address if possible to bypass DNS > lookup). > -p, --port=INTEGER > Port number (default: 80) > -4, --use-ipv4 > Use IPv4 connection > -6, --use-ipv6 > Use IPv6 connection > -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, --post=STRING > URL encoded http POST data > -N, --no-body > Don't wait for document body: stop reading after headers. > (Note that this still does an HTTP GET or POST, not a HEAD.) > -M, --max-age=SECONDS > Warn if document is more than SECONDS old. the number can also be of > the form "10m" for minutes, "10h" for hours, or "10d" for days. > -T, --content-type=STRING > specify Content-Type header media type when POSTing > -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 > -a, --authorization=AUTH_PAIR > Username:password on sites with basic authentication > -A, --useragent=STRING > String to be sent in http header as "User Agent" > -k, --header=STRING > Any other tags to be sent in http header, separated by semicolon > -L, --link=URL > Wrap output in HTML link (obsoleted by urlize) > -f, --onredirect= > How to handle redirected pages > -m, --pagesize=INTEGER<:INTEGER> > Minimum page size required (bytes) : Maximum page size required (bytes) > -w, --warning=DOUBLE > Response time to result in warning status (seconds) > -c, --critical=DOUBLE > Response time to result in critical status (seconds) > -t, --timeout=INTEGER > Seconds before connection times out (default: 10) > -v, --verbose > > -----Original Message----- > From: admin at jpk236.com [mailto:admin at jpk236.com] > Sent: Monday, July 18, 2005 11:31 AM > To: Mohan, Ajit (CFSA) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Plug-in for https > > When you run ./check_http -h, is there a -S option listed? Perhaps Nagios > 1.2 doesn't support this option? I don't know. I never used Nagios 1.2 - > - jumped right to Nagios 2. > > As an example of how it should look/work: > #usr/local/libexec/nagios> ./check_http -S -H godaddy.com OK - HTTP/1.1 > 302 Object moved - 0.535 second response time > |time=0.535305s;;;0.000000 size=651B;;;0 > > - Justin Kulikowski > [ http://www.jpk236.com ] > > Mohan, Ajit (CFSA) wrote: > > Yes, I have specified the host definition. > > > > I also tried > > > > ./check_http -H my domain name -S > > check_http: Invalid option - SSL is not available > > > > thanks > > > > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Monday, July 18, 2005 11:16 AM > > To: Mohan, Ajit (CFSA) > > Cc: admin at jpk236.com; pete at stuff-done.co.uk; > > nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Plug-in for https > > > > > > -p only specifies port number - not protocol. Unless specified by -S, > the default is to use HTTP, not HTTPS. > > > > Do you have a host definition for the service in the config? > > > > On Mon, 18 Jul 2005, Mohan, Ajit (CFSA) wrote: > > > > > >>I tried the following two commands > >> > >>./check_http -H "my domain name" -p 443 Invalid HTTP response received > >>from host on port 443 > >> > >> > >>./check_http -H "my domain name:443" > >>Name or service not known > >>Unable to open TCP socket > >> > >>I am running nagios-1.2. Please help. > >> > >>Thanks > >>Ajit > >> > >>-----Original Message----- > >>From: Mohan, Ajit (CFSA) > >>Sent: Monday, July 18, 2005 10:58 AM > >>To: 'admin at jpk236.com'; 'pete at stuff-done.co.uk' > >>Cc: nagios-users at lists.sourceforge.net > >>Subject: RE: [Nagios-users] Plug-in for https > >> > >>Thanks guys for your response. > >> > >>After adding the line in the services.cfg I get this error > >> > >>" Service check command 'check_http -S -H "my domain name" specified > >>in service 'HTTP' for host 'domain name' not defined anywhere!" > >> > >>Thanks > >> > >>-----Original Message----- > >>From: admin at jpk236.com [mailto:admin at jpk236.com] > >>Sent: Monday, July 18, 2005 10:25 AM > >>To: Mohan, Ajit (CFSA) > >>Cc: nagios-users at lists.sourceforge.net > >>Subject: Re: [Nagios-users] Plug-in for https > >> > >>/usr/local/libexec/nagios#>./check_http -S -H your.domain.com > >> > >> > >>For more information, run: > >> > >>/usr/local/libexec/nagios#>./check_http -h > >> > >> > >> - Justin Kulikowski > >> [ http://www.jpk236.com ] > >> > >>Mohan, Ajit (CFSA) wrote: > >> > >>>Is there a plug-in available for monitoring https servers from Nagios > >> > >>? > >> > >> > >>------------------------------------------------------- > >>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > >>from IBM. Find simple to follow Roadmaps, straightforward articles, > >>informative Webcasts and more! Get everything you need to get up to > >>speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op?k > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JoeRegular at gov.nl.ca Mon Jul 18 18:42:10 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Mon, 18 Jul 2005 14:12:10 -0230 Subject: Escalation Problem Message-ID: I've got a strange problem to which I hope there is a simple solution. I've got several servers added to my hosts.cfg file with the same parameters, all servers are in the same hosts group, and the hosts group is configured in the escalation.cfg file. The problem is however, nagios only sends out escalated notifications concerning 4 of the 10 servers. Does this make any sense? Joe ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emkeyser at gmail.com Mon Jul 18 18:40:51 2005 From: emkeyser at gmail.com (Emmett Keyser) Date: Mon, 18 Jul 2005 16:40:51 +0000 (UTC) Subject: DOUBLE not taken in =?utf-8?b?Y2hlY2tfc210cC9wb3A=?= Message-ID: I'm getting the following alert when I use a decimal number for warnings and criticals on the check_smtp and check_pop plugins: ***** Nagios ***** Notification Type: PROBLEM Service: SMTP Response Host: hfsfx3 Address: hfsfx3.hf.local State: UNKNOWN Date/Time: Mon Jul 18 09:18:39 PDT 2005 Additional Info: check_smtp: Warning time must be a positive integer ___END The -h for those plugins lists the following for -w and -c: -w, --warning=DOUBLE Response time to result in warning status (seconds) -c, --critical=DOUBLE Response time to result in critical status (seconds) ___END So the question is does DOUBLE mean integer or floating point? Wikipedia has this to say: In computing, double precision is a computer numbering format that occupies two storage locations in computer memory at address and address+1. A double precision number, sometimes simply a double, may be defined to be an integer, fixed point, or floating point. ___END If it is an integer then why would anyone want to check double precision lenths of time as opposed to floating point to check say fractions of a second response times? So is this a bug or do we like to check for response times of a million seconds? Thanks, Emmett Keyser ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bitsandbytes88 at hotmail.com Mon Jul 18 19:05:49 2005 From: bitsandbytes88 at hotmail.com (Dj kavanski) Date: Mon, 18 Jul 2005 19:05:49 +0200 (CEST) Subject: check_nsca In-Reply-To: References: Message-ID: <20050718170549.02B674F4002@desire.netways.de> Hi all, Does the following look like it will work for the submit_check_result file? Any help is appreciated. #!/bin/sh # This will process nagios monitor checks # check_load echocmd="/bin/echo" #CommandFile="/usr/local/nagios/var/rw/nagios.cmd" CommandFile="/usr/local/nagios/libexec/eventhandlers/nagios.cmd" # get the current date/time datetime='date +%s' #create the command line to add to the command file #cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" 1=server.domain.com 2='load check' 3=2 4="/usr/local/nagios/libexec/check_load -w 3,3,3 -c 3.5,3.5,3.5" cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" #cmdline="[$datetime] /usr/local/nagios/libexec/check_load -w 3,3,3 -c 3.5,3.5,3.5" #append the command to the end of the command file '$echocmd $cmdline >> $CommandFile' - Alf ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=8720 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 18 19:09:00 2005 From: marc at ena.com (Marc Powell) Date: Mon, 18 Jul 2005 12:09:00 -0500 Subject: DOUBLE not taken in check_smtp/pop Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Emmett Keyser > Sent: Monday, July 18, 2005 11:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] DOUBLE not taken in check_smtp/pop > > I'm getting the following alert when I use a decimal number for warnings > and > criticals on the check_smtp and check_pop plugins: > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: SMTP Response > Host: hfsfx3 > Address: hfsfx3.hf.local > State: UNKNOWN > > Date/Time: Mon Jul 18 09:18:39 PDT 2005 > > Additional Info: > > check_smtp: Warning time must be a positive integer This plugin requires the time to be a positive integer. > The -h for those plugins lists the following for -w and -c: > > -w, --warning=DOUBLE > Response time to result in warning status (seconds) > -c, --critical=DOUBLE > Response time to result in critical status (seconds) > ___END > > So the question is does DOUBLE mean integer or floating point? Wikipedia > has > this to say: [snip] > > If it is an integer then why would anyone want to check double precision > lenths > of time as opposed to floating point to check say fractions of a second > response > times? > > So is this a bug or do we like to check for response times of a million > seconds? These plugins use portions of the generic help routines from utils.h which is also used by many of the other plugins. The -w and -c help information comes from there. Some plugins require integers for those values, some may accept floats. In each case, the plugin should be more specific about what it requires as above. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter at henet.dk Mon Jul 18 20:33:41 2005 From: peter at henet.dk (=?ISO-8859-1?Q?Peter_Kr=FCpl?=) Date: Mon, 18 Jul 2005 20:33:41 +0200 Subject: Nagios 2.03b and firefox.... :( Message-ID: <42DBF605.2070608@henet.dk> Hi, I have a very annouying problem, each time i press the rerfresh button in firefox, it reloads the index.html file. This results in the main window going back to the information saying "Welcome to nagios if you just installed.....". This problem does not appear with IE, and nagios 1.1 with firefox. Any HTML brower gurus arround ? Kind regards, Peter ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From clusterbuilder at gmail.com Mon Jul 18 22:16:52 2005 From: clusterbuilder at gmail.com (Nick I) Date: Mon, 18 Jul 2005 14:16:52 -0600 Subject: Nagios links Message-ID: Nick, I work on a Web site at www.clusterbuilder.org. The site highlights a broad spectrum of high performance computing related technologies. It has links to reviews, comparisons, pricing and other information related to the many HPC solutions available. The site also allows for you to complete one request-for-quote form and have multiple hardware vendors of your choice provide pricing quotes to you. We need knowledgeable cluster users to submit sites that have proved a valuable resources to them. One particular area that we want to make sure is complete is hardware monitors which Nagios is listed under. Please take a minute and submit additional links associated with Nagios, hardware monitors or other areas that will benefit the HPC community. (To submit content for the site, click on the Submit Content section on www.clusterbuilder.org). Thank you for your help. Nick ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fruiz at netsuite.com Mon Jul 18 22:20:56 2005 From: fruiz at netsuite.com (Ruiz, Francisco) Date: Mon, 18 Jul 2005 13:20:56 -0700 Subject: Multiple event handlers Message-ID: <2BF1D777D914174DB2F6874540E3B6C7035916@corpmail1.svale.netledger.com> Hi, Does anyone know if I can have more than 1 event handler specified in the service definition? Something like: define service { service_def_stuff xxxxxxxxxxxxxxxxx event_handler handler1,handler2 service_def_stuff xxxxxxxxxxxxxxxxx } ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsandoval at achs.cl Mon Jul 18 22:52:42 2005 From: jsandoval at achs.cl (Sandoval, Julio) Date: Mon, 18 Jul 2005 16:52:42 -0400 Subject: Postgresql Message-ID: <706C33200E04994E9BB6EE3E21E4C15E01301BC5@ACHS-E2K01.achs.cl> Dear List, I need to know....how can i hold data in postgresql for one year?, before that i can archive data in historic store. Thank so much for your responses.... Greetings, Julio Sandoval -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]En nombre de Sandoval, Julio Enviado el: Viernes, 15 de Julio de 2005 11:38 Para: nagios-users at lists.sourceforge.net Asunto: [Nagios-users] Postgresql Hello everybody, I have a question: ?Where can I find the history data in postgresql? Exp. I saw the data in the 12 tables, but I just look few rows in them (30 rows max). Somebody help me with this... Thank for your kindness _____ "Este mensaje y cualquier archivo adjunto es confidencial y est? destinado a la persona o entidad a qui?n ha sido dirigido. Si usted no es el receptor individualizado en el mismo, le solicitamos notificar de ello al remitente de manera inmediata, estando prohibido y sancionado por la ley cualquier almacenamiento, divulgaci?n, distribuci?n o copia de su contenido." "Este mensaje y cualquier archivo adjunto es confidencial y est? destinado a la persona o entidad a qui?n ha sido dirigido. Si usted no es el receptor individualizado en el mismo, le solicitamos notificar de ello al remitente de manera inmediata, estando prohibido y sancionado por la ley cualquier almacenamiento, divulgaci?n, distribuci?n o copia de su contenido." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded message was scrubbed... From: "Marc Powell" Subject: RE: [Nagios-users] Postgresql Date: Fri, 15 Jul 2005 11:50:13 -0400 Size: 3523 URL: From daniel.deremiah at shadowware.com Mon Jul 18 22:56:45 2005 From: daniel.deremiah at shadowware.com (Daniel Deremiah) Date: Mon, 18 Jul 2005 13:56:45 -0700 Subject: Looking for error messages... Message-ID: Hi, I am trying to get a simple config running of Nagois. I have apache installed and working and a nagios configuration that seems fine when I run the verify. But when I try to access the URL and run any of the CGI's I get the following error on the browser: Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Number 1 checks out with 0 errors. Number 2: the nagios log file is completely empty. How do I check Number 3? When I run the CGI's from the command line, they give the same error. -- -dand ============================================================= Dan Deremiah Unix System Administrator Wind River Systems, Alameda CA 510/749-2033 Desk AIM: danderemiah ============================================================= ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 18 23:40:26 2005 From: marc at ena.com (Marc Powell) Date: Mon, 18 Jul 2005 16:40:26 -0500 Subject: Multiple event handlers Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ruiz, Francisco > Sent: Monday, July 18, 2005 3:21 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Multiple event handlers > > > Hi, > > Does anyone know if I can have more than 1 event handler specified in > the service definition? > > Something like: > > define service { > > service_def_stuff xxxxxxxxxxxxxxxxx > > event_handler handler1,handler2 > > service_def_stuff xxxxxxxxxxxxxxxxx > } I'll take a stab. Oddly enough, it's not documented in either 1.x or 2.x... Looking at the code for 1.x seems to indicate to me that only one is allowed but it should be easily testable if you have event handlers configured already. If it works then great =) -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jul 18 23:58:56 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 18 Jul 2005 23:58:56 +0200 Subject: Servicegroups bug? In-Reply-To: <42DBB699.8000700@emat.be> References: <42DBB699.8000700@emat.be> Message-ID: <42DC2620.1040007@op5.se> Forums wrote: > Hi all, > > I'm sorry about posting this Question a 2nd time. But I want to find out if > it's a bug, and if so, is it reproducable by someone else? > I'm running nagios-2.0b_p2. > Due to nagios' currently being in beta-testing, bugs (and possible bugs) for non-cvs code isn't really all that interesting without some test-data to make sure it doesn't choke on it again. > ------ > > I have defined 2 servicegroups: > > pop3 services > imap4 services > > They both have 10 member services. > > > I have 2 different kind of logins. > > User1 can see the 2 servicegroups with all the 20 members because user1 is in > the correct contactgroups of every individual host where each of the services > are running. > > User2 has a problem. > User2 is a member of the contactgroups for the 10 pop3 hosts. > User2 is a member of the contactgroups for only 5 imap4 hosts. > > On the host overview user2 sees all the 15 hosts correctly, they way it should be. > > But when he looks at the "servicegroup overview" he only sees the the pop3 > servicegroup and NOT the imap4 servicegroup..... > > >From the moment there is a service (which is member of a servicegroup) and you > aren't a member of the contactgroup for the host which runs this service, you > are automatically denied access to the entire servicegroup, although it might > contain several services which you entitled to to see. > > In the above example, as user2 , when I choose 'Service group overview' I should > see 2 servicegroups > > pop3 services with 10 services > imap4 services with 5 services > > > What am I missing? Am I overlooking something trivial ? > Re-read the excerpt from the docs again. It's slightly faulty, but the logic remains the same. It should read "From the moment there is a service (which is a member of a servicegroup) and you aren't a member of the contactgroup for this service" ... -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ladams at cloudmark.com Tue Jul 19 00:37:02 2005 From: ladams at cloudmark.com (Lori Adams) Date: Mon, 18 Jul 2005 15:37:02 -0700 Subject: $USERn$ macros in services.cfg Message-ID: I have set up a $USERn$ macro with a username and password: ie: in resources.cfg: $USER5$=foo:bar in checkcommands, I have set up an http check: define command { command_name check_http_args command_line command_line $USER2$/check_http -H $HOSTADDRESS$ $ARG1$ -a $ARG2$ -u $ARG3$ } here was the service check define service { use template ##with lots of details already specified service_description http_check host_name localhost check_command check_http_args!-t 30!$USER5$!http://url.to.check } $ARG2$ does not get replaced with $USER5$, instead $USER5$ is in the command. $ ./check_http -H localhost -t 30 -a $USER5$ -u http://url.to.check Segmentation fault I am using nagios 1.2 with plugins 1.4. Am I missing something? The docs http://nagios.sourceforge.net/docs/1_0/macros.html say that $USERn$ macros can be used in service checks. Thanks, -Lori -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Tue Jul 19 01:14:36 2005 From: pla at softflare.com (Paul L. Allen) Date: Tue, 19 Jul 2005 00:14:36 +0100 Subject: Multiple event handlers In-Reply-To: <2BF1D777D914174DB2F6874540E3B6C7035916@corpmail1.svale.netledger.com> References: <2BF1D777D914174DB2F6874540E3B6C7035916@corpmail1.svale.netledger.com> Message-ID: <20050718231436.16680.qmail@mullet.softflare.net> Ruiz, Francisco writes: > Does anyone know if I can have more than 1 event handler specified in > the service definition? Offhand, I don't know. But you don't need to. Instead of: event_handler handler1,handler2 have: event_handler handler3 where handler 3 consists of: #!/bin/sh handler1 handler2 Unless I'm missing something obvious you didn't state... -- Paul Allen Softflare Support ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Jul 19 02:03:37 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 19 Jul 2005 12:03:37 +1200 Subject: Nagios 2.03b and firefox.... :( In-Reply-To: <42DBF605.2070608@henet.dk> References: <42DBF605.2070608@henet.dk> Message-ID: <00db01c58bf5$50d8a1b0$01fea8c0@itss.auckland.ac.nz> >I have a very annouying problem, each time i press the rerfresh button >in firefox, >it reloads the index.html file. This results in the main window going >back to the information >saying "Welcome to nagios if you just installed.....". > >This problem does not appear with IE, and nagios 1.1 with firefox. This is because you are refreshing the page, not the single frame, and is the 'correct' behaviour (although, I agree, not what you want to happen in this case). Actually, I get this behaviour with MSIE as well, but you probably avoid it because you have something cached or else IE is defaulting to refresh the active frame? Anyway, in Firefox, you can right-clik and select 'This frame/Reload' which will just refresh the individual frame (and you can do the same in IE as well). Another possibility is to change the nagios/index.html page so that the initial page goes to your preferred main window. Steve ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tstocking at itgroundwork.com Tue Jul 19 05:34:59 2005 From: tstocking at itgroundwork.com (tstocking at itgroundwork.com) Date: Mon, 18 Jul 2005 20:34:59 -0700 Subject: Out of the office for a bit... Message-ID: Hello, and thanks for your email. This is an automated response, letting you know that I'll be out of the office until August 1st, 2005. If you need to get in touch with me, and you don't have my other contact information, please call 1 510 899-7700, and someone will take a message or put you in touch with me. Have a great day, Thomas Thomas Stocking CTO, GroundWork Open Source Solutions, Inc. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralph.Grothe at itdz-berlin.de Tue Jul 19 09:34:09 2005 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Tue, 19 Jul 2005 09:34:09 +0200 Subject: check_oracle breaks when run under nrpe Message-ID: <6B893C5F2902D311A23F0090272854FB0575B76E@litex001.lit.verwalt-berlin.de> Hello, I know that I should post this to nagiosplug-help solely and not x-post to nagios-users. But I see there's much more activity in the latter and thus I reckon a bigger chance for me to draw attention. I set up nrpe on remote hpux host that runs an Oracle dbms. When I execute the check_oracle shell script from the nagios plug-ins on that host like such everything works fine [nagios at terra:/usr/local/nagios/etc] $ ORACLE_HOME=/app/oracle/product/9.2.0 PATH=/usr/bin:$ORACLE_HOME/bin /usr/local/nagios/libexec/check_oracle --tns FREMD OK - reply time 30 msec from FREMD Wheras when I run it through check_nrpe by this command definition in nrpe.cfg [nagios at terra:/usr/local/nagios/etc] $ grep ^command\\[check_tns nrpe.cfg command[check_tns_FREMD]='ORACLE_HOME=/app/oracle/product/9.2.0 PATH=/usr/bin:$ORACLE_HOME/bin /usr/local/nagios/libexec/check_oracle --tns FREMD' this is happening [nagios at terra:/usr/local/nagios/etc] $ ../libexec/check_nrpe -H 127.0.0.1 -c check_tns_FREMD CHECK_NRPE: Response packet had invalid CRC32. [nagios at terra:/usr/local/nagios/etc] $ echo $? 3 Unfortunately nrpe or check_nrpe are of the silent sort, and thus nothing useful gets logged via syslogd [nagios at terra:/usr/local/nagios/etc] $ tail -1 /var/adm/syslog/syslog.log Jul 19 09:31:02 terra inetd[22034]: nrpe/tcp: Connection from localhost (127.0.0.1) at Tue Jul 19 09:31:02 2005 First how can I raise verbosity of nrpe to detect more? Then what could have gone wrong? Regards Ralph ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue Jul 19 10:09:54 2005 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 19 Jul 2005 09:09:54 +0100 Subject: Nagios 2.03b and firefox.... :( Message-ID: <86144ED6CE5B004DA23E1EAC0B569B580784D25B@isabella.herefordshire.gov.uk> What's needed is a volunteer to rewrite the whole web interface to abandon the use of frames and use CSS properly intead. Beyond my abilities, alas. Phil ---- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Steve Shipway > Sent: 19 July 2005 01:04 > To: 'Peter Kr?pl'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios 2.03b and firefox.... :( > > >I have a very annouying problem, each time i press the > rerfresh button > >in firefox, it reloads the index.html file. This results in the main > >window going back to the information saying "Welcome to > nagios if you > >just installed.....". > > > >This problem does not appear with IE, and nagios 1.1 with firefox. > > This is because you are refreshing the page, not the single > frame, and is the 'correct' behaviour (although, I agree, not > what you want to happen in this case). Actually, I get this > behaviour with MSIE as well, but you probably avoid it > because you have something cached or else IE is defaulting to > refresh the active frame? > > Anyway, in Firefox, you can right-clik and select 'This > frame/Reload' which will just refresh the individual frame > (and you can do the same in IE as well). > > Another possibility is to change the nagios/index.html page > so that the initial page goes to your preferred main window. > > Steve > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies from IBM. Find simple to follow Roadmaps, > straightforward articles, informative Webcasts and more! Get > everything you need to get up to speed, fast. > http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Tue Jul 19 11:04:55 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Tue, 19 Jul 2005 11:04:55 +0200 Subject: Looking for error messages... In-Reply-To: References: Message-ID: <42DCC237.9010605@gmx.net> Daniel Deremiah schrieb: >Hi, I am trying to get a simple config running of Nagois. I have apache >installed and working and a nagios configuration that seems fine when I run >the verify. But when I try to access the URL and run any of the CGI's I get >the following error on the browser: > >Whoops! > >Error: Could not read object configuration data! > >Here are some things you should check in order to resolve this error: > > 1. Verify configuration options using the -v command-line option to check >for errors. > 2. Check the Nagios log file for messages relating to startup or status >data errors. > 3. Make sure you've compiled the main program and the CGIs to use the >same object data storage options (i.e. default text file or template-based >file). > >Number 1 checks out with 0 errors. Number 2: the nagios log file is >completely empty. How do I check Number 3? When I run the CGI's from the >command line, they give the same error. > > > > Did you ever try to start the Nagios Process? Then watch the Logs and try the CGIs? Regards Hendrik ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Tue Jul 19 11:07:19 2005 From: james.mohr at elaxy.com (Mohr James) Date: Tue, 19 Jul 2005 11:07:19 +0200 Subject: Determining where "Status Information" comes Message-ID: Hi All! Is there a quick way of determining whether the "Status Information" generated by an active check is coming from NRPE or the executed command? For example, we have a critical service that says "Connection refused by host". This could be coming from either NRPE or the command, as it is doing a sort of port scan from the remote system. So, when I see this messages, it is not immediately clear where it is coming from. Any info is greatly appreciated. Regards, Jim Mohr ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Tue Jul 19 11:08:09 2005 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Tue, 19 Jul 2005 11:08:09 +0200 Subject: check_oracle breaks when run under nrpe In-Reply-To: <6B893C5F2902D311A23F0090272854FB0575B76E@litex001.lit.verwalt-berlin.de> References: <6B893C5F2902D311A23F0090272854FB0575B76E@litex001.lit.verwalt-berlin.de> Message-ID: <42DCC2F9.7020901@perso.be> Ralph.Grothe at itdz-berlin.de wrote: >Hello, > >I know that I should post this to nagiosplug-help solely and not >x-post to nagios-users. >But I see there's much more activity in the latter and thus I >reckon a bigger chance for me to draw attention. > >I set up nrpe on remote hpux host that runs an Oracle dbms. > >When I execute the check_oracle shell script from the nagios >plug-ins on that host like such >everything works fine > >[nagios at terra:/usr/local/nagios/etc] >$ ORACLE_HOME=/app/oracle/product/9.2.0 >PATH=/usr/bin:$ORACLE_HOME/bin >/usr/local/nagios/libexec/check_oracle --tns FREMD > >OK - reply time 30 msec from FREMD > > >Wheras when I run it through check_nrpe by this command >definition in nrpe.cfg > >[nagios at terra:/usr/local/nagios/etc] >$ grep ^command\\[check_tns nrpe.cfg >command[check_tns_FREMD]='ORACLE_HOME=/app/oracle/product/9.2.0 >PATH=/usr/bin:$ORACLE_HOME/bin >/usr/local/nagios/libexec/check_oracle --tns FREMD' > > >this is happening > >[nagios at terra:/usr/local/nagios/etc] >$ ../libexec/check_nrpe -H 127.0.0.1 -c check_tns_FREMD >CHECK_NRPE: Response packet had invalid CRC32. > >[nagios at terra:/usr/local/nagios/etc] >$ echo $? >3 > > >Unfortunately nrpe or check_nrpe are of the silent sort, >and thus nothing useful gets logged via syslogd > >[nagios at terra:/usr/local/nagios/etc] >$ tail -1 /var/adm/syslog/syslog.log >Jul 19 09:31:02 terra inetd[22034]: nrpe/tcp: Connection from >localhost (127.0.0.1) at Tue Jul 19 09:31:02 2005 > > >First how can I raise verbosity of nrpe to detect more? > >Then what could have gone wrong? > > >Regards >Ralph > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > check your nrpe.cfg file : debug=1 -> more logging did you fill the allowed-hosts variable ? do you use ssl, otherwise, you should use check_nrpe with the -n option Frederik ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 19 11:25:05 2005 From: Stanley.Hopcroft at ipaustralia.gov.au (Stanley.Hopcroft at ipaustralia.gov.au) Date: Tue, 19 Jul 2005 19:25:05 +1000 Subject: How does one notify on event handler failure ? Message-ID: -Dear Sir, I am writing to thank you for your letter and say, > Hi Stanley, >> I would like to have an event handler attempt a service restart __and__ >> then >> have Nagios process a restart failure by notifying the contact group and >> doing >> all the other Nag things (log, pace notifications, re-invoke event >> handlers ..) as >> long as the service fails to restart. > How about: set your max_check_attempts to 10. On the 5th soft failure, > restart the service. If the service doesn't come back up properly, Nagios > will check it another 5 times and then report an error in the normal way. Sounds great to me. Since eventhandlers are called with args of $SERVICESTATE$, $SERVICESTATETYPE$, $SERVICEATTEMPT$ the event handler prologue should be something like #!/usr/bin/perl -w use strict ; exit 0 unless $ARGV[0] eq 'CRITICAL' ; exit 0 if $ARGV[1] eq 'HARD' ; # will only see a HARD state if restart fails exit 0 if $ARGV[2] != 5 ; # Go ahead and try and restart the service .. # Take as long as we like since we won't get called again if the # restart fails. # Chronology is # retry state notes # 1 SOFT retry service check to confirm fault # restart_threshold SOFT fault confirmed; try event handler/restart # .. threshold + 1 SOFT retry service to check restart # max_checks HARD restart failure confirmed; notify etc > Cheers, Chris. Thank you very much for this elegant solution so closely aligned to the what seems to me the conception of the event handler signature. Yours sincerely -- Stanley Hopcroft -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From Ralph.Grothe at itdz-berlin.de Tue Jul 19 11:35:33 2005 From: Ralph.Grothe at itdz-berlin.de (Ralph.Gr