From ajcooper80 at googlemail.com Sun Jul 1 16:33:36 2007 From: ajcooper80 at googlemail.com (Alan Cooper) Date: Sun, 1 Jul 2007 15:33:36 +0100 Subject: Nagios availability outwith scheduled downtime reporting Message-ID: <6c2c90880707010733s7c72555dq3c9649aa4c275542@mail.gmail.com> I'd like to generate a report of all the hosts and services on my network with downtime that occurred outwith scheduled downtime. The availability report does not quite meet this requirement as, annoyingly, it only seems to exclude periods in downtime on the host detail, not for the hostgroup as a whole. I use the ndo2db module to export my logs to a mysql database, but I am unable to create thye report as I cannot see any way to cleanly extract host up and down pairs - can anyone assist? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jul 1 19:46:00 2007 From: marc at ena.com (Marc Powell) Date: Sun, 1 Jul 2007 12:46:00 -0500 Subject: unsubscribe {Spam?} In-Reply-To: <221442750707010905u4daf5ca3uc2cebbbb419ae48e@mail.gmail.com> References: <221442750707010905u4daf5ca3uc2cebbbb419ae48e@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tommy Linuxfreak > Sent: Sunday, July 01, 2007 11:05 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] unsubscribe Go here -- > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > End of Nagios-users Digest, Vol 3, Issue 16 > > ******************************************* > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chactuchac10 at yahoo.com.ar Mon Jul 2 00:11:13 2007 From: chactuchac10 at yahoo.com.ar (Guillermo Riola) Date: Mon, 2 Jul 2007 00:11:13 +0200 (CEST) Subject: Double monitoring. Message-ID: <20070701221113.E88154F4045@desire.netways.de> Hi list Im admin of network with nagios, the network has like 30 servers, and im trying to do a double monitoring.ie: if there is a local network or server issue on the server with nagios, other monitoring point will continue to monitor services, i dont know if this then requires additional nagios installs or if there is a module to plugin to nagios to do this. For example we would like to monitor all the services and hosts from say 3 or 4 locations and with the info reporting back to the one nagios install Any suggestion will be very helpfully Regards! - Guillermo Riola (guille) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Jul 2 01:41:20 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 1 Jul 2007 19:41:20 -0400 Subject: Double monitoring. In-Reply-To: <20070701221113.E88154F4045@desire.netways.de> References: <20070701221113.E88154F4045@desire.netways.de> Message-ID: > Im admin of network with nagios, the network has like 30 servers, and > im trying to do a double monitoring.ie: > > if there is a local network or server issue on the server with nagios, > other monitoring point will continue to monitor services, i dont know > if this then requires additional nagios installs or if there is a > module to plugin to nagios to do this. For example we would like to > monitor all the services and hosts from say 3 or 4 locations and with > the info reporting back to the one nagios install Check out the sections on distributed monitoring in the docs. Set up passive checks with freshness checking, so that you'll always know if, for some reason, check results fail to come in. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Mon Jul 2 07:17:29 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 2 Jul 2007 17:17:29 +1200 Subject: Double monitoring. In-Reply-To: <20070701221113.E88154F4045@desire.netways.de> References: <20070701221113.E88154F4045@desire.netways.de> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2F367FB@UXCHANGE3.UoA.auckland.ac.nz> > I'm admin of network with nagios, the network has like 30 servers, and im > trying to do a double monitoring.ie: Sounds like what you want is either High Availaibility or Standy Nagios. We use both. For our 'live' Nagios, we have two servers running Linux-HA which are both connected to the same external SCSI disk unit via an Adaptec ServeRAID card. Linux-HA takes care of failing over the control of the disk unit, and the virtual IP, apache, and Nagios services. This way, we can shut down server A and server B will take over everything within a few seconds. So, we get 100% uptime, provided our main datacentre is online. However, for DR, we have another Nagios server at a remote site. This server has a mirror of the configuration files but Nagios is normally down. A regular cron job attempts to check Nagios on the live server (via NRPE and check_nagios) and if Nagios is down on the live server, then the DR Nagios is started up. We could do this alternatively by having Nagios always running, but with service checks and notifications disabled. Then, when the check fails, use the command pipe to send in the enable commands (and disable commands when it comes back). In this case, you could even use a custom host check and event handler to take care of it all internally to Nagios, although this would prevent you from simply using a straight copy of the live configuration files. I think there is some documentation on this at the Nagios web site. Steve ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott.br at gmail.com Mon Jul 2 07:23:46 2007 From: scott.br at gmail.com (Scott Briggs) Date: Mon, 2 Jul 2007 07:23:46 +0200 Subject: Nagios 3.0a sending host notifications on first soft error Message-ID: <31fee4f00707012223j38ef40b8vd9ce1d14ae6ca9ef@mail.gmail.com> Hi, I'm having a couple of problems with Nagios 3.0a3 and now 3.03a5. First, all host notifications are being sent out on the first soft error. I thought this was impossible, that nagios is only supposed to send notifications out on the first hard error, can someone verify this for me? Also, recovery notifications don't get sent out at all. There's no log of any attempted notifications and yet all the host and contact settings are for "d,u,r". Service notifications work exactly as expected, notifications get sent on the first hard error and recovery notifications get sent as well. Thanks in advance. Scott ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Mon Jul 2 07:36:48 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 2 Jul 2007 17:36:48 +1200 Subject: Recurring Downtime In-Reply-To: <85FF602AE313E040B1D817FCB41E62780182908D@MAIL.dtlinc.com> References: <85FF602AE313E040B1D817FCB41E62780182908D@MAIL.dtlinc.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2F367FF@UXCHANGE3.UoA.auckland.ac.nz> I think this one is one of mine. We're in the process of moving to Nagios 2.x here, and in doing so I fixed a couple of bugs in this script, and improved it considerably. Until now I've not been able to properly test under Nagios 2.x. I have just uploaded the v2.0beta1 of these scripts to Nagiosexchange (URL below). Support on http://www.steveshipway.org/forum As to your other question - you could always define a special timeperiod in Nagios and set checks/notifications to be limited to this, although it is a bit different from scheduling downtime. Steve New Nagios user here (2.9). I have a server that restarts every day. I want to schedule downtime for a server every day at the same time. I know that I can't do it with the basic nagios package. I found an add-on on nagios exchange. (http://www.nagiosexchange.org/Downtimes.38.0.html?&tx_netnagext_pi1%5Bp _view%5D=363) The new version of the add-on is supposed to work with 2.x. Does anyone here use it and have any suggestions for me? Is there another way to accomplish what I want to do? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Mon Jul 2 09:32:18 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Mon, 2 Jul 2007 00:32:18 -0700 Subject: nrpe configuration on solaris. Message-ID: <2402BA0C1F52594E8E271233F62EB6A903AC910B@repbex02.amer.bea.com> Hi, I have installed and configured nrpe on a solaris client. It has been working successfully for me. But recently I tried to configure it the same way on two more solaris machines and it is giving me the following error- Check_nrpe:socket timeout after 10 seconds. If I use -t with check_nrpe and increase the time it gives me- Could not complete ssl handshake. I am sunning nrpe under inetd and have disabled ssl. Kindly help. lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.ginestet at gpsa.fr Mon Jul 2 11:31:25 2007 From: thomas.ginestet at gpsa.fr (Thomas Ginestet) Date: Mon, 02 Jul 2007 11:31:25 +0200 Subject: check_amanda with nsca In-Reply-To: <4677EAA8.1000609@gpsa.fr> References: <4677EAA8.1000609@gpsa.fr> Message-ID: <4688C5ED.1070503@gpsa.fr> Thomas Ginestet a ?crit : > Hi list, > > I would like to use the plugin check_amanda (a python script) with nsca > but it doesn't seem to work: > In the client side, here is the output: > echo "backup;check_amanda;return_code;`./check_amanda`" | > /usr/sbin/send_nsca -H serverIP -d ";" -to 500 -c /etc/nagios/send_nsca.cfg > 1 data packet(s) sent to host successfully. > > In the server side, here is the output (/var/log/syslog): > Jun 19 15:30:22 nagios nsca[8621]: connect from backup (clientIP) > Jun 19 15:30:22 nagios nsca[8621]: Handling the connection... > Jun 19 15:32:07 nagios nsca[8621]: Dropping packet with stale timestamp > - packet was 105 seconds old. > > With the others plugins like check_users, check_imap, check_http, etc it > can works: > client side: > echo "backup;check_http;return_code;`./check_http -H serverIP`" | > /usr/sbin/send_nsca -H servIP -d ";" -to 1000 -c /etc/nagios/send_nsca.cfg > 1 data packet(s) sent to host successfully. > > server side: > Jun 19 15:42:26 nagios nsca[11212]: connect from backup (192.168.6.36) > Jun 19 15:42:26 nagios nsca[11212]: Handling the connection... > Jun 19 15:42:26 nagios nsca[11212]: SERVICE CHECK -> Host Name: > 'backup', Service Description: 'check_http', Return Code: '0', Output: > 'OK - HTTP/1.1 302 Found - 0.126 second response time > |time=0.125801s;;;0.000000 size=484B;;;0' > Jun 19 15:42:26 nagios nsca[11212]: End of connection... > > check_amanda works fine if manually launched: > backup:/usr/lib/nagios/plugins# ./check_amanda > Amanda backup for "DailySet" is ok. > > Check_amanda is the only python script i use with nsca, could it be the > problem ? Does anyone use this plugin with nsca ? > > Thks in advance, > > Thomas Ginestet > I've solved my problem using several scripts based on check_grep (nagios-of-plugins-0.8.3.tar.gz). Two for the amcheck (one for the label check and one for the connection check) and one for amstatus. In order to use nsca, you have to do a thing like this: - a config file config.pl (usefull if you have more than one check with nsca, useless if not): #!/usr/bin/perl $nsca_host="@ip"; $config="/etc/nagios/send_nsca.cfg"; $send_nsca="/usr/sbin/send_nsca -c $config -H $nsca_host"; - a perl script amstatus.pl (for example): #!/usr/bin/perl require "/usr/lib/nagios/plugins/config.pl"; $cmd="/usr/lib/nagios/plugins/amstatus.sh"; $hosts="backup"; $service="backup_check_status"; # you have to create this service on the services conf file / oreon interface $RESULT=`$cmd`; if ($RESULT =~ /OK/) { $code = 0; } if ($RESULT =~ /WARNING/) { $code = 1; } if ($RESULT =~ /CRITICAL/) { $code = 2; } open(SEND,"|$send_nsca") || die "Could not run $send_nsca: $!\n"; print SEND "$hosts\t$service\t$code\t$RESULT\n"; close SEND; - a bash script amstatus.sh with the command to use: #!/bin/sh /usr/lib/nagios/plugins/check_grep "dumped : 52" --command 'amstatus DayliSet' # 52 if the number of entries in my disklist, so you'll have to change this to suit your needs. Then, add the amstatus.pl to the crontab Hope this help Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Mon Jul 2 11:51:34 2007 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Mon, 2 Jul 2007 11:51:34 +0200 Subject: check_amanda with nsca Message-ID: <20070702095133.GA26213@eric.schwarzvogel.de> Hi! We're currently looking at creating a distributed setup using NSCA. One thing that I've found no mention of is how the host and service commands are forwarded. Even if the central machien does all the notifications (as we're planning), completely dis/enabling service/host checks would have to be distributed from the central machine to the checking machines. Or is the usual setup to let the useres access the web interface of each "checker machine"? Then how do people know which checks are run from which machine? If the central machien only does the "webservice job", i.e. notifications are handled on the checking machines, how are sceduled dowtimes, acknowledgements etc handled? I see how one could write a script or somesuch that distributes this stuff, but I'd rather not reinvent the wheel. Regards, Tobias ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Mon Jul 2 11:52:26 2007 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Mon, 2 Jul 2007 11:52:26 +0200 Subject: Distributed setups Message-ID: <20070702095226.GB26213@eric.schwarzvogel.de> Apologies for the other mail with the wrong setup. Too little coffee on my part. Hi! We're currently looking at creating a distributed setup using NSCA. One thing that I've found no mention of is how the host and service commands are forwarded. Even if the central machien does all the notifications (as we're planning), completely dis/enabling service/host checks would have to be distributed from the central machine to the checking machines. Or is the usual setup to let the useres access the web interface of each "checker machine"? Then how do people know which checks are run from which machine? If the central machien only does the "webservice job", i.e. notifications are handled on the checking machines, how are sceduled dowtimes, acknowledgements etc handled? I see how one could write a script or somesuch that distributes this stuff, but I'd rather not reinvent the wheel. Regards, Tobias ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From odenbach at uni-paderborn.de Mon Jul 2 15:18:07 2007 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Mon, 2 Jul 2007 15:18:07 +0200 Subject: check_snmp setup questions In-Reply-To: <46854614.4070207@ercbroadband.org> References: <46854614.4070207@ercbroadband.org> Message-ID: <200707021518.08392.odenbach@uni-paderborn.de> Am Freitag, 29. Juni 2007 schrieb Mark Haney: > I have just setup a check_snmp service in Nagios v2.9 to be able to > check a new temperature/humidity sensor in our data center. > > #check_snmp_POP_Temp command > define command{ > command_name check_snmp > command_line $USER1$/check_snmp -H $HOSTADDRESS -o $ARG1$ > -C $ARG2$ -w $ARG3$ -c $ARG4$ > > > So obviously I've got something wrong in the setup. Can someone help > me out? Missing dollar sign after $HOSTADDRESS ? Christopher -- ====================================================== Dipl.-Ing. Christopher Odenbach Zentrum fuer Informations- und Medientechnologien Universitaet Paderborn Raum N5.110 odenbach at uni-paderborn.de Tel.: +49 5251 60 5315 ====================================================== -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 2 15:21:41 2007 From: marc at ena.com (Marc Powell) Date: Mon, 2 Jul 2007 08:21:41 -0500 Subject: Distributed setups In-Reply-To: <20070702095226.GB26213@eric.schwarzvogel.de> References: <20070702095226.GB26213@eric.schwarzvogel.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tobias Klausmann > Sent: Monday, July 02, 2007 4:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Distributed setups > Even if the central machien does all the notifications (as we're > planning), completely dis/enabling service/host checks would have > to be distributed from the central machine to the checking > machines. How often do you really do that? I've found that scheduled downtime fits 99% of situations and those that that it doesn't (long term outages), editing the config on the master then rsync/scp and reload on the collector works just fine. > Or is the usual setup to let the useres access the web interface > of each "checker machine"? Then how do people know which checks > are run from which machine? > > If the central machien only does the "webservice job", i.e. > notifications are handled on the checking machines, how are > sceduled dowtimes, acknowledgements etc handled? We do everything on the central machine. Our collectors just collect and send results inward. Users all use just the central machine. Scheduled downtimes, acknowledgements, etc don't need to propagate out if you do all your management and reporting from the central machine. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 2 15:41:26 2007 From: peter at henet.dk (=?ISO-8859-1?Q?Peter_Kr=FCpl?=) Date: Mon, 02 Jul 2007 15:41:26 +0200 Subject: Nagios 3.0 EPN problems.... In-Reply-To: <4682CC63.7040500@web.de> References: <468245E2.1060202@henet.dk> <46824CCC.2000100@henet.dk> <4682CC63.7040500@web.de> Message-ID: <46890086.1010205@henet.dk> Hi, Sorry for the late response. I used Nagios 3.0a5, on FreeBSD 6.2-Release. I noticed the p1.pl, included in the distribution was for nagios 2.0, the comments within p1.pl state this. I have downgraded for now, as i use perl check plugins quite much. EPN is truly amazing in regards to system load. Kind Regars, Peter Kr?pl. Peter Ringe wrote: > Hi all together, > > I have had similar problem with 3.0a3 and 3.0a4. Didn't check with 3.0a5 > yet, but I will do (hopefully) next week. > I tested with Redhat RHES3 and RHES4. Didn't check to use > "use_embedded_perl_implicitly". > > Will try to reproduce that. > > Which exact Version of Nagios and OS do You use? > > > Regards, > Peter > > > > Peter Kr?pl schrieb: > >> Hi Again, >> >> I forgot to write how the output get's messed up... >> >> The output gets garbled like the following: "&#-64;&#-66;:67 Peer is Up." >> instead of :"AS9167 Peer is Up." >> >> This happens when i have "use_embedded_perl_implicitly=1" configured.... >> When i have "use_embedded_perl_implicitly=0" configured and >> include "# nagios: +epn" in my plugins.... the output is ok. >> >> Since i have no clue whetever EPN is used as i do not get any EPN debug >> logs, >> i can not tell if it works..... >> >> >> Peter Kr?pl skrev: >> >> >>> Hi Group, >>> >>> I am currently trying to get EPN up and running for Nagios 3.0a5. >>> So far i works partially... but i have some problems..... >>> >>> 1. Plugin output gets garbled.... eg: >>> 2. No log output from p1.pl is generated... >>> >>> Has anyone expeirienced similar issues, or am i he only one ? >>> >>> Kind Regards, >>> Peter Kr?pl >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, 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 DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, 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 DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Mon Jul 2 16:02:35 2007 From: chiel at gmx.net (chiel) Date: Mon, 2 Jul 2007 16:02:35 +0200 Subject: Dependencie question Message-ID: <013f01c7bcb1$ad39ad20$4f0010ac@michiel> hi, I want that if a child is checked and it seems to be down it also checks the parrent if its down. Because now I just uses the last check state from the parrent. This is for both hosts and services dependecie. How can I set this up? chiel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Mon Jul 2 17:03:56 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 02 Jul 2007 08:03:56 -0700 Subject: nrpe vs snmp resources Message-ID: <468913DC.8060107@gmail.com> I remember a while back seeing a well-written "NRPE vs SNMP" webpage (that was incredibly detailed). I've googled for a while, and can't seem to refind it. If anyone has a good one, do share! thx ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Mon Jul 2 19:23:03 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 2 Jul 2007 10:23:03 -0700 Subject: best place to put NSClient++ on a Windows server? Message-ID: <2b7af7c40707021023n258616e6ie6ae120d266970fb@mail.gmail.com> I recently downloaded the NSClient++ plugin so that I could monitor my NT servers using Nagios. In the instructions (http://trac.nakednuns.org/nscp/wiki/Documentation), it says to install it via the command line ("nsclient++.exe /install"). I do that, it says that it's finished, so I'm assuming that the NSC.ini file I have to edit is the one I have in my c:\temp\ dir. Any suggestions on where the best place to put this is on a Windows server? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 2 19:22:54 2007 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 2 Jul 2007 19:22:54 +0200 Subject: nrpe vs snmp resources In-Reply-To: <468913DC.8060107@gmail.com> References: <468913DC.8060107@gmail.com> Message-ID: <200707021922.54447.misch@multinet.de> Am Montag, 2. Juli 2007 17:03 schrieb Rogelio Bastardo: > I remember a while back seeing a well-written "NRPE vs SNMP" webpage > (that was incredibly detailed). > > I've googled for a while, and can't seem to refind it. > > If anyone has a good one, do share! > > thx Basically you can do everything with SNMP. With nearly all devices. But I never have seen a router with nrpe installed. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Mon Jul 2 19:37:41 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 2 Jul 2007 10:37:41 -0700 Subject: nrpe vs snmp resources In-Reply-To: <200707021922.54447.misch@multinet.de> References: <468913DC.8060107@gmail.com> <200707021922.54447.misch@multinet.de> Message-ID: <2b7af7c40707021037j2e0d9dc9wceaf00858f1a423c@mail.gmail.com> > > Basically you can do everything with SNMP. With nearly all devices. But I > never have seen a router with nrpe installed. > While knew that SNMP did just about everything that NRPE did, but I thought that there might be a couple of things NRPE did independent of SNMP. If I understand everything correctly, what NRPE does differently ("better"?) is just make some of these configs a bit easier? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Jul 2 21:05:20 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 2 Jul 2007 12:05:20 -0700 Subject: Dependencie question In-Reply-To: <013f01c7bcb1$ad39ad20$4f0010ac@michiel> References: <013f01c7bcb1$ad39ad20$4f0010ac@michiel> Message-ID: <20070702190343.GB21212@pmorris.usa.hp.com> chiel schrieb am Montag, den 02. Juli 2007: > hi, > > I want that if a child is checked and it seems to be down it also checks the parrent if its down. Because now I just uses the last check state from the parrent. > This is for both hosts and services dependecie. Using the "parents" directive instead of a dependency for hosts will give you that. Otherwise, you can use an eventhandler to kick off an immediate check of the parent if the child has a problem. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manas.paikray at ge.com Mon Jul 2 21:07:22 2007 From: manas.paikray at ge.com (Paikray, Manas (GE Money, consultant)) Date: Mon, 2 Jul 2007 15:07:22 -0400 Subject: Unable to installed the plugins Message-ID: <392E90C415C3E545A789288092FC5B5206AB78D4@CINMLVEM18.e2k.ad.ge.com> Hi All, Can someone help me here so I can installed the nagios with the plugins users, getting below errors while compilation the plugins. Linux MYUSVWSHQLAB025 2.6.9-22.EL #1 Mon Sep 19 18:20:28 EDT 2005 i686 i686 i386 GNU/Linux [root at MYUSVWSHQLAB025 nagios-plugins-1.4.7]# cat /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant Update 2) [root at MYUSVWSHQLAB025 nagios-plugins-1.4.7]# Nagios verison:- 3.0a4 Plugins:- 1.4.7 +++++++++Error+++++++++++++ if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/include -I/usr/include -g -O2 -MT check_apt.o -MD -MP -MF ".deps/check_apt.Tpo" -c -o check_apt.o check_apt.c; \ then mv -f ".deps/check_apt.Tpo" ".deps/check_apt.Po"; else rm -f ".deps/check_apt.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o libtool: link: cannot find the library `' or unhandled argument `/nagios-plugins-1.4.7/plugins' make[2]: *** [check_apt] Error 1 make[2]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7' make: *** [all] Error 2 Thanks, -Manas -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.zhang at mblox.com Mon Jul 2 22:07:44 2007 From: kevin.zhang at mblox.com (Kevin Zhang) Date: Mon, 2 Jul 2007 13:07:44 -0700 Subject: Problem in compiling nagios-plugin-1.4.9 Message-ID: <20A3B15FFC02244484902AB384BDBE0D03391C68@usexchange4.cblan.mblox.com> I am trying to commpile the nagios-plugin-1.4.9 on Red Hat Enterprise Linux ES release 4 (Nahant Update 4). But encountered the following errors. Could someone help? Thanks in advance. Kevin SZ Making all in plugins make[2]: Entering directory `/root/nagios-plugins-1.4.9/plugins' /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -L/usr/local/ssl/lib -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/root/nagios-plugins-1.4.9/plugins -L/usr/local/ssl/lib ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x38): In function `dlfcn_load': : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xa0): In function `dlfcn_load': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc9): In function `dlfcn_load': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x13e): In function `dlfcn_unload': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x1f5): In function `dlfcn_bind_var': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x241): In function `dlfcn_bind_var': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2d5): In function `dlfcn_bind_func': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x321): In function `dlfcn_bind_func': : undefined reference to `dlerror' collect2: ld returned 1 exit status make[2]: *** [check_http] Error 1 make[2]: Leaving directory `/root/nagios-plugins-1.4.9/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/nagios-plugins-1.4.9' make: *** [all] Error 2 [root at www nagios-plugins-1.4.9]# -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manas.paikray at ge.com Mon Jul 2 22:26:11 2007 From: manas.paikray at ge.com (Paikray, Manas (GE Money, consultant)) Date: Mon, 2 Jul 2007 16:26:11 -0400 Subject: Problem in compiling nagios-plugin-1.4.9 In-Reply-To: <20A3B15FFC02244484902AB384BDBE0D03391C68@usexchange4.cblan.mblox.com> References: <20A3B15FFC02244484902AB384BDBE0D03391C68@usexchange4.cblan.mblox.com> Message-ID: <392E90C415C3E545A789288092FC5B5206B7F087@CINMLVEM18.e2k.ad.ge.com> I am also getting the same error, please let me know if you got the solution, Many Thanks, -Manas ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kevin Zhang Sent: Monday, July 02, 2007 4:08 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem in compiling nagios-plugin-1.4.9 I am trying to commpile the nagios-plugin-1.4.9 on Red Hat Enterprise Linux ES release 4 (Nahant Update 4). But encountered the following errors. Could someone help? Thanks in advance. Kevin SZ Making all in plugins make[2]: Entering directory `/root/nagios-plugins-1.4.9/plugins' /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -L/usr/local/ssl/lib -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/root/nagios-plugins-1.4.9/plugins -L/usr/local/ssl/lib ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x38): In function `dlfcn_load': : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xa0): In function `dlfcn_load': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc9): In function `dlfcn_load': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x13e): In function `dlfcn_unload': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x1f5): In function `dlfcn_bind_var': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x241): In function `dlfcn_bind_var': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2d5): In function `dlfcn_bind_func': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x321): In function `dlfcn_bind_func': : undefined reference to `dlerror' collect2: ld returned 1 exit status make[2]: *** [check_http] Error 1 make[2]: Leaving directory `/root/nagios-plugins-1.4.9/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/nagios-plugins-1.4.9' make: *** [all] Error 2 [root at www nagios-plugins-1.4.9]# -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Mon Jul 2 22:26:42 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Mon, 02 Jul 2007 16:26:42 -0400 Subject: Problem in compiling nagios-plugin-1.4.9 In-Reply-To: <20A3B15FFC02244484902AB384BDBE0D03391C68@usexchange4.cblan.mblox.com> References: <20A3B15FFC02244484902AB384BDBE0D03391C68@usexchange4.cblan.mblox.com> Message-ID: <46895F82.8010605@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Zhang wrote: > I am trying to commpile the nagios-plugin-1.4.9 on Red Hat Enterprise > Linux ES release 4 (Nahant Update 4). > But encountered the following errors. Could someone help? Thanks in advance. > Is there a particular reason you are compiling them, instead of installing them from RPM? This would be much easier on yourself. http://dag.wieers.com/packages/nagios-plugins/ Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGiV+CHoeeepPau2ERAhfjAJ0QQIgsmR82LpBkxRViIZKcULVfowCeLMMQ nC1XfKyjWfLhd10IL1Gphi0= =rjUO -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Mon Jul 2 22:32:49 2007 From: richardsolid at gmail.com (Jake Solid) Date: Mon, 2 Jul 2007 16:32:49 -0400 Subject: check_mysql - how to store passwords securely Message-ID: I use the NRPE deamon my Nagios server to monitor a remote mysql database. I have the following entry in the nrpe.cfg of my remote server that runs mysql: command[check_mysql]=/usr/lib64/nagios/plugins/check_mysql -d my_database -u root -p mypassword It connects properly BUT Is there a way that I can have the password stored securely, NOT in a text file. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manas.paikray at ge.com Mon Jul 2 22:37:28 2007 From: manas.paikray at ge.com (Paikray, Manas (GE Money, consultant)) Date: Mon, 2 Jul 2007 16:37:28 -0400 Subject: Problem in compiling nagios-plugin-1.4.9 In-Reply-To: <46895F82.8010605@verizon.net> References: <20A3B15FFC02244484902AB384BDBE0D03391C68@usexchange4.cblan.mblox.com> <46895F82.8010605@verizon.net> Message-ID: <392E90C415C3E545A789288092FC5B5206B7F09C@CINMLVEM18.e2k.ad.ge.com> Hi Max, Getting below error while trying using rpm, [root at MYUSVWSHQLAB025 ~]# rpm -ivh nagios-plugins-1.4.4-1.el4.rf.i386.rpm warning: nagios-plugins-1.4.4-1.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: perl(Net::SNMP) is needed by nagios-plugins-1.4.4-1.el4.rf.i386 >From where I will get this depended object, I tried but still no luck. Thanks, -Manas -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Max Hetrick Sent: Monday, July 02, 2007 4:27 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem in compiling nagios-plugin-1.4.9 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Zhang wrote: > I am trying to commpile the nagios-plugin-1.4.9 on Red Hat Enterprise > Linux ES release 4 (Nahant Update 4). > But encountered the following errors. Could someone help? Thanks in advance. > Is there a particular reason you are compiling them, instead of installing them from RPM? This would be much easier on yourself. http://dag.wieers.com/packages/nagios-plugins/ Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGiV+CHoeeepPau2ERAhfjAJ0QQIgsmR82LpBkxRViIZKcULVfowCeLMMQ nC1XfKyjWfLhd10IL1Gphi0= =rjUO -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.zhang at mblox.com Mon Jul 2 22:40:45 2007 From: kevin.zhang at mblox.com (Kevin Zhang) Date: Mon, 2 Jul 2007 13:40:45 -0700 Subject: Problem in compiling nagios-plugin-1.4.9 In-Reply-To: <392E90C415C3E545A789288092FC5B5206B7F09C@CINMLVEM18.e2k.ad.ge.com> References: <20A3B15FFC02244484902AB384BDBE0D03391C68@usexchange4.cblan.mblox.com><46895F82.8010605@verizon.net> <392E90C415C3E545A789288092FC5B5206B7F09C@CINMLVEM18.e2k.ad.ge.com> Message-ID: <20A3B15FFC02244484902AB384BDBE0D03391C96@usexchange4.cblan.mblox.com> I can compile nagios-plugin-1.4.3 successfully but not 1.4.9. Need to compile it myself to make sure I know the details. Kevin SZ -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Paikray, Manas (GE Money, consultant) Sent: Monday, July 02, 2007 1:37 PM To: Max Hetrick; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem in compiling nagios-plugin-1.4.9 Hi Max, Getting below error while trying using rpm, [root at MYUSVWSHQLAB025 ~]# rpm -ivh nagios-plugins-1.4.4-1.el4.rf.i386.rpm warning: nagios-plugins-1.4.4-1.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: perl(Net::SNMP) is needed by nagios-plugins-1.4.4-1.el4.rf.i386 >From where I will get this depended object, I tried but still no luck. Thanks, -Manas -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Max Hetrick Sent: Monday, July 02, 2007 4:27 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem in compiling nagios-plugin-1.4.9 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Zhang wrote: > I am trying to commpile the nagios-plugin-1.4.9 on Red Hat Enterprise > Linux ES release 4 (Nahant Update 4). > But encountered the following errors. Could someone help? Thanks in advance. > Is there a particular reason you are compiling them, instead of installing them from RPM? This would be much easier on yourself. http://dag.wieers.com/packages/nagios-plugins/ Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGiV+CHoeeepPau2ERAhfjAJ0QQIgsmR82LpBkxRViIZKcULVfowCeLMMQ nC1XfKyjWfLhd10IL1Gphi0= =rjUO -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Mon Jul 2 22:45:11 2007 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 2 Jul 2007 16:45:11 -0400 Subject: check_mysql - how to store passwords securely In-Reply-To: References: Message-ID: <302ce8b50707021345na82035bl18c99e622efabf5@mail.gmail.com> On 7/2/07, Jake Solid wrote: > > I use the NRPE deamon my Nagios server to monitor a remote mysql database. > > I have the following entry in the nrpe.cfg of my remote server that runs > mysql: > > command[check_mysql]=/usr/lib64/nagios/plugins/check_mysql > -d my_database -u root -p mypassword Why are you using your root user to test the database? All you really need to do is grant USAGE rights to test user and then not give them rights to anything else. From here, you can use your resource file to put the password in there, and with proper permissions, only root and the nagios user can read that file. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From therrington at DTLINC.com Mon Jul 2 22:48:10 2007 From: therrington at DTLINC.com (Herrington, Tony) Date: Mon, 2 Jul 2007 15:48:10 -0500 Subject: Nagios and Qpage Message-ID: <85FF602AE313E040B1D817FCB41E62780186D011@MAIL.dtlinc.com> This is semi-Nagios related. I have Qpage all setup to notify by SMS out a dial up modem, to a local landline, incase the network is down. I run a test page, it queues up all ready to go, but then tells me my ttyS0 is already in use. Anyone have any idea why this might happen? The phone line is good to go, I can dial out and everything. Seems to be an issue with ownership or something. Any suggestions would be awesome. Thanks! Tony Herrington Asst. Network Administrator Decker Truck Line, Inc. 4000 5th Ave South Fort Dodge, IA 50501 (515) 576-4141 ext. 2179 Cell # 1.515.851.2888 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lokesh.khanna at accelonafrica.com Mon Jul 2 22:46:13 2007 From: lokesh.khanna at accelonafrica.com (lokesh.khanna at accelonafrica.com) Date: Mon, 2 Jul 2007 21:46:13 +0100 Subject: nagios with Mysql Message-ID: <2CA06E56A5C1E34B89F504FDFA133AF501A4A09B@ng.accelonafrica.com> Hi I have recently compiled nagios - 3.0.a5 on Enterprise 3.0 linux. I followed the instructions mentioned on http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html . But I want to compile Nagios with Mysql. Can some one help me by providing a document on that. I am not finding any url which has the document. Thanks - LK -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Mon Jul 2 22:52:18 2007 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 2 Jul 2007 21:52:18 +0100 Subject: Unable to installed the plugins In-Reply-To: <392E90C415C3E545A789288092FC5B5206AB78D4@CINMLVEM18.e2k.ad.ge.com> References: <392E90C415C3E545A789288092FC5B5206AB78D4@CINMLVEM18.e2k.ad.ge.com> Message-ID: On 2 Jul 2007, at 20:07, Paikray, Manas (GE Money, consultant) wrote: > +++++++++Error+++++++++++++ > if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" - > DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/ > include/ldap -I/include -I/usr/include -g -O2 -MT check_apt.o - > MD -MP -MF ".deps/check_apt.Tpo" -c -o check_apt.o check_apt.c; \ > then mv -f ".deps/check_apt.Tpo" ".deps/check_apt.Po"; else rm -f > ".deps/check_apt.Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o > check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/ > libgnu.a runcmd.o > libtool: link: cannot find the library `' or unhandled argument `/ > nagios-plugins-1.4.7/plugins' > make[2]: *** [check_apt] Error 1 > make[2]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7' > make: *** [all] Error 2 Is the space after /opt/Backup correct? There is a known problem with the automake tools if the path to the compile area contains a space. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Mon Jul 2 22:57:52 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Mon, 02 Jul 2007 16:57:52 -0400 Subject: Problem in compiling nagios-plugin-1.4.9 In-Reply-To: <392E90C415C3E545A789288092FC5B5206B7F09C@CINMLVEM18.e2k.ad.ge.com> References: <20A3B15FFC02244484902AB384BDBE0D03391C68@usexchange4.cblan.mblox.com> <46895F82.8010605@verizon.net> <392E90C415C3E545A789288092FC5B5206B7F09C@CINMLVEM18.e2k.ad.ge.com> Message-ID: <468966D0.4040804@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paikray, Manas (GE Money, consultant) wrote: > Hi Max, > > Getting below error while trying using rpm, > > [root at MYUSVWSHQLAB025 ~]# rpm -ivh > nagios-plugins-1.4.4-1.el4.rf.i386.rpm > warning: nagios-plugins-1.4.4-1.el4.rf.i386.rpm: V3 DSA signature: > NOKEY, key ID 6b8d79e6 > error: Failed dependencies: > perl(Net::SNMP) is needed by nagios-plugins-1.4.4-1.el4.rf.i386 > Yeah, I forgot about that. There are a few dependencies for using the RPM. If you're not against installing them, then you can add Dag's repo to your RHEL configuration long enough to install, and then remove it. Install Dag's package key: rpm -import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt Add to /etc/sysconfig/rhn/sources #Uncomment dag's repo to install/update packages yum dag http://dag.atrpms.net/redhat/el4/en/$basearch/dag Remember to comment the yum line back out after you are done installing things, as to not screw up the RPM database by accident at a later date. This isn't supported by Red Hat, so if this is a production machine, please be aware of that. I've done this before, however, on two production machines and not had a problem, but that doesn't mean something won't break. Now, do your normal up2date to install things. up2date --install nagios-plugins I don't remember if it takes care of dependencies or not, but if it doesn't, you can install perl-Net-SNMP the same: up2date --install perl-Net-SNMP This will also make it easier to upgrade the package in the future, just remember to comment the yum dag line out when you are finished installing or upgrading packages from his repo. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGiWbQHoeeepPau2ERAkbHAJwPwiHK7m+M1RGAfCX7cRJKNxwJWgCfdJNt 6Hh40rCK8/lKuONNpjpFSUI= =B/Co -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Mon Jul 2 23:01:12 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Mon, 02 Jul 2007 17:01:12 -0400 Subject: Problem in compiling nagios-plugin-1.4.9 In-Reply-To: <468966D0.4040804@verizon.net> References: <20A3B15FFC02244484902AB384BDBE0D03391C68@usexchange4.cblan.mblox.com> <46895F82.8010605@verizon.net> <392E90C415C3E545A789288092FC5B5206B7F09C@CINMLVEM18.e2k.ad.ge.com> <468966D0.4040804@verizon.net> Message-ID: <46896798.3040309@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Max Hetrick wrote: > Add to /etc/sysconfig/rhn/sources > > #Uncomment dag's repo to install/update packages > yum dag http://dag.atrpms.net/redhat/el4/en/$basearch/dag I take that back, use this: #Uncomment dag's repo to install/update packages yum dag http://apt.sw.be/redhat/el4/en/$ARCH/dag I checked on his website, and he changed it. http://dag.wieers.com/rpm/FAQ.php#B5 Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGiWeXHoeeepPau2ERAinGAJ4pzSqVjmIpycg9nAdBqbvsgp5T2gCgkRCA mA3Xtnm5vA9ZHayIwwQEMqo= =+4bL -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manas.paikray at ge.com Mon Jul 2 23:13:55 2007 From: manas.paikray at ge.com (Paikray, Manas (GE Money, consultant)) Date: Mon, 2 Jul 2007 17:13:55 -0400 Subject: Unable to installed the plugins In-Reply-To: References: <392E90C415C3E545A789288092FC5B5206AB78D4@CINMLVEM18.e2k.ad.ge.com> Message-ID: <392E90C415C3E545A789288092FC5B5206B7F0EB@CINMLVEM18.e2k.ad.ge.com> Your name is Ton and I like to give you Ton of thanks, Please accept, it work Max, Fyi I compiled manually, root cause is the "Space" on my base directory, thanks to you also. Many thanks again, -Manas -----Original Message----- From: Ton Voon [mailto:ton.voon at altinity.com] Sent: Monday, July 02, 2007 4:52 PM To: Paikray, Manas (GE Money, consultant) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Unable to installed the plugins On 2 Jul 2007, at 20:07, Paikray, Manas (GE Money, consultant) wrote: > +++++++++Error+++++++++++++ > if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" - DHAVE_CONFIG_H > -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/ > include/ldap -I/include -I/usr/include -g -O2 -MT check_apt.o - > MD -MP -MF ".deps/check_apt.Tpo" -c -o check_apt.o check_apt.c; \ then > mv -f ".deps/check_apt.Tpo" ".deps/check_apt.Po"; else rm -f > ".deps/check_apt.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC > --mode=link gcc -g -O2 -L. -o check_apt check_apt.o utils.o > ../lib/libnagiosplug.a ../gl/ libgnu.a runcmd.o > libtool: link: cannot find the library `' or unhandled argument `/ > nagios-plugins-1.4.7/plugins' > make[2]: *** [check_apt] Error 1 > make[2]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7' > make: *** [all] Error 2 Is the space after /opt/Backup correct? There is a known problem with the automake tools if the path to the compile area contains a space. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Jul 3 00:15:14 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 2 Jul 2007 15:15:14 -0700 Subject: nagios with Mysql In-Reply-To: <2CA06E56A5C1E34B89F504FDFA133AF501A4A09B@ng.accelonafrica.com> References: <2CA06E56A5C1E34B89F504FDFA133AF501A4A09B@ng.accelonafrica.com> Message-ID: <20070702221514.GB6266@pmorris.usa.hp.com> On Mon, 02 Jul 2007, lokesh.khanna at accelonafrica.com wrote: > I have recently compiled nagios - 3.0.a5 on Enterprise 3.0 linux. I > followed the instructions mentioned on > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html . > > But I want to compile Nagios with Mysql. Can some one help me by > providing a document on that. > > I am not finding any url which has the document. Nagios itself has no direct MySQL support to be compiled in. ndoutils is an external add-on that provides some database support: http://sourceforge.net/project/showfiles.php?group_id=26589 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Jul 3 00:19:18 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 2 Jul 2007 15:19:18 -0700 Subject: Nagios and Qpage In-Reply-To: <85FF602AE313E040B1D817FCB41E62780186D011@MAIL.dtlinc.com> References: <85FF602AE313E040B1D817FCB41E62780186D011@MAIL.dtlinc.com> Message-ID: <20070702221918.GC6266@pmorris.usa.hp.com> On Mon, 02 Jul 2007, Herrington, Tony wrote: > This is semi-Nagios related. I have Qpage all setup to notify by SMS out > a dial up modem, to a local landline, incase the network is down. I run > a test page, it queues up all ready to go, but then tells me my ttyS0 is > already in use. Anyone have any idea why this might happen? The phone > line is good to go, I can dial out and everything. Seems to be an issue > with ownership or something. Any suggestions would be awesome. Chances are ttyS0 is already in use (or, maybe, doesn't exist). Some process on the box, like a serial console, may have already grabbed the port. "lsof | grep ttyS0" may help. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 00:36:01 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 3 Jul 2007 10:36:01 +1200 Subject: Distributed setups In-Reply-To: <20070702095226.GB26213@eric.schwarzvogel.de> References: <20070702095226.GB26213@eric.schwarzvogel.de> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2F36856@UXCHANGE3.UoA.auckland.ac.nz> > We're currently looking at creating a distributed setup using > NSCA. One thing that I've found no mention of is how the host and > service commands are forwarded. I think they are not. > Even if the central machien does all the notifications (as we're > planning), completely dis/enabling service/host checks would have > to be distributed from the central machine to the checking > machines. This is the biggest disadvantage of the distributed model, in my opinion - enable/disable checks commands are not propagated (and indeed cannot be without some serious reworking of the cmd.cgi interface) and so you cannot stop checking any more. However this is not such a big issue, as mostly you are more interested in scheduling downtime and disabling/acknowledging alerts, all of which are done on the central server. The satellite servers (collectors) do not do notifications, only pass the status on to the central server (aggregator) via the OCSP command. If I was obsessive about it, I'd modify the cmd.cgi script so that it spots a distributed service (no active checks, only freshness checks to set to 'unknown') and forwards to call to the host managing it (which I'd have to store the definition of in a separate database table or something). Too much trouble though, particularly since our users are forever clicking 'disable checks' when they actually mean 'disable alerts' or 'acknowledge'. Steve ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 00:45:15 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 3 Jul 2007 10:45:15 +1200 Subject: nrpe configuration on solaris. In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903AC910B@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903AC910B@repbex02.amer.bea.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2F36857@UXCHANGE3.UoA.auckland.ac.nz> 1. On solaris, make sure you have the SSL libraries installed if you are going to use SSL. Solaris does not seem to have these by default. 2. If you disable SSL, you need to do it on the client as well. So, your inetd definition uses -n to disable SSL, and you must also give the -n option to the check_nrpe to disable SSL there as well. Steve If I use -t with check_nrpe and increase the time it gives me- Could not complete ssl handshake. I am sunning nrpe under inetd and have disabled ssl. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lev at ivt.com.au Tue Jul 3 05:39:58 2007 From: lev at ivt.com.au (Lev Lafayette) Date: Tue, 03 Jul 2007 13:39:58 +1000 Subject: Nested notifications; parent vis-a-vis parent_host Message-ID: <1183433998.6907.17.camel@ubuntu> Hey nagios people, Assume I have a happy system of a hypervisor and virtual machines. Further, there's a neat system of when a machine goes down an SMS and email is sent to the responsible person. However, when the parent machine goes down, all the VMs (for obvious reasons) send out a "Oh Noes!" message as well. This is not wanted. Now the nagios documentation, dating back from the netsaint days, says the system to walk a dependency path using parent_host... however the hosts.cfg has entries like the following: define host{ use generic-host ; Name of host template to use host_name guestvm1 alias guestvm1 address xxx.xxx.xxx.xxx parents xendom0 check_command check-host-alive } Now presumably, cgis like statusmap.cgi is built from this information. Would changing 'parents' to 'parent_map' in the above fix the dependency walk and notifications? And would it break statusmap.cgi? Thanks in advance, Lev ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Tue Jul 3 11:06:29 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Tue, 3 Jul 2007 02:06:29 -0700 Subject: nrpe configuration on solaris. In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A2F36857@UXCHANGE3.UoA.auckland.ac.nz> References: <2402BA0C1F52594E8E271233F62EB6A903AC910B@repbex02.amer.bea.com> <12A6FDDD13C460408A6E47E5DB1235A2F36857@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <2402BA0C1F52594E8E271233F62EB6A903AC973C@repbex02.amer.bea.com> Steve, Thanks a million. It fixed it. I gave -n at both server and client end and its working perfectly now. Thank you once again :-) Lalita From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] Sent: Tuesday, July 03, 2007 4:15 AM To: Lalita Drolia; nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: RE: [Nagios-users] nrpe configuration on solaris. 1. On solaris, make sure you have the SSL libraries installed if you are going to use SSL. Solaris does not seem to have these by default. 2. If you disable SSL, you need to do it on the client as well. So, your inetd definition uses -n to disable SSL, and you must also give the -n option to the check_nrpe to disable SSL there as well. Steve If I use -t with check_nrpe and increase the time it gives me- Could not complete ssl handshake. I am sunning nrpe under inetd and have disabled ssl. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dzalewski at open-craft.com Tue Jul 3 12:27:01 2007 From: dzalewski at open-craft.com (Dominik Zalewski) Date: Tue, 3 Jul 2007 13:27:01 +0300 Subject: Desktop Dashboard Message-ID: <200707031327.02016.dzalewski@open-craft.com> Dear All, Does anybody has a Tactical Monitoring Overview page on the desktop? Is there is a way to do this using superkaraba or some scritps? Thanks, Dominik ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dzalewski at open-craft.com Tue Jul 3 12:58:26 2007 From: dzalewski at open-craft.com (Dominik Zalewski) Date: Tue, 3 Jul 2007 13:58:26 +0300 Subject: Desktop Dashboard In-Reply-To: <200707031253.22936.cmd@amran.de> References: <200707031327.02016.dzalewski@open-craft.com> <200707031253.22936.cmd@amran.de> Message-ID: <200707031358.26462.dzalewski@open-craft.com> On Tuesday 03 July 2007 01:53:22 pm CMD wrote: > On Tuesday 03 July 2007 12:27, Dominik Zalewski wrote: > > Does anybody has a Tactical Monitoring Overview page on the desktop? > > Hi Dominik, hi list! > > Hmmm, this is surely not what you're looking for, but did you have a look > at the nagios-checker plugin for FireFox? > https://addons.mozilla.org/de/firefox/addon/3607 > > it checks your nagios and alerts you optically and also with sound in case > of failures... it also takes you to your nagios with a single simple > click... > > Regards, > Christian Dunkel Hi Chrisitan, I already have this plugin:) but this mean that I have to keep firefox open. All I need is a kind of applet,widget,dashboard or whatever:) on my KDE desktop backround. I'm trying now Gnome Nagios Applet: http://mattwork.potsdam.edu/projects/wiki/index.php/Nagios_Applet Thanks anyway, -- Dominik Zalewski | System Administrator OpenCraft t- +2 02 336 0003 w- http://www.open-craft.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lokesh.khanna at accelonafrica.com Tue Jul 3 13:18:51 2007 From: lokesh.khanna at accelonafrica.com (lokesh.khanna at accelonafrica.com) Date: Tue, 3 Jul 2007 12:18:51 +0100 Subject: nagios with Mysql In-Reply-To: <20070702221514.GB6266@pmorris.usa.hp.com> References: <2CA06E56A5C1E34B89F504FDFA133AF501A4A09B@ng.accelonafrica.com> <20070702221514.GB6266@pmorris.usa.hp.com> Message-ID: <2CA06E56A5C1E34B89F504FDFA133AF501A4A129@ng.accelonafrica.com> Thanks Patrick I have compiled ngoutils but after all configuration, I get below error on my log file. Not sure what mistake I am doing.... Jul 3 11:12:44 monitoring2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_timedevents SET instance_id='1', event_type='8', queued_time=FROM_UNIXTIME(1183457564), queued_time_usec='195938', scheduled_time=FROM_UNIXTIME(1183457574), recurring_event='1', object_id='0' ON DUPLICATE KEY UPDATE instance_id='1', event_type='8', queued_time=FROM_UNIXTIME(1183457564), queued_time_usec='195938', scheduled_time=FROM_UNIXTIME(1183457574), recurring_event='1', object_id='0'' Thanks - LK -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Monday, July 02, 2007 11:15 PM To: Lokesh Khanna Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios with Mysql On Mon, 02 Jul 2007, lokesh.khanna at accelonafrica.com wrote: > I have recently compiled nagios - 3.0.a5 on Enterprise 3.0 linux. I > followed the instructions mentioned on > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html . > > But I want to compile Nagios with Mysql. Can some one help me by > providing a document on that. > > I am not finding any url which has the document. Nagios itself has no direct MySQL support to be compiled in. ndoutils is an external add-on that provides some database support: http://sourceforge.net/project/showfiles.php?group_id=26589 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From windy at white-hawk.de Tue Jul 3 15:45:09 2007 From: windy at white-hawk.de (Stephan =?iso-8859-1?Q?Windm=FCller?=) Date: Tue, 3 Jul 2007 15:45:09 +0200 Subject: Perfdata-file is gone after running nagiosgraph Message-ID: <20070703134509.GC26819@speutel.de> Hello! I found a problem with nagiosgraph but I am not sure whether this should be fixed in nagios or nagiosgraph. My perfdata-config looks like: process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/var/nagios/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 process-service-perfdata only runs insert.pl which renames the log and unlinks it after processing. But after this, nagios does not write any perfdata anymore. /var/nagios/service-perfdata is gone until the next restart of nagios. I am using both software under Solaris10/x86. TIA Stephan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Tue Jul 3 15:58:00 2007 From: palleje at gmail.com (Palle Jensen) Date: Tue, 3 Jul 2007 09:58:00 -0400 Subject: best place to put NSClient++ on a Windows server? In-Reply-To: <2b7af7c40707021023n258616e6ie6ae120d266970fb@mail.gmail.com> References: <2b7af7c40707021023n258616e6ie6ae120d266970fb@mail.gmail.com> Message-ID: <009301c7bd7a$2bdad550$bdac38a6@na.dsmain.com> I have NSClient++ installed in c:\NSClient++, and that's were NSC.INI resides as well. You need to enable a few things in NSC.INI, just open the file and read it. - Palle _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rogelio Bastardo Sent: Monday, July 02, 2007 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] best place to put NSClient++ on a Windows server? I recently downloaded the NSClient++ plugin so that I could monitor my NT servers using Nagios. In the instructions ( http://trac.nakednuns.org/nscp/wiki/Documentation), it says to install it via the command line ("nsclient++.exe /install"). I do that, it says that it's finished, so I'm assuming that the NSC.ini file I have to edit is the one I have in my c:\temp\ dir. Any suggestions on where the best place to put this is on a Windows server? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 17:13:55 2007 From: marc at ena.com (Marc Powell) Date: Tue, 3 Jul 2007 10:13:55 -0500 Subject: Nested notifications; parent vis-a-vis parent_host In-Reply-To: <1183433998.6907.17.camel@ubuntu> References: <1183433998.6907.17.camel@ubuntu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lev Lafayette > Sent: Monday, July 02, 2007 10:40 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nested notifications; parent vis-a-vis parent_host > > > Hey nagios people, > > However, when the parent machine goes down, all the VMs (for obvious > reasons) send out a "Oh Noes!" message as well. This is not wanted. > Shouldn't happen if your host checks work properly and you have the parents directive properly set up to match your environment. > Now the nagios documentation, dating back from the netsaint days, says > the system to walk a dependency path using parent_host... however the > hosts.cfg has entries like the following: Why are you reading netsaint docuementation? It's incredibly outdated in general. In this particular regard however, the parents functionality has remained the same. > define host{ > use generic-host ; Name of host > template to use > host_name guestvm1 > alias guestvm1 > address xxx.xxx.xxx.xxx > parents xendom0 > check_command check-host-alive > } > Does the host check for xendom0 return a down status when it's down? That should do what you want. > Now presumably, cgis like statusmap.cgi is built from this information. > Would changing 'parents' to 'parent_map' in the above fix the dependency > walk and notifications? And would it break statusmap.cgi? No, it would break your configuration since parent_map isn't a valid nagios directive. I think if you verify that your host check for xendom0 does what you think it does you should be ok with the above configuration. Recent documentation on the subject can be found at http://nagios.sourceforge.net/docs/2_0/networkreachability.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Tue Jul 3 20:33:36 2007 From: ampranti at gmail.com (Brandino Andreas) Date: Tue, 3 Jul 2007 21:33:36 +0300 Subject: force service check when other fails Message-ID: <742708538.20070703213336@gmail.com> hi list Is any way to force nagios to check a service when an other fails? What i want to do: I have a service. When it fails i would like to check the ste of a second service. If both failed then it would send an email about the 1st only. The important part is that i want the 2nd service to be checked after the failue of the first service. Serviceescalation are a workaround, but they dont "force" a check of the 2nd service when the first one fails. Also, the first two notifications cant be escalated according to manual. Is any other way to handle them? Regards Thanks <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.zhang at mblox.com Tue Jul 3 21:02:01 2007 From: kevin.zhang at mblox.com (Kevin Zhang) Date: Tue, 3 Jul 2007 12:02:01 -0700 Subject: Problem in compiling nagios-plugin-1.4.9 References: <20A3B15FFC02244484902AB384BDBE0D03391C68@usexchange4.cblan.mblox.com><46895F82.8010605@verizon.net> <392E90C415C3E545A789288092FC5B5206B7F09C@CINMLVEM18.e2k.ad.ge.com> Message-ID: <20A3B15FFC02244484902AB384BDBE0D03392111@usexchange4.cblan.mblox.com> I also compiled it under Red Hat Linux release 9 (Shrike) But failed with the same errors. This is just an ammendaments to my previous emails, In case someone try to solve the issue. Kevin SZ -----Original Message----- From: Kevin Zhang Sent: Monday, July 02, 2007 1:41 PM To: 'Paikray, Manas (GE Money, consultant)'; Max Hetrick; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problem in compiling nagios-plugin-1.4.9 I can compile nagios-plugin-1.4.3 successfully but not 1.4.9. Need to compile it myself to make sure I know the details. Kevin SZ -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Paikray, Manas (GE Money, consultant) Sent: Monday, July 02, 2007 1:37 PM To: Max Hetrick; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem in compiling nagios-plugin-1.4.9 Hi Max, Getting below error while trying using rpm, [root at MYUSVWSHQLAB025 ~]# rpm -ivh nagios-plugins-1.4.4-1.el4.rf.i386.rpm warning: nagios-plugins-1.4.4-1.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: perl(Net::SNMP) is needed by nagios-plugins-1.4.4-1.el4.rf.i386 >From where I will get this depended object, I tried but still no luck. Thanks, -Manas -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Max Hetrick Sent: Monday, July 02, 2007 4:27 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem in compiling nagios-plugin-1.4.9 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Zhang wrote: > I am trying to commpile the nagios-plugin-1.4.9 on Red Hat Enterprise > Linux ES release 4 (Nahant Update 4). > But encountered the following errors. Could someone help? Thanks in advance. > Is there a particular reason you are compiling them, instead of installing them from RPM? This would be much easier on yourself. http://dag.wieers.com/packages/nagios-plugins/ Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGiV+CHoeeepPau2ERAhfjAJ0QQIgsmR82LpBkxRViIZKcULVfowCeLMMQ nC1XfKyjWfLhd10IL1Gphi0= =rjUO -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lokesh.khanna at accelonafrica.com Tue Jul 3 22:43:09 2007 From: lokesh.khanna at accelonafrica.com (lokesh.khanna at accelonafrica.com) Date: Tue, 3 Jul 2007 21:43:09 +0100 Subject: nagios with Mysql In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57448190EC@hermes.sapphire-int.gi> References: <2CA06E56A5C1E34B89F504FDFA133AF501A4A09B@ng.accelonafrica.com><20070702221514.GB6266@pmorris.usa.hp.com> <2CA06E56A5C1E34B89F504FDFA133AF501A4A129@ng.accelonafrica.com> <9D30659ABCA7FB428CF91E386C3A57448190EC@hermes.sapphire-int.gi> Message-ID: <2CA06E56A5C1E34B89F504FDFA133AF501A4A25F@ng.accelonafrica.com> I get below things in mysqld.lo Cannot initialize InnoDB as 'innodb_data_file_path' is not set. If you do not want to use transactional InnoDB tables, add a line skip-innodb to the [mysqld] section of init parameters in your my.cnf or my.ini. If you want to use InnoDB tables, add to the [mysqld] section, for example, innodb_data_file_path = ibdata1:10M:autoextend But to get good performance you should adjust for your hardware the InnoDB startup options listed in section 2 at Thanks - Lokesh -----Original Message----- From: Giles Coochey [mailto:gcoochey at sapphire.gi] Sent: Tuesday, July 03, 2007 12:37 PM To: Lokesh Khanna Subject: RE: [Nagios-users] nagios with Mysql Can you post the mysql error log perhaps? Best regards Giles Coochey Technical Department Sapphire Networks -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of lokesh.khanna at accelonafrica.com Sent: 03 July 2007 13:19 To: patrick.morris at hp.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios with Mysql Thanks Patrick I have compiled ngoutils but after all configuration, I get below error on my log file. Not sure what mistake I am doing.... Jul 3 11:12:44 monitoring2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_timedevents SET instance_id='1', event_type='8', queued_time=FROM_UNIXTIME(1183457564), queued_time_usec='195938', scheduled_time=FROM_UNIXTIME(1183457574), recurring_event='1', object_id='0' ON DUPLICATE KEY UPDATE instance_id='1', event_type='8', queued_time=FROM_UNIXTIME(1183457564), queued_time_usec='195938', scheduled_time=FROM_UNIXTIME(1183457574), recurring_event='1', object_id='0'' Thanks - LK -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Monday, July 02, 2007 11:15 PM To: Lokesh Khanna Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios with Mysql On Mon, 02 Jul 2007, lokesh.khanna at accelonafrica.com wrote: > I have recently compiled nagios - 3.0.a5 on Enterprise 3.0 linux. I > followed the instructions mentioned on > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html . > > But I want to compile Nagios with Mysql. Can some one help me by > providing a document on that. > > I am not finding any url which has the document. Nagios itself has no direct MySQL support to be compiled in. ndoutils is an external add-on that provides some database support: http://sourceforge.net/project/showfiles.php?group_id=26589 ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Jul 3 23:12:16 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Tue, 3 Jul 2007 14:12:16 -0700 Subject: NagiosQL question (everything works, except for index.php asking me for my user / pass) Message-ID: <2b7af7c40707031412j61ffdc0h54742af6f609993b@mail.gmail.com> NagiosQL's LAMP part portion works ok (as evidenced by http://box/nagiosQL/testQL.php works ok), but the /index.php page serves but doesn't ask me for my login (which I understand are admin / admin by default) Nagios works - OK Nagios serves pages in Apache 2.0 - OK NagiosQL serves pages using PHP 4 - OK ...but, can't seem to make it prompt me for the password when I type in http://IPaddress/nagiosQL/index.php Any suggestions? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Jul 3 23:48:36 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 3 Jul 2007 14:48:36 -0700 Subject: nagios with Mysql In-Reply-To: <2CA06E56A5C1E34B89F504FDFA133AF501A4A25F@ng.accelonafrica.com> References: <2CA06E56A5C1E34B89F504FDFA133AF501A4A129@ng.accelonafrica.com> <9D30659ABCA7FB428CF91E386C3A57448190EC@hermes.sapphire-int.gi> <2CA06E56A5C1E34B89F504FDFA133AF501A4A25F@ng.accelonafrica.com> Message-ID: <20070703214836.GL6266@pmorris.usa.hp.com> Hi lokesh.khanna! On Tue, 03 Jul 2007, lokesh.khanna at accelonafrica.com wrote: > I get below things in mysqld.lo > > Cannot initialize InnoDB as 'innodb_data_file_path' is not set. > If you do not want to use transactional InnoDB tables, add a line > skip-innodb to the [mysqld] section of init parameters in your my.cnf > or my.ini. If you want to use InnoDB tables, add to the [mysqld] > section, for example, > innodb_data_file_path = ibdata1:10M:autoextend > But to get good performance you should adjust for your hardware > the InnoDB startup options listed in section 2 at At the risk of stating the obvious, it sounds like your problem, and the fix for it, are described in that error message. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Tue Jul 3 23:49:30 2007 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 3 Jul 2007 13:49:30 -0800 Subject: Searching in web interface Message-ID: <979CDB9D-754F-467C-9076-6F37ECFDB225@frontierflying.com> When using the search box in the Nagios sidebar, is there a way I can get it to bring up multiple, or wildcard matches? For example, all of our computers out in Nome are named ome-whatever. I would like to be able to type "ome-" (or "ome-*" or whatever) into that search box, and have it pull up a listing of all Nome computers. Unfortunately, at the moment it only appears to return the first result. So if I have computers named ome-computer1 and ome-computer2, a search for "ome-" only shows ome-computer1. Is there some way I can change this behavior? Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Jul 4 00:44:43 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 3 Jul 2007 15:44:43 -0700 Subject: Perfdata-file is gone after running nagiosgraph In-Reply-To: <20070703134509.GC26819@speutel.de> References: <20070703134509.GC26819@speutel.de> Message-ID: <20070703224443.GN6266@pmorris.usa.hp.com> Stephan Windm?ller schrieb am Dienstag, den 03. Juli 2007: > Hello! > > I found a problem with nagiosgraph but I am not sure whether this should > be fixed in nagios or nagiosgraph. > > My perfdata-config looks like: > > process_performance_data=1 > service_perfdata_command=process-service-perfdata > service_perfdata_file=/var/nagios/service-perfdata > service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ > service_perfdata_file_mode=a > service_perfdata_file_processing_interval=30 > > process-service-perfdata only runs insert.pl which renames the log and > unlinks it after processing. But after this, nagios does not write any > perfdata anymore. /var/nagios/service-perfdata is gone until the next > restart of nagios. > > I am using both software under Solaris10/x86. Which version of Nagios are you running? What are your perfdata_file settings in Nagios.cfg? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cachux at gmail.com Wed Jul 4 00:53:28 2007 From: cachux at gmail.com (Rafael Alfaro) Date: Tue, 3 Jul 2007 16:53:28 -0600 Subject: Migration of nagios comments and trends graphs In-Reply-To: References: <8e26b9970706231825i5421d730w24cd268e48b7cb3a@mail.gmail.com> Message-ID: <8e26b9970707031553q75936d60s3185c0a0b7d2c21@mail.gmail.com> Thanks friends!! it works On 6/25/07, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Rafael Alfaro > > Sent: Saturday, June 23, 2007 8:26 PM > > To: Nagios Users mailinglist > > Subject: Re: [Nagios-users] Migration of nagios comments and trends > graphs > > > > You are right!! > > > > Really I'm working with groundwork open source, that comes with > nagios > > 2.5, I want to migrate to another version of groundwork that has > the > > same nagios 2.5 embeded, because I want to migrate the > nagioscomment.log > > and trends graphs, I think that this list is the best place to find a > > solution. > > The groundwork support lists are probably going to be your best bet but > for a normal nagios installation, you simply need to copy over the > comment log file (comment_file in nagios.cfg), nagios log (log_file in > nagios.cfg) and the contents of the archive directory (log_archive_path > in nagios.cfg). > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Rafael Alfaro. Omnilife Independent Distributor. "People taking care of people". -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Jul 4 02:39:48 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 3 Jul 2007 17:39:48 -0700 Subject: force service check when other fails In-Reply-To: <742708538.20070703213336@gmail.com> References: <742708538.20070703213336@gmail.com> Message-ID: <20070704003948.GP6266@pmorris.usa.hp.com> Hi Brandino! On Tue, 03 Jul 2007, Brandino Andreas wrote: > Is any way to force nagios to check a service when an other fails? > What i want to do: > I have a service. When it fails i would like to check the ste of a > second service. If both failed then it would send an email about the 1st only. > The important part is that i want the 2nd service to be checked after the failue > of the first service. > > Serviceescalation are a workaround, but they dont "force" a check > of the 2nd service when the first one fails. > > Also, the first two notifications cant be escalated according to > manual. Is any other way to handle them? Use an eventhandler and submit a SCHEDULE_SVC_CHECK through the external command interface on a non-OK state. If you only want an alert if both fail, you'll probably still want a dependency to handle that. I'm not sure what you mean with your last sentence. You can escalate whenever you want. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lev at ivt.com.au Wed Jul 4 03:28:49 2007 From: lev at ivt.com.au (Lev Lafayette) Date: Wed, 04 Jul 2007 11:28:49 +1000 Subject: Nested notifications; parent vis-a-vis parent_host In-Reply-To: References: Message-ID: <1183512529.13534.3.camel@ubuntu> On Tue, 2007-07-03 at 10:13 -0500, Marc Powell wrote: Hi Marc, > > However, when the parent machine goes down, all the VMs (for obvious > > reasons) send out a "Oh Noes!" message as well. This is not wanted. > > > > Shouldn't happen if your host checks work properly and you have the > parents directive properly set up to match your environment. > To be more specific, when a border-router or similar goes down, unreachable notifications are sent out for a number of connected machines, vms and so forth; which is pretty obvious imo... This seems to be the main issue DOWNs leading to UNREACHABLES. > > Now the nagios documentation, dating back from the netsaint days, says > > the system to walk a dependency path using parent_host... however the > > hosts.cfg has entries like the following: > > Why are you reading netsaint docuementation? It's incredibly outdated in > general. In this particular regard however, the parents functionality > has remained the same. > Perhaps I wasn't clear; what I meant was the Nagios documentation is very similar indeed to the Netsaint documentation. i.e., Nagios 1.x documention (Last Updated: 10-28-2004), section 'Determining Status and Reachability of Network Hosts', is pretty much a word-for-word copy of the old Netsaint documentation. i.e., compare: http://nagios.sourceforge.net/download/contrib/documentation/english/Nagios_1_0_Docs.pdf and http://www.netsaint.org/download/contrib/docs/netsaint-0.0.7.pdf All the best, Lev ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Jul 4 04:23:38 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 3 Jul 2007 22:23:38 -0400 Subject: Nested notifications; parent vis-a-vis parent_host In-Reply-To: <1183512529.13534.3.camel@ubuntu> References: <1183512529.13534.3.camel@ubuntu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lev Lafayette > Sent: Tuesday, July 03, 2007 6:29 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nested notifications;parent vis-a-vis > parent_host > > > > However, when the parent machine goes down, all the VMs (for > obvious > > > reasons) send out a "Oh Noes!" message as well. This is not wanted. > > > > > > > Shouldn't happen if your host checks work properly and you have the > > parents directive properly set up to match your environment. > > > > To be more specific, when a border-router or similar goes down, > unreachable notifications are sent out for a number of connected > machines, vms and so forth; which is pretty obvious imo... This seems > to > be the main issue DOWNs leading to UNREACHABLES. If you don't want the UNREACHABLE alerts, just disable them. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lev at ivt.com.au Wed Jul 4 04:50:14 2007 From: lev at ivt.com.au (Lev Lafayette) Date: Wed, 04 Jul 2007 12:50:14 +1000 Subject: Nested notifications; parent vis-a-vis parent_host In-Reply-To: References: <1183512529.13534.3.camel@ubuntu> Message-ID: <1183517414.13534.6.camel@ubuntu> On Tue, 2007-07-03 at 22:23 -0400, Morris, Patrick wrote: > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Lev Lafayette > > Sent: Tuesday, July 03, 2007 6:29 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nested notifications;parent vis-a-vis > > parent_host > > > > > > However, when the parent machine goes down, all the VMs (for > > obvious > > > > reasons) send out a "Oh Noes!" message as well. This is not > wanted. > > > > > > > > > > Shouldn't happen if your host checks work properly and you have the > > > parents directive properly set up to match your environment. > > > > > > > To be more specific, when a border-router or similar goes down, > > unreachable notifications are sent out for a number of connected > > machines, vms and so forth; which is pretty obvious imo... This seems > > to > > be the main issue DOWNs leading to UNREACHABLES. > > If you don't want the UNREACHABLE alerts, just disable them. Yeah, I've done that. Just does seem to be pretty redundant to send out UNREACHABLE alerts when a parent is DOWN, imo... :-) All the best, Lev ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lokesh.khanna at accelonafrica.com Wed Jul 4 07:04:52 2007 From: lokesh.khanna at accelonafrica.com (lokesh.khanna at accelonafrica.com) Date: Wed, 4 Jul 2007 06:04:52 +0100 Subject: nagios with Mysql In-Reply-To: <20070703214836.GL6266@pmorris.usa.hp.com> References: <2CA06E56A5C1E34B89F504FDFA133AF501A4A129@ng.accelonafrica.com> <9D30659ABCA7FB428CF91E386C3A57448190EC@hermes.sapphire-int.gi> <2CA06E56A5C1E34B89F504FDFA133AF501A4A25F@ng.accelonafrica.com> <20070703214836.GL6266@pmorris.usa.hp.com> Message-ID: <2CA06E56A5C1E34B89F504FDFA133AF501A4A26A@ng.accelonafrica.com> Hi I have dropped nagios DB which I created and trying to re create again. When I execute installdb script for tables creation, I get below error DBD::mysql::db do failed: Table 'nagios.nagios_dbversion' doesn't exist at ./installdb line 51. ** Creating tables for version 1.4b4 Using mysql.sql for installation... ERROR 1064 at line 19: You have an error in your SQL syntax near 'ENGINE=MyISAM COMMENT='Current and historical host and service acknowledgements'' at line 15 Installation from mysql.sql failed at ./installdb line 59. If I remove 'ENGINE=MyISAM COMMENT='Current and historical host and service acknowledgements from mysql.sql file, then I get no error and tables get created. This is what I did earlier. I am not a DB person, so pl help me in understanding what is wrong. As per my current my.cnf , I have below mentioned values there [root at monitoring2 db]# cat /etc/my.cnf [mysqld] skip-innodb datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock [mysql.server] user=mysql basedir=/var/lib [safe_mysqld] err-log=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid Thanks - LK -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Tuesday, July 03, 2007 10:49 PM To: Lokesh Khanna Cc: gcoochey at sapphire.gi; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios with Mysql Hi lokesh.khanna! On Tue, 03 Jul 2007, lokesh.khanna at accelonafrica.com wrote: > I get below things in mysqld.lo > > Cannot initialize InnoDB as 'innodb_data_file_path' is not set. > If you do not want to use transactional InnoDB tables, add a line > skip-innodb to the [mysqld] section of init parameters in your my.cnf > or my.ini. If you want to use InnoDB tables, add to the [mysqld] > section, for example, > innodb_data_file_path = ibdata1:10M:autoextend > But to get good performance you should adjust for your hardware > the InnoDB startup options listed in section 2 at At the risk of stating the obvious, it sounds like your problem, and the fix for it, are described in that error message. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Jul 4 07:34:44 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 4 Jul 2007 01:34:44 -0400 Subject: nagios with Mysql In-Reply-To: <2CA06E56A5C1E34B89F504FDFA133AF501A4A26A@ng.accelonafrica.com> References: <2CA06E56A5C1E34B89F504FDFA133AF501A4A129@ng.accelonafrica.com><9D30659ABCA7FB428CF91E386C3A57448190EC@hermes.sapphire-int.gi><2CA06E56A5C1E34B89F504FDFA133AF501A4A25F@ng.accelonafrica.com><20070703214836.GL6266@pmorris.usa.hp.com> <2CA06E56A5C1E34B89F504FDFA133AF501A4A26A@ng.accelonafrica.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of > lokesh.khanna at accelonafrica.com > Sent: Tuesday, July 03, 2007 10:05 PM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios with Mysql > > I have dropped nagios DB which I created and trying to re create again. > > When I execute installdb script for tables creation, I get below error > > DBD::mysql::db do failed: Table 'nagios.nagios_dbversion' doesn't exist > at ./installdb line 51. > ** Creating tables for version 1.4b4 > Using mysql.sql for installation... > ERROR 1064 at line 19: You have an error in your SQL syntax near > 'ENGINE=MyISAM COMMENT='Current and historical host and service > acknowledgements'' at line 15 > Installation from mysql.sql failed at ./installdb line 59. What version of MySQL are you building it with? I'd have to be a pretty old version not to support the "ENINE=MyISAM" option. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian.chard at sers.ox.ac.uk Wed Jul 4 10:02:35 2007 From: ian.chard at sers.ox.ac.uk (Ian Chard) Date: Wed, 04 Jul 2007 09:02:35 +0100 Subject: Hosts with one service in error state never get checked - bug? Message-ID: <468B541B.10602@sers.ox.ac.uk> Hi, I've got a few hosts with just one service each. If the service goes into a non-OK state, then later the host goes down, when it comes back up Nagios never checks the host if the service is still not OK. The host still looks like it's down as far as Nagios is concerned. Is this a bug? Thanks for any advice - Ian -- Ian Chard, Senior Unix and Network Admin | E: ian.chard at sers.ox.ac.uk Systems and Electronic Resources Service | T: 80587 / (01865) 280587 Oxford University Library Services | F: (01865) 242287 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Stuetz at ams-engineering.com Wed Jul 4 10:07:08 2007 From: Thomas.Stuetz at ams-engineering.com (=?iso-8859-1?Q?St=FCtz_Thomas?=) Date: Wed, 4 Jul 2007 10:07:08 +0200 Subject: Check for existing String Message-ID: Hello, im new in this mailing list. My First Question is.: I would like to send a String OID in my E-Mail Message. For example.: .1.3.6.1.4.1.1.1.3.1.1.3.1 0/1 .1.3.6.1.4.1.1.1.3.1.1.2.1 Text If the first OID get's 1, then the 2. should be read and included into the E-Mail/SMS Message. Is this possible (existing plugin)? The String OID is normally null, so can i check if it is != null and send the String in my Message? Thanks for answer ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From windy at white-hawk.de Wed Jul 4 11:26:57 2007 From: windy at white-hawk.de (Stephan Windm?ller) Date: Wed, 4 Jul 2007 11:26:57 +0200 Subject: Perfdata-file is gone after running nagiosgraph In-Reply-To: <20070703224443.GN6266@pmorris.usa.hp.com> References: <20070703134509.GC26819@speutel.de> <20070703224443.GN6266@pmorris.usa.hp.com> Message-ID: <20070704092657.GA29786@speutel.de> On Tue, 03. Jul 2007, Patrick Morris wrote: > > process-service-perfdata only runs insert.pl which renames the log and > > unlinks it after processing. But after this, nagios does not write any > > perfdata anymore. /var/nagios/service-perfdata is gone until the next > > restart of nagios. > > I am using both software under Solaris10/x86. > Which version of Nagios are you running? Nagios 2.9 > What are your perfdata_file settings in Nagios.cfg? Do you mean service_perfdata_file? service_perfdata_file=/var/nagios/service-perfdata - Stephan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 4 15:08:32 2007 From: marc at ena.com (Marc Powell) Date: Wed, 4 Jul 2007 08:08:32 -0500 Subject: Nested notifications; parent vis-a-vis parent_host In-Reply-To: <1183517414.13534.6.camel@ubuntu> References: <1183517414.13534.6.camel@ubuntu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lev Lafayette > Sent: Tuesday, July 03, 2007 9:50 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nested notifications;parent vis-a-vis > parent_host > > On Tue, 2007-07-03 at 22:23 -0400, Morris, Patrick wrote: > > If you don't want the UNREACHABLE alerts, just disable them. > > Yeah, I've done that. Just does seem to be pretty redundant to send out > UNREACHABLE alerts when a parent is DOWN, imo... :-) It has it's benefits. That's why it can be enabled and disabled, just like all the other notification types. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From howachen at gmail.com Wed Jul 4 19:08:40 2007 From: howachen at gmail.com (howard chen) Date: Thu, 5 Jul 2007 01:08:40 +0800 Subject: nagios vs ganglia Message-ID: Hello, I am comparing these two monitoring systems. My findings is: nagios provides more features than ganglia, but I know many people use them together. I don't why, is that some features is missing from nagios? thanks. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irvine.harris at gmail.com Thu Jul 5 00:07:10 2007 From: irvine.harris at gmail.com (Harry John) Date: Wed, 4 Jul 2007 15:07:10 -0700 Subject: mail alert on nagios Message-ID: Hi Gentlemen, i've just installed nagios2.9 on a centos 4.5 and is running fine. I'am just monitoing ping of some machines and everything goes on very well. im quite newb to linux and is just few days using it. i wanted to send mail alerts through my corporate exchange server (relay) found this link interesting http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=698 and i did what it said (proving host,domain...editing commands.cfg and contacts.cfg) ..but where should I keep my script? it says *I put this in the nagios plugins directory /usr/local/nagios/libexec but you can put it anywhere.* but how will nagios know from where to run the script. and just giving *perl **send_mail.pl* gives out errors also. what is the general method to send a mail to your office mail? i wud also be thankful if you can guide me in configuring NRPE and nsclient to monitor services in windows servers. Thanks in advance Harry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Thu Jul 5 00:32:14 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 05 Jul 2007 00:32:14 +0200 Subject: nagios vs ganglia In-Reply-To: References: Message-ID: <468C1FEE.1050605@telcotec.se> howard chen wrote: > Hello, > > I am comparing these two monitoring systems. > > My findings is: nagios provides more features than ganglia, but I know > many people use them together. > > I don't why, is that some features is missing from nagios? >From reading the doco: ganglia: more or less zero configuration, default checks geared towards clusters/grids. nagios: vast configuration options, create your own checks in addition to the default set. Deploying a cluster monitoring solution is far less work with ganglia. However, adding your own checks seems to require that you fiddle with the C code yourself. Or something to that effect. /Lars ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 02:00:30 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 5 Jul 2007 12:00:30 +1200 Subject: best place to put NSClient++ on a Windows server? In-Reply-To: <2b7af7c40707021023n258616e6ie6ae120d266970fb@mail.gmail.com> References: <2b7af7c40707021023n258616e6ie6ae120d266970fb@mail.gmail.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2F36B9A@UXCHANGE3.UoA.auckland.ac.nz> When you run the /install option, this configures a Windows service which points at the nsclient++.exe executable. After you run this, you cannot move the .exe file, else the service will not be able to start! Here, I have made a windows install package, which installs the stuff into C:\program files\monitoring and then automatically calls the /install option to register the service. The install pack also installs the other monitoring agents where required (eg, the nageventlog agent). Steve ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rogelio Bastardo Sent: Tuesday, 3 July 2007 05:23 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] best place to put NSClient++ on a Windows server? I recently downloaded the NSClient++ plugin so that I could monitor my NT servers using Nagios. In the instructions ( http://trac.nakednuns.org/nscp/wiki/Documentation ), it says to install it via the command line ("nsclient++.exe /install"). I do that, it says that it's finished, so I'm assuming that the NSC.ini file I have to edit is the one I have in my c:\temp\ dir. Any suggestions on where the best place to put this is on a Windows server? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Thu Jul 5 08:49:13 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Wed, 4 Jul 2007 23:49:13 -0700 Subject: too many Notifications Message-ID: <2402BA0C1F52594E8E271233F62EB6A903B6B6D0@repbex02.amer.bea.com> Hi, I know already a lot has been discussed on the notifications topic but I am sorry I still want to ask this. I would like to receive only one notification when a host goes down and one when it comes up, even if there maybe a gap of days in between. I have read about the concept of escalations but I am not sure if it will solve the purpose. Can you please suggest me how we can do this. Thank you in advance. Lalita. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lev at ivt.com.au Thu Jul 5 09:01:38 2007 From: lev at ivt.com.au (Lev Lafayette) Date: Thu, 05 Jul 2007 17:01:38 +1000 Subject: too many Notifications In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903B6B6D0@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903B6B6D0@repbex02.amer.bea.com> Message-ID: <1183618899.5930.4.camel@ubuntu> On Wed, 2007-07-04 at 23:49 -0700, Lalita Drolia wrote: > Hi, > > > > I know already a lot has been discussed on the notifications topic but > I am sorry I still want to ask this. > > I would like to receive only one notification when a host goes down > and one when it comes up, even if there maybe a gap of days in > between. > > I have read about the concept of escalations but I am not sure if it > will solve the purpose. > > Can you please suggest me how we can do this. > > > > Thank you in advance. > > Lalita. > Hi Lalita, Edit the hosts.cfg file as appropriate; especially the notification_interval notification_period and most of all notification_options HTH, Lev ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Thu Jul 5 09:11:45 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 5 Jul 2007 00:11:45 -0700 Subject: too many Notifications In-Reply-To: <1183618899.5930.4.camel@ubuntu> References: <2402BA0C1F52594E8E271233F62EB6A903B6B6D0@repbex02.amer.bea.com> <1183618899.5930.4.camel@ubuntu> Message-ID: <2402BA0C1F52594E8E271233F62EB6A903B6B703@repbex02.amer.bea.com> Hi Lev, As I understand, is it right that if I make notification_interval as 0 that will generate only 1 mail every time the state changes. I could keep notification_options as d,u,r. Lalita -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lev Lafayette Sent: Thursday, July 05, 2007 12:32 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] too many Notifications On Wed, 2007-07-04 at 23:49 -0700, Lalita Drolia wrote: > Hi, > > > > I know already a lot has been discussed on the notifications topic but > I am sorry I still want to ask this. > > I would like to receive only one notification when a host goes down > and one when it comes up, even if there maybe a gap of days in > between. > > I have read about the concept of escalations but I am not sure if it > will solve the purpose. > > Can you please suggest me how we can do this. > > > > Thank you in advance. > > Lalita. > Hi Lalita, Edit the hosts.cfg file as appropriate; especially the notification_interval notification_period and most of all notification_options HTH, Lev ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.gerbec at agenda.si Thu Jul 5 09:54:12 2007 From: david.gerbec at agenda.si (David Gerbec) Date: Thu, 05 Jul 2007 09:54:12 +0200 Subject: too many Notifications In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903B6B6D0@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903B6B6D0@repbex02.amer.bea.com> Message-ID: <468CA3A4.40900@agenda.si> Hi! Lalita Drolia pravi: > Hi, > > > > I know already a lot has been discussed on the notifications topic but I > am sorry I still want to ask this. > > I would like to receive only one notification when a host goes down and > one when it comes up, even if there maybe a gap of days in between. > > I have read about the concept of escalations but I am not sure if it > will solve the purpose. > > Can you please suggest me how we can do this. > You can try and set the notification_interval to "0". That way you should only get one notification when the host goes down... --- David Gerbec Agenda Open Systems [www.agenda.si] > > > Thank you in advance. > > Lalita. > > > > > > > > > > > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the individual > or entity named in this message. If you are not the intended recipient, > and have received this message in error, please immediately return this > by email and then delete it. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Thu Jul 5 09:57:37 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 5 Jul 2007 00:57:37 -0700 Subject: too many Notifications In-Reply-To: <468CA3A4.40900@agenda.si> References: <2402BA0C1F52594E8E271233F62EB6A903B6B6D0@repbex02.amer.bea.com> <468CA3A4.40900@agenda.si> Message-ID: <2402BA0C1F52594E8E271233F62EB6A903B6B760@repbex02.amer.bea.com> David, I guess your suggestion should work. And I would not have to use escaltions.but just want to make sure that will it send notifications everytime there is a state change. Like from up to down and vice versa. Because I would need that. And thank you for your help :) With reagrds, Lalita -----Original Message----- From: David Gerbec [mailto:david.gerbec at agenda.si] Sent: Thursday, July 05, 2007 1:24 PM To: Lalita Drolia Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] too many Notifications Hi! Lalita Drolia pravi: > Hi, > > > > I know already a lot has been discussed on the notifications topic but I > am sorry I still want to ask this. > > I would like to receive only one notification when a host goes down and > one when it comes up, even if there maybe a gap of days in between. > > I have read about the concept of escalations but I am not sure if it > will solve the purpose. > > Can you please suggest me how we can do this. > You can try and set the notification_interval to "0". That way you should only get one notification when the host goes down... --- David Gerbec Agenda Open Systems [www.agenda.si] > > > Thank you in advance. > > Lalita. > > > > > > > > > > > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the individual > or entity named in this message. If you are not the intended recipient, > and have received this message in error, please immediately return this > by email and then delete it. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Thu Jul 5 11:01:00 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Thu, 5 Jul 2007 11:01:00 +0200 Subject: (no subject) Message-ID: <9D30659ABCA7FB428CF91E386C3A574481919A@hermes.sapphire-int.gi> Hello List I'm just in the process of doing a new install of Nagios, and I find myself thinking that I'm going to end up with a ping_check with a line that contains something like 300 comma separated hostnames Is there a good way to reduce the bloat and improve the manageability of the configuration? What is the recommended path to make sure your nagios config doesn't become something that only one person can make changes to, because of its complexity? I look forward to your thoughts. Giles ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Thu Jul 5 12:14:19 2007 From: magic.rooter at gmail.com ( magic_rooter) Date: Thu, 5 Jul 2007 14:14:19 +0400 Subject: Nagios XML Engine problems Message-ID: <989aee610707050314h1df3a518l27eb7b436a8f6f39@mail.gmail.com> Hello everybody! I installed NXE and all useful libraries and addons but have problems with launching. The main question is the next. For what version of Nagios NXE written? I ask this because in nxe.config I see strange file status.log. There is no such file in Nagios 2.5. It was in nagios 1.0. So what I must write instead of this? No it called status.dat. So I need to write: status1=/usr/local/nagios/var/status.dat? Also I have another problem. When I run this command I see: root at nagios:/usr/src/distr/NXE>perl nxe.pl status status1 Use of uninitialized value in string eq at nxe.pl line 62. Use of uninitialized value in string eq at nxe.pl line 325, line 11. Use of uninitialized value in string eq at nxe.pl line 325, line 11. Use of uninitialized value in string eq at nxe.pl line 73, line 1. Use of uninitialized value in string eq at nxe.pl line 88, line 1. Invalid format in the following entry: ######################################## Error: Inappropriate ioctl for device at nxe.pl line 118, line 1. root at nagios:/usr/src/distr/NXE> _________________________ root at nagios:/usr/src/distr/NXE>perl nxe_client.pl http://nagios/cgi-bin/nxe.pl?type=status¶m=status1 [1] 22815 root at nagios:/usr/src/distr/NXE>Use of uninitialized value in string at nxe_client.pl line 85. Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.0/Frontier/RPC2.pm line 55. Fault returned from XML RPC Server, fault code 3: no such method `' [1]+ Exit 255 perl nxe_client.pl http://nagios/cgi-bin/nxe.pl?type=status root at nagios:/usr/src/distr/NXE> _______________ When I open this page in Firefox http://nagios/cgi-bin/nxe.pl?type=status¶m=status1 I see the next thing: ? Can't open Nagios Status File . Check config file. _____________ I will be very pleased if you help me because I need xml output very much:( ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Thu Jul 5 12:53:37 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 05 Jul 2007 12:53:37 +0200 Subject: Nagios XML Engine problems In-Reply-To: <989aee610707050314h1df3a518l27eb7b436a8f6f39@mail.gmail.com> References: <989aee610707050314h1df3a518l27eb7b436a8f6f39@mail.gmail.com> Message-ID: <468CCDB1.5080609@telcotec.se> magic_rooter wrote: > Hello everybody! > I installed NXE and all useful libraries and addons but have problems > with launching. > > The main question is the next. For what version of Nagios NXE written? It would appear (http://nxe.sf.net) that NXE was published in July 2003 and hasn't been touched since. I would guess it was tested with the nagios version of that time. A lot of things has happened in nagios since 2003. /L > I ask this because in nxe.config I see strange file status.log. There > is no such file in Nagios 2.5. It was in nagios 1.0. So what I must > write instead of this? No it called status.dat. So I need to write: > status1=/usr/local/nagios/var/status.dat? > > Also I have another problem. When I run this command I see: > root at nagios:/usr/src/distr/NXE>perl nxe.pl status status1 > Use of uninitialized value in string eq at nxe.pl line 62. > Use of uninitialized value in string eq at nxe.pl line 325, line 11. > Use of uninitialized value in string eq at nxe.pl line 325, line 11. > Use of uninitialized value in string eq at nxe.pl line 73, line 1. > Use of uninitialized value in string eq at nxe.pl line 88, line 1. > > Output//EN//" "http://nxe.sourceforge.net/dtd/NXEv1r0.dtd"> > > > Invalid format in the following entry: > ######################################## > > Error: Inappropriate ioctl for device at nxe.pl line 118, line 1. > root at nagios:/usr/src/distr/NXE> > > _________________________ > > root at nagios:/usr/src/distr/NXE>perl nxe_client.pl > http://nagios/cgi-bin/nxe.pl?type=status¶m=status1 > [1] 22815 > root at nagios:/usr/src/distr/NXE>Use of uninitialized value in string at > nxe_client.pl line 85. > Use of uninitialized value in concatenation (.) or string at > /usr/lib/perl5/site_perl/5.8.0/Frontier/RPC2.pm line 55. > Fault returned from XML RPC Server, fault code 3: no such method `' > > > [1]+ Exit 255 perl nxe_client.pl > http://nagios/cgi-bin/nxe.pl?type=status > root at nagios:/usr/src/distr/NXE> > _______________ > > When I open this page in Firefox > http://nagios/cgi-bin/nxe.pl?type=status¶m=status1 > I see the next thing: > > ? > > Can't open Nagios Status File . Check config file. > > > _____________ > I will be very pleased if you help me because I need xml output very much:( > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Thu Jul 5 14:21:00 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 5 Jul 2007 05:21:00 -0700 Subject: too many Notifications In-Reply-To: <0AE989E1-E376-41D8-B0FE-B0CB7DAFB5F1@ict.usc.edu> References: <2402BA0C1F52594E8E271233F62EB6A903B6B6D0@repbex02.amer.bea.com> <0AE989E1-E376-41D8-B0FE-B0CB7DAFB5F1@ict.usc.edu> Message-ID: <2402BA0C1F52594E8E271233F62EB6A903B6B9A1@repbex02.amer.bea.com> I guess setting notification-interval to 0 should solve my issue. But I have two more queries- 1) sometimes a machine is rebooted on purpose. I would not like to receive a notification then. Which means I would like Nagios to wait for 15 minutes before sending out an alert. I guess giving max_check_attempts a high value should solve this. But is there any other way? And what should be this value ideally to wait for 15 minutes. 2) as I mentioned, I have made settings to get an alert only once. But is it possible to get an alert for all machines once in a week too, say every Monday morning? Thank you very much for all your help. Please reply, Lalita -----Original Message----- From: Rob Groome [mailto:groome at ict.usc.edu] Sent: Thursday, July 05, 2007 12:29 PM To: Lalita Drolia Subject: Re: [Nagios-users] too many Notifications On Jul 4, 2007, at 11:49 PM, Lalita Drolia wrote: > Hi, > > > > I know already a lot has been discussed on the notifications topic > but I am sorry I still want to ask this. > > I would like to receive only one notification when a host goes down > and one when it comes up, even if there maybe a gap of days in > between. > > I have read about the concept of escalations but I am not sure if > it will solve the purpose. > > Can you please suggest me how we can do this. > > > > Thank you in advance. > > Lalita. > > Read the following: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html Especially - Under the "Host Definition" sub-heading: notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this server is still down or unreachable. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re- notify contacts about problems for this host - only one problem notification will be sent out. Rob Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian-list at securitypimp.com Thu Jul 5 15:29:15 2007 From: ian-list at securitypimp.com (Ian Lists) Date: Thu, 5 Jul 2007 13:29:15 +0000 (UTC) Subject: (no subject) In-Reply-To: <9D30659ABCA7FB428CF91E386C3A574481919A@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A574481919A@hermes.sapphire-int.gi> Message-ID: <23375267.561183642155455.JavaMail.root@postal.insourcedsecurity.com> Instead of using host_name, use hostgroup_name. Using templates is the best way to keep your config files small and organized. ----- Original Message ----- From: "Giles Coochey" To: nagios-users at lists.sourceforge.net Sent: Thursday, July 5, 2007 5:01:00 AM (GMT-0500) America/New_York Subject: [Nagios-users] (no subject) Hello List I'm just in the process of doing a new install of Nagios, and I find myself thinking that I'm going to end up with a ping_check with a line that contains something like 300 comma separated hostnames Is there a good way to reduce the bloat and improve the manageability of the configuration? What is the recommended path to make sure your nagios config doesn't become something that only one person can make changes to, because of its complexity? I look forward to your thoughts. Giles ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 15:45:20 2007 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jul 2007 08:45:20 -0500 Subject: too many Notifications In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903B6B760@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903B6B760@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Thursday, July 05, 2007 2:58 AM > To: David Gerbec > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] too many Notifications > > David, > I guess your suggestion should work. And I would not have to use > escaltions.but just want to make sure that will it send notifications > everytime there is a state change. Like from up to down and vice versa. > Because I would need that. And thank you for your help :) > Yes, it will. http://nagios.sourceforge.net/docs/2_0/notifications.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 15:54:32 2007 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jul 2007 08:54:32 -0500 Subject: too many Notifications In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903B6B9A1@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903B6B9A1@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Thursday, July 05, 2007 7:21 AM > To: Rob Groome > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] too many Notifications > > > I guess setting notification-interval to 0 should solve my issue. > But I have two more queries- > 1) sometimes a machine is rebooted on purpose. I would not like to > receive a notification then. Which means I would like Nagios to wait for > 15 minutes before sending out an alert. I guess giving > max_check_attempts a high value should solve this. But is there any > other way? And what should be this value ideally to wait for 15 minutes. For service checks this is pretty straightforward adjusting retry_check_interval and max_check_attempts. You do not want a max_check_attempts set that long for host checks with nagios-2.x or prior. Nagios stops _all_ other processing while hosts are being checked, up to max_check_attempts, so for 15 minutes nagios would do nothing but check that host. Using scheduled downtime is the easiest and preferred way or you could escalations but that gets messier. > 2) as I mentioned, I have made settings to get an alert only once. > But is it possible to get an alert for all machines once in a week too, > say every Monday morning? You'd need to create a custom notification script that contained this logic. Nagios does not have the ability to queue notifications; it'll call the notification script as soon as they're triggered. Your script could take those, store them in a file or database, then send them whenever you chose. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pvandenberg at mirabeau.nl Thu Jul 5 15:54:23 2007 From: pvandenberg at mirabeau.nl (Peter van den Berg) Date: Thu, 5 Jul 2007 15:54:23 +0200 Subject: Monitoring AJAX applications Message-ID: Hi I have a website with an AJAX application in it, and I want to check if the application is working. This means using the application: selecting certain options, proceding to the second step, making some choices there and then proceding to the third step. (possibly: the options change over time) I can use the standard check_http to check the app is there, but not any of the next steps. I've looked at webinject, but I can't see a way to use that. A search at nagiosexchange shows some apps using AJAX technology, but nothing to monitor it. Has anyone got experience monitoring AJAX apps, or can someone give some hints how to perform the checks? Versions: Nagios 2.9 Plugins 1.4.6 Webinject 1.41 Thanks, Peter van den Berg Applicatiebeheerder Mirabeau | Application Management W: www.mirabeau.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pvandenberg at mirabeau.nl Thu Jul 5 15:56:58 2007 From: pvandenberg at mirabeau.nl (Peter van den Berg) Date: Thu, 5 Jul 2007 15:56:58 +0200 Subject: FW: Monitoring AJAX applications Message-ID: (sorry, this time in plain text) Hi I have a website with an AJAX application in it, and I want to check if the application is working. This means using the application: selecting certain options, proceding to the second step, making some choices there and then proceding to the third step. (possibly: the options change over time) I can use the standard check_http to check the app is there, but not any of the next steps. I've looked at webinject, but I can't see a way to use that. A search at nagiosexchange shows some apps using AJAX technology, but nothing to monitor it. Has anyone got experience monitoring AJAX apps, or can someone give some hints how to perform the checks? Versions: Nagios 2.9 Plugins 1.4.6 Webinject 1.41 Thanks, Peter van den Berg Applicatiebeheerder Mirabeau | Application Management W: www.mirabeau.nl ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 15:57:39 2007 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jul 2007 08:57:39 -0500 Subject: (no subject) In-Reply-To: <9D30659ABCA7FB428CF91E386C3A574481919A@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A574481919A@hermes.sapphire-int.gi> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Giles Coochey > Sent: Thursday, July 05, 2007 4:01 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] (no subject) > > Hello List > > I'm just in the process of doing a new install of Nagios, and I find > myself thinking that I'm going to end up with a ping_check with a line > that contains something like 300 comma separated hostnames > > Is there a good way to reduce the bloat and improve the manageability of > the configuration? This might help -- http://nagios.sourceforge.net/docs/2_0/templatetricks.html > > What is the recommended path to make sure your nagios config doesn't > become something that only one person can make changes to, because of > its complexity? Use templates as much as possible, create standard checks for different types of hosts, use a database/front end to store host/service information that's important to your checks, autogenerate as much of your configs from the database as possible. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.rudder at reliableresponse.net Thu Jul 5 16:03:48 2007 From: david.rudder at reliableresponse.net (David Rudder) Date: Thu, 05 Jul 2007 08:03:48 -0600 Subject: FW: Monitoring AJAX applications In-Reply-To: References: Message-ID: <468CFA44.8060301@reliableresponse.net> AJAX requests are just normal HTTP requests, but they are initiated by Javascript. I use the Firebug firefox extension to debug AJAX. It shows the request and responses, so you can add those to webinject. WebInject probably doesn't run the JavaScript, so it won't initiate the AJAX requests itself. You'll have to add them manually. -Dave Peter van den Berg wrote: > (sorry, this time in plain text) > > Hi > > I have a website with an AJAX application in it, and I want to check if > the application is working. This means using the application: selecting > certain options, proceding to the second step, making some choices there > and then proceding to the third step. (possibly: the options change over > time) > > I can use the standard check_http to check the app is there, but not any > of the next steps. I've looked at webinject, but I can't see a way to > use that. A search at nagiosexchange shows some apps using AJAX > technology, but nothing to monitor it. > > Has anyone got experience monitoring AJAX apps, or can someone give some > hints how to perform the checks? > > Versions: > Nagios 2.9 > Plugins 1.4.6 > Webinject 1.41 > > > Thanks, > Peter van den Berg > Applicatiebeheerder > > Mirabeau | Application Management > W: www.mirabeau.nl > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Jul 5 17:53:37 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 5 Jul 2007 17:53:37 +0200 (CEST) Subject: too many Notifications In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903B6B9A1@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903B6B6D0@repbex02.amer.bea.com> <0AE989E1-E376-41D8-B0FE-B0CB7DAFB5F1@ict.usc.edu> <2402BA0C1F52594E8E271233F62EB6A903B6B9A1@repbex02.amer.bea.com> Message-ID: On Thu, 5 Jul 2007, Lalita Drolia wrote: > I guess setting notification-interval to 0 should solve my issue. > But I have two more queries- > 1) sometimes a machine is rebooted on purpose. I would not like to > receive a notification then. Which means I would like Nagios to wait for > 15 minutes before sending out an alert. I guess giving > max_check_attempts a high value should solve this. But is there any > other way? And what should be this value ideally to wait for 15 minutes. Well. If you reboot you have some sort of planned maintenance going on. So why not put the unit in maintenance for that period? Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From navyeh at yahoo.com Thu Jul 5 18:14:34 2007 From: navyeh at yahoo.com (Eric Hernandez) Date: Thu, 5 Jul 2007 09:14:34 -0700 (PDT) Subject: check_mysql - Queries per second avg: Time Frame Message-ID: <386057.53939.qm@web61122.mail.yahoo.com> Hell Nagios Group, What is the time range that check_mysql basis the Queries per second avg. Is for the last hour, day or lifetime of the server? or something else? Uptime: 77595 Threads: 20 Questions: 92715251 Slow queries: 1283 Opens: 554642 Flush tables: 1 Open tables: 64 Queries per second avg: 1194.861 -Eric --------------------------------- Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chactuchac10 at yahoo.com.ar Thu Jul 5 18:28:04 2007 From: chactuchac10 at yahoo.com.ar (Guille) Date: Thu, 5 Jul 2007 13:28:04 -0300 (ART) Subject: Whoops! Error: Could not read object configuration data! Message-ID: <461832.87587.qm@web56706.mail.re3.yahoo.com> Hello again guys, im trying to install a new nagios but, i cant fix this errors when i try to see the host details; Whoops! Error: Could not read object configuration data! 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). The nagios is working i can see the procces doing a ps -aux, and doing the /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg dont look error neither "Things look okay - No serious problems were detected during the pre-flight check" What could be wrong ? Thanks a lot. Guillermo. __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Jul 5 18:44:19 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 5 Jul 2007 12:44:19 -0400 Subject: Whoops! Error: Could not read object configurationdata! In-Reply-To: <461832.87587.qm@web56706.mail.re3.yahoo.com> References: <461832.87587.qm@web56706.mail.re3.yahoo.com> Message-ID: > Whoops! Error: Could not read object configuration data! > > 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). > > The nagios is working i can see the procces doing a ps -aux, and doing > the > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg dont > look error neither > > "Things look okay - No serious problems were detected during the pre- > flight check" > > What could be wrong ? Check that your cgi.cfg is properly configured. A bad main_config_file line can be one cause of this. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Jul 5 19:06:23 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 5 Jul 2007 19:06:23 +0200 (CEST) Subject: Whoops! Error: Could not read object configuration data! In-Reply-To: <461832.87587.qm@web56706.mail.re3.yahoo.com> References: <461832.87587.qm@web56706.mail.re3.yahoo.com> Message-ID: On Thu, 5 Jul 2007, Guille wrote: > Hello again guys, im trying to install a new nagios but, i cant fix this errors when i > try to see the host details; > > Whoops! Error: Could not read object configuration data! .... > The nagios is working i can see the procces doing a ps -aux, and doing the > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg dont look error neither Are you sure this is the config file nagios is trying to read? Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irvine.harris at gmail.com Thu Jul 5 19:12:04 2007 From: irvine.harris at gmail.com (Harry John) Date: Thu, 5 Jul 2007 10:12:04 -0700 Subject: Whoops! Error: Could not read object configuration data! In-Reply-To: References: <461832.87587.qm@web56706.mail.re3.yahoo.com> Message-ID: This may due to file permissions issue. apache should be configured to run nagios. On 7/5/07, Hugo van der Kooij wrote: > > On Thu, 5 Jul 2007, Guille wrote: > > > Hello again guys, im trying to install a new nagios but, i cant fix this > errors when i > > try to see the host details; > > > > Whoops! Error: Could not read object configuration data! > > .... > > > The nagios is working i can see the procces doing a ps -aux, and doing > the > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg dont > look error neither > > Are you sure this is the config file nagios is trying to read? > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for the insight.) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 20:07:49 2007 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jul 2007 13:07:49 -0500 Subject: check_mysql - Queries per second avg: Time Frame In-Reply-To: <386057.53939.qm@web61122.mail.yahoo.com> References: <386057.53939.qm@web61122.mail.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Eric Hernandez > Sent: Thursday, July 05, 2007 11:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_mysql - Queries per second avg: Time Frame > > Hell Nagios Group, > > What is the time range that check_mysql basis the Queries per second avg. > Is for the last hour, day or lifetime of the server? or something else? > > Uptime: 77595 Threads: 20 Questions: 92715251 Slow queries: 1283 > Opens: 554642 Flush tables: 1 Open tables: 64 Queries per second avg: > 1194.861 It's coming directly from mysql via the 'status' command -- mysql> status; -------------- mysql Ver ... Connection id: 581953 Current database: Current user: @localhost SSL: Not in use Current pager: stdout Using outfile: '' Using delimiter: ; Server version: Protocol version: 10 Connection: Localhost via UNIX socket Server characterset: latin1 Db characterset: latin1 Client characterset: latin1 Conn. characterset: latin1 UNIX socket: /var/lib/mysql/mysql.sock Uptime: 197 days 12 hours 27 min 38 sec Threads: 3 Questions: 3425958608 Slow queries: 0 Opens: 0 Flush tables: 1 Open tables: 17 Queries per second avg: 452.425 While I can't quickly find a definitive reference to point to, it's my understanding that it is the average q/s since the server was last reset, in my case 197+ days. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 20:11:10 2007 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jul 2007 13:11:10 -0500 Subject: Whoops! Error: Could not read objectconfiguration data! In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Harry John > Sent: Thursday, July 05, 2007 12:12 PM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] Whoops! Error: Could not read > objectconfiguration data! > > This may due to file permissions issue. > apache should be configured to run nagios. Umm, no. Nagios should not be running as the apache user. As long as you're using the default permissions from the installer, running as the nagios user should be sufficient for all but the external command file. The documentation details how to set that up correctly. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 20:12:23 2007 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jul 2007 13:12:23 -0500 Subject: Whoops! Error: Could not read object configurationdata! In-Reply-To: <461832.87587.qm@web56706.mail.re3.yahoo.com> References: <461832.87587.qm@web56706.mail.re3.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Guille > Sent: Thursday, July 05, 2007 11:28 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Whoops! Error: Could not read object > configurationdata! > > Hello again guys, im trying to install a new nagios but, i cant fix this > errors when i > try to see the host details; > > Whoops! Error: Could not read object configuration data! Verify that you've followed the directions here - http://nagios.sourceforge.net/docs/2_0/configcgi.html. Verify that nagios is actually running. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chactuchac10 at yahoo.com.ar Thu Jul 5 20:23:07 2007 From: chactuchac10 at yahoo.com.ar (Guille) Date: Thu, 5 Jul 2007 15:23:07 -0300 (ART) Subject: Whoops! Error: Could not read object configuration data! {Solved} In-Reply-To: References: Message-ID: <242151.32405.qm@web56706.mail.re3.yahoo.com> Hello everyone the problem was fixed; I had config nagios without auth, and in the configc.cfg the option use_authentication was enable. i put it in 0 and nagios works. But this message is for say thanks to list is great, every thread is responde very fast and very well. =) Keep on road guys!. Regards and sorry for my english. Guillermo. --- Harry John escribi?: > This may due to file permissions issue. > apache should be configured to run nagios. > > > On 7/5/07, Hugo van der Kooij wrote: > > > > On Thu, 5 Jul 2007, Guille wrote: > > > > > Hello again guys, im trying to install a new nagios but, i cant fix this > > errors when i > > > try to see the host details; > > > > > > Whoops! Error: Could not read object configuration data! > > > > .... > > > > > The nagios is working i can see the procces doing a ps -aux, and doing > > the > > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg dont > > look error neither > > > > Are you sure this is the config file nagios is trying to read? > > > > Hugo. > > > > -- > > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > > This message is using 100% recycled electrons. > > > > Some men see computers as they are and say "Windows" > > I use computers with Linux and say "Why Windows?" > > (Thanks JFK, for the insight.) > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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 DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/> _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lokesh.khanna at accelonafrica.com Thu Jul 5 22:23:20 2007 From: lokesh.khanna at accelonafrica.com (lokesh.khanna at accelonafrica.com) Date: Thu, 5 Jul 2007 21:23:20 +0100 Subject: nagios with Mysql In-Reply-To: References: <2CA06E56A5C1E34B89F504FDFA133AF501A4A129@ng.accelonafrica.com><9D30659ABCA7FB428CF91E386C3A57448190EC@hermes.sapphire-int.gi><2CA06E56A5C1E34B89F504FDFA133AF501A4A25F@ng.accelonafrica.com><20070703214836.GL6266@pmorris.usa.hp.com> <2CA06E56A5C1E34B89F504FDFA133AF501A4A26A@ng.accelonafrica.com> Message-ID: <2CA06E56A5C1E34B89F504FDFA133AF501A4A8F0@ng.accelonafrica.com> Hi Patrick I upgraded mysql on my system yesterday. New version is - mysql Ver 14.12 Distrib 5.0.41, for pc-linux-gnu (i686) using readline 5.0 But now I am getting below error message DBI connect('database=nagios;host=localhost','nagiosuser',...) failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client at ./installdb line 41 How can I resolve this problem? Which version of Mysql should I use? Thanks - LK -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Wednesday, July 04, 2007 6:35 AM To: Lokesh Khanna Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios with Mysql > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of > lokesh.khanna at accelonafrica.com > Sent: Tuesday, July 03, 2007 10:05 PM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios with Mysql > > I have dropped nagios DB which I created and trying to re create again. > > When I execute installdb script for tables creation, I get below error > > DBD::mysql::db do failed: Table 'nagios.nagios_dbversion' doesn't exist > at ./installdb line 51. > ** Creating tables for version 1.4b4 > Using mysql.sql for installation... > ERROR 1064 at line 19: You have an error in your SQL syntax near > 'ENGINE=MyISAM COMMENT='Current and historical host and service > acknowledgements'' at line 15 > Installation from mysql.sql failed at ./installdb line 59. What version of MySQL are you building it with? I'd have to be a pretty old version not to support the "ENINE=MyISAM" option. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bthayre at physics.ucsd.edu Thu Jul 5 22:57:18 2007 From: bthayre at physics.ucsd.edu (bthayre at physics.ucsd.edu) Date: Thu, 5 Jul 2007 13:57:18 -0700 (PDT) Subject: Host key verification for check_by_ssh not working properly Message-ID: <47445.132.239.186.8.1183669038.squirrel@physics-mail.ucsd.edu> It's been some time since i've had to configure this plugin, so i may be doing it improperly. Now one of the command that nagios will run looks like this: define command{ command_name check_slash_free command_line $USER1$/check_by_ssh -i /var/ssh/nagios-key -l nagios -H $HOSTADDRESS$ -C '$USER1$/check_disk -w $\ARG1$ -c $ARG2$ -p /' } So i've created an rsa key pair and placed it in some arbitrary directory and i've changed the ownership and permissions so that my nagios user owns and is the only user permitted to use the nagios-key. On the host machine i've placed the public key in the nagios user */.ssh/authorized_keys file. Now switching to my nagios user on the central server i can ssh into the host machine all under the nagios user with no problem, but when nagios tries it via check_by_ssh i get this: CURRENT SERVICE STATE: $HOSTADDRESS$.local;SSH Disk Check;UNKNOWN;HARD;4;Remote command execution failed: Host key verification failed. where the hostaddress is the host machine i'm trying to ssh into. I've also tried this using root as the user to avoid any permissions complications but i still recieve the same error. Any help would be great, thanks! ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Jul 5 23:33:15 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 5 Jul 2007 14:33:15 -0700 Subject: Host key verification for check_by_ssh not working properly In-Reply-To: <47445.132.239.186.8.1183669038.squirrel@physics-mail.ucsd.edu> References: <47445.132.239.186.8.1183669038.squirrel@physics-mail.ucsd.edu> Message-ID: <20070705213315.GV6266@pmorris.usa.hp.com> On Thu, 05 Jul 2007, bthayre at physics.ucsd.edu wrote: > It's been some time since i've had to configure this plugin, so i may be > doing it improperly. Now one of the command that nagios will run looks > like this: > define command{ > command_name check_slash_free > command_line $USER1$/check_by_ssh -i /var/ssh/nagios-key -l nagios > -H $HOSTADDRESS$ -C '$USER1$/check_disk -w $\ARG1$ -c $ARG2$ -p > /' > } > So i've created an rsa key pair and placed it in some arbitrary directory > and i've changed the ownership and permissions so that my nagios user owns > and is the only user permitted to use the nagios-key. On the host machine > i've placed the public key in the nagios user */.ssh/authorized_keys file. > Now switching to my nagios user on the central server i can ssh into the > host machine all under the nagios user with no problem, but when nagios > tries it via check_by_ssh i get this: > > CURRENT SERVICE STATE: $HOSTADDRESS$.local;SSH Disk > Check;UNKNOWN;HARD;4;Remote command execution failed: Host key > verification failed. When you SSH into the server from the command line, make sure you do it using the exact same address Nagios uses (i.e., if you're going in by HOSTADDRESS in Nagios, don't use a DNS name on the command line), and that you're doing it as the user Nagios runs under. An entry needs to be in the Nagios user's known_hosts that exactly matches the address Nagios is using to get to the machine. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Law at thomson.com Thu Jul 5 23:27:42 2007 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Thu, 5 Jul 2007 17:27:42 -0400 Subject: nagios with Mysql In-Reply-To: <2CA06E56A5C1E34B89F504FDFA133AF501A4A8F0@ng.accelonafrica.com> References: <2CA06E56A5C1E34B89F504FDFA133AF501A4A129@ng.accelonafrica.com><9D30659ABCA7FB428CF91E386C3A57448190EC@hermes.sapphire-int.gi><2CA06E56A5C1E34B89F504FDFA133AF501A4A25F@ng.accelonafrica.com><20070703214836.GL6266@pmorris.usa.hp.com><2CA06E56A5C1E34B89F504FDFA133AF501A4A26A@ng.accelonafrica.com> <2CA06E56A5C1E34B89F504FDFA133AF501A4A8F0@ng.accelonafrica.com> Message-ID: Look in the documentation for OLD PASSWORD - you can fix this error by updating the access password using an old style password. Mark Law Thomson Global Technology Infrastructure (TGTI) (734) 913-3775 Phone (734) 260-5740 Cell (734) 913- 3500 Fax mark.law at thomson.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of lokesh.khanna at accelonafrica.com Sent: Thursday, July 05, 2007 4:23 PM To: patrick.morris at hp.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios with Mysql Hi Patrick I upgraded mysql on my system yesterday. New version is - mysql Ver 14.12 Distrib 5.0.41, for pc-linux-gnu (i686) using readline 5.0 But now I am getting below error message DBI connect('database=nagios;host=localhost','nagiosuser',...) failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client at ./installdb line 41 How can I resolve this problem? Which version of Mysql should I use? Thanks - LK -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Wednesday, July 04, 2007 6:35 AM To: Lokesh Khanna Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios with Mysql > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of > lokesh.khanna at accelonafrica.com > Sent: Tuesday, July 03, 2007 10:05 PM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios with Mysql > > I have dropped nagios DB which I created and trying to re create again. > > When I execute installdb script for tables creation, I get below error > > DBD::mysql::db do failed: Table 'nagios.nagios_dbversion' doesn't exist > at ./installdb line 51. > ** Creating tables for version 1.4b4 > Using mysql.sql for installation... > ERROR 1064 at line 19: You have an error in your SQL syntax near > 'ENGINE=MyISAM COMMENT='Current and historical host and service > acknowledgements'' at line 15 > Installation from mysql.sql failed at ./installdb line 59. What version of MySQL are you building it with? I'd have to be a pretty old version not to support the "ENINE=MyISAM" option. ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lokesh.khanna at accelonafrica.com Thu Jul 5 23:59:54 2007 From: lokesh.khanna at accelonafrica.com (lokesh.khanna at accelonafrica.com) Date: Thu, 5 Jul 2007 22:59:54 +0100 Subject: nagios with Mysql In-Reply-To: References: <2CA06E56A5C1E34B89F504FDFA133AF501A4A129@ng.accelonafrica.com><9D30659ABCA7FB428CF91E386C3A57448190EC@hermes.sapphire-int.gi><2CA06E56A5C1E34B89F504FDFA133AF501A4A25F@ng.accelonafrica.com><20070703214836.GL6266@pmorris.usa.hp.com><2CA06E56A5C1E34B89F504FDFA133AF501A4A26A@ng.accelonafrica.com> <2CA06E56A5C1E34B89F504FDFA133AF501A4A8F0@ng.accelonafrica.com> Message-ID: <2CA06E56A5C1E34B89F504FDFA133AF501A4A8F9@ng.accelonafrica.com> Thanks. I am able to fix that. But now I get below error DBD::mysql::db do failed: Table 'nagios.nagios_dbversion' doesn't exist at ./installdb line 51. ** Creating tables for version 1.4b4 Using mysql.sql for installation... ** Updating table nagios_dbversion Done! How can I fix it now? Is it just a warning message or an error ? Thanks - LK -----Original Message----- From: Mark.Law at thomson.com [mailto:Mark.Law at thomson.com] Sent: Thursday, July 05, 2007 10:28 PM To: Lokesh Khanna; patrick.morris at hp.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios with Mysql Look in the documentation for OLD PASSWORD - you can fix this error by updating the access password using an old style password. Mark Law Thomson Global Technology Infrastructure (TGTI) (734) 913-3775 Phone (734) 260-5740 Cell (734) 913- 3500 Fax mark.law at thomson.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of lokesh.khanna at accelonafrica.com Sent: Thursday, July 05, 2007 4:23 PM To: patrick.morris at hp.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios with Mysql Hi Patrick I upgraded mysql on my system yesterday. New version is - mysql Ver 14.12 Distrib 5.0.41, for pc-linux-gnu (i686) using readline 5.0 But now I am getting below error message DBI connect('database=nagios;host=localhost','nagiosuser',...) failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client at ./installdb line 41 How can I resolve this problem? Which version of Mysql should I use? Thanks - LK -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Wednesday, July 04, 2007 6:35 AM To: Lokesh Khanna Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios with Mysql > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of > lokesh.khanna at accelonafrica.com > Sent: Tuesday, July 03, 2007 10:05 PM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios with Mysql > > I have dropped nagios DB which I created and trying to re create again. > > When I execute installdb script for tables creation, I get below error > > DBD::mysql::db do failed: Table 'nagios.nagios_dbversion' doesn't exist > at ./installdb line 51. > ** Creating tables for version 1.4b4 > Using mysql.sql for installation... > ERROR 1064 at line 19: You have an error in your SQL syntax near > 'ENGINE=MyISAM COMMENT='Current and historical host and service > acknowledgements'' at line 15 > Installation from mysql.sql failed at ./installdb line 59. What version of MySQL are you building it with? I'd have to be a pretty old version not to support the "ENINE=MyISAM" option. ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Jul 6 01:06:57 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Thu, 5 Jul 2007 16:06:57 -0700 Subject: 5 errors in 'nagios -v', but what are they? Message-ID: <2b7af7c40707051606p6c0dba8ds8ad9ba868d489f4@mail.gmail.com> I recently installed CentOS+Nagios+NagiosQL, and cannot (for whatever reason) get "/etc/init.d/nagios start" to kick off properly. Interestly, I get 5 errors when I type in "nagios -v nagios.cfg", but cannot see where these errors reside (and thus don't know where exactly to look) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Jul 6 02:25:59 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Thu, 5 Jul 2007 17:25:59 -0700 Subject: 5 errors in 'nagios -v', but what are they? In-Reply-To: References: <2b7af7c40707051606p6c0dba8ds8ad9ba868d489f4@mail.gmail.com> Message-ID: <2b7af7c40707051725m16e4fec1uf7ff1dc90142cd17@mail.gmail.com> On 7/5/07, Harry John wrote: > > Can you copy paste the exact error? (As you can see, now specific errors are listed. Any other Nagios log that I can look through to help debug the issue?) [root at nagios-server nagios]# /etc/init.d/nagios start Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration. [root at nagios-server nagios]# nagios -v nagios.cfg Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: There are no services defined! Checked 0 services. Checking hosts... Error: There are no hosts defined! Checked 0 hosts. Checking host groups... Error: There are no host groups defined! Checked 0 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Error: There are no contacts defined! Checked 0 contacts. Checking contact groups... Error: There are no contact groups defined! Checked 0 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 0 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 5 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [root at nagios-server nagios]# -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Jul 6 02:44:14 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 5 Jul 2007 17:44:14 -0700 Subject: 5 errors in 'nagios -v', but what are they? In-Reply-To: <2b7af7c40707051725m16e4fec1uf7ff1dc90142cd17@mail.gmail.com> References: <2b7af7c40707051606p6c0dba8ds8ad9ba868d489f4@mail.gmail.com> <2b7af7c40707051725m16e4fec1uf7ff1dc90142cd17@mail.gmail.com> Message-ID: <20070706004414.GH6266@pmorris.usa.hp.com> On Thu, 05 Jul 2007, Rogelio Bastardo wrote: > On 7/5/07, Harry John wrote: > > > >Can you copy paste the exact error? > > > (As you can see, now specific errors are listed. Any other Nagios log that I > can look through to help debug the issue?) Actually, the specific errors *are* listed: > Error: There are no services defined! > Error: There are no hosts defined! > Error: There are no host groups defined! > Error: There are no contacts defined! > Error: There are no contact groups defined! ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irvine.harris at gmail.com Fri Jul 6 02:56:27 2007 From: irvine.harris at gmail.com (Harry John) Date: Thu, 5 Jul 2007 17:56:27 -0700 Subject: monitoring services on windows machine Message-ID: Hi everybody, I've gone through http://www.nagios.org/faqs/viewfaq.php?faq_id=32 http://www.nagios.org/faqs/viewfaq.php?faq_id=59 i've installed NC_Net in my pc with .net faramework. What else do i need to install / configure on the nagios machine and windows machine in order to view services? Thanks, Harry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Fri Jul 6 07:10:22 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 5 Jul 2007 22:10:22 -0700 Subject: too many Notifications In-Reply-To: References: <2402BA0C1F52594E8E271233F62EB6A903B6B6D0@repbex02.amer.bea.com><0AE989E1-E376-41D8-B0FE-B0CB7DAFB5F1@ict.usc.edu><2402BA0C1F52594E8E271233F62EB6A903B6B9A1@repbex02.amer.bea.com> Message-ID: <2402BA0C1F52594E8E271233F62EB6A903B6BBC8@repbex02.amer.bea.com> That is a good suggestion. But many times our users give a reboot. And explaining them the process of nagios and log in downtime is not a very feasible idea. :) -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: Thursday, July 05, 2007 9:24 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] too many Notifications On Thu, 5 Jul 2007, Lalita Drolia wrote: > I guess setting notification-interval to 0 should solve my issue. > But I have two more queries- > 1) sometimes a machine is rebooted on purpose. I would not like to > receive a notification then. Which means I would like Nagios to wait for > 15 minutes before sending out an alert. I guess giving > max_check_attempts a high value should solve this. But is there any > other way? And what should be this value ideally to wait for 15 minutes. Well. If you reboot you have some sort of planned maintenance going on. So why not put the unit in maintenance for that period? Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Jul 6 07:18:14 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Thu, 5 Jul 2007 22:18:14 -0700 Subject: question on how NSClient++ works Message-ID: <2b7af7c40707052218v58266bb2sf362ade983c36f74@mail.gmail.com> I'm reading through the NSClient++ documentation http://trac.nakednuns.org/nscp/wiki/Documentation but I don't quite understand how the plugins work. The documentation lists command[my_command]=/some/executable my_command=/some/executable Are there some Windows executable plugins that I need? In other words, check_nrpe on the server queries this NSClient++ plugin, and then what does it do? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Jul 6 09:55:19 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 6 Jul 2007 09:55:19 +0200 Subject: (no subject) In-Reply-To: References: <9D30659ABCA7FB428CF91E386C3A574481919A@hermes.sapphire-int.gi> Message-ID: <9D30659ABCA7FB428CF91E386C3A57448191E6@hermes.sapphire-int.gi> Thanks Marc, That was exactly what I was looking for. Any chance of that being documented or linked to here: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service Best regards Giles Coochey -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: 05 July 2007 15:58 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] (no subject) > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Giles Coochey > Sent: Thursday, July 05, 2007 4:01 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] (no subject) > > Hello List > > I'm just in the process of doing a new install of Nagios, and I find > myself thinking that I'm going to end up with a ping_check with a line > that contains something like 300 comma separated hostnames > > Is there a good way to reduce the bloat and improve the manageability of > the configuration? This might help -- http://nagios.sourceforge.net/docs/2_0/templatetricks.html > > What is the recommended path to make sure your nagios config doesn't > become something that only one person can make changes to, because of > its complexity? Use templates as much as possible, create standard checks for different types of hosts, use a database/front end to store host/service information that's important to your checks, autogenerate as much of your configs from the database as possible. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Jul 6 10:06:41 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 6 Jul 2007 10:06:41 +0200 (CEST) Subject: 5 errors in 'nagios -v', but what are they? In-Reply-To: <2b7af7c40707051606p6c0dba8ds8ad9ba868d489f4@mail.gmail.com> References: <2b7af7c40707051606p6c0dba8ds8ad9ba868d489f4@mail.gmail.com> Message-ID: On Thu, 5 Jul 2007, Rogelio Bastardo wrote: > I recently installed CentOS+Nagios+NagiosQL, and cannot (for whatever > reason) get "/etc/init.d/nagios start" to kick off properly. > Interestly, I get 5 errors when I type in "nagios -v nagios.cfg", but cannot > see where these errors reside (and thus don't know where exactly to look) How did you install Nagios (RPM, sourcecode, copy of other machine, ...)? Where do you store your Nagios config file(s)? What did you configure? Because it will NOT work out of the box. You MUST read the manual and build your very own configuration. Before you do anything else you print the manual (or what ever makes it easy to read and take notes) and read it cover to cover at least once. Then make sure your next question here is clear enough so that we know what you did. Do not assume anything because we are not there, we can not see your computer, ..... What you tell us is what we know about your setup. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Jul 6 10:22:44 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Fri, 06 Jul 2007 01:22:44 -0700 Subject: 5 errors in 'nagios -v', but what are they? In-Reply-To: References: <2b7af7c40707051606p6c0dba8ds8ad9ba868d489f4@mail.gmail.com> Message-ID: <468DFBD4.20405@gmail.com> > Then make sure your next question here is clear enough so that we know > what you did. Do not assume anything because we are not there, we can not > see your computer, ..... What you tell us is what we know about your > setup. I actually got it. I blew away all the the configs that NagiosQL made and just reverted back to the ones I made in Nagios that I know for sure work. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Jul 6 12:08:17 2007 From: m.borsani at it.net (Marco Borsani) Date: Fri, 6 Jul 2007 12:08:17 +0200 Subject: R: 5 errors in 'nagios -v', but what are they? In-Reply-To: <468DFBD4.20405@gmail.com> References: <2b7af7c40707051606p6c0dba8ds8ad9ba868d489f4@mail.gmail.com> <468DFBD4.20405@gmail.com> Message-ID: <00cc01c7bfb5$936983a0$0900d40a@intranet.it.net> You won't run Nagios if you don't configure at least one for each instance > Error: There are no services defined! > Error: There are no hosts defined! > Error: There are no host groups defined! > Error: There are no contacts defined! > Error: There are no contact groups defined! Regards Marco -----Messaggio originale----- Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Rogelio Bastardo Inviato: venerd? 6 luglio 2007 10.23 A: Nagios Users mailinglist Oggetto: Re: [Nagios-users] 5 errors in 'nagios -v', but what are they? > Then make sure your next question here is clear enough so that we know > what you did. Do not assume anything because we are not there, we can not > see your computer, ..... What you tell us is what we know about your > setup. I actually got it. I blew away all the the configs that NagiosQL made and just reverted back to the ones I made in Nagios that I know for sure work. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From riky.none at email.it Fri Jul 6 14:09:41 2007 From: riky.none at email.it (riky.none at email.it) Date: Fri, 6 Jul 2007 14:09:41 +0200 Subject: multi purpose VBSCript Message-ID: <652f1b5f0131dbc61f0378d1161cfc19@62.160.76.23> I think that in more and more scenari (windows world) one nagios-script must (in NRPE mode) 1)run one dos check command 2)read your output 3)find string (default "error") 4)create output (state and description) VBScript is the best way (is easy and work in ALL windows server sistem) but i am vbscript's newbie Plase send me one basic multipurpose script I modify this script to use my command ONLY NOTE: I must check status backup veritas the command is ca_qmgr.exe -l the output is : JOB# JOBID STATUS EXEC-TIME JOB-TYPE LAST-RESULT OWNER DESCRIPTION ------------------------------------------------------------------------------------------------------------------------------ 3 1116 DONE 06/29/2007 23:30:29 BACKUP CANCELLED carootexchange MORFEO SMAN004 (Makeup Job for Job No. 2 ID 1114) 2 1121 ACTIVE 07/02/2007 09:31:29 BACKUP ERROR caroot exchange MORFEO SMAN004 1 1120 READY 07/04/2007 18:00:00 DB-PRUNING FINISHED No Owner No Comments grazie -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Puliziashop: tutto quello che cerchi a portata di click, vieni a vedere Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6758&d=20070706 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From conigliaro at getproactivenow.com Fri Jul 6 14:21:49 2007 From: conigliaro at getproactivenow.com (Mike Conigliaro) Date: Fri, 06 Jul 2007 08:21:49 -0400 Subject: question on how NSClient++ works In-Reply-To: <2b7af7c40707052218v58266bb2sf362ade983c36f74@mail.gmail.com> References: <2b7af7c40707052218v58266bb2sf362ade983c36f74@mail.gmail.com> Message-ID: <468E33DD.2010505@getproactivenow.com> yes, you need to install plugins on the windows machine running nsclient++. http://nagiospluginsnt.getproactivenow.com (shameless plug) check_nrpe queries nsclient++ which runs the appropriate plugin and returns the results to nagios. Mike Conigliaro ProActive Technologies conigliaro at getproactivenow.com 203.239.0440 ext:317 www.getproactivenow.com Rogelio Bastardo wrote: > I'm reading through the NSClient++ documentation > > http://trac.nakednuns.org/nscp/wiki/Documentation > > but I don't quite understand how the plugins work. The documentation lists > > command[my_command]=/some/executable > my_command=/some/executable > > > Are there some Windows executable plugins that I need? In other words, > check_nrpe on the server queries this NSClient++ plugin, and then what > does it do? > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhbowman at gmail.com Fri Jul 6 14:45:33 2007 From: rhbowman at gmail.com (Robert Bowman) Date: Fri, 6 Jul 2007 08:45:33 -0400 Subject: Nagios.cmd file not able to be accessed Message-ID: Weird problem but I will do my best to explain it and the different scenarios I created to try to use it. Essentially my belief is nagios creates this file on startup with the wrong permissions and the file gets locked because I cannot even "tail" or "nano" the file. (vi does not work either) System: Ubuntu Dapper LTS Server Nagios 2.9 The nagios.cmd file cannot be written to and I always get the error through the nagios web interface as: * -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- * *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. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- * So I check the file permissions and I show: * -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- * ** *root at maverick:/usr/local/nagios/var/rw# ls -al total 0 drwxrwsrwx 2 nagios nagios 80 2007-07-03 16:18 . drwxrwxrwx 4 nagios nagios 384 2007-07-06 08:35 .. prwxrws--- 1 nagios nagios 0 2007-07-03 16:18 nagios.cmd root at maverick:/usr/local/nagios/var/rw#* * -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- * ** Those permissions are incorrect! Then to save ourselves any trouble I just change the permissions to 777 and worry about the consequences after I solve this problem. Now I get this message issuing an external command: * -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- * *Your command request was successfully submitted to Nagios for processing. Note: It may take a while before the command is actually processed.* * -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- * ** Now to show you where I run into the actual trouble. I restarted nagios and it changed the permissions on the file. * -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- * *root at maverick:/usr/local/nagios/var/rw* *# ls -al total 0 drwxrwsrwx 2 nagios nagios 80 2007-07-03 16:18 . drwxrwxrwx 4 nagios nagios 384 2007-07-06 08:40 .. prwxrwxrwx 1 nagios nagios 0 2007-07-06 08:38 nagios.cmd **root at maverick:/usr/local/nagios/var/rw* *# /etc/init.d/nagios restart Running configuration check...done Stopping nagios: done. Starting nagios: done. **root at maverick:/usr/local/nagios/var/rw* *# ls -al total 0 drwxrwsrwx 2 nagios nagios 80 2007-07-06 08:40 . drwxrwxrwx 4 nagios nagios 384 2007-07-06 08:40 .. prw-rw---- 1 nagios nagios 0 2007-07-06 08:40 nagios.cmd **root at maverick:/usr/local/nagios/var/rw* *#* * -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- * ** The file permissions are incorrect and seemingly nagios caused the problem. Notice that the new file does not even have the same permissions as the file it created before. ** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.maraschini at opservices.com.br Fri Jul 6 15:13:11 2007 From: ricardo.maraschini at opservices.com.br (=?ISO-8859-1?Q?Ricardo_Jos=E9_Maraschini?=) Date: Fri, 06 Jul 2007 10:13:11 -0300 Subject: FW: Monitoring AJAX applications In-Reply-To: References: Message-ID: <468E3FE7.1030607@opservices.com.br> IMHO Ajax is merely an assincronous request to server( GET/POST ) . What you can do in this case, is to map the requests that your page does when, for example, an event occurs. Example: In your Ajax page you click in a button and a request to server start to run. This request get some answer( probably xml ), work it and print it in output( the visible html ). If you can map this actions, you can use webinject to do all requests needed by your page to verify if the return is fine. Regards. RJM. Peter van den Berg wrote: > (sorry, this time in plain text) > > Hi > > I have a website with an AJAX application in it, and I want to check if > the application is working. This means using the application: selecting > certain options, proceding to the second step, making some choices there > and then proceding to the third step. (possibly: the options change over > time) > > I can use the standard check_http to check the app is there, but not any > of the next steps. I've looked at webinject, but I can't see a way to > use that. A search at nagiosexchange shows some apps using AJAX > technology, but nothing to monitor it. > > Has anyone got experience monitoring AJAX apps, or can someone give some > hints how to perform the checks? > > Versions: > Nagios 2.9 > Plugins 1.4.6 > Webinject 1.41 > > > Thanks, > Peter van den Berg > Applicatiebeheerder > > Mirabeau | Application Management > W: www.mirabeau.nl > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Jul 6 15:22:32 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 6 Jul 2007 09:22:32 -0400 Subject: monitoring services on windows machine In-Reply-To: References: Message-ID: Hi Harry, Compile and Install the Official Nagios Plugins, then use check_nt to connect to NC_NEt. Make sure to have started the NC_NEt service, (either through services or "net start nc_net" from command line) To use any of the additionall commands of NC_NEt you need to compile the check_nc_net.c to compile this, copy it from NC_NEt to where you installed the official plugins. then I usually overwrite check_nt.c cp check_nc_net.c check_nt.c then run make again and it should compile check_nt test it using the -V to get its version number. Tony (author of NC_NEt) On 7/5/07, Harry John wrote: > > Hi everybody, > > I've gone through > http://www.nagios.org/faqs/viewfaq.php?faq_id=32 > http://www.nagios.org/faqs/viewfaq.php?faq_id=59 > > i've installed NC_Net in my pc with .net faramework. > What else do i need to install / configure on the nagios machine > and windows machine in order to view services? > > Thanks, > Harry > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Fri Jul 6 15:25:27 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 06 Jul 2007 15:25:27 +0200 Subject: Nagios.cmd file not able to be accessed In-Reply-To: References: Message-ID: <468E42C7.4050207@its-lehmann.de> Hello, 06.07.2007 14:45,, Robert Bowman wrote:: > Weird problem but I will do my best to explain it and the different > scenarios I created to try to use it. Essentially my belief is nagios > creates this file on startup Right. > with the wrong permissions It's up to you to set the permission (in the configuration). > and the file > gets locked because I cannot even "tail" or "nano" the file. (vi does > not work either) This is not a regular file but a FIFO. > System: > > Ubuntu Dapper LTS Server > Nagios 2.9 > > > The nagios.cmd file cannot be written to and I always get the error > through the nagios web interface as: > *-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > * > *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. * I can only recommend that line. In the manual is clearly described how to set up the command file. > ** > > ** > > *An error occurred while attempting to commit your command for processing. > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > * > > So I check the file permissions and I show: > > *-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > * > ** > *root at maverick:/usr/local/nagios/var/rw > # ls -al > total 0 > drwxrwsrwx 2 nagios nagios 80 2007-07-03 16:18 . > drwxrwxrwx 4 nagios nagios 384 2007-07-06 08:35 .. > prwxrws--- 1 nagios nagios 0 2007-07-03 16:18 nagios.cmd > root at maverick:/usr/local/nagios/var/rw > #* The file needs to be writably by whoever submits commands. Commonly this would be the group nagioscmd or something. It's rather simple if you compile nagios yourself as the necessary settings are done with the configure script. Arno > *-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > * > ** > Those permissions are incorrect! Then to save ourselves any trouble I > just change the permissions to 777 and worry about the consequences > after I solve this problem. > > Now I get this message issuing an external command: > *-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > * > *Your command request was successfully submitted to Nagios for processing. > > Note: It may take a while before the command is actually processed.* > **-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > ** > ** > Now to show you where I run into the actual trouble. I restarted nagios > and it changed the permissions on the file. > > *-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > * > *root at maverick:/usr/local/nagios/var/rw* > *# ls -al > total 0 > drwxrwsrwx 2 nagios nagios 80 2007-07-03 16:18 . > drwxrwxrwx 4 nagios nagios 384 2007-07-06 08:40 .. > prwxrwxrwx 1 nagios nagios 0 2007-07-06 08:38 nagios.cmd > **root at maverick:/usr/local/nagios/var/rw * > *# /etc/init.d/nagios restart > Running configuration check...done > Stopping nagios: done. > Starting nagios: done. > **root at maverick:/usr/local/nagios/var/rw * > *# ls -al > total 0 > drwxrwsrwx 2 nagios nagios 80 2007-07-06 08:40 . > drwxrwxrwx 4 nagios nagios 384 2007-07-06 08:40 .. > prw-rw---- 1 nagios nagios 0 2007-07-06 08:40 nagios.cmd > * *root at maverick:/usr/local/nagios/var/rw* > *#* > *-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > * > ** > The file permissions are incorrect and seemingly nagios caused the > problem. Notice that the new file does not even have the same > permissions as the file it created before. > ** > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 6 15:51:17 2007 From: marc at ena.com (Marc Powell) Date: Fri, 6 Jul 2007 08:51:17 -0500 Subject: (no subject) In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57448191E6@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A57448191E6@hermes.sapphire-int.gi> Message-ID: > -----Original Message----- > From: Giles Coochey [mailto:gcoochey at sapphire.gi] > Sent: Friday, July 06, 2007 2:55 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] (no subject) > > Thanks Marc, > > That was exactly what I was looking for. > > Any chance of that being documented or linked to here: > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service It's featured more prominently in the 3.0 documentation here -- http://nagios.sourceforge.net/docs/3_0/configobject.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glynn.seymour at bayerbbs.com Fri Jul 6 16:12:56 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Fri, 6 Jul 2007 16:12:56 +0200 Subject: nagios.cmd Message-ID: I think your ownership is wrong, my nagios.cmd is owned by nagios.nagcmd and the http user is a member of nagcmd (nagios command group I created - think this is a default? been a while since I installed it :-)) - it's the http user writing to the pipe, and the nagios user (service) reading it. Permissions look consistent with mine (660, prw-rw----). Why the file perms changed, 6. Set user ID, set group ID, sticky bit In addition to the basic permissions discussed above, there are also three bits of information defined for files in UNIX: SUID or setuid: change user ID on execution. If setuid bit is set, when the file will be executed by a user, the process will have the same rights as the owner of the file being executed. SGID or setgid: change group ID on execution. Same as above, but inherits rights of the group of the owner of the file. For directories it also may mean that when a new file is created in the directory it will inherit the group of the directory (and not of the user who created the file). Sticky bit. It was used to trigger process to "stick" in memory after it is finished, now this usage is obsolete. Currently its use is system dependant and it is mostly used to suppress deletion of the files that belong to other users in the folder where you have "write" access to. I'm guessing this happens first time you attempt to execute, regardless of whether your submission succeeds or not - bet somebody can explain it properly, I'm rubbish on perms. #################################### --------------------------------------------------------------------------------------------------------------------- Now to show you where I run into the actual trouble. I restarted nagios and it changed the permissions on the file. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- root at maverick:/usr/local/nagios/var/rw# ls -al total 0 drwxrwsrwx 2 nagios nagios 80 2007-07-03 16:18 . drwxrwxrwx 4 nagios nagios 384 2007-07-06 08:40 .. prwxrwxrwx 1 nagios nagios 0 2007-07-06 08:38 nagios.cmd root at maverick:/usr/local/nagios/var/rw # /etc/init.d/nagios restart Running configuration check...done Stopping nagios: done. Starting nagios: done. root at maverick:/usr/local/nagios/var/rw # ls -al total 0 drwxrwsrwx 2 nagios nagios 80 2007-07-06 08:40 . drwxrwxrwx 4 nagios nagios 384 2007-07-06 08:40 .. prw-rw---- 1 nagios nagios 0 2007-07-06 08:40 nagios.cmd root at maverick:/usr/local/nagios/var/rw# -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The file permissions are incorrect and seemingly nagios caused the problem. Notice that the new file does not even have the same permissions as the file it created before. ########################################### HTH. ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA RSU Bayer plc, UK __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Fri Jul 6 16:07:37 2007 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 06 Jul 2007 16:07:37 +0200 Subject: Desktop Dashboard In-Reply-To: <200707031358.26462.dzalewski@open-craft.com> References: <200707031327.02016.dzalewski@open-craft.com> <200707031253.22936.cmd@amran.de> <200707031358.26462.dzalewski@open-craft.com> Message-ID: <1183730857.7527.15.camel@netl-gm-01.int.netways.de> Hi, a while ago I wrote KTLight. Maybe that helps http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_view]=203 Cheers Gerd ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 6 15:52:32 2007 From: srunschke at abit.de (Sascha Runschke) Date: Fri, 6 Jul 2007 15:52:32 +0200 Subject: Problem: Sending RECOVERY to contacts which have never got WARNING/CRITICAL notifications Message-ID: Hi all, it has been a while since I last wrote something, but Nagios usually just works perfect ;) But lately I stumbled over a small problem, which is really annoying. I'm using Nagios 2.9. Scenario is: Servicecheck goes WARNING during the night (escalation says: no SMS, only MAIL!) -> WARNING Mails are dispatched Servicecheck goes OK during night (escalation says: SMS and MAIL are both ok) -> RECOVERY Mails + SMS are dispatched I really wonder why Nagios sends RECOVERY though Channels, which never received the WARNING/CRITICAL. If nothing changed in the policies lately, Nagios should only send RECOVERY to someone who got the WARNING/CRITICAL at first. The WARNING are send via Mail to NETWORK-CONTACTGROUP-MAIL, which contains a set of contacts for Mail. The RECOVERY instead is send to NETWORK-CONTACTGROUP-SMS, which contain a different set of contacts, that carry the pager number. Again: we have 2 different contacts for each person, one for mail, one for SMS! So the RECOVERY goes to a contact that didn't even receive the WARNING/CRITICAL in first place - that's what disturbs me most, despite the fact that unwanted SMS at 5am are quite disturbing too... Did anyone else notice this lately? Is anyone able to explain that behaviour to me? Config of the checks is as follows: (I have resolved all template inheritance to make it better readable - of course we do not set up things like that in real ;)) define service { name generic-SNMP max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 1 check_period 24x7 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 stalking_options w,u,c contact_groups NETWORK-CONTACTGROUP-MAIL host_name USV01 service_description USV_TEMPERATURE servicegroups SERVICEGROUP register 1 check_command check_snmp!my-secret-community!iso.3.6.1.4.1.1356.1.2.4.0!1!:37!99:42 notification_interval 10 stalking_options c,w,u notification_options c,w,u,r } Naturally all notifications get overridden by our escaltion settings: # # Daylight: SMS every 10 Mins at first occurence # define serviceescalation { name esc_service_verfuegbarkeit_1_1 first_notification 1 last_notification 0 notification_interval 10 escalation_period daylight_hours escalation_options c host_name USV01 service_description USV_TEMPERATURE contact_groups NETWORK-CONTACTGROUP-SMS } # # Night: SMS once at the second occurence # define serviceescalation { name esc_service_verfuegbarkeit_1_2 first_notification 2 last_notification 0 notification_interval 600 escalation_period night_hours escalation_options c host_name USV01 service_description USV_TEMPERATURE contact_groups NETWORK-CONTACTGROUP-SMS } # # 24x7: Recovery via SMS (only fires when SMS has been dispatched before) # define serviceescalation { name esc_service_verfuegbarkeit_1_3 first_notification 1 last_notification 0 notification_interval 600 escalation_period 24x7 escalation_options r host_name USV01 service_description USV_TEMPERATURE contact_groups NETWORK-CONTACTGROUP-SMS } # # 24x7: Always receive notifacations via Mail too # define serviceescalation { name esc_service_verfuegbarkeit_1_4 first_notification 1 last_notification 0 notification_interval 10 escalation_period 24x7 escalation_options c,w,u,r host_name USV01 service_description USV_TEMPERATURE contact_groups NETWORK-CONTACTGROUP-MAIL } I'd appreciate any light sched into this matter. Regards Sascha -- Sascha Runschke Tel.:+49 (0) 2150.9153.226 Netzwerk Management Mobil:+49 (0) 173.5419665 IT-Services mailto:SRunschke at abit.de ABIT AG Vorstand: Christian van Laak Robert-Bosch-Str. 1 Vorsitzender des Aufsichtsrats: J?rgen Baltes 40668 Meerbusch Amtsgericht Neuss, HRB 13920 http://www.abit.net Sicherheitshinweis zur E-Mail Kommunikation: http://www.abit-epos.net http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Fri Jul 6 17:15:40 2007 From: termx23 at gmail.com (Peter Edmonds) Date: Sat, 7 Jul 2007 01:15:40 +1000 Subject: multi purpose VBSCript In-Reply-To: <652f1b5f0131dbc61f0378d1161cfc19@62.160.76.23> References: <652f1b5f0131dbc61f0378d1161cfc19@62.160.76.23> Message-ID: <6b8cee7e0707060815t1031661doc5d3d5ef117c584d@mail.gmail.com> On 7/6/07, riky.none at email.it wrote: > I must check status backup veritas > the command is ca_qmgr.exe -l > > the output is : Riky, The easiest way to handle this would be to redirect the output of the command to a text file on a web server ca_qmgr.exe -l > \\webserver\output.txt I use this method on Windows servers when I need to check for a particular string in the command output. It is much easier (for me) to use the check_http plugin to check for a string than to parse a text file located on a Windows share using Perl. Obviously you would have to have at least 1 Windows machine as a web server for this to be useful. Using the check_http plugin allows me to avoid having to mess around with mounting Windows shares via Samba and other various complications. Peter Edmonds ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Fri Jul 6 19:15:26 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Fri, 6 Jul 2007 10:15:26 -0700 Subject: Nagios Graph Issue Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C62391F81@mail2.sd.defenseweb.net> I have installed and configured Nagios Graph and so far have graphs being generated for Load on our Linux hosts with out problems. When I try and configure the graphs for our Windows Hosts for CPU Usage I keep getting the following error. No blocks for 'CPU LOAD' found. Here is what I have configured for the Nagios Graph which I thought would work but doesn't. service_name CPU LOAD I am not sure why this is not working. If anyone knows what the problem would be then please respond. Thank you in advance for your help. Thank you, Jeff -------------------------------------------- Jeff Shumard UNIX Administrator DefenseWeb Technologies, Inc. 4150 Mission Blvd., Suite 220 San Diego, CA 92109 Office: 858-272-8505 x5897 Mobile: 619-997-5560 Fax: 858-228-3667 Email: jeff.shumard at defenseweb.com WWW: www.defenseweb.com ---------------------------------- NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. To contact our email administrator directly, send to postmaster at defenseweb.com. ---------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justink at landstaff.com Fri Jul 6 19:17:42 2007 From: justink at landstaff.com (Justin King) Date: Fri, 6 Jul 2007 10:17:42 -0700 Subject: Nagios and AD integration Message-ID: <69F07AEA0742B64EB0F1FB709075B8307F86F5@EXCHANGE01.NRPI.LOCAL> Just wondering if anyone has played with this combination before and if so maybe they could provide me a head start. Here's what I've got done so far: I did a simple install of mod_auth_kerb (quick yum install), and setup the authentication servers to my DCs, and set the module to load with apache, the standard faire. Oddly enough, I found useful help on Microsoft's own knowledgebase here: http://support.microsoft.com/kb/555092/en-us I then modified /etc/httpd/conf.d/nagios.conf using the guidelines laid out in the above link, including setting "Require valid-user". Finally, a quick jump into cgi.cfg and a switch of rights from "nagiosadmin" to * and bam everyone is in (assuming they can authenticate of course). Here's my complication: What I'd really like to do is filter the access down to specific groups in AD, and utilize the access view filtering in nagios so that sql administrators only see the status of sql servers (as an example). I could probably use mod_auth_ldap, but is there a way to associate that LDAP group with a NAGIOS contact group so that I can reference it in cgi.cfg? The end goal would be that someone could manage all of the viewing/notification of Nagios through AD groups and not have to touch the Linux box directly at all. So anyone a member of "SQL Notifications" group would get notifications as well as be able to browse the nagios website for SQL status. Has anyone done anything like this? Regards, Justin King -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Jul 6 19:56:33 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Fri, 6 Jul 2007 10:56:33 -0700 Subject: using Nagios to find cause(s) of jitter in VoIP network Message-ID: <2b7af7c40707061056v7330e3bbx4aa55dde9fef526c@mail.gmail.com> How might one use Nagios to monitor an MPLS SLA (service level agreement)? Some VoIP phones are experiencing jitter, and I'm looking for tools (ideally, Nagios-friendly) which might help me find the chokepoint(s). Any help showing in the right direction would be greatly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From groome at ict.usc.edu Fri Jul 6 21:14:14 2007 From: groome at ict.usc.edu (Rob Groome) Date: Fri, 6 Jul 2007 12:14:14 -0700 Subject: Nagios and AD integration In-Reply-To: <69F07AEA0742B64EB0F1FB709075B8307F86F5@EXCHANGE01.NRPI.LOCAL> References: <69F07AEA0742B64EB0F1FB709075B8307F86F5@EXCHANGE01.NRPI.LOCAL> Message-ID: <63F371AC-89DF-4CCF-BEB7-582CEF8BDFE7@ict.usc.edu> > > Here?s my complication: > > > > What I?d really like to do is filter the access down to specific > groups in AD, and utilize the access view filtering in nagios so > that sql administrators only see the status of sql servers (as an > example). I could probably use mod_auth_ldap, but is there a way > to associate that LDAP group with a NAGIOS contact group so that I > can reference it in cgi.cfg? The end goal would be that someone > could manage all of the viewing/notification of Nagios through AD > groups and not have to touch the Linux box directly at all. So > anyone a member of ?SQL Notifications? group would get > notifications as well as be able to browse the nagios website for > SQL status. > > > > Has anyone done anything like this? You likely need to add mod_auth_pam and mod_auth_sys_group as well to your LoadModule statements (if they are not already there). Use require_group and then setup AD groups with the people you want in them. Once that is done you will be able to authenticate using the AD groups instead of the users. You also need to make sure that winbind is working properly, which it appears to be doing if your auth is already working. You can then do something along the lines of this in your Location directive: AuthPAM_Enabled on Require group "Nagios Admins" Order Deny,Allow Deny from All Allow from 10.10.10.10 This will do two things - allow you to auth on the group through AD as well as limit your access to those on the internal subnets, or external subnets that you want to allow. This will give you a "dual" setup for authentication/access that can be as restrictive or open as you deem proper for your environment. We currently do this for any of our servers that need authenticated access and it works flawlessly. Hope this helps. Rob ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chactuchac10 at yahoo.com.ar Fri Jul 6 21:14:21 2007 From: chactuchac10 at yahoo.com.ar (Guille) Date: Fri, 6 Jul 2007 16:14:21 -0300 (ART) Subject: NRPE Message-ID: <806036.78824.qm@web56704.mail.re3.yahoo.com> Hello everyone, im trying to install NRPE in a cuople of hosts i was reading some howto but i still with doubts, in them it says i needs have the plugin, like check_nrpe, in the client too to but where?.. i have not install nagios in the clients. Other thing is when i untar the plugin .. i havent a nrpe.cfg in the src/.. its ok? What is the best way to use it? via Xinetd ? Thanks in advance for any suggestion!. Guillermo. __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From groome at ict.usc.edu Fri Jul 6 21:18:53 2007 From: groome at ict.usc.edu (Rob Groome) Date: Fri, 6 Jul 2007 12:18:53 -0700 Subject: using Nagios to find cause(s) of jitter in VoIP network In-Reply-To: <2b7af7c40707061056v7330e3bbx4aa55dde9fef526c@mail.gmail.com> References: <2b7af7c40707061056v7330e3bbx4aa55dde9fef526c@mail.gmail.com> Message-ID: On Jul 6, 2007, at 10:56 AM, Rogelio Bastardo wrote: > How might one use Nagios to monitor an MPLS SLA (service level > agreement)? > > Some VoIP phones are experiencing jitter, and I'm looking for tools > (ideally, Nagios-friendly) which might help me find the chokepoint(s). > > Any help showing in the right direction would be greatly appreciated. Before you get to Nagios, you need to sniff your network and figure out what is happening on those phones and see what their traffic is doing. Use ethereal if you have it or download wireshark to see what traffic is being passed. Once you determine what the issue is you will likely have to write something - or find something already written - that will do what you need, but this sounds somewhat location specific. This is beyond nagios to help diagnose the problem, as you need to diagnose before you can monitor in this case. Also - look at your switches interface stats to determine if you have runts, retransmits etc.... ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bogdan.bolo at gmail.com Fri Jul 6 21:26:28 2007 From: bogdan.bolo at gmail.com (bolovan bogdan) Date: Fri, 6 Jul 2007 22:26:28 +0300 Subject: Nagios solution Message-ID: Hello all, I am in a dillema , I have to monitor a massive network of vpn hosts, ( most of them Cisco CPE routers ) , and all I really need is availability polling. The problem is that active host checking became really sluggish after 500 hosts testing. I made some tests by disabling active checks and enabling ping service, but the host doesn't change state when the service is critical. Does anyone know any solution for passive checks on cisco routers? Or how to make the ping service change the state of the host when the ping service becomes critical? Or a way to implement passive checks for these cisco routers? If anyone can help I would be eternally thankful. My regards, Bogdan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From 997samanthasalo at shaw.ca Sat Jul 7 06:28:14 2007 From: 997samanthasalo at shaw.ca (Martin Clement) Date: Fri, 6 Jul 2007 19:28:14 -0900 Subject: Hi Message-ID: <238751284.78068428867082@shaw.ca> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ From jim at jimavery.me.uk Fri Jul 6 21:38:43 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 6 Jul 2007 20:38:43 +0100 Subject: Nagios solution In-Reply-To: References: Message-ID: <765d77c80707061238m7cbc1305i3ae3d76f46cb217e@mail.gmail.com> On 06/07/07, bolovan bogdan wrote: > Hello all, > > I am in a dillema , I have to monitor a massive network of vpn hosts, ( most > of them Cisco CPE routers ) , and all I really need is availability > polling. > The problem is that active host checking became really sluggish after 500 > hosts testing. re-enable active checks for the hosts, but use check_icmp or check_fping for the active host check (and for the ping service check for that matter). I believe the host will only change state if the host check fails - if you've disabled active host checks then that will never happen. The problem with the default check_ping is that it takes too long to run, and host checks can't be run in parallel (not until version 3 Nagios anyway). check_fping or check_icmp typically take a lot less time to run than check_ping which won't finish until all of the pings at 1-second intervals have been executed. I'd also recommend making sure you set up your parent relationships if you haven't already. I'm not sure if it would help performance, but it's worth doing anyway :) hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Fri Jul 6 21:40:17 2007 From: aaron.segura at cabelas.com (Rev. Dr. Aaron M. Segura) Date: Fri, 06 Jul 2007 13:40:17 -0600 Subject: Nagios solution In-Reply-To: References: Message-ID: <1183750817.13207.11.camel@asegura.cabelas.com> You could make the host check a 'ping' (not active), and assign a single (active) 'ping' service to each host. That way when the service fails, the host is checked, and then the status of the host will change. Kinda redundant, but it'll work. I'm sure someone like Hugo or Marc will come up with something that'll blow our collective minds right after I click 'send'. On Fri, 2007-07-06 at 22:26 +0300, bolovan bogdan wrote: > Hello all, > > I am in a dillema , I have to monitor a massive network of vpn hosts, > ( most of them Cisco CPE routers ) , and all I really need is > availability polling. > The problem is that active host checking became really sluggish after > 500 hosts testing. > > I made some tests by disabling active checks and enabling ping > service, but the host doesn't change state when the service is > critical. > Does anyone know any solution for passive checks on cisco routers? > Or how to make the ping service change the state of the host when the > ping service becomes critical? > > Or a way to implement passive checks for these cisco routers? > > If anyone can help I would be eternally thankful. > > My regards, > Bogdan > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Jul 6 21:50:38 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 6 Jul 2007 20:50:38 +0100 Subject: Nagios solution In-Reply-To: <1183750817.13207.11.camel@asegura.cabelas.com> References: <1183750817.13207.11.camel@asegura.cabelas.com> Message-ID: <765d77c80707061250t1bc7ea98qb034812fa62751d5@mail.gmail.com> On 06/07/07, Rev. Dr. Aaron M. Segura wrote: > You could make the host check a 'ping' (not active), and assign a single > (active) 'ping' service to each host. That way when the service fails, > the host is checked, and then the status of the host will change. I'm sorry to have posted duff advice just now - I just checked my Nagios config here and I don't have active host checks set either. You're right, you shouldn't need active host checks set, as the host will get checked when the (active) ping service fails anyway. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Fri Jul 6 21:21:33 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Fri, 6 Jul 2007 15:21:33 -0400 Subject: using Nagios to find cause(s) of jitter in VoIP network In-Reply-To: References: <2b7af7c40707061056v7330e3bbx4aa55dde9fef526c@mail.gmail.com> Message-ID: <20070706192133.GA93719@bewilderbeast.blackhelicopters.org> On Fri, Jul 06, 2007 at 12:18:53PM -0700, Rob Groome wrote: > > On Jul 6, 2007, at 10:56 AM, Rogelio Bastardo wrote: > > > How might one use Nagios to monitor an MPLS SLA (service level > > agreement)? > > > > Some VoIP phones are experiencing jitter, and I'm looking for tools > > (ideally, Nagios-friendly) which might help me find the chokepoint(s). > > > > Any help showing in the right direction would be greatly appreciated. My first thought is, are your VoIP phones in a gold CAR on the MPLS? While VoIP works fine in any QoS queue on a lightly loaded MPLS circuit, you'll get all kinds of jitter under load if not. Not that I've had that happen, or anything. ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Sat Jul 7 00:47:28 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Fri, 6 Jul 2007 15:47:28 -0700 Subject: host "down" (when it's not really) Message-ID: <2b7af7c40707061547q37e550ffua34a348b40c77046@mail.gmail.com> I am checking various mail servers for only two things: (1) smtp works (check_smtp) (2) are they black listed (check_spamcop) The hosts appear "down" due to Nagios trying to ping them. Inbound IMCP is obviously not allowed on these types of hosts. How can I turn off the ping option and only check for those two things? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Jul 7 01:29:13 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 6 Jul 2007 16:29:13 -0700 Subject: host "down" (when it's not really) In-Reply-To: <2b7af7c40707061547q37e550ffua34a348b40c77046@mail.gmail.com> References: <2b7af7c40707061547q37e550ffua34a348b40c77046@mail.gmail.com> Message-ID: <20070706232913.GL6266@pmorris.usa.hp.com> Hi Rogelio! On Fri, 06 Jul 2007, Rogelio Bastardo wrote: > I am checking various mail servers for only two things: > (1) smtp works (check_smtp) > (2) are they black listed (check_spamcop) > > The hosts appear "down" due to Nagios trying to ping them. Inbound IMCP is > obviously not allowed on these types of hosts. > > How can I turn off the ping option and only check for those two things? Pretty simple stuff, really -- if you want to keep a host check, you need to use one that *can* tell if the host is up or down. In your case, maybe check_smtp would work. There's no rule that says a host check has to be an ICMP ping. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Sat Jul 7 01:27:43 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Fri, 6 Jul 2007 16:27:43 -0700 Subject: host "down" (when it's not really) In-Reply-To: <20070706232913.GL6266@pmorris.usa.hp.com> References: <2b7af7c40707061547q37e550ffua34a348b40c77046@mail.gmail.com> <20070706232913.GL6266@pmorris.usa.hp.com> Message-ID: <2b7af7c40707061627n4ace1a94t5cb8ae615194ddc5@mail.gmail.com> > > Pretty simple stuff, really -- if you want to keep a host check, you > need to use one that *can* tell if the host is up or down. In your > case, maybe check_smtp would work. The problem is that even though the services check ok (green), I still keep getting a down (red) in the "hostgroup overview" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Jul 7 03:22:20 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 6 Jul 2007 18:22:20 -0700 Subject: host "down" (when it's not really) In-Reply-To: <2b7af7c40707061627n4ace1a94t5cb8ae615194ddc5@mail.gmail.com> References: <2b7af7c40707061547q37e550ffua34a348b40c77046@mail.gmail.com> <20070706232913.GL6266@pmorris.usa.hp.com> <2b7af7c40707061627n4ace1a94t5cb8ae615194ddc5@mail.gmail.com> Message-ID: <20070707011123.GO6266@pmorris.usa.hp.com> On Fri, 06 Jul 2007, Rogelio Bastardo wrote: > > > >Pretty simple stuff, really -- if you want to keep a host check, you > >need to use one that *can* tell if the host is up or down. In your > >case, maybe check_smtp would work. > > > The problem is that even though the services check ok (green), I still keep > getting a down (red) in the "hostgroup overview" Again, that's because your service checks are OK, but you have a host check that doesn't work for those systems. Fix your host check and it'll turn green. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Sat Jul 7 03:27:30 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Fri, 6 Jul 2007 18:27:30 -0700 Subject: host "down" (when it's not really) In-Reply-To: <20070707011123.GO6266@pmorris.usa.hp.com> References: <2b7af7c40707061547q37e550ffua34a348b40c77046@mail.gmail.com> <20070706232913.GL6266@pmorris.usa.hp.com> <2b7af7c40707061627n4ace1a94t5cb8ae615194ddc5@mail.gmail.com> <20070707011123.GO6266@pmorris.usa.hp.com> Message-ID: <2b7af7c40707061827l49ef74e4wd1ea7b519e3cc44@mail.gmail.com> > > Again, that's because your service checks are OK, but you have a host > check that doesn't work for those systems. > > Fix your host check and it'll turn green. > I think I see what you mean. check_command check-host-alive ; Default command to check Linux hosts Change that value, right? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Sat Jul 7 03:43:52 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Fri, 6 Jul 2007 18:43:52 -0700 Subject: mass check_smtp a large range of mail servers? Message-ID: <2b7af7c40707061843m617e55c6i19fd6e87987716@mail.gmail.com> I have approximately 30 mail servers, and rather than writing a separate "define service" for each one in my cfg file, is there a way that I can add them all to a group and then just check that group? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Jul 7 05:28:39 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 6 Jul 2007 23:28:39 -0400 Subject: mass check_smtp a large range of mail servers? In-Reply-To: <2b7af7c40707061843m617e55c6i19fd6e87987716@mail.gmail.com> References: <2b7af7c40707061843m617e55c6i19fd6e87987716@mail.gmail.com> Message-ID: From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rogelio Bastardo Sent: Friday, July 06, 2007 6:44 PM To: Nagios Users mailinglist Subject: [Nagios-users] mass check_smtp a large range of mail servers? > I have approximately 30 mail servers, and rather than writing a separate "define service" > for each one in my cfg file, is there a way that I can add them all to a group and then > just check that group?? Yep. Read up on hostgroups in the docs. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Jul 7 05:30:29 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 6 Jul 2007 23:30:29 -0400 Subject: host "down" (when it's not really) In-Reply-To: <2b7af7c40707061827l49ef74e4wd1ea7b519e3cc44@mail.gmail.com> References: <2b7af7c40707061547q37e550ffua34a348b40c77046@mail.gmail.com> <20070706232913.GL6266@pmorris.usa.hp.com> <2b7af7c40707061627n4ace1a94t5cb8ae615194ddc5@mail.gmail.com> <20070707011123.GO6266@pmorris.usa.hp.com> <2b7af7c40707061827l49ef74e4wd1ea7b519e3cc44@mail.gmail.com> Message-ID: From: Rogelio Bastardo [mailto:scubacuda at gmail.com] Sent: Friday, July 06, 2007 6:28 PM To: Morris, Patrick Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] host "down" (when it's not really) >> Again, that's because your service checks are OK, but you have a host >> check that doesn't work for those systems. >> Fix your host check and it'll turn green. > I think I see what you mean. > >?check_command ? ? ? ? ? ? ? ? ?check-host-alive ; Default command to check Linux hosts > > Change that value, right? Yeah. Assuming you're using the default check-host-alive command, which pings hosts, that obviously won't work if you can't ever ping the host. You'll need to define a new check command that *can* determine if the host is up or down. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sat Jul 7 11:34:42 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 7 Jul 2007 10:34:42 +0100 Subject: mass check_smtp a large range of mail servers? In-Reply-To: <2b7af7c40707061843m617e55c6i19fd6e87987716@mail.gmail.com> References: <2b7af7c40707061843m617e55c6i19fd6e87987716@mail.gmail.com> Message-ID: <765d77c80707070234r39525c38of62b9da0d3f8429e@mail.gmail.com> On 07/07/07, Rogelio Bastardo wrote: > I have approximately 30 mail servers, and rather than writing a separate > "define service" for each one in my cfg file, is there a way that I can add > them all to a group and then just check that group? Yes. The documentation is at http://nagios.sourceforge.net/docs/2_0/templatetricks.html You don't have to define a group - instead you can list the hosts in your service definition like so: host_name mail01,mail02,mail03,mail04 or you can use wildcards or regular expressions. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skylar at cs.earlham.edu Sat Jul 7 19:11:23 2007 From: skylar at cs.earlham.edu (Skylar Thompson) Date: Sat, 07 Jul 2007 10:11:23 -0700 Subject: NRPE In-Reply-To: <806036.78824.qm@web56704.mail.re3.yahoo.com> References: <806036.78824.qm@web56704.mail.re3.yahoo.com> Message-ID: <468FC93B.9010206@cs.earlham.edu> Guille wrote: > Hello everyone, im trying to install NRPE in a cuople of hosts i was reading some howto > but i still with doubts, in them it says i needs have the plugin, like check_nrpe, in the > client too to but where?.. i have not install nagios in the clients. Other thing is when > i untar the plugin .. i havent a nrpe.cfg in the src/.. its ok? > > What is the best way to use it? via Xinetd ? > > Thanks in advance for any suggestion!. > You'll need the nrpe-plugin package (providing check_nrpe) on the server, not the client. Unless you'll only be running your own custom plugins, you'll need nagios-plugins on the client as well as nrpe. As far as xinetd, I haven't had any luck getting nrpe to run from xinetd on RHEL hosts. I just start it out of rc.local. -- -- Skylar Thompson (skylar at cs.earlham.edu) -- http://www.cs.earlham.edu/~skylar/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Jul 8 14:05:24 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 8 Jul 2007 14:05:24 +0200 (CEST) Subject: using Nagios to find cause(s) of jitter in VoIP network In-Reply-To: <2b7af7c40707061056v7330e3bbx4aa55dde9fef526c@mail.gmail.com> References: <2b7af7c40707061056v7330e3bbx4aa55dde9fef526c@mail.gmail.com> Message-ID: On Fri, 6 Jul 2007, Rogelio Bastardo wrote: > How might one use Nagios to monitor an MPLS SLA (service level agreement)? > Some VoIP phones are experiencing jitter, and I'm looking for tools > (ideally, Nagios-friendly) which might help me find the chokepoint(s). Nagios is not the tool. Nagios can warn you about exceeding tresholds. But it will not have a clue why the treshold is exceeded. You need to go into your network design and do the hard work of troubleshooting your problem. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From windy at white-hawk.de Sun Jul 8 15:10:13 2007 From: windy at white-hawk.de (Stephan =?iso-8859-1?Q?Windm=FCller?=) Date: Sun, 8 Jul 2007 15:10:13 +0200 Subject: NRPE In-Reply-To: <806036.78824.qm@web56704.mail.re3.yahoo.com> References: <806036.78824.qm@web56704.mail.re3.yahoo.com> Message-ID: <20070708131013.GA14184@speutel.de> On Fri, 06. Jul 2007, Guille wrote: > Hello everyone, im trying to install NRPE in a cuople of hosts i was > reading some howto but i still with doubts, in them it says i needs > have the plugin, like check_nrpe, in the client too to but where? You only need check_nrpe on the client if you want to check remote hosts which are not accessable from the nagios host. > What is the best way to use it? via Xinetd ? If it runs out of the box with (x)inetd (it did not for me), use this. Otherwise start a local service. - Stephan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Mon Jul 9 19:56:37 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 9 Jul 2007 10:56:37 -0700 Subject: host "down" (when it's not really) In-Reply-To: References: <2b7af7c40707061547q37e550ffua34a348b40c77046@mail.gmail.com> <20070706232913.GL6266@pmorris.usa.hp.com> <2b7af7c40707061627n4ace1a94t5cb8ae615194ddc5@mail.gmail.com> <20070707011123.GO6266@pmorris.usa.hp.com> <2b7af7c40707061827l49ef74e4wd1ea7b519e3cc44@mail.gmail.com> Message-ID: <2b7af7c40707091056y73b72cb9sd8fbebffe63aa62c@mail.gmail.com> > > Yeah. Assuming you're using the default check-host-alive command, which > pings hosts, that obviously won't work if you can't ever ping the host. > > You'll need to define a new check command that *can* determine if the host > is up or down. > Perfect. Since they're Exchange servers, I changed a variable in my "define host" section. #was # check_command check-host-alive ; Default command to check Linux hosts #is now check_command check_smtp Thank you very much for your help, Patrick! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Mon Jul 9 21:05:09 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 9 Jul 2007 12:05:09 -0700 Subject: mass comment out lines? Message-ID: <2b7af7c40707091205k605ffbffy3c050dc7475781c3@mail.gmail.com> Is there a way to mass comment out certain lines in your nagios.cfg files? e.g. /* comments comments comments */ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hausen at punkt.de Mon Jul 9 21:09:08 2007 From: hausen at punkt.de (Patrick M. Hausen) Date: Mon, 9 Jul 2007 21:09:08 +0200 Subject: Dependencies question Message-ID: <20070709190908.GB41541@hugo10.ka.punkt.de> Hi all! Foremost: I've searched the online manual and the FAQ. I have not searched the mailing list archives for an answer to my question. I apologise in advance, but I found it rather difficult to come up with keywords to search for. OK, here's the challenge: Imagine a couple of services or a couple of hosts, that are, well, coupled - by some device or dependency that itself cannot be monitored my Nagios. E.g. I want to monitor a couple of hosts connected to the same switch but the switch is not even accessable on Layer 3 or they are in some remote computing centre, but I cannot point at a single router on which they all depend. Yet they all depend on the hosting centre's "Internet connection". Or imagine virtual web servers. For each of them there are chances that it fails individually. Probably just because someone messes up an update of the content. OTOH all of them may fail at once, because the database server fails. OK, I can monitor the database server. Now they fail because the web server itself gets too loaded. Monitor the web server's CPU. Possibly. Now they fail because ... I simply cannot think of everything in advance. Now, what's the problem? Our alarm system sends messages to the pagers of the staff on duty. Which costs money. Not much, but tiny amounts add up. So, what I'd like to implement is this policy: "Here's a group of , i.e. hosts or services. If any number of them fails, just send a notification for the first one. I will look at the Nagios status page anyway and probably something else connecting them in some way failed." Is this possible? From reading the docs it seems to me like dependencies form a directed graph and circles are probably a bad thing. And they do not solve the problem. You would need to have every service in the group depend on every other one. I have not used event handlers or other advanced mechanisms, yet. So: I think that someone else must have faced the same problem before - is there any "best practice" document, if the above policy can be implemented at all? Thanks a lot, Patrick -- punkt.de GmbH * Vorholzstr. 25 * 76137 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info at punkt.de http://www.punkt.de Gf: J?rgen Egeling AG Mannheim 108285 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 9 21:21:45 2007 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 9 Jul 2007 14:21:45 -0500 (CDT) Subject: Dependencies question In-Reply-To: <20070709190908.GB41541@hugo10.ka.punkt.de> References: <20070709190908.GB41541@hugo10.ka.punkt.de> Message-ID: On Mon, 9 Jul 2007, Patrick M. Hausen wrote: > "Here's a group of , i.e. hosts or services. > If any number of them fails, just send a notification for > the first one. I will look at the Nagios status page anyway and > probably something else connecting them in some way failed." Have you seen check_cluster? http://nagios.manubulon.com/traduction/docs14en/clusters.html Does your network utilize load balancers? If so, consider monitoring the VIP instead of or in addition to the individual hosts behind the LB. When it comes to monitoring stuff across the WAN, I've found the best approach is to move the monitoring server (Nagios) as close to the monitored hosts as possible. This will help eliminate your multi-path to the data center problem and also eliminate the phenonmenon I refer to as "monitoring the internet" ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 9 21:34:17 2007 From: marc at ena.com (Marc Powell) Date: Mon, 9 Jul 2007 14:34:17 -0500 Subject: mass comment out lines? In-Reply-To: <2b7af7c40707091205k605ffbffy3c050dc7475781c3@mail.gmail.com> References: <2b7af7c40707091205k605ffbffy3c050dc7475781c3@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rogelio Bastardo > Sent: Monday, July 09, 2007 2:05 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] mass comment out lines? > > Is there a way to mass comment out certain lines in your nagios.cfg files? > > e.g. > > /* > comments > comments > comments > */ No. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html "Notes When creating and/or editing configuration files, keep the following in mind: 1. Lines that start with a '#' character are taken to be comments and are not processed 2. Directive names are case-sensitive" ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcoscamoes at rio.rj.gov.br Mon Jul 9 22:10:52 2007 From: marcoscamoes at rio.rj.gov.br (marcoscamoes at rio.rj.gov.br) Date: Mon, 9 Jul 2007 17:10:52 -0300 (BRT) Subject: Monitoring Postfix Message-ID: <2960.10.2.22.17.1184011852.squirrel@riomail> Sorry guys but i am new to nagios and people here at work are already asking me to start monitiring a Postfix mail queue. Searching the docuemntion, FAQ, web, and other sources was no good, so you are my last chance of finding a nagios plugin for monitoring Postfix. Thanks for any help. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Mon Jul 9 22:37:29 2007 From: ampranti at gmail.com (Brandino Andreas) Date: Mon, 9 Jul 2007 23:37:29 +0300 Subject: notifications Message-ID: <792372726.20070709233729@gmail.com> Hi all is it possible to use different notification fucntion (for same user) for critical and fifferent for recovery notifications?? Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Mon Jul 9 22:14:01 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Mon, 09 Jul 2007 16:14:01 -0400 Subject: Monitoring Postfix In-Reply-To: <2960.10.2.22.17.1184011852.squirrel@riomail> References: <2960.10.2.22.17.1184011852.squirrel@riomail> Message-ID: <46929709.806@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 marcoscamoes at rio.rj.gov.br wrote: > Sorry guys but i am new to nagios and people here at work are already > asking me to start monitiring a Postfix mail queue. Searching the > docuemntion, FAQ, web, and other sources was no good, so you are my last > chance of finding a nagios plugin for monitoring Postfix. > Thanks for any help. > Check NagiosExchange: Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGkpcJHoeeepPau2ERAriZAKCgQnJWSyUt1hKEVWBDFgFvyQu4igCgj6fX FG5koqDBdqUtIUV9x9BqSrU= =B6Pp -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.munyak at gmail.com Mon Jul 9 22:57:22 2007 From: don.munyak at gmail.com (Don Munyak) Date: Mon, 9 Jul 2007 16:57:22 -0400 Subject: The statusmap...CGIs are missing or dont work! Message-ID: <6207f7d90707091357q572a5a5qe03db171a3a2b50d@mail.gmail.com> Hello, {snip} http://www.nagios.org/faqs/viewfaq.php?faq_id=55&expand=false&showdesc=true The most probable cause of this is that you do not have the gd library and/or its required libraries (i.e. libpng, libjpeg, and zlib). If you do have the libraries installed on your system, the configure script may not have properly detected them before you compiled the CGIs. Here's what you can do to solve the issue: Install the gd, png, jpeg, and zlib libraries on your system. You will also have to install the gd-devel, png-devel, jpeg-devel, and zlib-devel libraries. If you want RPMs for these libraries, try searching rpmfind.net for the following libraries: libgd libgd-devel libpng libpng-devel libjpeg libjpeg-devel zlib zlib-devel {end-snip} I have Nagios running on FreeBSD 6.2 . How do I add the missing libraries ? I cannot find them in the ports collection. Thanks Don ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Mon Jul 9 23:59:36 2007 From: stava at telcotec.se (Lars Stavholm) Date: Mon, 09 Jul 2007 23:59:36 +0200 Subject: Monitoring Postfix In-Reply-To: <2960.10.2.22.17.1184011852.squirrel@riomail> References: <2960.10.2.22.17.1184011852.squirrel@riomail> Message-ID: <4692AFC8.20809@telcotec.se> marcoscamoes at rio.rj.gov.br wrote: > Sorry guys but i am new to nagios and people here at work are already > asking me to start monitiring a Postfix mail queue. Searching the > docuemntion, FAQ, web, and other sources was no good, so you are my last > chance of finding a nagios plugin for monitoring Postfix. > Thanks for any help. We use check_mailq from the standard nagios-plugins package. /Lars ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Jul 10 01:14:27 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 9 Jul 2007 16:14:27 -0700 Subject: Reverse checks possible? Message-ID: <2b7af7c40707091614y29aada81gd0ffe25c14101e5a@mail.gmail.com> Is there a way to do some sort of reverse plugin check? e.g. email me only if, say, "check_tcp!25" work some host checks OK -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Jul 10 02:17:00 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 9 Jul 2007 17:17:00 -0700 Subject: Reverse checks possible? In-Reply-To: <2b7af7c40707091614y29aada81gd0ffe25c14101e5a@mail.gmail.com> References: <2b7af7c40707091614y29aada81gd0ffe25c14101e5a@mail.gmail.com> Message-ID: <20070710001700.GE6266@pmorris.usa.hp.com> Sure. See the "negate" plugin. On Mon, 09 Jul 2007, Rogelio Bastardo wrote: > Is there a way to do some sort of reverse plugin check? > > e.g. email me only if, say, "check_tcp!25" work some host checks OK > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcoscamoes at rio.rj.gov.br Tue Jul 10 02:15:51 2007 From: marcoscamoes at rio.rj.gov.br (marcoscamoes at rio.rj.gov.br) Date: Mon, 9 Jul 2007 21:15:51 -0300 (BRT) Subject: Monitoring Postfix In-Reply-To: <4692AFC8.20809@telcotec.se> References: <2960.10.2.22.17.1184011852.squirrel@riomail> <4692AFC8.20809@telcotec.se> Message-ID: <42214.10.2.22.171.1184026551.squirrel@riomail> Thanks for the tip. I'll try it out. And sorry about not putting OS, version, and such. I am in kind of hurry here. Once more, sorry. OS = Ubuntu 7 Nagios version = 1.3 (Want to go for 3.x) Plugins = So old that i don't know...... Thanks again, Em Seg, Julho 9, 2007 6:59 pm, Lars Stavholm escreveu: > marcoscamoes at rio.rj.gov.br wrote: >> Sorry guys but i am new to nagios and people here at work are already >> asking me to start monitiring a Postfix mail queue. Searching the >> docuemntion, FAQ, web, and other sources was no good, so you are my >> last chance of finding a nagios plugin for monitoring Postfix. Thanks for >> any help. > > We use check_mailq from the standard nagios-plugins package. > /Lars > > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Tue Jul 10 02:58:38 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Tue, 10 Jul 2007 10:58:38 +1000 Subject: Service dependencies Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A02702321@mail01.ccia.local> Is there a way to configure service dependencies to cater for redundancies ? Service_A depends on (Service_B OR Service_C) Or does it only do Service_A depends on (Service_B AND Service_C) Thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Jul 10 03:44:27 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 9 Jul 2007 18:44:27 -0700 Subject: check_ipsec & check_pptp Message-ID: <2b7af7c40707091844u59114611l7972f7cc512b85cf@mail.gmail.com> I've googled for both check_ipsec and check_pptp, but have found nothing Anyone know of any good ways to check VPN connections with Nagios? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Jul 10 04:02:02 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 9 Jul 2007 19:02:02 -0700 Subject: Reverse checks possible? In-Reply-To: <20070710001700.GE6266@pmorris.usa.hp.com> References: <2b7af7c40707091614y29aada81gd0ffe25c14101e5a@mail.gmail.com> <20070710001700.GE6266@pmorris.usa.hp.com> Message-ID: <2b7af7c40707091902r533e30a7q4a789a47e5628a95@mail.gmail.com> On 7/9/07, Patrick Morris wrote: > > Sure. See the "negate" plugin. Thanks! For whatever reason, I'm not getting what I'm expecting. Oddly, I get the same OK result, regardless of whether or not I use the negate command. e.g. [root at term-server plugins]# ./check_http -H www.google.com HTTP OK HTTP/1.0 200 OK - 6045 bytes in 0.101 seconds |time=0.101285s;;;0.000000 size=6045B;;;0 [root at term-server plugins]# and [root at term-server plugins]# ./negate "/usr/lib/nagios/plugins/check_http -H www.google.com" HTTP OK HTTP/1.0 200 OK - 6043 bytes in 0.616 seconds |time=0.615904s;;;0.000000 size=6043B;;;0 Not sure what exactly I'm doing wrong.... ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Tue Jul 10 04:19:08 2007 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 9 Jul 2007 21:19:08 -0500 (CDT) Subject: Reverse checks possible? In-Reply-To: <2b7af7c40707091902r533e30a7q4a789a47e5628a95@mail.gmail.com> References: <2b7af7c40707091614y29aada81gd0ffe25c14101e5a@mail.gmail.com> <20070710001700.GE6266@pmorris.usa.hp.com> <2b7af7c40707091902r533e30a7q4a789a47e5628a95@mail.gmail.com> Message-ID: On Mon, 9 Jul 2007, Rogelio Bastardo wrote: > On 7/9/07, Patrick Morris wrote: >> >> Sure. See the "negate" plugin. > > > Thanks! > > For whatever reason, I'm not getting what I'm expecting. > > Oddly, I get the same OK result, regardless of whether or not I use the > negate command. > > e.g. > > [root at term-server plugins]# ./check_http -H www.google.com > HTTP OK HTTP/1.0 200 OK - 6045 bytes in 0.101 seconds > |time=0.101285s;;;0.000000 > size=6045B;;;0 > [root at term-server plugins]# > > and > > [root at term-server plugins]# ./negate "/usr/lib/nagios/plugins/check_http -H > www.google.com" > HTTP OK HTTP/1.0 200 OK - 6043 bytes in 0.616 seconds > |time=0.615904s;;;0.000000 > size=6043B;;;0 > > > Not sure what exactly I'm doing wrong.... > Look at the return code. # echo $? -D ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From he_anton at yahoo.com Tue Jul 10 06:30:40 2007 From: he_anton at yahoo.com (hendro budianto) Date: Mon, 9 Jul 2007 21:30:40 -0700 (PDT) Subject: nagios pop up feature? Message-ID: <461188.62113.qm@web52009.mail.re2.yahoo.com> Dear all nagios master, There's any feature at nagios that if the host/services down, then the nagios server will pop up an notification to user (windows XP) that using at IE / Firefox browser ? Best regards Hendro B ____________________________________________________________________________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hausen at punkt.de Tue Jul 10 09:00:02 2007 From: hausen at punkt.de (Patrick M. Hausen) Date: Tue, 10 Jul 2007 09:00:02 +0200 Subject: check_ipsec & check_pptp In-Reply-To: <2b7af7c40707091844u59114611l7972f7cc512b85cf@mail.gmail.com> References: <2b7af7c40707091844u59114611l7972f7cc512b85cf@mail.gmail.com> Message-ID: <20070710070002.GA61066@hugo10.ka.punkt.de> Hi! On Mon, Jul 09, 2007 at 06:44:27PM -0700, Rogelio Bastardo wrote: > I've googled for both check_ipsec and check_pptp, but have found nothing > Anyone know of any good ways to check VPN connections with Nagios? Ping? If you can reach the remote end, the tunnel can be assumed to be up. HTH, Patrick -- punkt.de GmbH * Vorholzstr. 25 * 76137 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info at punkt.de http://www.punkt.de Gf: J?rgen Egeling AG Mannheim 108285 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Jul 10 09:03:10 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Tue, 10 Jul 2007 00:03:10 -0700 Subject: check_ipsec & check_pptp In-Reply-To: <20070710070002.GA61066@hugo10.ka.punkt.de> References: <2b7af7c40707091844u59114611l7972f7cc512b85cf@mail.gmail.com> <20070710070002.GA61066@hugo10.ka.punkt.de> Message-ID: <46932F2E.2050607@gmail.com> > Ping? If you can reach the remote end, the tunnel can be assumed > to be up. Inside the tunnel, I can do that. But I'm thinking of a scenario where I might set up a VPN (e.g. PIX, Check Point, etc) and then continually check it every hour or so with a test user. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Jul 10 09:05:16 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Tue, 10 Jul 2007 00:05:16 -0700 Subject: Monitoring Postfix In-Reply-To: <42214.10.2.22.171.1184026551.squirrel@riomail> References: <2960.10.2.22.17.1184011852.squirrel@riomail> <4692AFC8.20809@telcotec.se> <42214.10.2.22.171.1184026551.squirrel@riomail> Message-ID: <46932FAC.30105@gmail.com> >> We use check_mailq from the standard nagios-plugins package. I've used check_mailq also (with great success). That assumes, of course, that this plugin is running *on* the Postfix server in question. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Jul 10 11:36:04 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Tue, 10 Jul 2007 02:36:04 -0700 Subject: using Nagios to detect rogue DHCP servers? Message-ID: <46935304.1060601@gmail.com> Has anyone used Nagios to detect rogue DHCP severs? I've got a complicated campus environment where people do things such as plug in Linksys routers (the wrong way) and hand out DHCP addresses. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Jul 10 11:45:53 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 10 Jul 2007 10:45:53 +0100 Subject: using Nagios to detect rogue DHCP servers? In-Reply-To: <46935304.1060601@gmail.com> References: <46935304.1060601@gmail.com> Message-ID: <46935551.70601@googlemail.com> yes I've done this, by writing a bash script to wrap the check_dhcp plugin and change the status code and output if more than the right number of dhcp servers responded (also, you make sure the dhcp server that responded is the right one using the check_dhcp plugin option.) -h Hari Sekhon Rogelio Bastardo wrote: > Has anyone used Nagios to detect rogue DHCP severs? > > I've got a complicated campus environment where people do things such as > plug in Linksys routers (the wrong way) and hand out DHCP addresses. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmenard at servprise.com Tue Jul 10 13:35:10 2007 From: kmenard at servprise.com (Kevin Menard) Date: Tue, 10 Jul 2007 07:35:10 -0400 Subject: [RFC] WebReboot Plugin Message-ID: <384329B8D7108B45A3064FB38FCF267B0E18BD@aristotle.servprise.office> Hi, Please allow me to apologize in advance for the semi-commercial nature of this message. As many of you surely know, Nagios lists partnering products on its Web site. I happen to work for Servprise, which makes the WebReboot line of products listed there. I am currently leading up a development effort to provide Nagios integration with both the small business and enterprise product line. While I have an idea of what we'd like to see, I'd like to see what others in the community may be interested in. Right now, we have the following planned: - Ability to check host power status (up and down) - Ability to detect reboot cycles via flap detection - Ability to check host temperature (enterprise only, since this will be done through our product and not the BIOS) Corrective actions for any of the above, as well as any of the standard service/host failures: - Turn host on - Turn host off - Reboot host If anyone can think of anything else they would like to see, please let me know. This will be a work in progress, but we should have a development status page up on http://dev.servprise.com/ soon. The developer blog there will keep people up to date. The enterprise plugin will either be GPL'd or ASL'd/BSD'd and likely implemented in Python. The small business one presents some technical problems due to its command structure, but we'll work something out. We do have a Java API for it, but that doesn't look like it fits in with the Nagios model terribly well. Anyway, any comments would be much appreciated. Thanks, Kevin Kevin Menard Servprise International, Inc. 800.832.3823 x308 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From powo+lists.nagios-users at powo.priv.at Tue Jul 10 14:11:41 2007 From: powo+lists.nagios-users at powo.priv.at (Wolfgang Powisch) Date: Tue, 10 Jul 2007 14:11:41 +0200 Subject: Nagios 2.9+ndoutils1.4b3 SEGFAULTs when scheduling Downtime Message-ID: <4693777D.5040902@powo.priv.at> I am running Nagios 2.9 with ndoutils 1.4b3 an experiencing reproducable problems when scheduling downtimes. After scheduling a HOSt downtime either from CGI of echo-to-nagios.cmd everything is ok. But after, if I either: - restart nagios - or submit a further host-downtime Nagios crashes with a SEGFAULT. The only workaround to get nagios running again, is to delete the lines from downtime.dat (which have been added correctly). The worst thin on my problem is, that this behaviour can be reproduced every time on the production system, but I've not been able to reproduce it on a test-system with exactly the same versions. Since it's not possible to do very excessive debugging on the production system, the following gdb-trace is all I have: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208759520 (LWP 31380)] 0x004c2963 in strlen () from /lib/tls/libc.so.6 (gdb) (gdb) bt #0 0x004c2963 in strlen () from /lib/tls/libc.so.6 #1 0x00f5f8e5 in ndo_escape_buffer () from /usr/lib/nagios/ndoutils/ndomod.o #2 0x00f59505 in ndomod_broker_data () from /usr/lib/nagios/ndoutils/ndomod.o #3 0x0805660a in neb_make_callbacks () #4 0x08055f0b in broker_timed_event () #5 0x0806581b in add_event () #6 0x0806590a in schedule_new_event () #7 0x080978f1 in register_downtime () #8 0x08097cf6 in schedule_downtime () #9 0x08062ca2 in cmd_schedule_downtime () #10 0x08063efb in check_for_external_commands () #11 0x08066f7e in event_execution_loop () #12 0x0805477b in main () any suggestions ? thx in advance, Wolfgang Powisch ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Tue Jul 10 14:26:42 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 10 Jul 2007 08:26:42 -0400 Subject: using Nagios to detect rogue DHCP servers? In-Reply-To: <46935551.70601@googlemail.com> References: <46935304.1060601@gmail.com> <46935551.70601@googlemail.com> Message-ID: <1184070402.44231.51.camel@soundwave.pitbpa0.priv.collaborativefusion.com> Going out and DHCREQUEST'ing and validating may be intermittent in accuracy; you'd be best off with a SPAN port, tcpdump watching all DHCP Client and DHCP Server traffic. DHC-Offers should match a source MAC address(es) you certify. Otherwise, ask your switching fabric to shutdown the port matching the CAM table entry with the rouge MAC address. ~BAS On Tue, 2007-07-10 at 10:45 +0100, Hari Sekhon wrote: > yes I've done this, by writing a bash script to wrap the check_dhcp > plugin and change the status code and output if more than the right > number of dhcp servers responded (also, you make sure the dhcp server > that responded is the right one using the check_dhcp plugin option.) > > -h > > Hari Sekhon > > > > Rogelio Bastardo wrote: > > Has anyone used Nagios to detect rogue DHCP severs? > > > > I've got a complicated campus environment where people do things such as > > plug in Linksys routers (the wrong way) and hand out DHCP addresses. > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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 DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Tue Jul 10 14:32:44 2007 From: palleje at gmail.com (Palle Jensen) Date: Tue, 10 Jul 2007 14:32:44 +0200 (CEST) Subject: nagios pop up feature? In-Reply-To: <461188.62113.qm@web52009.mail.re2.yahoo.com> References: <461188.62113.qm@web52009.mail.re2.yahoo.com> Message-ID: <20070710123244.DF2BB4F4045@desire.netways.de> Hendro, Are you looking for somtething like this? Windows XP - Nagios Tray http://mattwork.potsdam.edu/software/nagiostray.zip Firefox - Nagios Checker https://addons.mozilla.org/en-US/firefox/addons/versions/3607 - Palle ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=2651 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Tue Jul 10 14:38:24 2007 From: palleje at gmail.com (Palle Jensen) Date: Tue, 10 Jul 2007 08:38:24 -0400 Subject: Nagios Graph Issue In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C62391F81@mail2.sd.defenseweb.net> References: <6F11F0B85CE3C841A4C78C8F364C1C62391F81@mail2.sd.defenseweb.net> Message-ID: <002d01c7c2ef$36b2ac80$bdac38a6@na.dsmain.com> Jeff, The ncfg files for linux graphs does not work with Windows (except for PING), you have to create/modify your windows ncfg file. Run the command (plugin) in a terminal window , and the value you get after the | will be the value you need to pickup in the ncfg file. graph_perf_regex = "expression goes here" Service name is important too, it has to match the service name in the defined service. There is a lot of reading to do on expression, unfortunately I don't have any ncfg files for the CPU Load, and it is a lot of work to create them. After a lot of work and also help from here, I got this to work for disk space: #The out put looked like this: | 'c:\ Used Space'=2.44Gb;3.55;3.75;0.00;3.95 #And the ncfg file: define ngraph { graph_legend Used Space graph_perf_regex Used Space=([0-9]*\.[0-9]*) graph_value DiskUsed hide yes rrd_color 00a000 rrd_plottype AREA service_name Disk-C } Hope this helps. - Palle -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff Shumard - DefenseWeb Technologies Sent: Friday, July 06, 2007 1:15 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Graph Issue I have installed and configured Nagios Graph and so far have graphs being generated for Load on our Linux hosts with out problems. When I try and configure the graphs for our Windows Hosts for CPU Usage I keep getting the following error. No blocks for 'CPU LOAD' found. Here is what I have configured for the Nagios Graph which I thought would work but doesn't. service_name CPU LOAD I am not sure why this is not working. If anyone knows what the problem would be then please respond. Thank you in advance for your help. Thank you, Jeff -------------------------------------------- Jeff Shumard UNIX Administrator DefenseWeb Technologies, Inc. 4150 Mission Blvd., Suite 220 San Diego, CA 92109 Office: 858-272-8505 x5897 Mobile: 619-997-5560 Fax: 858-228-3667 Email: jeff.shumard at defenseweb.com WWW: www.defenseweb.com ---------------------------------- NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. To contact our email administrator directly, send to postmaster at defenseweb.com. ---------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajcooper80 at googlemail.com Tue Jul 10 14:41:23 2007 From: ajcooper80 at googlemail.com (Alan Cooper) Date: Tue, 10 Jul 2007 13:41:23 +0100 Subject: nagios pop up feature? In-Reply-To: <20070710123244.DF2BB4F4045@desire.netways.de> References: <461188.62113.qm@web52009.mail.re2.yahoo.com> <20070710123244.DF2BB4F4045@desire.netways.de> Message-ID: <46937E73.2050601@googlemail.com> Palle Jensen wrote: > Hendro, > > Are you looking for somtething like this? > > Windows XP - Nagios Tray > http://mattwork.potsdam.edu/software/nagiostray.zip > Is there anyway to get this to ignore downtimed hosts? -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Any offers or quotation of service are subject to formal specification. Errors and omissions excepted. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Lumison, nplusone or lightershade ltd. Finally, the recipient should check this email and any attachments for the presence of viruses. Lumison, nplusone and lightershade ltd accepts no liability for any damage caused by any virus transmitted by this email. -- -- Virus scanned by Lumison. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Jul 10 15:39:40 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 10 Jul 2007 14:39:40 +0100 Subject: using Nagios to detect rogue DHCP servers? In-Reply-To: <1184070402.44231.51.camel@soundwave.pitbpa0.priv.collaborativefusion.com> References: <46935304.1060601@gmail.com> <46935551.70601@googlemail.com> <1184070402.44231.51.camel@soundwave.pitbpa0.priv.collaborativefusion.com> Message-ID: <46938C1C.2050308@googlemail.com> > > Going out and DHCREQUEST'ing and validating may be intermittent in > accuracy; can you explain why this would be intermittent in accuracy? If there is another dhcp server present on the subnet, you will get an offer from it as well, I have used this quite a lot and caught a colleague of mine who installed vmware. > you'd be best off with a SPAN port, tcpdump watching all DHCP > Client and DHCP Server traffic. > requires a whole new plugin written from scratch, I haven't seen a tcpdump like plugin. Therefore much more difficult and more time required, as well as more computationally intensive to watch all traffic for another dhcpoffer, when actually you'll get the same result. -h ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rmarin at nle.fr Tue Jul 10 16:02:11 2007 From: rmarin at nle.fr (=?ISO-8859-1?Q?R=E9mi_MARIN?=) Date: Tue, 10 Jul 2007 16:02:11 +0200 Subject: =?iso-8859-1?q?R=E9mi_MARIN_est_absent=28e=29=2E?= Message-ID: Je serai absent(e) ? partir du 08/07/2007 de retour le 18/07/2007. Je r?pondrai ? votre message d?s mon retour. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.frost1 at pepsi.com Tue Jul 10 17:50:19 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 10 Jul 2007 11:50:19 -0400 Subject: Problem with NSClient++/check_nt and checking all automatic services Message-ID: <7F477BD26F545A4C8E4779754A38EFB301E67621@PEPWMV00043.corp.pep.pvt> I'm in the process of switching from NRPE_NT to NSClient++ to monitor Windows hosts. The last check I'm trying to convert is the ability to monitor all automatic Windows services and notify if any of those are not running. On the Nagios server side I'm using version 1.4.9 of check_nt. If I run the following command: check_nt -H -v SERVICESTATE -p 12489 -s -l CheckAll I get a lot of services listed. All of them are shown as stopped and check_nt returns an error indicating that it thinks there's something wrong. When I check the status on those services (the ones I can easily identify by short name) I see that they're all stopped because they're disabled. According to the Wiki entry for CheckAll as a SERVICESTATE option, it is supposed to Check to see that all services set to auto-start are started and all set to disabled are not started. I actually don't care about disabled services being stopped, but according to this description, NSClient++ should notice it. However, it looks like it's not correctly noticing that these service are stopped because they're disabled. I'm thinking that the only way I might be able to do this would be to enumerate all Windows services that should be automatic (making for one huge command line). Besides being a big pain, this would mean that I'd miss any new services. Am I doing something wrong? Thanks Mark ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Tue Jul 10 17:51:41 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Tue, 10 Jul 2007 08:51:41 -0700 Subject: Nagios Graph Issue In-Reply-To: <002d01c7c2ef$36b2ac80$bdac38a6@na.dsmain.com> References: <6F11F0B85CE3C841A4C78C8F364C1C62391F81@mail2.sd.defenseweb.net> <002d01c7c2ef$36b2ac80$bdac38a6@na.dsmain.com> Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C6242BCEF@mail2.sd.defenseweb.net> Thanks for your help. I figured out what I was doing wrong and fixed it already. Thank you, Jeff -----Original Message----- From: Palle Jensen [mailto:palleje at gmail.com] Sent: Tuesday, July 10, 2007 5:38 AM To: Jeff Shumard - DefenseWeb Technologies; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Graph Issue Jeff, The ncfg files for linux graphs does not work with Windows (except for PING), you have to create/modify your windows ncfg file. Run the command (plugin) in a terminal window , and the value you get after the | will be the value you need to pickup in the ncfg file. graph_perf_regex = "expression goes here" Service name is important too, it has to match the service name in the defined service. There is a lot of reading to do on expression, unfortunately I don't have any ncfg files for the CPU Load, and it is a lot of work to create them. After a lot of work and also help from here, I got this to work for disk space: #The out put looked like this: | 'c:\ Used Space'=2.44Gb;3.55;3.75;0.00;3.95 #And the ncfg file: define ngraph { graph_legend Used Space graph_perf_regex Used Space=([0-9]*\.[0-9]*) graph_value DiskUsed hide yes rrd_color 00a000 rrd_plottype AREA service_name Disk-C } Hope this helps. - Palle -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff Shumard - DefenseWeb Technologies Sent: Friday, July 06, 2007 1:15 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Graph Issue I have installed and configured Nagios Graph and so far have graphs being generated for Load on our Linux hosts with out problems. When I try and configure the graphs for our Windows Hosts for CPU Usage I keep getting the following error. No blocks for 'CPU LOAD' found. Here is what I have configured for the Nagios Graph which I thought would work but doesn't. service_name CPU LOAD I am not sure why this is not working. If anyone knows what the problem would be then please respond. Thank you in advance for your help. Thank you, Jeff -------------------------------------------- Jeff Shumard UNIX Administrator DefenseWeb Technologies, Inc. 4150 Mission Blvd., Suite 220 San Diego, CA 92109 Office: 858-272-8505 x5897 Mobile: 619-997-5560 Fax: 858-228-3667 Email: jeff.shumard at defenseweb.com WWW: www.defenseweb.com ---------------------------------- NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. To contact our email administrator directly, send to postmaster at defenseweb.com. ---------------------------------- ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Tue Jul 10 18:05:25 2007 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 10 Jul 2007 08:05:25 -0800 Subject: Reverse checks possible? In-Reply-To: References: <2b7af7c40707091614y29aada81gd0ffe25c14101e5a@mail.gmail.com> <20070710001700.GE6266@pmorris.usa.hp.com> <2b7af7c40707091902r533e30a7q4a789a47e5628a95@mail.gmail.com> Message-ID: <2D44F8D3-69ED-4A53-93BD-20DF5A7E5C0B@frontierflying.com> On Jul 9, 2007, at 6:19 PM, Demetri Mouratis wrote: > On Mon, 9 Jul 2007, Rogelio Bastardo wrote: > >> On 7/9/07, Patrick Morris wrote: >>> >>> Sure. See the "negate" plugin. >> >> >> Thanks! >> >> For whatever reason, I'm not getting what I'm expecting. >> >> Oddly, I get the same OK result, regardless of whether or not I >> use the >> negate command. >> >> e.g. >> >> [root at term-server plugins]# ./check_http -H www.google.com >> HTTP OK HTTP/1.0 200 OK - 6045 bytes in 0.101 seconds >> |time=0.101285s;;;0.000000 >> size=6045B;;;0 >> [root at term-server plugins]# >> >> and >> >> [root at term-server plugins]# ./negate "/usr/lib/nagios/plugins/ >> check_http -H >> www.google.com" >> HTTP OK HTTP/1.0 200 OK - 6043 bytes in 0.616 seconds >> |time=0.615904s;;;0.000000 >> size=6043B;;;0 >> >> >> Not sure what exactly I'm doing wrong.... >> > > > Look at the return code. > > # echo $? > > -D > Exactly- the negate plugin flips the return code, which is what nagios actually uses to determine the unknown/critical/ok/warning state of a host/service, not the returned status text. The reason for this is that it would be rather difficult, if not impossible, to negate the text itself- what is the opposite of "A"? While the status text may seem to be one of a set number of options (UNKNOWN, OK, WARNING, CRITICAL) in reality it is just a bunch of text that is whatever the author of the plugin wanted it to be, and therefore has no real "negative" ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Jul 10 20:12:14 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Tue, 10 Jul 2007 11:12:14 -0700 Subject: using Nagios to detect rogue DHCP servers? In-Reply-To: <46938C1C.2050308@googlemail.com> References: <46935304.1060601@gmail.com> <46935551.70601@googlemail.com> <1184070402.44231.51.camel@soundwave.pitbpa0.priv.collaborativefusion.com> <46938C1C.2050308@googlemail.com> Message-ID: <2b7af7c40707101112g42a0c6f2n4c0122f057d6488e@mail.gmail.com> > > > requires a whole new plugin written from scratch, I haven't seen a > tcpdump like plugin. Therefore much more difficult and more time > required, as well as more computationally intensive to watch all traffic > for another dhcpoffer, when actually you'll get the same result. What about writing a custom plugin that uses this GPL prog to return the warning/critical/ok/pending values? https://roguedetect.bountysource.com/ >From the website: Rogue Detect sends DHCPDISCOVER packets to the network and listens for DHCPservers to respond and checks responses against authorized dhcp servers. It???s written in Perl. By default it supports sending reports to syslog, email, standard out or a customer script of your chosing. Each reporting method has it???s own independent reporting level. Their wiki is here: https://roguedetect.bountysource.com/wiki notes at the bottom of the wiki: "Sending a DHCPDISCOVER packet causes any DHCPSERVERS listning to allocate an IP address for a few seconds, while they wait for the detector to ACKtheir offer. Since we never do send an ACK, the IP is not allocated to us. Hence, it should be ok to run this on the network.. but do so at your OWN RISK!! This package is nice in that you do not have to have a clear view of the network to run it (ie, it works behind a switch). You DO have to be within broadcast range, which usually means on the same subnet as the DHCP server. In some cases scaning port 68 (67?) on every machine may be the better answer to finding dhcp servers, but with this program, as apposed to a passive one like snort, you do not have to be able to see traffic not destined for you." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Tue Jul 10 20:17:57 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Tue, 10 Jul 2007 11:17:57 -0700 Subject: NagiosGraph Linux Load Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C6242BD62@mail2.sd.defenseweb.net> Does anyone else have the same problem that I am seeing with the graphs for Linux Load? The graph area is not matching what the totals are getting from the server or from the values I am printing out of the bottom of the graph. The graph is showing much higher values and the average is also showing higher on the graph. I am using STACK to show all the values of 15min, 5min, and 1min on the same graph. Does anyone know how to resolve this as well? Thank you, Jeff ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Jul 10 20:38:20 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 10 Jul 2007 11:38:20 -0700 Subject: NagiosGraph Linux Load In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C6242BD62@mail2.sd.defenseweb.net> References: <6F11F0B85CE3C841A4C78C8F364C1C6242BD62@mail2.sd.defenseweb.net> Message-ID: <20070710183820.GA25063@pmorris.usa.hp.com> On Tue, 10 Jul 2007, Jeff Shumard - DefenseWeb Technologies wrote: > Does anyone else have the same problem that I am seeing with the graphs > for Linux Load? The graph area is not matching what the totals are > getting from the server or from the values I am printing out of the > bottom of the graph. The graph is showing much higher values and the > average is also showing higher on the graph. I am using STACK to show > all the values of 15min, 5min, and 1min on the same graph. Does anyone > know how to resolve this as well? I can't say I'm seeing that here. Mine just plots the data I'm feeding to it. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chactuchac10 at yahoo.com.ar Tue Jul 10 21:15:01 2007 From: chactuchac10 at yahoo.com.ar (Guille) Date: Tue, 10 Jul 2007 16:15:01 -0300 (ART) Subject: Can't locate utils.pm Message-ID: <573032.96130.qm@web56710.mail.re3.yahoo.com> Hello ev1, everytime when i untar a plugin and i want to check it, i receive the error : Can't locate utils.pm in @INC (@INC contains: /usr/lib/nagios/libexec /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi But the file (utils.pm) is in /usr/lib/nagios/libexec and others plugin what needs it are working properly now, but the notify_sms still with troubles when i execute it. Any tips would be great! Regards! Ps: the API id of the sms is the number of the cell what is going to receive the message or the gateway could be a name ? Thanks in advance!. __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giorgio at zarrelli.org Tue Jul 10 21:32:15 2007 From: giorgio at zarrelli.org (Giorgio Zarrelli) Date: Tue, 10 Jul 2007 21:32:15 +0200 Subject: Can't locate utils.pm In-Reply-To: <573032.96130.qm@web56710.mail.re3.yahoo.com> References: <573032.96130.qm@web56710.mail.re3.yahoo.com> Message-ID: <20070710.JkL.41653500@www.zarrelli.org> Hi, just launch it from inside the nagios plugins directory and it will work. Giorgio Guille (chactuchac10 at yahoo.com.ar) scritto: > > Hello ev1, everytime when i untar a plugin and i want to check it, i receive the error : > > Can't locate utils.pm in @INC (@INC contains: /usr/lib/nagios/libexec > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > > But the file (utils.pm) is in /usr/lib/nagios/libexec and others plugin what needs it > are > working properly now, but the notify_sms still with troubles when i execute it. > > Any tips would be great! > > Regards! > > Ps: the API id of the sms is the number of the cell what is going to receive the message > or the gateway could be a name ? > > Thanks in advance!. > > > > > > > > > __________________________________________________ > Pregunt?. Respond?. Descubr?. > Todo lo que quer?as saber, y lo que ni imaginabas, > est? en Yahoo! Respuestas (Beta). > ?Probalo ya! > http://www.yahoo.com.ar/respuestas > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Jul 10 21:53:57 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Tue, 10 Jul 2007 12:53:57 -0700 Subject: domain hijacking: using Nagios to monitor 100s (possibly 1000s) of domains / hosts Message-ID: <2b7af7c40707101253n74f5a660g984fdb6c31642107@mail.gmail.com> I've got several hundred important domains that need to be checked for domain hijacking. I'm assuming that this is as easy as "check_dns -H domain.com -s (nameserver) -A (expected IP)" How well will method scale to several thousand? Someone I know recently said that he has to worry about close to 300,000 domains getting possibly hijacked. Is this beyond Nagios at this point? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Tue Jul 10 21:58:43 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 10 Jul 2007 15:58:43 -0400 (EDT) Subject: using Nagios to detect rogue DHCP servers? In-Reply-To: <2b7af7c40707101112g42a0c6f2n4c0122f057d6488e@mail.gmail.com> References: <46935304.1060601@gmail.com> <46935551.70601@googlemail.com> <1184070402.44231.51.camel@soundwave.pitbpa0.priv.collaborativefusion.com> <46938C1C.2050308@googlemail.com> <2b7af7c40707101112g42a0c6f2n4c0122f057d6488e@mail.gmail.com> Message-ID: <20070710154556.B74131@arbitor.digitalfreaks.org> > What about writing a custom plugin that uses this GPL prog to return the > warning/critical/ok/pending values? That sounds very reasonable; there's always the possibility that you won't see, within your run time threshold, offers from a rouge server due to race conditions or other crud (slow networks, etc.). Of course, then you have a lot of proactive bogus DHCP Client activity coming from your Nagios system. The best solution of course, but not always the most feasible, is a SPAN port in your core: Simply: $ sudo tcpdump -n -e -vvv 'src port bootps && !ether src 0:50:da:28:37:62' Replace the MAC with your know DHCP server. Matches are rouge. If you see them, get out the jumper cables. ~BAS ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Tue Jul 10 21:52:59 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Tue, 10 Jul 2007 12:52:59 -0700 Subject: NagiosGrapher Linux Load In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C6242BD62@mail2.sd.defenseweb.net> References: <6F11F0B85CE3C841A4C78C8F364C1C6242BD62@mail2.sd.defenseweb.net> Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C6242BD93@mail2.sd.defenseweb.net> Does anyone else have the same problem that I am seeing with the graphs, on Linux Load? The graph area is not matching what the totals are getting from the server or from the values I am printing out of the bottom of the graph. The graph is showing much higher values and the average is also showing higher on the graph. I am using STACK to show all the values of 15min, 5min, and 1min on the same graph. Does anyone know how to resolve this as well? Thank you, Jeff ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From addw at phcomp.co.uk Tue Jul 10 22:22:02 2007 From: addw at phcomp.co.uk (Alain Williams) Date: Tue, 10 Jul 2007 21:22:02 +0100 Subject: domain hijacking: using Nagios to monitor 100s (possibly 1000s) of domains / hosts In-Reply-To: <2b7af7c40707101253n74f5a660g984fdb6c31642107@mail.gmail.com> References: <2b7af7c40707101253n74f5a660g984fdb6c31642107@mail.gmail.com> Message-ID: <20070710202202.GF14386@mint.phcomp.co.uk> On Tue, Jul 10, 2007 at 12:53:57PM -0700, Rogelio Bastardo wrote: > I've got several hundred important domains that need to be checked for > domain hijacking. I'm assuming that this is as easy as "check_dns -H > domain.com -s (nameserver) -A (expected IP)" > How well will method scale to several thousand? > > Someone I know recently said that he has to worry about close to 300,000 > domains getting possibly hijacked. Is this beyond Nagios at this point? Is nagios the right sort of tool for this ? Would you not be better writing a perl script to do this ? -- Alain Williams Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php #include ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 10 23:22:14 2007 From: marc at ena.com (Marc Powell) Date: Tue, 10 Jul 2007 16:22:14 -0500 Subject: domain hijacking: using Nagios to monitor 100s(possibly 1000s) of domains / hosts In-Reply-To: <2b7af7c40707101253n74f5a660g984fdb6c31642107@mail.gmail.com> References: <2b7af7c40707101253n74f5a660g984fdb6c31642107@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rogelio Bastardo > Sent: Tuesday, July 10, 2007 2:54 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] domain hijacking: using Nagios to monitor > 100s(possibly 1000s) of domains / hosts > > I've got several hundred important domains that need to be checked for > domain hijacking. I'm assuming that this is as easy as "check_dns -H > domain.com -s (nameserver) -A (expected IP)" > > How well will method scale to several thousand? I don't see why it would be a problem. What nameserver are you going to be testing? -A indicates that you'll be checking the nameserver hosting the domain. That won't tell you if your domain has been hijacked though. The DNS server hosting the domain will always answer that it is authoritative, no matter if the rest of the Internet thinks it is or not. Any other nameserver you test will fail since you're requiring Authority. If you're going to test a recursive nameserver, use -a instead. Presumably you're more interested in the nameservers that the rest of the world thinks are authoritative. You'd probably want to use check_dig against a recursive nameserver (or the root servers) to verify that the NS records they're reporting are accurate. Something like check_dig -T ns -H recursiveserver.yourdomain.foo -l yourdomain.foo -a nameserver.yourdomain.foo You should, of course, perform any research necessary to determine if the above tests against the nameservers (particularly the root nameservers) are prohibited before implementing it. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven_haigh at pacific.net.au Wed Jul 11 03:56:22 2007 From: steven_haigh at pacific.net.au (Steven Haigh) Date: Wed, 11 Jul 2007 11:56:22 +1000 Subject: using Nagios to detect rogue DHCP servers? Message-ID: <1BAD86FA20172C449C56A8E5D51977AB05DAEB85@pimel-mx1.ozpacnet.office.pacific.net.au> Indeed. Looking at the source of dhcpdetector.pl (https://svn.bountysource.com/roguedetect/trunk/dhcpdetector.pl) it shouldn't be too hard to modify it into a nagios plugin (trivial even). The relevant code block: sub send_log { my $severity = shift @_; my $message = shift @_; if (!$message) { $message = 'ERROR: No Message Recieved, logging failure'; } # If the above conditions are met and # the send_msg is set then go ahead and # log it using the specified log mojo if ($syslog_level >= $severity) { syslog('LOG_INFO',$message); } if ($email_level >= $severity) { send_mail($alert_email,"[RogueDetect] Log Report",$message); } if ($page_level >= $severity) { send_mail($page_email,"RogueDetect Failure!",$message); } if ($print_level >= $severity) { print $message . "\n"; } Should be fairly easy to hook into this, print the correct message and set an exit code from here.... ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rogelio Bastardo Sent: Wednesday, 11 July 2007 4:12 AM To: Hari Sekhon Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] using Nagios to detect rogue DHCP servers? requires a whole new plugin written from scratch, I haven't seen a tcpdump like plugin. Therefore much more difficult and more time required, as well as more computationally intensive to watch all traffic for another dhcpoffer, when actually you'll get the same result. What about writing a custom plugin that uses this GPL prog to return the warning/critical/ok/pending values? https://roguedetect.bountysource.com/ From the website: Rogue Detect sends DHCPDISCOVER packets to the network and listens for DHCP servers to respond and checks responses against authorized dhcp servers. It???s written in Perl. By default it supports sending reports to syslog, email, standard out or a customer script of your chosing. Each reporting method has it???s own independent reporting level. Their wiki is here: https://roguedetect.bountysource.com/wiki notes at the bottom of the wiki: "Sending a DHCPDISCOVER packet causes any DHCPSERVERS listning to allocate an IP address for a few seconds, while they wait for the detector to ACK their offer. Since we never do send an ACK, the IP is not allocated to us. Hence, it should be ok to run this on the network.. but do so at your OWN RISK!! This package is nice in that you do not have to have a clear view of the network to run it (ie, it works behind a switch). You DO have to be within broadcast range, which usually means on the same subnet as the DHCP server. In some cases scaning port 68 (67?) on every machine may be the better answer to finding dhcp servers, but with this program, as apposed to a passive one like snort, you do not have to be able to see traffic not destined for you." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 11 12:08:23 2007 From: moshesharon at gmail.com (moshe sharon) Date: Wed, 11 Jul 2007 12:08:23 +0200 Subject: nagios pop up feature? In-Reply-To: <46937E73.2050601@googlemail.com> References: <461188.62113.qm@web52009.mail.re2.yahoo.com> <20070710123244.DF2BB4F4045@desire.netways.de> <46937E73.2050601@googlemail.com> Message-ID: <88ad29240707110308l21bb32d2wcac8c3228378557d@mail.gmail.com> Hello its is also possbile to do this with notifications and smblcient -M ( which sends win pop up messages across windows network) you only need to set appropriate hosts file Moshe Sharon www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 11 12:19:07 2007 From: moshesharon at gmail.com (moshe sharon) Date: Wed, 11 Jul 2007 12:19:07 +0200 Subject: check_ipsec & check_pptp In-Reply-To: <46932F2E.2050607@gmail.com> References: <2b7af7c40707091844u59114611l7972f7cc512b85cf@mail.gmail.com> <20070710070002.GA61066@hugo10.ka.punkt.de> <46932F2E.2050607@gmail.com> Message-ID: <88ad29240707110319s20d40893x386ca3391a363f45@mail.gmail.com> Hello look for *check_cisco_ping * or *check_cisco_ping_ssh * at nagiosexchange it telnet/ssh to the router and pings inside the VRF -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Jul 11 12:43:00 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 11 Jul 2007 11:43:00 +0100 Subject: using Nagios to detect rogue DHCP servers? In-Reply-To: <20070710154556.B74131@arbitor.digitalfreaks.org> References: <46935304.1060601@gmail.com> <46935551.70601@googlemail.com> <1184070402.44231.51.camel@soundwave.pitbpa0.priv.collaborativefusion.com> <46938C1C.2050308@googlemail.com> <2b7af7c40707101112g42a0c6f2n4c0122f057d6488e@mail.gmail.com> <20070710154556.B74131@arbitor.digitalfreaks.org> Message-ID: <4694B434.2090109@googlemail.com> err, that is not at all nagios or automatic or anything. I am not personally going to __manually__ check for rogue dhcp servers, don't have the time for that. I check my dhcp servers anyway, if I get an extra offer, an alarm is raised. This is automatic, has no extra overhead as I check my dhcp servers anyway as part of my monitoring. I have never seen a dhcpoffer being missed, but at the very least I run the check every 3 minutes so you're not going to get away with it here for more than that. I think the wrapper to check_dhcp is quick and effective with no overhead. The best solution would be to extend the check_dhcp plugin, get into the C and add the functionality. Maybe if it's not done in the future I will come back and do it. Until then, the wrapper does exactly what I need. -h Hari Sekhon Brian A. Seklecki wrote: >> What about writing a custom plugin that uses this GPL prog to return the >> warning/critical/ok/pending values? > > That sounds very reasonable; there's always the possibility that you > won't see, within your run time threshold, offers from a rouge server > due to race conditions or other crud (slow networks, etc.). > > Of course, then you have a lot of proactive bogus DHCP Client activity > coming from your Nagios system. > > The best solution of course, but not always the most feasible, is a > SPAN port in your core: > > Simply: > > $ sudo tcpdump -n -e -vvv 'src port bootps && !ether src > 0:50:da:28:37:62' > > Replace the MAC with your know DHCP server. Matches are rouge. If > you see them, get out the jumper cables. > > ~BAS > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Jul 11 12:45:50 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 11 Jul 2007 11:45:50 +0100 Subject: using Nagios to detect rogue DHCP servers? In-Reply-To: <2b7af7c40707101112g42a0c6f2n4c0122f057d6488e@mail.gmail.com> References: <46935304.1060601@gmail.com> <46935551.70601@googlemail.com> <1184070402.44231.51.camel@soundwave.pitbpa0.priv.collaborativefusion.com> <46938C1C.2050308@googlemail.com> <2b7af7c40707101112g42a0c6f2n4c0122f057d6488e@mail.gmail.com> Message-ID: <4694B4DE.1050607@googlemail.com> This is an interesting program and a very good idea. In relation to nagios though, the right thing to do is to extend the functionality of check_dhcp to do this, so that you do not incur extra overhead, network traffic or checks. It could do the whole thing, get your C skills out if you have the time. I personally wouldn't want to slap a second check on just for this which it can be done in one check if you are already checking your dhcp server(s). -h Hari Sekhon Rogelio Bastardo wrote: > > > requires a whole new plugin written from scratch, I haven't seen a > tcpdump like plugin. Therefore much more difficult and more time > required, as well as more computationally intensive to watch all > traffic > for another dhcpoffer, when actually you'll get the same result. > > > > What about writing a custom plugin that uses this GPL prog to return > the warning/critical/ok/pending values? > > https://roguedetect.bountysource.com/ > > From the website: > > Rogue Detect sends DHCPDISCOVER packets to the network and listens for > DHCP servers to respond and checks responses against authorized dhcp > servers. It???s written in Perl. By default it supports sending > reports to syslog, email, standard out or a customer script of your > chosing. Each reporting method has it???s own independent reporting level. > > Their wiki is here: https://roguedetect.bountysource.com/wiki > > > notes at the bottom of the wiki: > > "Sending a DHCPDISCOVER packet causes any DHCPSERVERS listning to > allocate an IP address for a few seconds, while they wait for the > detector to ACK their offer. Since we never do send an ACK, the IP is > not allocated to us. Hence, it should be ok to run this on the > network.. but do so at your OWN RISK!! > > This package is nice in that you do not have to have a clear view of > the network to run it (ie, it works behind a switch). You DO have to > be within broadcast range, which usually means on the same subnet as > the DHCP server. In some cases scaning port 68 (67?) on every machine > may be the better answer to finding dhcp servers, but with this > program, as apposed to a passive one like snort, you do not have to be > able to see traffic not destined for you." > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Jul 11 12:51:31 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 11 Jul 2007 11:51:31 +0100 Subject: nagios pop up feature? In-Reply-To: <88ad29240707110308l21bb32d2wcac8c3228378557d@mail.gmail.com> References: <461188.62113.qm@web52009.mail.re2.yahoo.com> <20070710123244.DF2BB4F4045@desire.netways.de> <46937E73.2050601@googlemail.com> <88ad29240707110308l21bb32d2wcac8c3228378557d@mail.gmail.com> Message-ID: <4694B633.8090505@googlemail.com> yes that is what I did for important services and it works. you do have to maintain the windows host list mapping for this to work. -h Hari Sekhon moshe sharon wrote: > Hello > > its is also possbile to do this with notifications and smblcient -M ( > which sends win pop up messages across windows network) you only need > to set appropriate hosts file > > Moshe Sharon > www.centerity.com > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coreym at novexsoftware.com Wed Jul 11 13:06:29 2007 From: coreym at novexsoftware.com (Corey Mosher) Date: Wed, 11 Jul 2007 08:06:29 -0300 Subject: Nagios Configuration Message-ID: <4694B9B5.8080906@novexsoftware.com> Hi there, We are currently using nagios installed on an internal server. It monitors various external servers in different locations. When our ISP connection goes down occasionally, we get a flurry of notifications (about 30 saying that systems are down and another 30 when the connection comes back up). I'm looking for a way that we can suppress those notifications and just send out one saying that the internet connection is down. Ideally I'd like to have a check for internet (perhaps by checking that it can get to google) then if it sees the internet connection go down, notify and turn off all other tests temporarily. Can anyone help me in how I might configure something like this? Thanks -- *Corey Mosher* *Novex Software Development* *tel.* +1-888-542-1813 *fax.* +1-902-542-1842 *email.* coreym at novexsoftware.com *web.* http://www.novexsoftware.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 11 14:12:30 2007 From: marc at ena.com (Marc Powell) Date: Wed, 11 Jul 2007 07:12:30 -0500 Subject: Nagios Configuration In-Reply-To: <4694B9B5.8080906@novexsoftware.com> References: <4694B9B5.8080906@novexsoftware.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Corey Mosher > Sent: Wednesday, July 11, 2007 6:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Configuration > > Hi there, > We are currently using nagios installed on an internal server. It > monitors various external servers in different locations. When our ISP > connection goes down occasionally, we get a flurry of notifications (about > 30 saying that systems are down and another 30 when the connection comes > back up). I'm looking for a way that we can suppress those notifications > and just send out one saying that the internet connection is down. > Ideally I'd like to have a check for internet (perhaps by checking that it > can get to google) then if it sees the internet connection go down, notify > and turn off all other tests temporarily. Can anyone help me in how I > might configure something like this? You'll want to add a host/service check that correctly determines if your internet access is up or down, then make that host the parent for your other hosts. To suppress notifications for hosts behind the parent when it's down, disable unreachable notifications for those hosts. See the documentation on Determining the Status and Reachability of Network Hosts. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Wed Jul 11 14:43:33 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 11 Jul 2007 14:43:33 +0200 Subject: using Nagios to detect rogue DHCP servers? In-Reply-To: <4694B434.2090109@googlemail.com> References: <46935304.1060601@gmail.com> <46935551.70601@googlemail.com> <1184070402.44231.51.camel@soundwave.pitbpa0.priv.collaborativefusion.com> <46938C1C.2050308@googlemail.com> <2b7af7c40707101112g42a0c6f2n4c0122f057d6488e@mail.gmail.com> <20070710154556.B74131@arbitor.digitalfreaks.org> <4694B434.2090109@googlemail.com> Message-ID: <4694D075.9060104@telcotec.se> Hari Sekhon wrote: > err, that is not at all nagios or automatic or anything. > > I am not personally going to __manually__ check for rogue dhcp servers, > don't have the time for that. > > I check my dhcp servers anyway, if I get an extra offer, an alarm is raised. > > This is automatic, has no extra overhead as I check my dhcp servers > anyway as part of my monitoring. > > I have never seen a dhcpoffer being missed, but at the very least I run > the check every 3 minutes so you're not going to get away with it here > for more than that. > > > I think the wrapper to check_dhcp is quick and effective with no overhead. What wrapper would that be, If one might ask? /Lars > The best solution would be to extend the check_dhcp plugin, get into the > C and add the functionality. > Maybe if it's not done in the future I will come back and do it. > > Until then, the wrapper does exactly what I need. > > -h > > Hari Sekhon > > > > Brian A. Seklecki wrote: >>> What about writing a custom plugin that uses this GPL prog to return the >>> warning/critical/ok/pending values? >> That sounds very reasonable; there's always the possibility that you >> won't see, within your run time threshold, offers from a rouge server >> due to race conditions or other crud (slow networks, etc.). >> >> Of course, then you have a lot of proactive bogus DHCP Client activity >> coming from your Nagios system. >> >> The best solution of course, but not always the most feasible, is a >> SPAN port in your core: >> >> Simply: >> >> $ sudo tcpdump -n -e -vvv 'src port bootps && !ether src >> 0:50:da:28:37:62' >> >> Replace the MAC with your know DHCP server. Matches are rouge. If >> you see them, get out the jumper cables. >> >> ~BAS >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Jul 11 14:49:29 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 11 Jul 2007 13:49:29 +0100 Subject: using Nagios to detect rogue DHCP servers? In-Reply-To: <4694D075.9060104@telcotec.se> References: <46935304.1060601@gmail.com> <46935551.70601@googlemail.com> <1184070402.44231.51.camel@soundwave.pitbpa0.priv.collaborativefusion.com> <46938C1C.2050308@googlemail.com> <2b7af7c40707101112g42a0c6f2n4c0122f057d6488e@mail.gmail.com> <20070710154556.B74131@arbitor.digitalfreaks.org> <4694B434.2090109@googlemail.com> <4694D075.9060104@telcotec.se> Message-ID: <4694D1D9.2080906@googlemail.com> a few lines of my own bash to call check_dhcp. I call my script instead of check_dhcp, it gives me the check_dhcp result but changes it if extra dhcp offers were received. It was a quick fix that has served me well. Could be better if written into check_dhcp and it doesn't take mac addresses into account, just the number of offers, but it works well enough for me. If check_dhcp isn't improved within the next few months I may have a bash at writing the functionality into it (especially the mac functionality which would be nice) if I get time (big IF there) -h Hari Sekhon Lars Stavholm wrote: > Hari Sekhon wrote: > >> err, that is not at all nagios or automatic or anything. >> >> I am not personally going to __manually__ check for rogue dhcp servers, >> don't have the time for that. >> >> I check my dhcp servers anyway, if I get an extra offer, an alarm is raised. >> >> This is automatic, has no extra overhead as I check my dhcp servers >> anyway as part of my monitoring. >> >> I have never seen a dhcpoffer being missed, but at the very least I run >> the check every 3 minutes so you're not going to get away with it here >> for more than that. >> >> >> I think the wrapper to check_dhcp is quick and effective with no overhead. >> > > What wrapper would that be, If one might ask? > /Lars > > >> The best solution would be to extend the check_dhcp plugin, get into the >> C and add the functionality. >> Maybe if it's not done in the future I will come back and do it. >> >> Until then, the wrapper does exactly what I need. >> >> -h >> >> Hari Sekhon >> >> >> >> Brian A. Seklecki wrote: >> >>>> What about writing a custom plugin that uses this GPL prog to return the >>>> warning/critical/ok/pending values? >>>> >>> That sounds very reasonable; there's always the possibility that you >>> won't see, within your run time threshold, offers from a rouge server >>> due to race conditions or other crud (slow networks, etc.). >>> >>> Of course, then you have a lot of proactive bogus DHCP Client activity >>> coming from your Nagios system. >>> >>> The best solution of course, but not always the most feasible, is a >>> SPAN port in your core: >>> >>> Simply: >>> >>> $ sudo tcpdump -n -e -vvv 'src port bootps && !ether src >>> 0:50:da:28:37:62' >>> >>> Replace the MAC with your know DHCP server. Matches are rouge. If >>> you see them, get out the jumper cables. >>> >>> ~BAS >>> >>> >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 11 15:45:05 2007 From: ktynagios at richard-group.com (Kurt Yoder) Date: Wed, 11 Jul 2007 09:45:05 -0400 Subject: NagiosGrapher Linux Load In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C6242BD93@mail2.sd.defenseweb.net> References: <6F11F0B85CE3C841A4C78C8F364C1C6242BD62@mail2.sd.defenseweb.net> <6F11F0B85CE3C841A4C78C8F364C1C6242BD93@mail2.sd.defenseweb.net> Message-ID: On Jul 10, 2007, at 3:52 PM, Jeff Shumard - DefenseWeb Technologies wrote: > Does anyone else have the same problem that I am seeing with the > graphs, > > on Linux Load? The graph area is not matching what the totals are > getting from the server or from the values I am printing out of the > bottom of the graph. The graph is showing much higher values and the > average is also showing higher on the graph. I am using STACK to show > all the values of 15min, 5min, and 1min on the same graph. Does > anyone > know how to resolve this as well? Assuming you are using the nagiosgraph by Soren Dossing, make sure the data that is getting inserted is the correct data. In nagiosgraph.conf there is a "debug" configuration. Set this to 5 and watch the log output. You may be catching the wrong data in your graph. In this case, update the regex in the "map" config file. -Kurt ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 gridshield.net Wed Jul 11 16:30:52 2007 From: marc at gridshield.net (Marc DeTrano) Date: Wed, 11 Jul 2007 08:30:52 -0600 Subject: using Nagios to detect rogue DHCP servers? Message-ID: <4694E99C.9040705@gridshield.net> The way I have done this is to run NRPE on the machine that should be the DHCP server, with this command defined: command[check_ndhcp]=/usr/lib/nagios/plugins/negate /usr/lib/nagios/plugins/check_dhcp -i eth0 Something similar may work for you if your DHCP server is on a Linux box. This just negates the normal check_dhcp command, so that if no offer is received (on the interface serving DHCP, it should not be), it returns with an OK status. If it does get an offer, a Critical is returned and I know it is time to "seek-and-destroy". Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Jul 11 16:54:01 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 11 Jul 2007 15:54:01 +0100 Subject: using Nagios to detect rogue DHCP servers? In-Reply-To: <4694E99C.9040705@gridshield.net> References: <4694E99C.9040705@gridshield.net> Message-ID: <4694EF09.40903@googlemail.com> That's a very good idea, I hadn't thought of using the interface of the dhcp server to remove the real offer from the check. The only downside is that it makes an extra check but this may be in fact what you want. The only limitation of this method is that it won't work if you have 2 dhcp servers on the network with non-overlapping pools for redundancy. I use a variable to specify the number of dhcp servers and warn if more than that number of offers are received. If the right dhcp server doesn't respond then it does critical anyway when using the -s switch so there is no opportunity for your dhcp server to fall off and another to silently take it's place by maintaining the correct number of offers. -h Hari Sekhon Marc DeTrano wrote: > The way I have done this is to run NRPE on the machine that should be > the DHCP server, with this command defined: > > command[check_ndhcp]=/usr/lib/nagios/plugins/negate > /usr/lib/nagios/plugins/check_dhcp -i eth0 > > Something similar may work for you if your DHCP server is on a Linux > box. This just negates the normal check_dhcp command, so that if no > offer is received (on the interface serving DHCP, it should not be), it > returns with an OK status. If it does get an offer, a Critical is > returned and I know it is time to "seek-and-destroy". > > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chactuchac10 at yahoo.com.ar Wed Jul 11 17:03:12 2007 From: chactuchac10 at yahoo.com.ar (Guille) Date: Wed, 11 Jul 2007 12:03:12 -0300 (ART) Subject: SMS problem Message-ID: <9770.3886.qm@web56703.mail.re3.yahoo.com> Hello again guys.. im having troubles sending notification via SMS, i have everything! a URL where im allow to send many messages. The thing i want to do is what a service is down nagios execute a perl script where the url is inside, but nagios dont do it. the comand is: define command{ command_name notify-by-sms command_line $USER1$/my_notify_sms } i tried with and without the $USER1$ and the logs dont show anything: [1184166017] SERVICE NOTIFICATION: admins;stinger.xxxxxxx.com;Sushi;CRITICAL;notify-by-email;NRPE: Command 22check_file_age not defined The command 22check_file_age not defined was not defined to make a notificacion Well any tip or idea will be very helpfully!. Regards! Guillermo. __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From azahn at insors.com Wed Jul 11 17:08:12 2007 From: azahn at insors.com (Andrew Zahn) Date: Wed, 11 Jul 2007 10:08:12 -0500 Subject: Notifications for hosts and services Message-ID: <4694F25C.9050000@insors.com> Hi, I currently have two classes of systems: production and development. Both types have many of the same services I am monitoring with nagios. I want notifications sent to different contact groups based on whether its a prod or dev system. I was hoping that if I use a two host definitions that each specify a different contact group that would be sufficient. This seems to work for host notifications (host up, host down, etc.) but doesn't effect services. It seems you have to specify a contact_group for services as well and since I use the same service checks for prod and dev hosts I can't understand how to make it work in this fashion. At this point it seems I would have to define all the services twice each with different contact group. That can't be right. If I am approaching this wrong please let me know of a better way. Thanks for your assistance, Andrew ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Wed Jul 11 18:09:44 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Wed, 11 Jul 2007 09:09:44 -0700 Subject: NagiosGrapher Linux Load In-Reply-To: References: <6F11F0B85CE3C841A4C78C8F364C1C6242BD62@mail2.sd.defenseweb.net> <6F11F0B85CE3C841A4C78C8F364C1C6242BD93@mail2.sd.defenseweb.net> Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C6242BEEA@mail2.sd.defenseweb.net> Kurt, Thanks for the e-mail. I am not using the NagiosGraph I am using NagiosGrapher. I am also getting the correct data but and it's showing correctly on the legend portion of the graph but not on the graph it's self. Thank you, Jeff -----Original Message----- From: Kurt Yoder [mailto:ktynagios at richard-group.com] Sent: Wednesday, July 11, 2007 6:45 AM To: Jeff Shumard - DefenseWeb Technologies Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NagiosGrapher Linux Load On Jul 10, 2007, at 3:52 PM, Jeff Shumard - DefenseWeb Technologies wrote: > Does anyone else have the same problem that I am seeing with the > graphs, > > on Linux Load? The graph area is not matching what the totals are > getting from the server or from the values I am printing out of the > bottom of the graph. The graph is showing much higher values and the > average is also showing higher on the graph. I am using STACK to show > all the values of 15min, 5min, and 1min on the same graph. Does > anyone > know how to resolve this as well? Assuming you are using the nagiosgraph by Soren Dossing, make sure the data that is getting inserted is the correct data. In nagiosgraph.conf there is a "debug" configuration. Set this to 5 and watch the log output. You may be catching the wrong data in your graph. In this case, update the regex in the "map" config file. -Kurt ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Jul 11 22:38:01 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 11 Jul 2007 21:38:01 +0100 Subject: Notifications for hosts and services In-Reply-To: <4694F25C.9050000@insors.com> References: <4694F25C.9050000@insors.com> Message-ID: <765d77c80707111338l3f31716bta7528e1804e502f3@mail.gmail.com> On 11/07/07, Andrew Zahn wrote: > If I am approaching this wrong please let me know of a better way. No. Seems about right to me. There are lots of things you can do to avoid duplication of effort though. See: http://nagios.sourceforge.net/docs/2_0/templatetricks.html hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Jul 11 22:53:53 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 11 Jul 2007 21:53:53 +0100 Subject: Nagios Configuration In-Reply-To: <4694B9B5.8080906@novexsoftware.com> References: <4694B9B5.8080906@novexsoftware.com> Message-ID: <765d77c80707111353k67b30896i760d7eedada9ee9a@mail.gmail.com> On 11/07/07, Corey Mosher wrote: > > Hi there, > We are currently using nagios installed on an internal server. It monitors > various external servers in different locations. When our ISP connection > goes down occasionally, we get a flurry of notifications (about 30 saying > that systems are down and another 30 when the connection comes back up). > I'm looking for a way that we can suppress those notifications and just send > out one saying that the internet connection is down. Ideally I'd like to > have a check for internet (perhaps by checking that it can get to google) > then if it sees the internet connection go down, notify and turn off all > other tests temporarily. Can anyone help me in how I might configure > something like this? I can't say I've ever tried it (so forgive me if I'm barking up the wrong tree), but I guess you could you do something clever with an event handler on the service which monitors the internet connection. The event handler could submit a command to Nagios to disable notifications when the internet connection goes down and re-enable them when it comes up. See http://nagios.sourceforge.net/docs/2_0/eventhandlers.html and http://nagios.sourceforge.net/docs/2_0/extcommands.html hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deepa3 at gmail.com Thu Jul 12 08:27:30 2007 From: deepa3 at gmail.com (Deepa.V) Date: Wed, 11 Jul 2007 23:27:30 -0700 Subject: [Nagios-User] ODBC compatible with nagios Message-ID: <5374ee4f0707112327s812e9bfgb0e637d6bae58cc4@mail.gmail.com> Hi I have a nagios server installed in one linux machine and Postgre SQL installed in a diffrent linux machine. Can i Which ODBC can i use so that the nagios server and Postgre SQL can interact Can anyone please help me on this Thanks Deepa ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Thu Jul 12 08:39:45 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Wed, 11 Jul 2007 23:39:45 -0700 Subject: [Nagios-User] ODBC compatible with nagios In-Reply-To: <5374ee4f0707112327s812e9bfgb0e637d6bae58cc4@mail.gmail.com> References: <5374ee4f0707112327s812e9bfgb0e637d6bae58cc4@mail.gmail.com> Message-ID: <4695CCB1.8030205@gmail.com> Deepa.V wrote: > I have a nagios server installed in one linux machine and Postgre SQL > installed in a diffrent linux machine. Can i Which ODBC can i use so > that the nagios server and Postgre SQL can interact Tell us more about what you mean by "interact". Are you wanting to log in the SQL DB? If so, have you seen this? http://nagiosplugins.projects.postgresql.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Jul 12 08:30:51 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 12 Jul 2007 02:30:51 -0400 Subject: [Nagios-User] ODBC compatible with nagios In-Reply-To: <5374ee4f0707112327s812e9bfgb0e637d6bae58cc4@mail.gmail.com> References: <5374ee4f0707112327s812e9bfgb0e637d6bae58cc4@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Deepa.V > Sent: Wednesday, July 11, 2007 11:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] [Nagios-User] ODBC compatible with nagios > > Hi > > I have a nagios server installed in one linux machine and Postgre SQL > installed in a diffrent linux machine. Can i Which ODBC can i use so > that the nagios server and Postgre SQL can interact Nagios has no built-in SQL support. You might want to check out the nodutils add-on, which supports MySQL (but not ODBC, though I assume you don't really need that). ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.kraus at rz.uni-augsburg.de Thu Jul 12 09:10:50 2007 From: daniel.kraus at rz.uni-augsburg.de (Daniel Kraus) Date: Thu, 12 Jul 2007 09:10:50 +0200 Subject: PerfData output of check_snmp_storage.pl Message-ID: <4695D3FA.1030805@rz.uni-augsburg.de> Hi All, I am running Nagios 2.6 on debian-etch and i use the check_snmp_storage.pl-plugin from http://nagios.manubulon.com/ to monitor the disk-usage. For trending i use pnp. The plugin works fine except for one server. I monitor all mountpoints in one check and the problem is that the performance-data gets cut off so that only 2 of 7 mountpoints are shown in pnp. The performance-data is truncated in the cgi also. But if i run the plugin in the shell the output of the performance-data is complete. I thought that there is probably limited memory for perf-data but all other server produce much more output than this server. Does anyone else have this problem or can anybody give me some advice? Thanks, Daniel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 12 15:55:28 2007 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Thu, 12 Jul 2007 15:55:28 +0200 Subject: Temporal disabling of checks and notifications for a bulk of hosts and services Message-ID: Dear Nagios Users, I was forced to relocate my main Nagios server temporarily. The negative effect of this was, because the server now resides in a totally different lan segment, not only that I had to change the whole parent relations of hosts to cater for the changed routing. Even worse, was that the Nagios server no longer can access about half its monitored hosts and services via ports 22 and 5666 tcp. If the firewalls at least had left me with open port 22 I could have changed all my nrpe checks to something like check_by_ssh!login!rsa_key!/remote/path/to/check_nrpe -H 127.0.0.1 -c check_as_usual I thought about tunneling the lost remote 22 ports by e.g. ssh local port forwarding via the host that previously hosted my Nagios server. But this all seems too contrived and error prone to me. So I thought about disabling active and passive checks as well as notifications by providing a template that would have active_checks_enabled, and notifications_enabled set to 0 and which now will be use-d by all the hosts that are affected. This should reduce the required config changes to a minimum. I now wonder, before I set the global notifications_enabled in my nagios.cfg to 1, if it would suffice to disable the dozens of *_hosts.cfg files (I separeted my config by cfg_dir) merely in the manner I described, to also make Nagios skip running any checks for the services of these hosts? So, has a disabled host automatically also disabled all its service checks, and hence notifications? Regards Ralph ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chactuchac10 at yahoo.com.ar Thu Jul 12 16:34:04 2007 From: chactuchac10 at yahoo.com.ar (Guille) Date: Thu, 12 Jul 2007 11:34:04 -0300 (ART) Subject: check process ?? Message-ID: <364824.46219.qm@web56709.mail.re3.yahoo.com> Hello; What plugin i should use to check if a process is running or not, i was looking for one in google but with not luck! Regards! Guille. __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Thu Jul 12 16:36:30 2007 From: aaron.segura at cabelas.com (Rev. Dr. Aaron M. Segura) Date: Thu, 12 Jul 2007 08:36:30 -0600 Subject: check process ?? In-Reply-To: <364824.46219.qm@web56709.mail.re3.yahoo.com> References: <364824.46219.qm@web56709.mail.re3.yahoo.com> Message-ID: <1184250990.16617.0.camel@asegura.cabelas.com> There's plenty of them on nagiosexchange.org On Thu, 2007-07-12 at 11:34 -0300, Guille wrote: > Hello; > > What plugin i should use to check if a process is running or not, i was looking for one > in google but with not luck! > > Regards! > > Guille. > > > __________________________________________________ > Pregunt?. Respond?. Descubr?. > Todo lo que quer?as saber, y lo que ni imaginabas, > est? en Yahoo! Respuestas (Beta). > ?Probalo ya! > http://www.yahoo.com.ar/respuestas > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 12 16:42:28 2007 From: marc at ena.com (Marc Powell) Date: Thu, 12 Jul 2007 09:42:28 -0500 Subject: check process ?? In-Reply-To: <364824.46219.qm@web56709.mail.re3.yahoo.com> References: <364824.46219.qm@web56709.mail.re3.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Guille > Sent: Thursday, July 12, 2007 9:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check process ?? > > Hello; > > What plugin i should use to check if a process is running or not, i was > looking for one > in google but with not luck! check_procs is part of the standard plugins distribution. $ ~nagios/libexec/check_procs --help check_procs (nagios-plugins 1.4.3) 1.48 Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2004 Nagios Plugin Development Team Checks all processes and generates WARNING or CRITICAL states if the specified metric is outside the required threshold ranges. The metric defaults to number of processes. Search filters can be applied to limit the processes to check. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Jul 12 16:43:28 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 12 Jul 2007 15:43:28 +0100 Subject: check process ?? In-Reply-To: <364824.46219.qm@web56709.mail.re3.yahoo.com> References: <364824.46219.qm@web56709.mail.re3.yahoo.com> Message-ID: <46963E10.4010503@googlemail.com> To check if a process is running on WHAT operating system? check_proc in the standard plugins distribution does linux. search nagiosexchange.org for other plugins if this does not suit your needs. If checking processes on remote machines you need a remote execution method like nrpe or nsca. -h Hari Sekhon Guille wrote: > Hello; > > What plugin i should use to check if a process is running or not, i was looking for one > in google but with not luck! > > Regards! > > Guille. > > > __________________________________________________ > Pregunt?. Respond?. Descubr?. > Todo lo que quer?as saber, y lo que ni imaginabas, > est? en Yahoo! Respuestas (Beta). > ?Probalo ya! > http://www.yahoo.com.ar/respuestas > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Thu Jul 12 16:57:13 2007 From: aaron.segura at cabelas.com (Rev. Dr. Aaron M. Segura) Date: Thu, 12 Jul 2007 08:57:13 -0600 Subject: check process ?? In-Reply-To: <46963E10.4010503@googlemail.com> References: <364824.46219.qm@web56709.mail.re3.yahoo.com> <46963E10.4010503@googlemail.com> Message-ID: <1184252233.16617.12.camel@asegura.cabelas.com> ...or snmp, which is also useful for all sorts of other things. On Thu, 2007-07-12 at 15:43 +0100, Hari Sekhon wrote: > If checking processes on remote machines you need a remote execution > method like nrpe or nsca. > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sg2oo4 at yahoo.com Thu Jul 12 16:59:20 2007 From: sg2oo4 at yahoo.com (Saron Goshu) Date: Thu, 12 Jul 2007 07:59:20 -0700 (PDT) Subject: using NDOUtils with Nagios Message-ID: <414108.1470.qm@web30901.mail.mud.yahoo.com> Hey all, I was trying to install NDOUtils to mainly store Nagios 3.0 configuration information in the database and have Nagios pull config. info from it and use it instead of from the configuration files(The idea was to improve performance from what I'm told). However, It seems like You can only read info from the Nagios daemon using the NDOUTILS components but not the other way. 2 things, can this be done and if yes how would you go about it ? This is on a Linux machine, and for Nagios 3.0, latest NDOUtils. - S G (sg2oo4) --------------------------------- Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 12 17:13:05 2007 From: marc at ena.com (Marc Powell) Date: Thu, 12 Jul 2007 10:13:05 -0500 Subject: using NDOUtils with Nagios In-Reply-To: <414108.1470.qm@web30901.mail.mud.yahoo.com> References: <414108.1470.qm@web30901.mail.mud.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Saron Goshu > Sent: Thursday, July 12, 2007 9:59 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] using NDOUtils with Nagios > > Hey all, > I was trying to install NDOUtils to mainly store Nagios 3.0 configuration > information in the database and have Nagios pull config. info from it and > use it instead of from the configuration files(The idea was to improve > performance from what I'm told). However, It seems like You can only read > info from the Nagios daemon using the NDOUTILS components but not the > other way. 2 things, can this be done and if yes how would you go about it NDOUtils is for storing status data in a database only. Currently, there is no way to have nagios read configuration data directly from a database. There are tools available that will store configuration information in a database but they all must export to flat file for nagios use. They have been discussed extensively on this list and many can be found on http://nagiosexchange.org. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alessandro.ren at opservices.com.br Thu Jul 12 20:24:03 2007 From: alessandro.ren at opservices.com.br (Alessandro Ren) Date: Thu, 12 Jul 2007 15:24:03 -0300 Subject: OpMonagent 2.2.0.10 - former nsclient Message-ID: <469671C3.5050603@opservices.com.br> We have enhanced the nsclient code and have changed the name of the agent to opmonagent. We have fixed some bugs and are in the process of adding new features. - fixed the connection limit, it only allowed 5 connections, now it allows hundreds. - possible access violations have been fixed - new component versions have been use to compile the agent - we no longer store configuration in the registry, ini file now - opmonagent tries to auto detect the right counters to use based on a new counter.defs structure - very small memory footprint and CPU utilization We are in the process of adding NRPE and WMI support to the agent, due to the next month. Any suggestions or bug reports can be sent via our support forum at https://intranet.opservices.com.br/phpBB2/ and the agent can be downloaded from http://www.opservices.com.br/downloads/opmonagent-2.2.0.10.zip . Thanks. -- __________________________________________________ *Alessandro Ren* /*OpServices*/ /*Luciana de Abreu, 471 - Sala 403*/ /*Porto Alegre, RS - CEP 90570-060*/ *(* phone 55(51)3061-3588 *4* fax 55(51)3061-3588 *Q* mobile 55(48)9987-0625 *:* email alessandro.ren at opservices.com.br __________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chactuchac10 at yahoo.com.ar Thu Jul 12 22:42:42 2007 From: chactuchac10 at yahoo.com.ar (Guille) Date: Thu, 12 Jul 2007 17:42:42 -0300 (ART) Subject: check_url Message-ID: <934759.11264.qm@web56705.mail.re3.yahoo.com> Hello im having troubles using the check_url; via terminal (with root and nagios users) works fine but via nagios i always im receiving the same error. UNKNOWN: /usr/bin/wget --output-document=tmp_html --no-check-certificate -S returns no result! I think everything is good config, here are mys .cfg services.cfg define service{ use generic-service ; Name of service host_name haiduk.xxxxx.com .......................................................................... service_description URL wap.xxxxx.com check_command check_url!http://mywebpage.com/index.html } commands.cfg define command{ command_name check_url command_line $USER1$/check_url $ARG1$ } Any tip or help for someone whois using it, will be very helpfully. Regards! Guillermo. __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Klaus.Bonaparte at GlobalCrossing.com Thu Jul 12 23:56:18 2007 From: Klaus.Bonaparte at GlobalCrossing.com (Bonaparte, Klaus) Date: Thu, 12 Jul 2007 17:56:18 -0400 Subject: SIGEXIT shutting down Nagios 2.9 on Solaris 10 Message-ID: <304BF6AEA3DA71488B9EC776A03D6FFB06C6ED00@EVS3.ams.gblxint.com> We've been running Nagios 2.9 on Solaris 10 for a few weeks now and have noticed our Nagios server suddenly shutting down with the following in nagios.log: [1184189631] Caught SIGEXIT, shutting down... No one has been logged in at the time of these failures and nothing else is in the log files. Is there a known bug in Nagios 2.9? I've never seen this with the Nagios 2.4 we run on another Solaris 10 server and we are considering downgrading our Nagios 2.9 to Nagios 2.4 since it has been more stable. Thanks, Klaus -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 13 03:24:23 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 13 Jul 2007 13:24:23 +1200 Subject: using NDOUtils with Nagios In-Reply-To: <414108.1470.qm@web30901.mail.mud.yahoo.com> References: <414108.1470.qm@web30901.mail.mud.yahoo.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2F372A7@UXCHANGE3.UoA.auckland.ac.nz> As you heard, NDOUtils is only for sending status data from Nagios->Database. However, if performance is your issue, then since Nagios 2 the daemon has written a cache file containing pre-processed configuration data to a temporary file as it runs. The CGIs can read this for massive performance improvements - I've already made my downtime_sched utility use this file if available and things are much better. As far as Nagios itself goes, once it has read in the config file, then it holds the config in memory so theres no performance gain regardless. Steve I was trying to install NDOUtils to mainly store Nagios 3.0 configuration information in the database and have Nagios pull config. info from it and use it instead of from the configuration files(The idea was to improve performance from what I'm told). However, It seems like You can only read info from the Nagios daemon using the NDOUTILS components but not the other way. 2 things, can this be done and if yes how would you go about it ? This is on a Linux machine, and for Nagios 3.0, latest NDOUtils. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian.marlier at studentuniverse.com Fri Jul 13 05:34:31 2007 From: ian.marlier at studentuniverse.com (Ian Marlier) Date: Thu, 12 Jul 2007 23:34:31 -0400 Subject: Getting Nagiosgraph to create RRD files with LAST/MAX/MIN CF's Message-ID: Hey, all -- A couple of hours of Googling around haven't turned up any answers to this question, so I'm hoping someone here might have one...(and sorry if this is annoyingly offtopic or something. It seems relevant enough...) I'm setting up nagios, and wish to use cacti to create historical/trend graphs of some nagios service checks. Based on several suggestions that I found around the web, I installed NagiosGraph to create RRD files based on the service-perfdata file. This seems to be working fine. Except: NagiosGraph seems to want to only have the "AVERAGE" CF in the RRD files that it creates. The other basic ones (MAX/MIN/LAST) are missing. Which is rather a pain, since I'd like to use them in some cases. Which leads to these questions: - Is there a way to "fix" nagiosgraph so that it creates these CF's? Just a pointer to docs or something would be enough to get me going... - Is there a better tool than nagiosgraph for doing what I'm doing (creating RRD files from service-perfdata files), especially given that I'm not particularly interested in nagiosgraph's actual graphing ability? Thanks! - Ian ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aweiss at nz1.ibm.com Fri Jul 13 06:02:25 2007 From: aweiss at nz1.ibm.com (Alex Weiss) Date: Fri, 13 Jul 2007 16:02:25 +1200 Subject: Alex Weiss is out of the office. Message-ID: I will be out of the office starting 13/07/2007 and will not return until 24/07/2007. VMware matters please contact one of my colleagues: Robert Usman Jeff Pai Or my manager: Glen Sinclair ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Jul 13 08:25:40 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 13 Jul 2007 07:25:40 +0100 Subject: Getting Nagiosgraph to create RRD files with LAST/MAX/MIN CF's In-Reply-To: References: Message-ID: <765d77c80707122325y4cc9efcay2cf5e05ecc8476ab@mail.gmail.com> On 13/07/07, Ian Marlier wrote: > - Is there a better tool than nagiosgraph for doing what I'm doing (creating > RRD files from service-perfdata files), especially given that I'm not > particularly interested in nagiosgraph's actual graphing ability? I don't know if it's better or would make your problem any easier to solve, but PNP is probably worth looking at. http://www.ederdrom.de/doku.php/nagios/pnp_en I find it very easy to install and use, but I've not yet tried graphing max/min rather than the default average with it. I've never tried NagiosGraph myself. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrea.gabellini at telecomitalia.sm Fri Jul 13 09:00:29 2007 From: andrea.gabellini at telecomitalia.sm (Andrea Gabellini) Date: Fri, 13 Jul 2007 09:00:29 +0200 Subject: SIGEXIT shutting down Nagios 2.9 on Solaris 10 In-Reply-To: <304BF6AEA3DA71488B9EC776A03D6FFB06C6ED00@EVS3.ams.gblxint.com> References: <304BF6AEA3DA71488B9EC776A03D6FFB06C6ED00@EVS3.ams.gblxint.com> Message-ID: <4697230D.9070306@telecomitalia.sm> Klaus, this bug is fixed in CVS. Install from it or apply the attached patch to 2.9 source. Andrea Bonaparte, Klaus wrote: > We've been running Nagios 2.9 on Solaris 10 for a few weeks now and have > noticed our Nagios server suddenly shutting down with the following in > nagios.log: > > [1184189631] Caught SIGEXIT, shutting down... > > > > No one has been logged in at the time of these failures and nothing else > is in the log files. Is there a known bug in Nagios 2.9? I've never seen > this with the Nagios 2.4 we run on another Solaris 10 server and we are > considering downgrading our Nagios 2.9 to Nagios 2.4 since it has been > more stable. > > > > Thanks, > > Klaus > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- --------------------------------------- Feed the homeless to the hungry --------------------------------------- Ing. Andrea Gabellini Email: andrea.gabellini at telecomitalia.sm Tel: 0549 886111 (Italy) Tel. +378 0549 886111 (International) Telecom Italia San Marino S.p.A. Strada degli Angariari, 3 47891 Rovereta Republic of San Marino http://www.omniway.sm http://www.telecomitalia.sm -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios-2.9.patch.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.kitchener at aciworldwide.com Fri Jul 13 15:16:37 2007 From: stephen.kitchener at aciworldwide.com (stephen.kitchener at aciworldwide.com) Date: Fri, 13 Jul 2007 14:16:37 +0100 Subject: error running nrpe Message-ID: Hi, I have compiled and installed nrpe-2.8.1 and nagios-plugins-1.4.9, but when I run then daemon on my system I get the following error /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg -d /usr/lib/hpux32/dld.so: Unsatisfied data symbol 'rfc931_timeout' in load module '/usr/lib/hpux32/libwrap.so'. Killed The system is a HPUX 11.23 itainium IA64, cc: HP C/aC++ B3910B A.06.13 [Nov 27 2006] make is the installed one - not a GNU Version Does anyone have hints or solutions to help make this work please ?? Thanks Stephen Kitchener ITC ACI Worldwide (EMEA) Ltd tel: 01923812885 email: Stephen.Kitchener at aciworldwide.com This e-mail message and any attachments may contain confidential, proprietary or non-public information. This information is intended solely for the designated recipient(s). If an addressing or transmission error has misdirected this e-mail, please notify the sender immediately and destroy this e-mail. Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this e-mail are those of the author personally. ------------------------------------------------------------------------------------------------------------------------------------------- ACI Worldwide (EMEA) Limited. Registered in England and Wales (Registered no. 2310474). Registered Office: 59 clarendon road, Watford, Hertfordshire. WD17 iFQ, United Kingdom ------------------------------------------------------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle at caosdigital.com Fri Jul 13 18:35:21 2007 From: kyle at caosdigital.com (kyle) Date: Fri, 13 Jul 2007 18:35:21 +0200 Subject: check_url In-Reply-To: <934759.11264.qm@web56705.mail.re3.yahoo.com> References: <934759.11264.qm@web56705.mail.re3.yahoo.com> Message-ID: <4697A9C9.5020106@caosdigital.com> Guille wrote: > Hello im having troubles using the check_url; via terminal (with root and nagios users) > works fine but via nagios i always im receiving the same error. > > UNKNOWN: /usr/bin/wget --output-document=tmp_html --no-check-certificate -S returns no > result! obviously wget doesn't output any status info so nagios cannot know whether that check went OK, WARNING, CRITICAL or UNKNOWN. Write a wrapper script for it or use the standard check_http pluging included with nagios-plugins v1.4.x -- Backup not found: (A)bort, (R)etry, (P)anic? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markwag at u.washington.edu Fri Jul 13 21:00:23 2007 From: markwag at u.washington.edu (Mark Wagner) Date: Fri, 13 Jul 2007 12:00:23 -0700 Subject: Distributed setups Message-ID: <20070713190023.GP21332@n-its-markwag.mcis.washington.edu> Steve Shipway auckland.ac.nz> writes: > > > We're currently looking at creating a distributed setup using > > NSCA. One thing that I've found no mention of is how the host and > > service commands are forwarded. > > I think they are not. > > > Even if the central machien does all the notifications (as we're > > planning), completely dis/enabling service/host checks would have > > to be distributed from the central machine to the checking > > machines. > > This is the biggest disadvantage of the distributed model, in my opinion > - enable/disable checks commands are not propagated (and indeed cannot > be without some serious reworking of the cmd.cgi interface) and so you > cannot stop checking any more. > > However this is not such a big issue, as mostly you are more interested > in scheduling downtime and disabling/acknowledging alerts, all of which > are done on the central server. The satellite servers (collectors) do > not do notifications, only pass the status on to the central server > (aggregator) via the OCSP command. > > If I was obsessive about it, I'd modify the cmd.cgi script so that it > spots a distributed service (no active checks, only freshness checks to > set to 'unknown') and forwards to call to the host managing it (which > I'd have to store the definition of in a separate database table or > something). Too much trouble though, particularly since our users are > forever clicking 'disable checks' when they actually mean 'disable > alerts' or 'acknowledge'. It is an issue in the following situation: you have a backup aggregator. All the collectors send results to both the primary and backup. The backup aggregator watches the primary aggregator. If the primary goes down it starts sending out notifications. In this case all the acked problems on the primary aggregator will be sent out when the backup takes over. The idea I'm toying with is to have cgi.cfg point to a different main_config_file. This main_config_file will be identical to the real main_config_file but have a different command_file. There will be a process listening on this command_file that will write the result to the real command_file and also forwards it to a daemon listening on the backup aggregator. This daemon will write to the command_file on the backup. Viola', all commands from the CGIs automatically get sent to the backup aggregator. -- Mark Wagner System Administrator, UW Medicine IT Services 206-616-6119 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at webtent.net Fri Jul 13 22:39:08 2007 From: lists at webtent.net (Robert Fitzpatrick) Date: Fri, 13 Jul 2007 16:39:08 -0400 Subject: checking file status Message-ID: <1184359148.21738.12.camel@columbus.webtent.org> We'd like to monitor the status of our huge file share and be notified of any major changes if a rogue employee were to empty or delete the files. Maybe set a threshold of number of files changed? Is there any suggestions on how this could be done with Nagios? -- Robert ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From singh_mail at yahoo.com Sat Jul 14 02:38:27 2007 From: singh_mail at yahoo.com (Gagandeep Singh) Date: Fri, 13 Jul 2007 17:38:27 -0700 (PDT) Subject: not able to access http://localhost/nagios/cgi-bin/ Message-ID: <383973.39873.qm@web51309.mail.re2.yahoo.com> I can access nagios by typing /localhost/nagios/ from the web console. But when i try to access /localhost/nagios/cgi-bin/ it says "403 FORBIDDEN you don't have permission to access /localhost/nagios/cgi-bin/ on this server." I have followed the documentation. I have set the scriptalias and everything. The .htaccess and htaccess.users file are in the right directories. I dont understand what is going on? Maybe I need to place the .htaccess file under /user/local/nagios/share also? Don't know what is causing this problem. Can somebody give me a idea what could be wrong Thanks Gagan Rakkar --------------------------------- Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 05:09:28 2007 From: marc at ena.com (Marc Powell) Date: Fri, 13 Jul 2007 22:09:28 -0500 Subject: not able to access http://localhost/nagios/cgi-bin/ In-Reply-To: <383973.39873.qm@web51309.mail.re2.yahoo.com> References: <383973.39873.qm@web51309.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh > Sent: Friday, July 13, 2007 7:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] not able to access http://localhost/nagios/cgi- > bin/ > > I can access nagios by typing /localhost/nagios/ from the web console. > But when i try to access /localhost/nagios/cgi-bin/ it says "403 FORBIDDEN > you don't have permission to access /localhost/nagios/cgi-bin/ on this > server." I have followed the documentation. I have set the scriptalias > Can somebody give me a idea what could be wrong Your web server's error log should tell you what the reason is. If you're just trying to access as you've indicated above, it's not surprising that you're seeing the error. You're probably not allowing DirectoryIndex (and you don't want to). What happens if you click one of the nagios links in the left pane of http://localhost/nagios? If you need further help, post the error from the web log, your OS version and verify that you do not have SELinux enabled or that you have given proper security context to the nagios CGI's. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmurray at whoi.edu Sat Jul 14 06:08:03 2007 From: jmurray at whoi.edu (jmurray at whoi.edu) Date: Sat, 14 Jul 2007 00:08:03 -0400 Subject: not able to access http://localhost/nagios/cgi-bin/ In-Reply-To: <383973.39873.qm@web51309.mail.re2.yahoo.com> References: <383973.39873.qm@web51309.mail.re2.yahoo.com> Message-ID: <1184386083.46984c239c6b8@webmail.whoi.edu> perhaps the user you are logged in as is not allowed in the cgi.cfg file? Quoting Gagandeep Singh : > I can access nagios by typing /localhost/nagios/ from the web console. But > when i try to access /localhost/nagios/cgi-bin/ it says "403 FORBIDDEN you > don't have permission to access /localhost/nagios/cgi-bin/ on this server." > I have followed the documentation. I have set the scriptalias and > everything. The .htaccess and htaccess.users file are in the right > directories. I dont understand what is going on? Maybe I need to place the > .htaccess file under /user/local/nagios/share also? Don't know what is > causing this problem. > > Can somebody give me a idea what could be wrong > > Thanks > > Gagan Rakkar > > > --------------------------------- > Park yourself in front of a world of choices in alternative vehicles. > Visit the Yahoo! Auto Green Center. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Itayemi.A at ng.celtel.com Sat Jul 14 15:44:57 2007 From: Itayemi.A at ng.celtel.com (Ayotunde Itayemi) Date: Sat, 14 Jul 2007 14:44:57 +0100 Subject: statically compiling NRPE on Solaris 9 Message-ID: <99487797D76C7841AEEDE4A1DCA86C701C75E4@VNL-LA01EX04P.vmobile-nigeria.com> Hi All, Is it possible to statically compile/link NRPE on one server then be able to copy only the binaries to other servers which may not have OpenSSL and some of the other required libraries installed? (possibly even no GCC on the other servers.) Same goes for Nagios-Plugins. I am compiling NRPE-2.8 on Solaris 9 SPARC. Thanks. Regards, No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.4/897 - Release Date: 7/11/2007 9:57 PM ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sat Jul 14 16:16:36 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 14 Jul 2007 15:16:36 +0100 Subject: checking file status In-Reply-To: <1184359148.21738.12.camel@columbus.webtent.org> References: <1184359148.21738.12.camel@columbus.webtent.org> Message-ID: <765d77c80707140716o623396b1jc0fc47b649637124@mail.gmail.com> On 13/07/07, Robert Fitzpatrick wrote: > We'd like to monitor the status of our huge file share and be notified > of any major changes if a rogue employee were to empty or delete the > files. Maybe set a threshold of number of files changed? Is there any > suggestions on how this could be done with Nagios? What's the operating-system? Whatever it is, it shouldn't be too difficult to script a check which alerts you if the amount of disk space used is >xGb less than it was 15 minutes ago. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 19:46:23 2007 From: marc at ena.com (Marc Powell) Date: Sat, 14 Jul 2007 12:46:23 -0500 Subject: not able to access http://localhost/nagios/cgi-bin/ In-Reply-To: <874860.92779.qm@web51301.mail.re2.yahoo.com> References: <874860.92779.qm@web51301.mail.re2.yahoo.com> Message-ID: Please always respond on list. That's how open source support works. > -----Original Message----- > From: Gagandeep Singh [mailto:singh_mail at yahoo.com] > Sent: Saturday, July 14, 2007 10:43 AM > To: Marc Powell > Subject: Re: [Nagios-users] not able to access > http://localhost/nagios/cgi-bin/ > > Hi Marc thanks for your reply. > > In the web error_log this is what I see "[error] [client 127.0.0.1] > attempt to invoke directory as script: /usr/local/nagios/sbin/". I am That's expected behavior. You didn't specify a specific cgi to load. > able to click all links in the left pane when I access > http://localhost/nagios/ except status map, 3-d-status map, trends, alert > histogram. This is a FAQ. You didn't have the pre-requisites installed for those to be compiled or they weren't in standard locations. ./configure probably complained about it. Check the FAQ on nagios.org. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From singh_mail at yahoo.com Sat Jul 14 20:29:15 2007 From: singh_mail at yahoo.com (Gagandeep Singh) Date: Sat, 14 Jul 2007 11:29:15 -0700 (PDT) Subject: not able to access http://localhost/nagios/cgi-bin/ In-Reply-To: References: Message-ID: <632347.50935.qm@web51302.mail.re2.yahoo.com> > Please always respond on list. That's how open source support works. Sorry I am new to the forums. Thanks for clearing that out. all the cgi's are in the default directory as described in the documentation. When I was installing nagios server and plugins ./configure never complained about anything. Everything went smooth. But somebody told me on irc that there is some stanza directory thats should be in /etc dir. I dont have such directory. There is nothing mentioned about the stanza directory in the documentation either. Gagan Rakkar Marc Powell wrote: Please always respond on list. That's how open source support works. > -----Original Message----- > From: Gagandeep Singh [mailto:singh_mail at yahoo.com] > Sent: Saturday, July 14, 2007 10:43 AM > To: Marc Powell > Subject: Re: [Nagios-users] not able to access > http://localhost/nagios/cgi-bin/ > > Hi Marc thanks for your reply. > > In the web error_log this is what I see "[error] [client 127.0.0.1] > attempt to invoke directory as script: /usr/local/nagios/sbin/". I am That's expected behavior. You didn't specify a specific cgi to load. > able to click all links in the left pane when I access > http://localhost/nagios/ except status map, 3-d-status map, trends, alert > histogram. This is a FAQ. You didn't have the pre-requisites installed for those to be compiled or they weren't in standard locations. ./configure probably complained about it. Check the FAQ on nagios.org. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 22:48:08 2007 From: marc at ena.com (Marc Powell) Date: Sat, 14 Jul 2007 15:48:08 -0500 Subject: not able to accesshttp://localhost/nagios/cgi-bin/ In-Reply-To: <632347.50935.qm@web51302.mail.re2.yahoo.com> References: <632347.50935.qm@web51302.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh > Sent: Saturday, July 14, 2007 1:29 PM > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] not able to accesshttp://localhost/nagios/cgi- > bin/ > > > Please always respond on list. That's how open source support works. > Sorry I am new to the forums. Thanks for clearing that out. > > all the cgi's are in the default directory as described in the > documentation. When I was installing nagios server and plugins > ./configure never complained about anything. Everything went smooth. But Apparently not the case ;) > somebody told me on irc that there is some stanza directory thats should > be in /etc dir. I dont have such directory. There is nothing mentioned > about the stanza directory in the documentation either. I have no idea what they would be talking about. In any event, there's nothing at all in the /etc (or ~nagios/etc) directory that would explain why you're missing those CGI's but there is a FAQ that does. It happens often enough to be easily recognizable. Look for the solution under the Web Interface section of the FAQs. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From singh_mail at yahoo.com Sat Jul 14 23:03:03 2007 From: singh_mail at yahoo.com (Gagandeep Singh) Date: Sat, 14 Jul 2007 14:03:03 -0700 (PDT) Subject: not able to accesshttp://localhost/nagios/cgi-bin/ In-Reply-To: References: Message-ID: <899219.33704.qm@web51304.mail.re2.yahoo.com> i see all the cgi's in the /usr/local/nagios/sbin. They are all in green color. So you are saying there should be another directory that hold the cgi's? Gagan Rakkar Marc Powell wrote: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh > Sent: Saturday, July 14, 2007 1:29 PM > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] not able to accesshttp://localhost/nagios/cgi- > bin/ > > > Please always respond on list. That's how open source support works. > Sorry I am new to the forums. Thanks for clearing that out. > > all the cgi's are in the default directory as described in the > documentation. When I was installing nagios server and plugins > ./configure never complained about anything. Everything went smooth. But Apparently not the case ;) > somebody told me on irc that there is some stanza directory thats should > be in /etc dir. I dont have such directory. There is nothing mentioned > about the stanza directory in the documentation either. I have no idea what they would be talking about. In any event, there's nothing at all in the /etc (or ~nagios/etc) directory that would explain why you're missing those CGI's but there is a FAQ that does. It happens often enough to be easily recognizable. Look for the solution under the Web Interface section of the FAQs. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Jul 14 23:14:25 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 14 Jul 2007 17:14:25 -0400 Subject: not able toaccesshttp://localhost/nagios/cgi-bin/ In-Reply-To: <899219.33704.qm@web51304.mail.re2.yahoo.com> References: <899219.33704.qm@web51304.mail.re2.yahoo.com> Message-ID: > i see all the cgi's in the /usr/local/nagios/sbin.? They are all in green color.? > So you are saying there should be another directory that hold the cgi's? If the CGIs are there, but the links don't work, you really need to follow Marc's advice and look in your webserver log for the reason they aren't working when you try to access them. Without that information, anything anyone on this list does to help you troubleshoot this is pure guesswork. If there's nothing in the logs regarding those scripts, then something more basic is wrong -- verify that the links you're clicking on point where they should. Without basic information like what the links you're clicking on point to, and what happens on your webserver when you click them, it's nearly impossible to say what your problem might be. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jul 15 00:40:53 2007 From: marc at ena.com (Marc Powell) Date: Sat, 14 Jul 2007 17:40:53 -0500 Subject: not able toaccesshttp://localhost/nagios/cgi-bin/ In-Reply-To: <899219.33704.qm@web51304.mail.re2.yahoo.com> References: <899219.33704.qm@web51304.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh > Sent: Saturday, July 14, 2007 4:03 PM > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] not able toaccesshttp://localhost/nagios/cgi- > bin/ > > i see all the cgi's in the /usr/local/nagios/sbin. They are all in green > color. So you are saying there should be another directory that hold the > cgi's? No, I'm not saying that at all. They should all be in /usr/local/nagios/sbin. So, in /usr/local/nagios/sbin, you see a file named trends.cgi? statusmap.cgi, statuswrl.cgi, histogram.cgi? Your web server is saying that you do not. You said earlier -- "In the error_log it says "[error] [client 127.0.0.1] script not found or unable to stat: /usr/local/nagios/sbin/trends.cgi, referer: http://localhost/nagios/side.html." Same kind of log message for the other links (status map, 3-d-status map, alert histogram)." The above says that /usr/local/nagios/sbin/trends.cgi does not exist. If it does, are the permissions on the file such that your web server can read and execute it? 'make install' should have set them properly. If the file exists and the permissions appear to be correct, re-check that you don't have SELinux enabled or at least misconfigured. If the file does not exist, read the FAQ. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkunjal at gmail.com Sun Jul 15 17:08:22 2007 From: mkunjal at gmail.com (Mahesh Kunjal) Date: Sun, 15 Jul 2007 08:08:22 -0700 Subject: Plugin: check-jmx can't handle value more than 1G for -w and -c options Message-ID: We run Java VMs with 3G heap. Looks like the check_jmx plugin can handle only upto a value of 1G for cammand line option of -w and -c. Sourcecode doesn't come with the plugin. I can volunteer to fix the code. Where can i get the source code? [root at scopslapm01 plugin]# ./check_jmx -U service:jmx:rmi:///jndi/rmi://scproluap04-mgmt:9134/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 1099577209 -c 1246194688 JMX CRITICAL HeapMemoryUsage.used=2141276184{committed=3246194688;init=3246391296;max=3246194688;used=2141276184} [root at scopslapm01 plugin]# ./check_jmx -U service:jmx:rmi:///jndi/rmi://scproluap04-mgmt:9134/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 1099577209 -c 3000000000 JMX UNKNOWN java.lang.NumberFormatException: For input string: "3000000000" connecting to java.lang:type=Memory by URL service:jmx:rmi:///jndi/rmi://scproluap04-mgmt:9134/jmxrmiorg.nagios.ParseError: java.lang.NumberFormatException: For input string: "3000000000" at org.nagios.JMXQuery.parse(JMXQuery.java:250) at org.nagios.JMXQuery.main(JMXQuery.java:74) Caused by: java.lang.NumberFormatException: For input string: "3000000000" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:459) at java.lang.Integer.parseInt(Integer.java:497) at org.nagios.JMXQuery.parse(JMXQuery.java:242) ... 1 more Usage: check_jmx -help ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shivkumar at outbackwifi.com Mon Jul 16 06:15:32 2007 From: shivkumar at outbackwifi.com (Shivkumar) Date: Mon, 16 Jul 2007 09:45:32 +0530 Subject: not able toaccesshttp://localhost/nagios/cgi-bin/ In-Reply-To: References: Message-ID: <469AF0E4.3010200@outbackwifi.com> Hi, My guess is that he hasnt made the appropriate changes in the Apache configuration. So it doesnt know where to look for the .cgi files. AFAIk he will have to put in a directive that points to his /usr/local/nagios/sbin. This part is *very well documented* in the Nagios documentation. Regards, Shiv Marc Powell said the following: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh >> Sent: Saturday, July 14, 2007 4:03 PM >> To: Nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] not able >> > toaccesshttp://localhost/nagios/cgi- > >> bin/ >> >> i see all the cgi's in the /usr/local/nagios/sbin. They are all in >> > green > >> color. So you are saying there should be another directory that hold >> > the > >> cgi's? >> > > No, I'm not saying that at all. They should all be in > /usr/local/nagios/sbin. > > So, in /usr/local/nagios/sbin, you see a file named trends.cgi? > statusmap.cgi, statuswrl.cgi, histogram.cgi? Your web server is saying > that you do not. You said earlier -- > > "In the error_log it says "[error] [client 127.0.0.1] script not found > or unable to stat: /usr/local/nagios/sbin/trends.cgi, referer: > http://localhost/nagios/side.html." Same kind of log message for the > other links (status map, 3-d-status map, alert histogram)." > > The above says that /usr/local/nagios/sbin/trends.cgi does not exist. If > it does, are the permissions on the file such that your web server can > read and execute it? 'make install' should have set them properly. If > the file exists and the permissions appear to be correct, re-check that > you don't have SELinux enabled or at least misconfigured. > > If the file does not exist, read the FAQ. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Navdeep.Sidhu at tatatel.co.in Mon Jul 16 10:45:32 2007 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Mon, 16 Jul 2007 14:15:32 +0530 Subject: Nagios-users Digest, Vol 14, Issue 11 In-Reply-To: References: Message-ID: <745C9242AACB2D468091BC33BFD668D003A7E468@PB-CHD-MBX01.PJB.TTSL.COM> Hey all I'm using NetSaint for monitoring my windows servers resources like HDD, Memory... But on one server, I'm getting connection refused & unable to fetch information from server. I've tried by reinstalling NetSaint service but this didn't help. As per my understanding, it tries to make the connection on TCP/1248 port & moreover no such TCP/IP filtering is there between Nagios box & this server. Did anyone face this issue? Regards Navdeep Singh Sidhu -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Sunday, July 15, 2007 12:45 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 14, Issue 11 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Getting Nagiosgraph to create RRD files with LAST/MAX/MIN CF's (Ian Marlier) 2. Alex Weiss is out of the office. (Alex Weiss) 3. Re: Getting Nagiosgraph to create RRD files with LAST/MAX/MIN CF's (Jim Avery) 4. Re: SIGEXIT shutting down Nagios 2.9 on Solaris 10 (Andrea Gabellini) 5. error running nrpe (stephen.kitchener at aciworldwide.com) 6. Re: check_url (kyle) 7. Re: Distributed setups (Mark Wagner) 8. checking file status (Robert Fitzpatrick) 9. not able to access http://localhost/nagios/cgi-bin/ (Gagandeep Singh) 10. Re: not able to access http://localhost/nagios/cgi-bin/ (Marc Powell) 11. Re: not able to access http://localhost/nagios/cgi-bin/ (jmurray at whoi.edu) 12. statically compiling NRPE on Solaris 9 (Ayotunde Itayemi) 13. Re: checking file status (Jim Avery) 14. Re: not able to access http://localhost/nagios/cgi-bin/ (Marc Powell) 15. Re: not able to access http://localhost/nagios/cgi-bin/ (Gagandeep Singh) ---------------------------------------------------------------------- Message: 1 Date: Thu, 12 Jul 2007 23:34:31 -0400 From: Ian Marlier Subject: [Nagios-users] Getting Nagiosgraph to create RRD files with LAST/MAX/MIN CF's To: "nagios-users at lists.sourceforge.net" Message-ID: Content-Type: text/plain; charset="US-ASCII" Hey, all -- A couple of hours of Googling around haven't turned up any answers to this question, so I'm hoping someone here might have one...(and sorry if this is annoyingly offtopic or something. It seems relevant enough...) I'm setting up nagios, and wish to use cacti to create historical/trend graphs of some nagios service checks. Based on several suggestions that I found around the web, I installed NagiosGraph to create RRD files based on the service-perfdata file. This seems to be working fine. Except: NagiosGraph seems to want to only have the "AVERAGE" CF in the RRD files that it creates. The other basic ones (MAX/MIN/LAST) are missing. Which is rather a pain, since I'd like to use them in some cases. Which leads to these questions: - Is there a way to "fix" nagiosgraph so that it creates these CF's? Just a pointer to docs or something would be enough to get me going... - Is there a better tool than nagiosgraph for doing what I'm doing (creating RRD files from service-perfdata files), especially given that I'm not particularly interested in nagiosgraph's actual graphing ability? Thanks! - Ian ------------------------------ Message: 2 Date: Fri, 13 Jul 2007 16:02:25 +1200 From: Alex Weiss Subject: [Nagios-users] Alex Weiss is out of the office. To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=US-ASCII I will be out of the office starting 13/07/2007 and will not return until 24/07/2007. VMware matters please contact one of my colleagues: Robert Usman Jeff Pai Or my manager: Glen Sinclair ------------------------------ Message: 3 Date: Fri, 13 Jul 2007 07:25:40 +0100 From: "Jim Avery" Subject: Re: [Nagios-users] Getting Nagiosgraph to create RRD files with LAST/MAX/MIN CF's To: nagios-users at lists.sourceforge.net Message-ID: <765d77c80707122325y4cc9efcay2cf5e05ecc8476ab at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 13/07/07, Ian Marlier wrote: > - Is there a better tool than nagiosgraph for doing what I'm doing (creating > RRD files from service-perfdata files), especially given that I'm not > particularly interested in nagiosgraph's actual graphing ability? I don't know if it's better or would make your problem any easier to solve, but PNP is probably worth looking at. http://www.ederdrom.de/doku.php/nagios/pnp_en I find it very easy to install and use, but I've not yet tried graphing max/min rather than the default average with it. I've never tried NagiosGraph myself. hth, Jim ------------------------------ Message: 4 Date: Fri, 13 Jul 2007 09:00:29 +0200 From: Andrea Gabellini Subject: Re: [Nagios-users] SIGEXIT shutting down Nagios 2.9 on Solaris 10 To: "Bonaparte, Klaus" Cc: nagios-users at lists.sourceforge.net Message-ID: <4697230D.9070306 at telecomitalia.sm> Content-Type: text/plain; charset="iso-8859-1" Klaus, this bug is fixed in CVS. Install from it or apply the attached patch to 2.9 source. Andrea Bonaparte, Klaus wrote: > We've been running Nagios 2.9 on Solaris 10 for a few weeks now and have > noticed our Nagios server suddenly shutting down with the following in > nagios.log: > > [1184189631] Caught SIGEXIT, shutting down... > > > > No one has been logged in at the time of these failures and nothing else > is in the log files. Is there a known bug in Nagios 2.9? I've never seen > this with the Nagios 2.4 we run on another Solaris 10 server and we are > considering downgrading our Nagios 2.9 to Nagios 2.4 since it has been > more stable. > > > > Thanks, > > Klaus > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- --------------------------------------- Feed the homeless to the hungry --------------------------------------- Ing. Andrea Gabellini Email: andrea.gabellini at telecomitalia.sm Tel: 0549 886111 (Italy) Tel. +378 0549 886111 (International) Telecom Italia San Marino S.p.A. Strada degli Angariari, 3 47891 Rovereta Republic of San Marino http://www.omniway.sm http://www.telecomitalia.sm -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios-2.9.patch.txt ------------------------------ Message: 5 Date: Fri, 13 Jul 2007 14:16:37 +0100 From: stephen.kitchener at aciworldwide.com Subject: [Nagios-users] error running nrpe To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset="us-ascii" Hi, I have compiled and installed nrpe-2.8.1 and nagios-plugins-1.4.9, but when I run then daemon on my system I get the following error /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg -d /usr/lib/hpux32/dld.so: Unsatisfied data symbol 'rfc931_timeout' in load module '/usr/lib/hpux32/libwrap.so'. Killed The system is a HPUX 11.23 itainium IA64, cc: HP C/aC++ B3910B A.06.13 [Nov 27 2006] make is the installed one - not a GNU Version Does anyone have hints or solutions to help make this work please ?? Thanks Stephen Kitchener ITC ACI Worldwide (EMEA) Ltd tel: 01923812885 email: Stephen.Kitchener at aciworldwide.com This e-mail message and any attachments may contain confidential, proprietary or non-public information. This information is intended solely for the designated recipient(s). If an addressing or transmission error has misdirected this e-mail, please notify the sender immediately and destroy this e-mail. Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this e-mail are those of the author personally. ------------------------------------------------------------------------ ------------------------------------------------------------------- ACI Worldwide (EMEA) Limited. Registered in England and Wales (Registered no. 2310474). Registered Office: 59 clarendon road, Watford, Hertfordshire. WD17 iFQ, United Kingdom ------------------------------------------------------------------------ ------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 6 Date: Fri, 13 Jul 2007 18:35:21 +0200 From: kyle Subject: Re: [Nagios-users] check_url To: Guille , nagios-users at lists.sourceforge.net Message-ID: <4697A9C9.5020106 at caosdigital.com> Content-Type: text/plain; charset=ISO-8859-1 Guille wrote: > Hello im having troubles using the check_url; via terminal (with root and nagios users) > works fine but via nagios i always im receiving the same error. > > UNKNOWN: /usr/bin/wget --output-document=tmp_html --no-check-certificate -S returns no > result! obviously wget doesn't output any status info so nagios cannot know whether that check went OK, WARNING, CRITICAL or UNKNOWN. Write a wrapper script for it or use the standard check_http pluging included with nagios-plugins v1.4.x -- Backup not found: (A)bort, (R)etry, (P)anic? ------------------------------ Message: 7 Date: Fri, 13 Jul 2007 12:00:23 -0700 From: Mark Wagner Subject: Re: [Nagios-users] Distributed setups To: nagios-users at lists.sourceforge.net Message-ID: <20070713190023.GP21332 at n-its-markwag.mcis.washington.edu> Content-Type: text/plain; charset=us-ascii Steve Shipway auckland.ac.nz> writes: > > > We're currently looking at creating a distributed setup using > > NSCA. One thing that I've found no mention of is how the host and > > service commands are forwarded. > > I think they are not. > > > Even if the central machien does all the notifications (as we're > > planning), completely dis/enabling service/host checks would have > > to be distributed from the central machine to the checking > > machines. > > This is the biggest disadvantage of the distributed model, in my opinion > - enable/disable checks commands are not propagated (and indeed cannot > be without some serious reworking of the cmd.cgi interface) and so you > cannot stop checking any more. > > However this is not such a big issue, as mostly you are more interested > in scheduling downtime and disabling/acknowledging alerts, all of which > are done on the central server. The satellite servers (collectors) do > not do notifications, only pass the status on to the central server > (aggregator) via the OCSP command. > > If I was obsessive about it, I'd modify the cmd.cgi script so that it > spots a distributed service (no active checks, only freshness checks to > set to 'unknown') and forwards to call to the host managing it (which > I'd have to store the definition of in a separate database table or > something). Too much trouble though, particularly since our users are > forever clicking 'disable checks' when they actually mean 'disable > alerts' or 'acknowledge'. It is an issue in the following situation: you have a backup aggregator. All the collectors send results to both the primary and backup. The backup aggregator watches the primary aggregator. If the primary goes down it starts sending out notifications. In this case all the acked problems on the primary aggregator will be sent out when the backup takes over. The idea I'm toying with is to have cgi.cfg point to a different main_config_file. This main_config_file will be identical to the real main_config_file but have a different command_file. There will be a process listening on this command_file that will write the result to the real command_file and also forwards it to a daemon listening on the backup aggregator. This daemon will write to the command_file on the backup. Viola', all commands from the CGIs automatically get sent to the backup aggregator. -- Mark Wagner System Administrator, UW Medicine IT Services 206-616-6119 ------------------------------ Message: 8 Date: Fri, 13 Jul 2007 16:39:08 -0400 From: Robert Fitzpatrick Subject: [Nagios-users] checking file status To: Nagios Message-ID: <1184359148.21738.12.camel at columbus.webtent.org> Content-Type: text/plain We'd like to monitor the status of our huge file share and be notified of any major changes if a rogue employee were to empty or delete the files. Maybe set a threshold of number of files changed? Is there any suggestions on how this could be done with Nagios? -- Robert ------------------------------ Message: 9 Date: Fri, 13 Jul 2007 17:38:27 -0700 (PDT) From: Gagandeep Singh Subject: [Nagios-users] not able to access http://localhost/nagios/cgi-bin/ To: nagios-users at lists.sourceforge.net Message-ID: <383973.39873.qm at web51309.mail.re2.yahoo.com> Content-Type: text/plain; charset="iso-8859-1" I can access nagios by typing /localhost/nagios/ from the web console. But when i try to access /localhost/nagios/cgi-bin/ it says "403 FORBIDDEN you don't have permission to access /localhost/nagios/cgi-bin/ on this server." I have followed the documentation. I have set the scriptalias and everything. The .htaccess and htaccess.users file are in the right directories. I dont understand what is going on? Maybe I need to place the .htaccess file under /user/local/nagios/share also? Don't know what is causing this problem. Can somebody give me a idea what could be wrong Thanks Gagan Rakkar --------------------------------- Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 10 Date: Fri, 13 Jul 2007 22:09:28 -0500 From: "Marc Powell" Subject: Re: [Nagios-users] not able to access http://localhost/nagios/cgi-bin/ To: Message-ID: Content-Type: text/plain; charset="US-ASCII" > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh > Sent: Friday, July 13, 2007 7:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] not able to access http://localhost/nagios/cgi- > bin/ > > I can access nagios by typing /localhost/nagios/ from the web console. > But when i try to access /localhost/nagios/cgi-bin/ it says "403 FORBIDDEN > you don't have permission to access /localhost/nagios/cgi-bin/ on this > server." I have followed the documentation. I have set the scriptalias > Can somebody give me a idea what could be wrong Your web server's error log should tell you what the reason is. If you're just trying to access as you've indicated above, it's not surprising that you're seeing the error. You're probably not allowing DirectoryIndex (and you don't want to). What happens if you click one of the nagios links in the left pane of http://localhost/nagios? If you need further help, post the error from the web log, your OS version and verify that you do not have SELinux enabled or that you have given proper security context to the nagios CGI's. -- Marc ------------------------------ Message: 11 Date: Sat, 14 Jul 2007 00:08:03 -0400 From: jmurray at whoi.edu Subject: Re: [Nagios-users] not able to access http://localhost/nagios/cgi-bin/ To: Gagandeep Singh Cc: nagios-users at lists.sourceforge.net Message-ID: <1184386083.46984c239c6b8 at webmail.whoi.edu> Content-Type: text/plain; charset=ISO-8859-1 perhaps the user you are logged in as is not allowed in the cgi.cfg file? Quoting Gagandeep Singh : > I can access nagios by typing /localhost/nagios/ from the web console. But > when i try to access /localhost/nagios/cgi-bin/ it says "403 FORBIDDEN you > don't have permission to access /localhost/nagios/cgi-bin/ on this server." > I have followed the documentation. I have set the scriptalias and > everything. The .htaccess and htaccess.users file are in the right > directories. I dont understand what is going on? Maybe I need to place the > .htaccess file under /user/local/nagios/share also? Don't know what is > causing this problem. > > Can somebody give me a idea what could be wrong > > Thanks > > Gagan Rakkar > > > --------------------------------- > Park yourself in front of a world of choices in alternative vehicles. > Visit the Yahoo! Auto Green Center. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------ Message: 12 Date: Sat, 14 Jul 2007 14:44:57 +0100 From: "Ayotunde Itayemi" Subject: [Nagios-users] statically compiling NRPE on Solaris 9 To: Message-ID: <99487797D76C7841AEEDE4A1DCA86C701C75E4 at VNL-LA01EX04P.vmobile-nigeria.co m> Content-Type: text/plain; charset="windows-1250" Hi All, Is it possible to statically compile/link NRPE on one server then be able to copy only the binaries to other servers which may not have OpenSSL and some of the other required libraries installed? (possibly even no GCC on the other servers.) Same goes for Nagios-Plugins. I am compiling NRPE-2.8 on Solaris 9 SPARC. Thanks. Regards, No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.4/897 - Release Date: 7/11/2007 9:57 PM ------------------------------ Message: 13 Date: Sat, 14 Jul 2007 15:16:36 +0100 From: "Jim Avery" Subject: Re: [Nagios-users] checking file status To: nagios-users at lists.sourceforge.net Message-ID: <765d77c80707140716o623396b1jc0fc47b649637124 at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 13/07/07, Robert Fitzpatrick wrote: > We'd like to monitor the status of our huge file share and be notified > of any major changes if a rogue employee were to empty or delete the > files. Maybe set a threshold of number of files changed? Is there any > suggestions on how this could be done with Nagios? What's the operating-system? Whatever it is, it shouldn't be too difficult to script a check which alerts you if the amount of disk space used is >xGb less than it was 15 minutes ago. ------------------------------ Message: 14 Date: Sat, 14 Jul 2007 12:46:23 -0500 From: "Marc Powell" Subject: Re: [Nagios-users] not able to access http://localhost/nagios/cgi-bin/ To: Message-ID: Content-Type: text/plain; charset="US-ASCII" Please always respond on list. That's how open source support works. > -----Original Message----- > From: Gagandeep Singh [mailto:singh_mail at yahoo.com] > Sent: Saturday, July 14, 2007 10:43 AM > To: Marc Powell > Subject: Re: [Nagios-users] not able to access > http://localhost/nagios/cgi-bin/ > > Hi Marc thanks for your reply. > > In the web error_log this is what I see "[error] [client 127.0.0.1] > attempt to invoke directory as script: /usr/local/nagios/sbin/". I am That's expected behavior. You didn't specify a specific cgi to load. > able to click all links in the left pane when I access > http://localhost/nagios/ except status map, 3-d-status map, trends, alert > histogram. This is a FAQ. You didn't have the pre-requisites installed for those to be compiled or they weren't in standard locations. ./configure probably complained about it. Check the FAQ on nagios.org. -- Marc ------------------------------ Message: 15 Date: Sat, 14 Jul 2007 11:29:15 -0700 (PDT) From: Gagandeep Singh Subject: Re: [Nagios-users] not able to access http://localhost/nagios/cgi-bin/ To: Nagios-users at lists.sourceforge.net Message-ID: <632347.50935.qm at web51302.mail.re2.yahoo.com> Content-Type: text/plain; charset="iso-8859-1" > Please always respond on list. That's how open source support works. Sorry I am new to the forums. Thanks for clearing that out. all the cgi's are in the default directory as described in the documentation. When I was installing nagios server and plugins ./configure never complained about anything. Everything went smooth. But somebody told me on irc that there is some stanza directory thats should be in /etc dir. I dont have such directory. There is nothing mentioned about the stanza directory in the documentation either. Gagan Rakkar Marc Powell wrote: Please always respond on list. That's how open source support works. > -----Original Message----- > From: Gagandeep Singh [mailto:singh_mail at yahoo.com] > Sent: Saturday, July 14, 2007 10:43 AM > To: Marc Powell > Subject: Re: [Nagios-users] not able to access > http://localhost/nagios/cgi-bin/ > > Hi Marc thanks for your reply. > > In the web error_log this is what I see "[error] [client 127.0.0.1] > attempt to invoke directory as script: /usr/local/nagios/sbin/". I am That's expected behavior. You didn't specify a specific cgi to load. > able to click all links in the left pane when I access > http://localhost/nagios/ except status map, 3-d-status map, trends, alert > histogram. This is a FAQ. You didn't have the pre-requisites installed for those to be compiled or they weren't in standard locations. ./configure probably complained about it. Check the FAQ on nagios.org. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 14, Issue 11 ******************************************** ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From windy at white-hawk.de Mon Jul 16 11:33:47 2007 From: windy at white-hawk.de (Stephan =?iso-8859-1?Q?Windm=FCller?=) Date: Mon, 16 Jul 2007 11:33:47 +0200 Subject: Solaris 10/x86 HowTo Message-ID: <20070716093347.GC17174@speutel.de> Hello! Since I ran into multiple issues installing Nagios on my Solaris machine, I wrote a howto which could help others with the same problems: http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html I am not a native englisch speaker, so I would appreciate if some of you can proofread the document. Please let me know what you think and if there is anything I can improve. TIA Stephan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Jul 16 15:00:55 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 16 Jul 2007 14:00:55 +0100 Subject: Solaris 10/x86 HowTo In-Reply-To: <20070716093347.GC17174@speutel.de> References: <20070716093347.GC17174@speutel.de> Message-ID: <765d77c80707160600w57cee3b4q6aa868b473c29f06@mail.gmail.com> On 16/07/07, Stephan Windm?ller wrote: > Hello! > > Since I ran into multiple issues installing Nagios on my Solaris > machine, I wrote a howto which could help others with the same problems: > > http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html > > I am not a native englisch speaker, so I would appreciate if some of you > can proofread the document. Please let me know what you think and if > there is anything I can improve. Your English is fine - better than most of my fellow countrymen. I don't have Solaris so can't comment on whether it is technically correct. Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emerson_brum at sicredi.com.br Mon Jul 16 15:08:22 2007 From: emerson_brum at sicredi.com.br (=?iso-8859-1?Q?=C9merson_Brum?=) Date: Mon, 16 Jul 2007 10:08:22 -0300 Subject: implementing Message-ID: <20070716130824.A9A2BF88FF@mailsvr2.sicredi.net> Hello list, I have been trying to understand the nagios code for a long time. Nagios has a complex code event thought I understand C. I would like to add two fields more to show those information in two screens (extinfo.cgi and status.cgi). My ideia is quiet simple: type in localhost.conf a text or a simple word and this same word appears in extinfo.cgi and status.cgi. Actually I could do it, changing some lines in some files but all the commands from extinfo screen are not working anymore. Is there someone who has already done something like this before or has anyone with some ideia? Thank you so much for your attention. Att. ?merson P. Brum ----------------------------------------------------------- Assessor de Suporte- Telem?tica / NOC E-mail: emerson_brum at sicredi.com.br (51) 3358-8886 ----------------------------------------------------------- Confedera??o Sicredi ? Porto Alegre - RS SICREDI: http://www.sicredi.com.br As informacoes contidas neste e-mail e nos arquivos anexados podem ser informacoes confidenciais ou privilegiadas. Caso voce nao seja o destinatario correto, apague o conteudo desta mensagem e notifique o remetente imediatamente. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esben at cs.aau.dk Mon Jul 16 15:24:28 2007 From: esben at cs.aau.dk (Esben Bach) Date: Mon, 16 Jul 2007 15:24:28 +0200 Subject: Suggestions needed for VMWare Guest OS'es Message-ID: <469B718C.9030707@cs.aau.dk> Hi All As we are currently consolidating hosts to VMWare i need some way to define reasonable parent/child relations ships in Nagios as well as defining host dependencies. I have the ESX servers monitored in nagios, however i can never be sure which of the servers a particular Guest OS is running on so i can hardly use the ESX servers as parents for my guest OS's. The only option i can think of is to consider each Guest OS as a real machine and have the parent be the switch to which it is connected (just as i would otherwise). Anyone who has experience with such a setup (or similiar) and the pros or cons, or perhaps alternative setup suggestions. Any response is appreciated, thanks in advance. -- Esben Aalborg University Denmark Department of Computer Science 9220 Aalborg ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Mon Jul 16 19:22:21 2007 From: lflacayo at cps.k12.il.us (Lacayo, Luis F) Date: Mon, 16 Jul 2007 12:22:21 -0500 Subject: Notification Issues. In-Reply-To: <20070716130824.A9A2BF88FF@mailsvr2.sicredi.net> References: <20070716130824.A9A2BF88FF@mailsvr2.sicredi.net> Message-ID: HI Everyone, Hope all is well with all of you, I have a problem that someone might be able to help. I am running Nagios 2.7 on RHES 4.0. My problem is that I have several contact groups, and a wrong group is receiving the notifications. I have looked at the host setup, the service setup and the templates, they all look like they are set up correctly. AM I missing something here? define service{ use ping-service host_name co-csm01 service_description REAL-10.129.210.69 XXXMAIL contact_groups wan check_command check_slbrealstate!2.7.67.80.83.77.65.73.76.10.129.210.69.0!10.129.210.69!10.129.1.1 } define host{ use core-server host_name co-csm01 alias Cisco Load Balancer address 10.129.208.4 # parents co6509-1 co6509-2 } define service{ name ping-service is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 2 notification_interval 120 notification_period 24x7 notification_options c,r active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 0 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } So the only people that should be notified should be the ones in the wan group.. but others are getting notified, I just can't place my finger on this one. Luis Luis F. Lacayo From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of ?merson Brum Sent: Monday, July 16, 2007 8:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] implementing Hello list, I have been trying to understand the nagios code for a long time. Nagios has a complex code event thought I understand C. I would like to add two fields more to show those information in two screens (extinfo.cgi and status.cgi). My ideia is quiet simple: type in localhost.conf a text or a simple word and this same word appears in extinfo.cgi and status.cgi. Actually I could do it, changing some lines in some files but all the commands from extinfo screen are not working anymore. Is there someone who has already done something like this before or has anyone with some ideia? Thank you so much for your attention. Att. ?merson P. Brum ----------------------------------------------------------- Assessor de Suporte- Telem?tica / NOC E-mail: emerson_brum at sicredi.com.br (51) 3358-8886 ----------------------------------------------------------- Confedera??o Sicredi - Porto Alegre - RS SICREDI: http://www.sicredi.combr As informacoes contidas neste e-mail e nos arquivos anexados podem ser informacoes confidenciais ou privilegiadas. Caso voce nao seja o destinatario correto, apague o conteudo desta mensagem e notifique o remetente imediatamente. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 gridshield.net Mon Jul 16 20:06:03 2007 From: marc at gridshield.net (Marc DeTrano) Date: Mon, 16 Jul 2007 12:06:03 -0600 Subject: Getting Nagiosgraph to create RRD files with LAST/MAX/MIN, CF's Message-ID: <469BB38B.8000408@gridshield.net> You may also find perf2rrd (http://perf2rrd.sourceforge.net/) to be useful. It creates RRDs with Avg, Min, and Max consolidations, from plugins that support the perfdata standard format. Marc DeTrano ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.munyak at gmail.com Mon Jul 16 20:47:27 2007 From: don.munyak at gmail.com (Don Munyak) Date: Mon, 16 Jul 2007 14:47:27 -0400 Subject: The statusmap...CGIs are missing or dont work! In-Reply-To: <6207f7d90707091357q572a5a5qe03db171a3a2b50d@mail.gmail.com> References: <6207f7d90707091357q572a5a5qe03db171a3a2b50d@mail.gmail.com> Message-ID: <6207f7d90707161147k3de9bb0at93b4fcb479013ab0@mail.gmail.com> ...bump... On 7/9/07, Don Munyak wrote: > Hello, > > {snip} > http://www.nagios.org/faqs/viewfaq.php?faq_id=55&expand=false&showdesc=true > > The most probable cause of this is that you do not have the gd library > and/or its required libraries (i.e. libpng, libjpeg, and zlib). If you > do have the libraries installed on your system, the configure script > may not have properly detected them before you compiled the CGIs. > Here's what you can do to solve the issue: > > Install the gd, png, jpeg, and zlib libraries on your system. You will > also have to install the gd-devel, png-devel, jpeg-devel, and > zlib-devel libraries. If you want RPMs for these libraries, try > searching rpmfind.net for the following libraries: > > > libgd > libgd-devel > libpng > libpng-devel > libjpeg > libjpeg-devel > zlib > zlib-devel > > {end-snip} > > I have Nagios running on FreeBSD 6.2 . > How do I add the missing libraries ? > I cannot find them in the ports collection. > > Thanks > Don > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nigel.Heaney at bgfl.org Mon Jul 16 20:47:38 2007 From: Nigel.Heaney at bgfl.org (Nigel Heaney) Date: Mon, 16 Jul 2007 19:47:38 +0100 Subject: automated response Message-ID: <10707161947.AA23778@bgfl.org> I am on leave and won't return until 30th July. I will try to respond to your email when I return. ************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster at bgfl.org The views expressed within this email are those of the individual, and not necessarily those of the organisation ************************************************************* ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Jul 16 21:04:38 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 16 Jul 2007 12:04:38 -0700 Subject: Notification Issues. In-Reply-To: References: <20070716130824.A9A2BF88FF@mailsvr2.sicredi.net> Message-ID: <20070716190438.GS6266@pmorris.usa.hp.com> On Mon, 16 Jul 2007, Lacayo, Luis F wrote: > Hope all is well with all of you, I have a problem that someone might be able to help. I am running Nagios 2.7 on RHES 4.0. > > My problem is that I have several contact groups, and a wrong group is receiving the notifications. I have looked at the host setup, the service setup and the templates, they all look like they are set up correctly. AM I missing something here? > > define service{ > use ping-service > host_name co-csm01 > service_description REAL-10.129.210.69 XXXMAIL > contact_groups wan > check_command check_slbrealstate!2.7.67.80.83.77.65.73.76.10.129.210.69.0!10.129.210.69!10.129.1.1 > } > > define host{ > use core-server > host_name co-csm01 > alias Cisco Load Balancer > address 10.129.208.4 > # parents co6509-1 co6509-2 > } > > define service{ > name ping-service > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 10 > retry_check_interval 2 > notification_interval 120 > notification_period 24x7 > notification_options c,r > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 0 > check_freshness 1 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > } Yep, you're right. Based on that config, only the wan group would receive notifications. Whatever's causing it isn't in this part of the config. Assuming that this really is the current config, and your running Nagios isn't using something else (with is always worth a restart to verify), I'd check the "wan" group to make sure it's not inheriting something from another group, and that there are no escalations active for this service that might be kicking in. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 21:13:23 2007 From: marc at ena.com (Marc Powell) Date: Mon, 16 Jul 2007 14:13:23 -0500 Subject: The statusmap...CGIs are missing or dont work! In-Reply-To: <6207f7d90707161147k3de9bb0at93b4fcb479013ab0@mail.gmail.com> References: <6207f7d90707161147k3de9bb0at93b4fcb479013ab0@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Don Munyak > Sent: Monday, July 16, 2007 1:47 PM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] The statusmap...CGIs are missing or dont work! > > ...bump... > > > Install the gd, png, jpeg, and zlib libraries on your system. You will > > also have to install the gd-devel, png-devel, jpeg-devel, and > > zlib-devel libraries. If you want RPMs for these libraries, try > > searching rpmfind.net for the following libraries: > > > > > > libgd > > libgd-devel > > libpng > > libpng-devel > > libjpeg > > libjpeg-devel > > zlib > > zlib-devel > > > > {end-snip} > > > > I have Nagios running on FreeBSD 6.2 . > > How do I add the missing libraries ? > > I cannot find them in the ports collection. If you can't find them through Google or through the FreeBSD support groups, you may need to build them from source. You may be fortunate and find someone here that's done it but OS support is really beyond the scope of this list. I'd search other resources to be proactive if I were you. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhaney at ercbroadband.org Mon Jul 16 22:57:13 2007 From: mhaney at ercbroadband.org (Mark Haney) Date: Mon, 16 Jul 2007 16:57:13 -0400 Subject: notifications setup Message-ID: <469BDBA9.4080906@ercbroadband.org> Is there a way to setup nagios to notify particular groups/users based on the nature of the check? For example we have a temp/humidity monitor that I want to be able to setup notifications to just our facilities guy if the check_snmp output hits the CRITICAL threshold, but notify all of my staff for WARNINGS. Is this possible? -- Recedite, plebes! Gero rem imperialem! Mark Haney Sr. Systems Administrator ERC Broadband (828) 350-2415 Call (866) ERC-7110 for after hours support ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pschulz at localtoolbox.com Mon Jul 16 22:59:07 2007 From: pschulz at localtoolbox.com (Peter Schulz) Date: Mon, 16 Jul 2007 13:59:07 -0700 Subject: temp_file nagios.tmp issue Message-ID: <6F9D4F9F-6389-4A13-BEA5-91BD78136518@localtoolbox.com> Hello, I am having an issue with nagios.tmp re-creating every hour and using my disk space up. Is there anyway to turn is hourly option off? the docs read: Temp File Format: temp_file= Example: temp_file=/usr/local/nagios/var/nagios.tmp This is a temporary file that Nagios periodically creates to use when updating comment data, status data, etc. The file is deleted when it is no longer needed. Issue is the file does not get deleted but gets regenerated once an hour w/a new name example: nagios.tmpvVNenp Thanks for the insight/help! Peter H -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.yost at epsiia.com Mon Jul 16 23:09:09 2007 From: josh.yost at epsiia.com (Yost, Josh) Date: Mon, 16 Jul 2007 16:09:09 -0500 Subject: notifications setup References: <469BDBA9.4080906@ercbroadband.org> Message-ID: <0BBA8E623DF75D49942D130A7B74A20801CD0A@MKEXCHVS1.Mail.Fiserv.net> Yes, define your facilities guy as a contact and set his notification_options to only 'c'. If you want him to only get notifications for that one service, you'll probably want to give him his own contact group and specify it accordingly in the contact_groups of that one service definition (the docs should explain how to do this). - Josh ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Mark Haney Sent: Mon 7/16/2007 3:57 PM To: Nagios Users mailinglist Subject: [Nagios-users] notifications setup Is there a way to setup nagios to notify particular groups/users based on the nature of the check? For example we have a temp/humidity monitor that I want to be able to setup notifications to just our facilities guy if the check_snmp output hits the CRITICAL threshold, but notify all of my staff for WARNINGS. Is this possible? -- Recedite, plebes! Gero rem imperialem! Mark Haney Sr. Systems Administrator ERC Broadband (828) 350-2415 Call (866) ERC-7110 for after hours support ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Mon Jul 16 23:19:10 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Mon, 16 Jul 2007 17:19:10 -0400 Subject: notifications setup In-Reply-To: <0BBA8E623DF75D49942D130A7B74A20801CD0A@MKEXCHVS1.Mail.Fiserv.net> References: <469BDBA9.4080906@ercbroadband.org> <0BBA8E623DF75D49942D130A7B74A20801CD0A@MKEXCHVS1.Mail.Fiserv.net> Message-ID: <9A7C330414272D44AE4911C835702AAA0C06C7@SXGM-003.fg.rbc.com> Another option If I'm not mistaken, you can use the escalations option set this up. Create an escalation for the service that you want to have this option enabled for and set the escalation_options to say CRITICAL and set the group to notify for that state. Do the same for other states/group combos that you want for that service. If you need this done for every notification, set the first_notification to 1 and last_notification to 0. What this will allow you to do is still have each person with the capability of receiving any kind of notification. This might be useful if you need to segment this person's notification criteria by state based on host/service. Try it out and see if it works. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Yost, Josh Sent: Monday, July 16, 2007 5:09 PM To: Mark Haney; Nagios Users mailinglist Subject: Re: [Nagios-users] notifications setup Yes, define your facilities guy as a contact and set his notification_options to only 'c'. If you want him to only get notifications for that one service, you'll probably want to give him his own contact group and specify it accordingly in the contact_groups of that one service definition (the docs should explain how to do this). - Josh ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Mark Haney Sent: Mon 7/16/2007 3:57 PM To: Nagios Users mailinglist Subject: [Nagios-users] notifications setup Is there a way to setup nagios to notify particular groups/users based on the nature of the check? For example we have a temp/humidity monitor that I want to be able to setup notifications to just our facilities guy if the check_snmp output hits the CRITICAL threshold, but notify all of my staff for WARNINGS. Is this possible? -- Recedite, plebes! Gero rem imperialem! Mark Haney Sr. Systems Administrator ERC Broadband (828) 350-2415 Call (866) ERC-7110 for after hours support ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Jul 16 23:17:08 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 16 Jul 2007 14:17:08 -0700 Subject: notifications setup In-Reply-To: <469BDBA9.4080906@ercbroadband.org> References: <469BDBA9.4080906@ercbroadband.org> Message-ID: <20070716211708.GW6266@pmorris.usa.hp.com> On Mon, 16 Jul 2007, Mark Haney wrote: > Is there a way to setup nagios to notify particular groups/users based > on the nature of the check? For example we have a temp/humidity monitor > that I want to be able to setup notifications to just our facilities guy > if the check_snmp output hits the CRITICAL threshold, but notify all of > my staff for WARNINGS. Is this possible? Sure. Have a group that includes all staff that recieves warning checks, and one for the facilities guy that receives critical (but not warning) ones. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Mon Jul 16 21:23:40 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Mon, 16 Jul 2007 15:23:40 -0400 Subject: The statusmap...CGIs are missing or dont work! In-Reply-To: References: <6207f7d90707161147k3de9bb0at93b4fcb479013ab0@mail.gmail.com> Message-ID: <20070716192340.GA60213@bewilderbeast.blackhelicopters.org> On Mon, Jul 16, 2007 at 02:13:23PM -0500, Marc Powell wrote: > > > I have Nagios running on FreeBSD 6.2 . > > > How do I add the missing libraries ? > > > I cannot find them in the ports collection. > > If you can't find them through Google or through the FreeBSD support > groups, you may need to build them from source. You may be fortunate and > find someone here that's done it but OS support is really beyond the > scope of this list. I'd search other resources to be proactive if I were > you. Hi, If you build Nagios from ports, it will automatically include all of these dependencies. Installing Nagios via "pkg_add -r nagios" works equally well. All I've ever done for a complete Nagios setup on FreeBSD is cd /usr/ports/www/my-favorite-apache-version make all install clean cd /usr/ports/net-mgmt/nagios make all install clean ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rstillings at rickstillings.com Mon Jul 16 23:58:07 2007 From: rstillings at rickstillings.com (Rick Stillings) Date: Mon, 16 Jul 2007 17:58:07 -0400 Subject: Logging of "Disabled Service Checks" Message-ID: <469BE9EF.9070309@rickstillings.com> I'm looking to find out: 1) When Service/Host Check Notifications are disabled is it logged? 2) If so where :-) 3) How do I control who can disable Notifications? thanks -rick -- _______________________________ Rick Stillings rstillings at rickstillings.com http://www.rickstillings.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From navyeh at yahoo.com Mon Jul 16 23:27:58 2007 From: navyeh at yahoo.com (Eric Hernandez) Date: Mon, 16 Jul 2007 14:27:58 -0700 (PDT) Subject: Nagios Graph, Not graphing Message-ID: <183935.99360.qm@web61120.mail.yahoo.com> Nagios Group, I am trying to configure Nagiosgraph, to work but it does not. I cant seem to find the problem, in the apache log files, its says the graph file does not exist. Does anyone have a link to this graph image, i have tried making my own, but cant seem to get it right. Not sure how it all works though, this image should be a link to the actual graph i think, Please Advise, -Eric --------------------------------- Get your own web address. Have a HUGE year through Yahoo! Small Business. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Jul 17 00:31:00 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 16 Jul 2007 15:31:00 -0700 Subject: Nagios Graph, Not graphing In-Reply-To: <183935.99360.qm@web61120.mail.yahoo.com> References: <183935.99360.qm@web61120.mail.yahoo.com> Message-ID: <20070716223100.GD28016@pmorris.usa.hp.com> On Mon, 16 Jul 2007, Eric Hernandez wrote: > I am trying to configure Nagiosgraph, to work but it does not. > > I cant seem to find the problem, in the apache log files, its says the graph file does not exist. > > Does anyone have a link to this graph image, i have tried making my own, but cant seem to get it right. > > Not sure how it all works though, this image should be a link to the actual graph i think, Nope, you don't need to link to any images for Nagiosgraph to work. What exactly is the error message? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 01:36:45 2007 From: marc at ena.com (Marc Powell) Date: Mon, 16 Jul 2007 18:36:45 -0500 Subject: Logging of "Disabled Service Checks" In-Reply-To: <469BE9EF.9070309@rickstillings.com> References: <469BE9EF.9070309@rickstillings.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rick Stillings > Sent: Monday, July 16, 2007 4:58 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Logging of "Disabled Service Checks" > > I'm looking to find out: > 1) When Service/Host Check Notifications are disabled is it logged? If you have log_external_commands enabled in nagios.cfg -- [1184628385] EXTERNAL COMMAND: DISABLE_SVC_NOTIFICATIONS;myhost;PING [1184628431] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;myhost;PING > 2) If so where :-) nagios.log (or the value of log_file). > 3) How do I control who can disable Notifications? Enable authorization for the CGIs. Only those people who are contacts for that host or service or are explicitly granted permissions in cgi.cfg are able to see or submit external commands for those hosts or services. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Jul 17 01:38:24 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 16 Jul 2007 19:38:24 -0400 Subject: Solaris 10/x86 HowTo In-Reply-To: <20070716093347.GC17174@speutel.de> References: <20070716093347.GC17174@speutel.de> Message-ID: <469C0170.4080807@aei.ca> Hi Stephan, Thanks a lot for contributing your docs. The best place to share them and have others add their input is to put it on the Nagios Community Wiki. http://www.nagioscommunity.org/wiki/index.php/Main_Page Create a new article and then link to it from the User-Contributed Documentation: http://www.nagioscommunity.org/wiki/index.php/Additional_Documentation Thanks, Thomas On 16/07/07 05:33 AM, Stephan Windm?ller wrote: > Hello! > > Since I ran into multiple issues installing Nagios on my Solaris > machine, I wrote a howto which could help others with the same problems: > > http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html > > I am not a native englisch speaker, so I would appreciate if some of you > can proofread the document. Please let me know what you think and if > there is anything I can improve. > > TIA > Stephan > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at unixplanet.biz Tue Jul 17 15:57:04 2007 From: nagios at unixplanet.biz (Nagios) Date: Tue, 17 Jul 2007 10:57:04 -0300 Subject: perfdata Message-ID: <469CCAB0.1080805@unixplanet.biz> Hello I have enabled perfdata, but some services does not have perfdata output. how can I set perfdata for them. I am trying to use nagiosgraph, but it seems only services that have perfdata output can be processed. here is the error that I get : I get perfdata not recognized, so rrd file can not be updated. Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 16:04:16 2007 From: marc at ena.com (Marc Powell) Date: Tue, 17 Jul 2007 09:04:16 -0500 Subject: perfdata In-Reply-To: <469CCAB0.1080805@unixplanet.biz> References: <469CCAB0.1080805@unixplanet.biz> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nagios > Sent: Tuesday, July 17, 2007 8:57 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] perfdata > > Hello > > I have enabled perfdata, but some services does not have perfdata output. > how can I set perfdata for them. Not all plugins support perfdata. I believe most, if not all, of the standard plugins from nagios-plugins do but contrib or plugins obtained from other sources might not. Check the --help for the plugins in question to see if it's a flag you need to pass. > I am trying to use nagiosgraph, but it seems only services that have > perfdata output can be processed. I don't use nagiosgraph but that would be reasonable. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Jul 17 16:38:34 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 17 Jul 2007 10:38:34 -0400 Subject: perfdata In-Reply-To: <469CCAB0.1080805@unixplanet.biz> References: <469CCAB0.1080805@unixplanet.biz> Message-ID: > I am trying to use nagiosgraph, but it seems only services that have > perfdata output can be processed. > here is the error that I get : > I get perfdata not recognized, so rrd file can not be updated. It's not the case that you need plugins to support perfdata to use nagiosgraph with them. Take a look at the example map file -- there are several examples of how to graph using plugin output. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at unixplanet.biz Tue Jul 17 16:58:28 2007 From: nagios at unixplanet.biz (Nagios) Date: Tue, 17 Jul 2007 11:58:28 -0300 Subject: perfdata In-Reply-To: References: Message-ID: <469CD914.7020901@unixplanet.biz> I am using check_snmp and unfortunately it seems there is no argument to pass perfdata. Nagiosgraph is using regular expresion to either use output section or perfdata section of perfdata file. Thanks Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Nagios >> Sent: Tuesday, July 17, 2007 8:57 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] perfdata >> >> Hello >> >> I have enabled perfdata, but some services does not have perfdata >> > output. > >> how can I set perfdata for them. >> > > Not all plugins support perfdata. I believe most, if not all, of the > standard plugins from nagios-plugins do but contrib or plugins obtained > from other sources might not. Check the --help for the plugins in > question to see if it's a flag you need to pass. > > >> I am trying to use nagiosgraph, but it seems only services that have >> perfdata output can be processed. >> > > I don't use nagiosgraph but that would be reasonable. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chactuchac10 at yahoo.com.ar Tue Jul 17 21:28:07 2007 From: chactuchac10 at yahoo.com.ar (Guille) Date: Tue, 17 Jul 2007 16:28:07 -0300 (ART) Subject: HTTP WARNING: HTTP/1.1 403 Forbidden Message-ID: <178021.74794.qm@web56706.mail.re3.yahoo.com> Hello guys, in some servers im receiving this status HTTP WARNING: HTTP/1.1 403 Forbidden , and a warning obviusly.. but why nagios detect forbidden the http, if via web i can access perfectly to the URL checked.. Any suggestion ? Regards! __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.welch at gmail.com Tue Jul 17 21:37:57 2007 From: simon.welch at gmail.com (Simon Welch) Date: Tue, 17 Jul 2007 20:37:57 +0100 Subject: HTTP WARNING: HTTP/1.1 403 Forbidden In-Reply-To: <178021.74794.qm@web56706.mail.re3.yahoo.com> References: <178021.74794.qm@web56706.mail.re3.yahoo.com> Message-ID: <58af117c0707171237v1b0e6bfbm543c35075c095482@mail.gmail.com> Could it be that Nagios is detecting the default web page and an actual index page does not exist. I have experienced this after a virgin Linux install with default Apache page, try creating a single page with some content i.e. Hello World and then test. Good luck Simon On 7/17/07, Guille wrote: > Hello guys, in some servers im receiving this status HTTP WARNING: HTTP/1.1 403 Forbidden > , and a warning obviusly.. but why nagios detect forbidden the http, if via web i can > access perfectly to the URL checked.. > > Any suggestion ? > > Regards! > > > > > > > __________________________________________________ > Pregunt?. Respond?. Descubr?. > Todo lo que quer?as saber, y lo que ni imaginabas, > est? en Yahoo! Respuestas (Beta). > ?Probalo ya! > http://www.yahoo.com.ar/respuestas > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miguelangel at irontec.com Tue Jul 17 21:41:41 2007 From: miguelangel at irontec.com (Miguel Angel Nieto) Date: Tue, 17 Jul 2007 21:41:41 +0200 Subject: HTTP WARNING: HTTP/1.1 403 Forbidden In-Reply-To: <178021.74794.qm@web56706.mail.re3.yahoo.com> References: <178021.74794.qm@web56706.mail.re3.yahoo.com> Message-ID: <469D1B75.5080600@irontec.com> Guille escribi?: > Hello guys, in some servers im receiving this status HTTP WARNING: HTTP/1.1 403 Forbidden > , and a warning obviusly.. but why nagios detect forbidden the http, if via web i can > access perfectly to the URL checked.. > > Any suggestion ? For some servers, for example shared web hostings, is not the same http://ip.add.re.ss and http://hostname.some Try to configure the check to the hostname, and not to the ip address. Sorry for my bad english, Im trying to improve it ;) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 22:56:21 2007 From: marc at ena.com (Marc Powell) Date: Tue, 17 Jul 2007 15:56:21 -0500 Subject: HTTP WARNING: HTTP/1.1 403 Forbidden In-Reply-To: <178021.74794.qm@web56706.mail.re3.yahoo.com> References: <178021.74794.qm@web56706.mail.re3.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Guille > Sent: Tuesday, July 17, 2007 2:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden > > Hello guys, in some servers im receiving this status HTTP WARNING: > HTTP/1.1 403 Forbidden > , and a warning obviusly.. but why nagios detect forbidden the http, if > via web i can > access perfectly to the URL checked.. Check your web server error logs but you'll probably want to use the -I, -H and possibly -u arguments to check HTTP to specify the IP address and Host/urlpath to ask the web server for. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abhishek.v at tcs.com Wed Jul 18 07:30:37 2007 From: abhishek.v at tcs.com (Abhishek V) Date: Wed, 18 Jul 2007 11:00:37 +0530 Subject: Version problem Message-ID: Hi Currently i m trying to run nagios on Fedora version2 with kernel version2.6 it configured properly but when i m trying out to access the cgi part it giving error Permission denied in /usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi I have also checked that the permission to these files are proper or not. Also added nagios and apache to the same group but even after all this no luck .. Kindly help.. Abhishek Vyas Tata Consultancy Services Mailto: abhishek.v at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Wed Jul 18 07:40:04 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 18 Jul 2007 17:40:04 +1200 Subject: Suggestions needed for VMWare Guest OS'es In-Reply-To: <469B718C.9030707@cs.aau.dk> References: <469B718C.9030707@cs.aau.dk> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2010002BA@UXCHANGE3.UoA.auckland.ac.nz> > As we are currently consolidating hosts to VMWare i need some way to > define reasonable parent/child relations ships in Nagios as well as > defining host dependencies. This is a really awkward one. What we do here is to first define the guests as individual hosts for monitoring, although we don't monitor CPU or Memory on them as the standard plugins don't give meaningful data under vmware. Next we're using the check_esx2 plugin on the servers in the farm which will alert for excessing virtual CPU, Ready, and Memory usage. Finally, we run a script regularly (daily) which probes the vmware server and reconfigured the parent/child relationships for the vhosts vs the esx servers. Not ideal - particularly when you have automigration enabled - but better than nothing. Now we're going to ESX3 I'm considering defining a dummy object in Nagios for the whole ESX farm. The guests become children of the ESX Farm object, and the ESX farm object is a child of *all* the ESX servers. The ESX farm host check is defined using check_summary over the ESX servers, and contains another check_summary check for its only service, although it could also hold the SNMP traps from the VirtualCentre server (we have this as a separate Nagios object). This setup will make more sense under ESX3, there the VC can automatically restart a guest on a new ESX server if the ESX server currently hosting it goes down. Steve ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esben at cs.aau.dk Wed Jul 18 13:36:48 2007 From: esben at cs.aau.dk (Esben Bach) Date: Wed, 18 Jul 2007 13:36:48 +0200 Subject: Suggestions needed for VMWare Guest OS'es In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A2010002BA@UXCHANGE3.UoA.auckland.ac.nz> References: <469B718C.9030707@cs.aau.dk> <12A6FDDD13C460408A6E47E5DB1235A2010002BA@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <469DFB50.6050501@cs.aau.dk> Steve Shipway wrote: >> As we are currently consolidating hosts to VMWare i need some way to >> define reasonable parent/child relations ships in Nagios as well as >> defining host dependencies. >> > > This is a really awkward one. > > What we do here is to first define the guests as individual hosts for > monitoring, although we don't monitor CPU or Memory on them as the > standard plugins don't give meaningful data under vmware. > > Next we're using the check_esx2 plugin on the servers in the farm which > will alert for excessing virtual CPU, Ready, and Memory usage. > > Finally, we run a script regularly (daily) which probes the vmware > server and reconfigured the parent/child relationships for the vhosts vs > the esx servers. Not ideal - particularly when you have automigration > enabled - but better than nothing. > > Now we're going to ESX3 I'm considering defining a dummy object in > Nagios for the whole ESX farm. The guests become children of the ESX > Farm object, and the ESX farm object is a child of *all* the ESX > servers. The ESX farm host check is defined using check_summary over > the ESX servers, and contains another check_summary check for its only > service, although it could also hold the SNMP traps from the > VirtualCentre server (we have this as a separate Nagios object). This > setup will make more sense under ESX3, there the VC can automatically > restart a guest on a new ESX server if the ESX server currently hosting > it goes down. > Thanks, i think ill try creating a dummy object, i was not aware of the check_summary plugin, but it seems reasonable to rely on that for the farm status. -- Esben > Steve > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 13:53:53 2007 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jul 2007 06:53:53 -0500 Subject: Version problem In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Abhishek V > Sent: Wednesday, July 18, 2007 12:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Version problem > > > Hi > > Currently i m trying to run nagios on Fedora version2 with kernel > version2.6 it configured properly but when i m trying out to > access the cgi part it giving error Permission denied in > /usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi > > I have also checked that the permission to these files are proper or not. > Also added nagios and apache to the same group > but even after all this no luck .. Can you show -- - The error from your web server log - the permissions on ~nagios, ~nagios/sbin and ~nagios/sbin/*; they should all be 755 nagios:nagios at least. - the group membership of your web server SELinux is known to be broken in FC2. You do have it disabled? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bcook at poughkeepsieschools.org Wed Jul 18 14:40:26 2007 From: bcook at poughkeepsieschools.org (B. Cook) Date: Wed, 18 Jul 2007 08:40:26 -0400 Subject: how to test? Message-ID: <469E0A3A.10503@poughkeepsieschools.org> I am trying to figure out how to test sending notifications to my telephone. It is a nokia 6126 and I am trying to send to the email address my provider has given me, and I am using the epager notifications. Sending using the default epager sends me two messages for each notification due to the spacing and such of the message. Anyway what I am looking for is a way to send test messages that would have real data, so that I can figure out the best way to format it for my display. Is that possible? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jung at auda.com Wed Jul 18 14:48:28 2007 From: jung at auda.com (Do-young Jung) Date: Wed, 18 Jul 2007 08:48:28 -0400 Subject: Contacts.cfg Message-ID: <3777BD5E2EA30D499448DAD0464643352D34A5@audaexch1.auda.net> Hi all, I just set up Nagios, after installing all the configuration files, with the sample ones as well, I do not see an "usr/local/nagios/etc/objects/contacts.cfg" file, nor do I see an "Objects" folder under etc. Is there something I am missing? Or is this file that I have to create from scratch? I ran the command like so, "make install-config", shouldn't this have installed all the sample config files? If not, can someone send me theirs? =) Much thanks! Do-young Jung IT Analyst Auda Advisor Associates -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skeplin at one.net Wed Jul 18 15:43:57 2007 From: skeplin at one.net (Sean Keplinger) Date: Wed, 18 Jul 2007 09:43:57 -0400 (EDT) Subject: Simple Host Monitoring - ICMP Message-ID: I have Nagios running on Linux monitoring around 500 hosts on our network. For most of those hosts, we only need to know if they respond to a ping. Since I've read that enabling "active host checks" may cause performance problems, I made an "ICMP" service and assigned each server to it. This works great save for one problem: If a host fails to respond to the ICMP service check, it instantly jumps to the host check (which is also a ping) and times out after 1 1/2 minutes (or 10 host check pings with 10 second timeouts). What I need is for it to behave like a standard service check, that is to obey by the rules of the retry_interval. Is this possible? Thanks, Sean -- Sean Keplinger LAN/Windows/Unix Analyst - Western & Southern Financial Group ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 15:59:10 2007 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jul 2007 08:59:10 -0500 Subject: Contacts.cfg In-Reply-To: <3777BD5E2EA30D499448DAD0464643352D34A5@audaexch1.auda.net> References: <3777BD5E2EA30D499448DAD0464643352D34A5@audaexch1.auda.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Do-young Jung > Sent: Wednesday, July 18, 2007 7:48 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Contacts.cfg > > Hi all, I just set up Nagios, after installing all the configuration > files, with the sample ones as well, I do not see an > "usr/local/nagios/etc/objects/contacts.cfg" file, nor do I see an > "Objects" folder under etc. > > Is there something I am missing? Or is this file that I have to create > from scratch? Yes and no respectively... > I ran the command like so, "make install-config", shouldn't this have > installed all the sample config files? If not, can someone send me > theirs? =) Nagios-2.x sample config files are only bigger.cfg, minimal.cfg, checkcommands.cfg, miscommands.cfg, resource.cfg, cgi.cfg and nagios.cfg. There is no contacts.cfg nor is there an Objects directory created. bigger.cfg and mimimal.cfg are example files that contain _all_ the object directives (contact, host, services, etc). You can split each object type out into its own file if you like but it's not necessary. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 16:12:29 2007 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jul 2007 09:12:29 -0500 Subject: Simple Host Monitoring - ICMP In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sean Keplinger > Sent: Wednesday, July 18, 2007 8:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Simple Host Monitoring - ICMP > > > I have Nagios running on Linux monitoring around 500 hosts on our network. > For most of those hosts, we only need to know if they respond to a ping. > Since I've read that enabling "active host checks" may cause performance > problems, I made an "ICMP" service and assigned each server to it. > > This works great save for one problem: If a host fails to respond to the > ICMP service check, it instantly jumps to the host check (which is also a > ping) and times out after 1 1/2 minutes (or 10 host check pings with 10 > second timeouts). > > What I need is for it to behave like a standard service check, that is to > obey by the rules of the retry_interval. Is this possible? It is behaving like a standard nagios-2 service check. If any service on a host returns a non-OK result, the host is checked immediately. If the host check fails, it goes critical immediately. I would advise disabling host checks for those ping-only hosts to get the behavior you desire. Nagios-3 introduces the behavior you are looking for. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skeplin at one.net Wed Jul 18 16:44:12 2007 From: skeplin at one.net (Sean Keplinger) Date: Wed, 18 Jul 2007 10:44:12 -0400 (EDT) Subject: Simple Host Monitoring - ICMP In-Reply-To: References: Message-ID: On Wed, 18 Jul 2007, Marc Powell wrote: > It is behaving like a standard nagios-2 service check. If any service on > a host returns a non-OK result, the host is checked immediately. If the > host check fails, it goes critical immediately. I would advise disabling > host checks for those ping-only hosts to get the behavior you desire. > Nagios-3 introduces the behavior you are looking for. I will look forward to upgrading to Nagios 3. In the meantime, to disable the host check, I just leave the check_command blank for those hosts, correct? So during an outage, I will only receive a "service is critical" notification for the ICMP service? Thanks, Sean -- Sean Keplinger LAN/Windows/Unix Analyst - Western & Southern Financial Group ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 17:13:26 2007 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jul 2007 10:13:26 -0500 Subject: Simple Host Monitoring - ICMP In-Reply-To: References: Message-ID: > -----Original Message----- > From: Sean Keplinger [mailto:skeplin at one.net] > Sent: Wednesday, July 18, 2007 9:44 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Simple Host Monitoring - ICMP > > I will look forward to upgrading to Nagios 3. > > In the meantime, to disable the host check, I just leave the check_command > blank for those hosts, correct? More precisely, don't include the check_command directive at all in the host{} definition. > So during an outage, I will only receive a "service is critical" > notification for the ICMP service? Correct. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Wed Jul 18 17:31:38 2007 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 18 Jul 2007 16:31:38 +0100 Subject: Simple SMS alerting Message-ID: Hi! Just wanted to make you aware of a simple way of getting SMS alerting from your Nagios system. For Opsview, we've been working with a company called AQL (http://aql.com) who provide an SMS gateway. We've been speaking to their technical guys and David Precious, a perl developer who has written SMS::AQL (http://search.cpan.org/dist/SMS- AQL/), to get really easy communication with AQL's systems. You can read about it on our blog site: http://altinity.blogs.com/ dotorg/2007/07/sms-alerting-vi.html There's also a script to download, which can then provide you with the mechanism to send your alerts via AQL. Enjoy! Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From singh_mail at yahoo.com Wed Jul 18 21:01:19 2007 From: singh_mail at yahoo.com (Gagandeep Singh) Date: Wed, 18 Jul 2007 12:01:19 -0700 (PDT) Subject: Version problem In-Reply-To: References: Message-ID: <583969.71114.qm@web51307.mail.re2.yahoo.com> Hi Abhishek I am having the same problem and keep on getting denied when i try to access /localhost/nagios/cgi-bin/ .. I dont know what is the problem. Make sure you have the selinux disabled. But that didnt do it for me. I followed the documentation exactly as stated @ nagios.org. Still no luck. I also tried google but didnt help. Anybody have any idea what could be wrong. Gagan Rakkar Abhishek V wrote: Hi Currently i m trying to run nagios on Fedora version2 with kernel version2.6 it configured properly but when i m trying out to access the cgi part it giving error Permission denied in /usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi I have also checked that the permission to these files are proper or not. Also added nagios and apache to the same group but even after all this no luck .. Kindly help.. Abhishek Vyas Tata Consultancy Services Mailto: abhishek.v at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Need a vacation? Get great deals to amazing places on Yahoo! Travel. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pbrown3 at schsd.org Wed Jul 18 21:09:13 2007 From: pbrown3 at schsd.org (Peter Brown) Date: Wed, 18 Jul 2007 12:09:13 -0700 Subject: Version problem Message-ID: <022FCF216B866845AC244C895E9F1F98074D3D02@HSDMail.schsd.org> Gagan In the Fedora RPM (I'm guessing that was what you used) there is a nagios.conf file located in /etc/httpd/conf.d/ dir. I would guess that you are making changes to the main Apache httpd.conf file for permissions, and this files orders are conflicting with those directives. Eliminate one or the other... Or maybe its something else... :) Peter Brown -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh Sent: Wednesday, July 18, 2007 12:01 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Version problem Hi Abhishek I am having the same problem and keep on getting denied when i try to access /localhost/nagios/cgi-bin/ .. I dont know what is the problem. Make sure you have the selinux disabled. But that didnt do it for me. I followed the documentation exactly as stated @ nagios.org. Still no luck. I also tried google but didnt help. Anybody have any idea what could be wrong. Gagan Rakkar Abhishek V wrote: Hi Currently i m trying to run nagios on Fedora version2 with kernel version2.6 it configured properly but when i m trying out to access the cgi part it giving error Permission denied in /usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi I have also checked that the permission to these files are proper or not. Also added nagios and apache to the same group but even after all this no luck .. Kindly help.. Abhishek Vyas Tata Consultancy Services Mailto: abhishek.v at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/____________________________________ ___________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Need a vacation? Get great deals to amazing places on Yahoo! Travel. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fred.tyre at hlipublishing.com Wed Jul 18 21:10:52 2007 From: fred.tyre at hlipublishing.com (Fred) Date: Wed, 18 Jul 2007 14:10:52 -0500 Subject: Digest Method Message-ID: <6324A83C386D4E1A9DB091DB5DD32CCC@TYREXPWORK> I was wondering if Nagios has a configuration setting that would send errors grouped into one email? I added some website checking and ended up with around 600 services. 100 of those services were Warnings and 50 were critical. By the next morning my email client was locked up with around 5000 emails in it. If I could get nagios setup to only send 1 email with all the current errors/warnings every 5 minutes, it would not lock up my email account, but let me check all of our websites, etc. Thanks in advance. Sincerely, Fred ><><><><><><><><><><><><><><><><><>< Fred Tyre Information Services Heartland Communications, Inc. 515-574-2147 Fred.Tyre at hlipublishing.com ><><><><><><><><><><><><><><><><><>< ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From singh_mail at yahoo.com Wed Jul 18 21:15:51 2007 From: singh_mail at yahoo.com (Gagandeep Singh) Date: Wed, 18 Jul 2007 12:15:51 -0700 (PDT) Subject: Version problem In-Reply-To: <022FCF216B866845AC244C895E9F1F98074D3D02@HSDMail.schsd.org> References: <022FCF216B866845AC244C895E9F1F98074D3D02@HSDMail.schsd.org> Message-ID: <955005.52586.qm@web51311.mail.re2.yahoo.com> Peter I installed nagios from source. I am able to access nagios through /localhost/nagios/. But not the /localhost/nagios/cgi-bin/ The only thing I changed in the /etc/httpd/conf/httpd.conf was I added the scriptalias and thats it. Is there anything else I need to add in the httpd.conf file? Gagan Rakkar Peter Brown wrote: Gagan In the Fedora RPM (I'm guessing that was what you used) there is a nagios.conf file located in /etc/httpd/conf.d/ dir. I would guess that you are making changes to the main Apache httpd.conf file for permissions, and this files orders are conflicting with those directives. Eliminate one or the other... Or maybe its something else... :) Peter Brown -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh Sent: Wednesday, July 18, 2007 12:01 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Version problem Hi Abhishek I am having the same problem and keep on getting denied when i try to access /localhost/nagios/cgi-bin/ .. I dont know what is the problem. Make sure you have the selinux disabled. But that didnt do it for me. I followed the documentation exactly as stated @ nagios.org. Still no luck. I also tried google but didnt help. Anybody have any idea what could be wrong. Gagan Rakkar Abhishek V wrote: Hi Currently i m trying to run nagios on Fedora version2 with kernel version2.6 it configured properly but when i m trying out to access the cgi part it giving error Permission denied in /usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi I have also checked that the permission to these files are proper or not. Also added nagios and apache to the same group but even after all this no luck .. Kindly help.. Abhishek Vyas Tata Consultancy Services Mailto: abhishek.v at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/____________________________________ ___________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Need a vacation? Get great deals to amazing places on Yahoo! Travel. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at unixplanet.biz Wed Jul 18 21:17:44 2007 From: nagios at unixplanet.biz (Nagios) Date: Wed, 18 Jul 2007 16:17:44 -0300 Subject: check_http output In-Reply-To: <6324A83C386D4E1A9DB091DB5DD32CCC@TYREXPWORK> References: <6324A83C386D4E1A9DB091DB5DD32CCC@TYREXPWORK> Message-ID: <469E6758.8@unixplanet.biz> Hello is there any way to change check_http plugin output . here is my output : HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds but I want to have different output based on service names. like : host_name: HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds check_snmp does this but not check_http. Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 21:19:16 2007 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jul 2007 14:19:16 -0500 Subject: Digest Method In-Reply-To: <6324A83C386D4E1A9DB091DB5DD32CCC@TYREXPWORK> References: <6324A83C386D4E1A9DB091DB5DD32CCC@TYREXPWORK> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Fred > Sent: Wednesday, July 18, 2007 2:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Digest Method > > > I was wondering if Nagios has a configuration setting that would send > errors grouped into one email? > > If I could get nagios setup to only send 1 email with all the current > errors/warnings every 5 minutes, it would not lock up my email account, > but let me check all of our websites, etc. Nagios doesn't have the capability built in. It will send a notification immediately as necessary. However, your notification program can be anything at all so it's a fine place to create your own notification logic via scripting. Some people have already done the work for you ;) I don't use it but NAN (http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1 [p_view]=309) seems to be just what you're looking for. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pbrown3 at schsd.org Wed Jul 18 21:24:54 2007 From: pbrown3 at schsd.org (Peter Brown) Date: Wed, 18 Jul 2007 12:24:54 -0700 Subject: Version problem Message-ID: <022FCF216B866845AC244C895E9F1F98074D3D03@HSDMail.schsd.org> Gagan If that is true, then you didn't follow *all* the directions... Re-check your documentation entitled "Setting Up The Web Interface". You need the ScriptAlias, two directory statements and a share alias. Plus you need to setup htpasswd files and such. You still have some work to do, but re-read the documentation...it's all in there. Best of luck. -Peter Brown -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh Sent: Wednesday, July 18, 2007 12:16 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Version problem Peter I installed nagios from source. I am able to access nagios through /localhost/nagios/. But not the /localhost/nagios/cgi-bin/ The only thing I changed in the /etc/httpd/conf/httpd.conf was I added the scriptalias and thats it. Is there anything else I need to add in the httpd.conf file? Gagan Rakkar Peter Brown wrote: Gagan In the Fedora RPM (I'm guessing that was what you used) there is a nagios.conf file located in /etc/httpd/conf.d/ dir. I would guess that you are making changes to the main Apache httpd.conf file for permissions, and this files orders are conflicting with those directives. Eliminate one or the other... Or maybe its something else... :) Peter Brown -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh Sent: Wednesday, July 18, 2007 12:01 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Version problem Hi Abhishek I am having the same problem and keep on getting denied when i try to access /localhost/nagios/cgi-bin/ .. I dont know what is the problem. Make sure you have the selinux disabled. But that didnt do it for me. I followed the documentation exactly as stated @ nagios.org. Still no luck. I also tried google but didnt help. Anybody have any idea what could be wrong. Gagan Rakkar Abhishek V wrote: Hi Currently i m trying to run nagios on Fedora version2 with kernel version2.6 it configured properly but when i m trying out to access the cgi part it giving error Permission denied in /usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi I have also checked that the permission to these files are proper or not. Also added nagios and apache to the same group but even after all this no luck .. Kindly help.. Abhishek Vyas Tata Consultancy Services Mailto: abhishek.v at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/____________________________________ ___________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Need a vacation? Get great deals to amazing places on Yahoo! Travel. ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jul 18 21:25:17 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 18 Jul 2007 21:25:17 +0200 (CEST) Subject: Digest Method In-Reply-To: <6324A83C386D4E1A9DB091DB5DD32CCC@TYREXPWORK> References: <6324A83C386D4E1A9DB091DB5DD32CCC@TYREXPWORK> Message-ID: On Wed, 18 Jul 2007, Fred wrote: > > I was wondering if Nagios has a configuration setting that would send > errors grouped into one email? > > I added some website checking and ended up with around 600 services. > 100 of those services were Warnings and 50 were critical. > > By the next morning my email client was locked up with around 5000 > emails in it. > > If I could get nagios setup to only send 1 email with all the current > errors/warnings every 5 minutes, it would not lock up my email account, > but let me check all of our websites, etc. With these numbers one should not use normal email for volatile things. At least I would recommend against it. I would use the firefox plugin to babysit such a volatile environment. But that is just me. (In fact I would not babysit such a darn thing but go in and do some serious troubleshooting with a nice submachinegun. ;) You could always setup something like mailman and let it do the digests for you. Or send them to a dummy email box, parse them with procmail and use a nice parser to process the procmail log to make your digest for you. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fred.tyre at hlipublishing.com Wed Jul 18 21:37:10 2007 From: fred.tyre at hlipublishing.com (Fred) Date: Wed, 18 Jul 2007 14:37:10 -0500 Subject: Digest Method In-Reply-To: References: Message-ID: <3DD42B02E1D14537BB9FB5F681AD88BF@TYREXPWORK> Thank you very much for the responses. I have already made an automatic bounce parser that loads email failures into an Oracle database using flex/yacc, so I like the parsing idea. But seeing how much time I have, I will probably go the easy route. Thanks again. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: Wednesday, July 18, 2007 2:25 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] Digest Method On Wed, 18 Jul 2007, Fred wrote: > > I was wondering if Nagios has a configuration setting that would send > errors grouped into one email? > > I added some website checking and ended up with around 600 services. > 100 of those services were Warnings and 50 were critical. > > By the next morning my email client was locked up with around 5000 > emails in it. > > If I could get nagios setup to only send 1 email with all the current > errors/warnings every 5 minutes, it would not lock up my email > account, but let me check all of our websites, etc. With these numbers one should not use normal email for volatile things. At least I would recommend against it. I would use the firefox plugin to babysit such a volatile environment. But that is just me. (In fact I would not babysit such a darn thing but go in and do some serious troubleshooting with a nice submachinegun. ;) You could always setup something like mailman and let it do the digests for you. Or send them to a dummy email box, parse them with procmail and use a nice parser to process the procmail log to make your digest for you. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Wed Jul 18 21:54:56 2007 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Wed, 18 Jul 2007 15:54:56 -0400 Subject: NRPE times out after 10 seconds Message-ID: <004501c7c975$8468dd50$6601a8c0@Masoud> All, Using NRPE we manage to monitor a few servers in China. The traffic goes through our WAN and all probes seem to be working fine except the check_logfiles; Have noticed that during the time applications are used, check_logfiles gets timed out. I have set the timeout argument to 420 yet in the notification email it says that NRPE timed-out after 10 seconds. /opt/csw/libexec/nagios-plugins/check_logfiles -t 420 -f /home/nrpe/config/myconfig.conf Running it locally on the host works fine! I have checked the network and there is no indication of latency; all other probes are working fine. Any help is appreciated! Regards, Masoud ++++++++++++++++++++++++++++++++++++++++++++++++++++++ Masoud Tabrizi masoud.tabrizi at gmail.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian.marlier at studentuniverse.com Wed Jul 18 21:55:25 2007 From: ian.marlier at studentuniverse.com (Marlier, Ian) Date: Wed, 18 Jul 2007 15:55:25 -0400 Subject: Perfdata/nagiosgraph hiccup frustration Message-ID: Hey, all -- Strange little problem that I'm trying to figure out. I've got nagios 2.5 up and running, installed from the RPMs in opensuse 10.2. I've enabled the service-perfdata options, and am sending service perfdata to a file. I'm using nagiosgraph, called via the service_perfdata_file_processing_command, to process the service-perfdata file into RRD files. All seems to be working fine, for the most part. Except for one little thing... Nagiosgraph is able to parse and insert the data in these lines: 1184788008||xenhost3.wdc.studentuniverse.com||CPU Load||Load : 0.01 0.06 0.06 : OK|| 1184788012||xenhost11.wdc.studentuniverse.com||CPU Load||Load : 0.00 0.00 0.00 : OK|| 1184788017||xenhost4.wdc.studentuniverse.com||CPU Load||Load : 0.04 0.03 0.00 : OK|| But it doesn't do anything at all with this one: 1184788284||xenhost0.wdc.studentuniverse.com||CPU Load||Load : 0.23 0.24 0.21 : OK|| No RRD file is created, no data is inserted, etc. The extra strange thing is that this _was_ working. I did a restart of the server yesterday afternoon, and the files seem to have stopped updating after that restart. All of these perfdata lines are a result of the same service in my service configuration (the machines are in a single hostgroup, and only one check is set up for that hostgroup). The nagiosgraph map definition is this: # Service type: cpu-load # output:Load : 0.01 0.01 0.00 : OK /output:Load.*?([.0-9]+).*?([.0-9]+).*?([.0-9]+).*/ and push @s, [ 'cpu-load', [ '1minute', GAUGE, $1 ], [ '5minute', GAUGE, $2 ], [ '15minute', GAUGE, $3 ] ]; The nagiosgraph.log doesn't show me anything about the skipped lines... Anyone have any ideas why this wouldn't be working right? What could restarting the server have broken? Is this nagios being funky, or nagiosgraph, or RRDTool, or something else? TIA, Ian ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Wed Jul 18 08:29:40 2007 From: ampranti at gmail.com (Brandino Andreas) Date: Wed, 18 Jul 2007 09:29:40 +0300 Subject: watching Layer 2 device Message-ID: <143759745.20070718092940@gmail.com> Hi list, i am trying to watch a layer 2 device. It has no ip or snmp capabilites. Except of watching the ethernet port on the switch is any other way to check if is up? Regards <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pschulz at localtoolbox.com Wed Jul 18 22:09:24 2007 From: pschulz at localtoolbox.com (Peter Schulz) Date: Wed, 18 Jul 2007 13:09:24 -0700 Subject: temp_file nagios.tmp issue Message-ID: <3436E582-A435-4DC8-A672-8651016271D2@localtoolbox.com> Hello, I am having an issue with nagios.tmp re-creating every hour and using my disk space up. Is there anyway to turn is hourly option off? the docs read: Temp File Format: temp_file= Example: temp_file=/usr/local/nagios/var/nagios.tmp This is a temporary file that Nagios periodically creates to use when updating comment data, status data, etc. The file is deleted when it is no longer needed. Issue is the file does not get deleted but gets regenerated once an hour w/a new name example: nagios.tmpvVNenp Thanks for the insight/help! Peter H -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From singh_mail at yahoo.com Wed Jul 18 22:11:42 2007 From: singh_mail at yahoo.com (Gagandeep Singh) Date: Wed, 18 Jul 2007 13:11:42 -0700 (PDT) Subject: Version problem In-Reply-To: <022FCF216B866845AC244C895E9F1F98074D3D03@HSDMail.schsd.org> References: <022FCF216B866845AC244C895E9F1F98074D3D03@HSDMail.schsd.org> Message-ID: <487338.4156.qm@web51307.mail.re2.yahoo.com> Sorry about that I was trying to post on the list. But yes i did follow all the docs already. The two files .htaccess and htpassword.usersare in their proper directories. Gagan Rakkar Peter Brown wrote: Gagan If that is true, then you didn't follow *all* the directions... Re-check your documentation entitled "Setting Up The Web Interface". You need the ScriptAlias, two directory statements and a share alias. Plus you need to setup htpasswd files and such. You still have some work to do, but re-read the documentation...it's all in there. Best of luck. -Peter Brown -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh Sent: Wednesday, July 18, 2007 12:16 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Version problem Peter I installed nagios from source. I am able to access nagios through /localhost/nagios/. But not the /localhost/nagios/cgi-bin/ The only thing I changed in the /etc/httpd/conf/httpd.conf was I added the scriptalias and thats it. Is there anything else I need to add in the httpd.conf file? Gagan Rakkar Peter Brown wrote: Gagan In the Fedora RPM (I'm guessing that was what you used) there is a nagios.conf file located in /etc/httpd/conf.d/ dir. I would guess that you are making changes to the main Apache httpd.conf file for permissions, and this files orders are conflicting with those directives. Eliminate one or the other... Or maybe its something else... :) Peter Brown -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh Sent: Wednesday, July 18, 2007 12:01 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Version problem Hi Abhishek I am having the same problem and keep on getting denied when i try to access /localhost/nagios/cgi-bin/ .. I dont know what is the problem. Make sure you have the selinux disabled. But that didnt do it for me. I followed the documentation exactly as stated @ nagios.org. Still no luck. I also tried google but didnt help. Anybody have any idea what could be wrong. Gagan Rakkar Abhishek V wrote: Hi Currently i m trying to run nagios on Fedora version2 with kernel version2.6 it configured properly but when i m trying out to access the cgi part it giving error Permission denied in /usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi I have also checked that the permission to these files are proper or not. Also added nagios and apache to the same group but even after all this no luck .. Kindly help.. Abhishek Vyas Tata Consultancy Services Mailto: abhishek.v at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/____________________________________ ___________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Need a vacation? Get great deals to amazing places on Yahoo! Travel. ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From whegge at gmail.com Wed Jul 18 23:51:09 2007 From: whegge at gmail.com (Wes Hegge) Date: Wed, 18 Jul 2007 16:51:09 -0500 Subject: check_http regex question Message-ID: Hello Everyone, Have a quick question about what regular expression to use to check a web page. The web page is for some Trango wireless backhaul units. On the main page the status will say 'connected' if the backhaul units are talking to each other. Otherwise, the status is 'disconnected'. I have tried: ./check_http -H 10.252.0.158 -r connected returns OK all the time ./check_http -H 10.252.0.158 -r \(connected\) returns OK. all the time any idea on how to setup the regex? Thanks, Wes Hegge -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reed at reedmedia.net Thu Jul 19 00:05:09 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Wed, 18 Jul 2007 15:05:09 -0700 (PDT) Subject: check_http regex question In-Reply-To: References: Message-ID: > Have a quick question about what regular expression to use to check a web > page. > > The web page is for some Trango wireless backhaul units. On the main page > the status will say 'connected' if the backhaul units are talking to each > other. Otherwise, the status is 'disconnected'. > > I have tried: > > ./check_http -H 10.252.0.158 -r connected returns OK all the time > ./check_http -H 10.252.0.158 -r \(connected\) returns OK. all the time > > any idea on how to setup the regex? Try: "[^s]connected" Not an "s" immediately before connected. Unless it is start of line. We may need more details. Or if there is a space, search like (add a space before it): -r " connected" Jeremy C. Reed ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeff.Chapin at t8design.com Thu Jul 19 00:07:54 2007 From: Jeff.Chapin at t8design.com (Jeff Chapin) Date: Wed, 18 Jul 2007 17:07:54 -0500 Subject: service depenency templates Message-ID: <9A53DDE1FE082F4D952FDF20AC87E21F1D61C0@exchange2.t8design.com> Hello, I have inherited a small, but messy Nagios installation. I have spent a lot of time cleaning it up, and templating out a bunch of things. For instance, to create a new host, you simply add 2 lines in a new file - the template to use, and the hostname. Based on the template you use, it is assigned hostgroups and based on the hostgroups, it is assigned service checks. It works great for us. A little example: define host{ use generic-host-ssl host_name www.ssldomain.com } This assigned the host www.ssldomain.com to the hostgroup SSLDomains, along with the defaults for that domain. SSLDomains get tested for "HTTP by NAME" and "SSL Cert" - the former is obvious, and the second checks for existence off a SSL cert, and Crits if it is expired or will expire soon, warns if it expires in the next month, and says OK otherwise. What I would like to do, is setup a service dependency so that I am not warned about a missing SSL cert, if HTTP is down. Looking through the docs, it appears that the following MAY work: define servicedependency{ hostgroup_name SSLDomain service_description HTTP by NAME dependent_hostgroup_name SSLDomain dependent_service_description SSL Cert execution_failure_criteria n notification_failure_criteria c,w,u } Looking at the documentation, though, this might not work.... It appears that in this case the SSL Cert warnings will not go down if ANY of the HTTP by NAMES are down.... Is this the case? Any easy ways to accomplish this? Thanks, JEFF CHAPIN SYSTEM ADMINISTRATOR T8DESIGN.COM | P 319.266.7574 - x267 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2552 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 00:11:41 2007 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jul 2007 17:11:41 -0500 Subject: NRPE times out after 10 seconds In-Reply-To: <004501c7c975$8468dd50$6601a8c0@Masoud> References: <004501c7c975$8468dd50$6601a8c0@Masoud> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Masoud Tabrizi > Sent: Wednesday, July 18, 2007 2:55 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE times out after 10 seconds > > All, > > Using NRPE we manage to monitor a few servers in China. The traffic goes > through our WAN and all probes seem to be working fine except the > check_logfiles; Have noticed that during the time applications are used, > check_logfiles gets timed out. I have set the timeout argument to 420 yet > in the notification email it says that NRPE timed-out after 10 seconds. Sounds like you didn't also increase the fail-safe service check timeout parameter in nagios.cfg. I believe that the default is 10 seconds. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 00:13:19 2007 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jul 2007 17:13:19 -0500 Subject: check_http output In-Reply-To: <469E6758.8@unixplanet.biz> References: <469E6758.8@unixplanet.biz> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nagios > Sent: Wednesday, July 18, 2007 2:18 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http output > > Hello > > is there any way to change check_http plugin output . > here is my output : > HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds > > but I want to have different output based on service names.y > like : host_name: HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds Yes, you can do it but you'd need to edit the source and recompile or create a wrapper for check_http that modified the output to suit your needs. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Jul 19 00:30:11 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 18 Jul 2007 15:30:11 -0700 Subject: service depenency templates In-Reply-To: <9A53DDE1FE082F4D952FDF20AC87E21F1D61C0@exchange2.t8design.com> References: <9A53DDE1FE082F4D952FDF20AC87E21F1D61C0@exchange2.t8design.com> Message-ID: <20070718223011.GG27892@pmorris.usa.hp.com> On Wed, 18 Jul 2007, Jeff Chapin wrote: > define servicedependency{ > > hostgroup_name SSLDomain > > service_description HTTP by NAME > > dependent_hostgroup_name SSLDomain > > dependent_service_description SSL Cert > > execution_failure_criteria n > > notification_failure_criteria c,w,u > > } > > Looking at the documentation, though, this might not work.... It won't. > Any easy ways to accomplish this? Not the way dependencies work currently. You'd need one defined for each host. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Thu Jul 19 00:49:46 2007 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Wed, 18 Jul 2007 18:49:46 -0400 Subject: NRPE times out after 10 seconds In-Reply-To: References: <004501c7c975$8468dd50$6601a8c0@Masoud> Message-ID: <00b301c7c98d$f150bb00$6601a8c0@Masoud> All, I checked the timeout parameters and these are the only one I have: nagios.cfg:# TIMEOUT VALUES nagios.cfg:service_check_timeout=60 nagios.cfg:host_check_timeout=30 nagios.cfg:event_handler_timeout=30 nagios.cfg:notification_timeout=30 nagios.cfg:ocsp_timeout=5 nagios.cfg:perfdata_timeout=5 Any suggestions? BTW, I am using 2.9 as the base and the plugin is 1.3.6.1 Masoud -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, July 18, 2007 6:12 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE times out after 10 seconds > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Masoud Tabrizi > Sent: Wednesday, July 18, 2007 2:55 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE times out after 10 seconds > > All, > > Using NRPE we manage to monitor a few servers in China. The traffic goes > through our WAN and all probes seem to be working fine except the > check_logfiles; Have noticed that during the time applications are used, > check_logfiles gets timed out. I have set the timeout argument to 420 yet > in the notification email it says that NRPE timed-out after 10 seconds. Sounds like you didn't also increase the fail-safe service check timeout parameter in nagios.cfg. I believe that the default is 10 seconds. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From azoecalvo at yahoo.com.ar Thu Jul 19 02:25:29 2007 From: azoecalvo at yahoo.com.ar (Alicia Calvo) Date: Wed, 18 Jul 2007 21:25:29 -0300 (ART) Subject: notification interval = 0 Message-ID: <173972.82264.qm@web33001.mail.mud.yahoo.com> Hello, i want to configure option for the only one notification when an error begin, for that, I configure "notification interval=0" but the notificacion send at five minutes equal than de check interval configuration. Any idea? Thanks for your atention!!. nagios v 2.9 on Siuse 10.1 AC --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 04:39:52 2007 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jul 2007 21:39:52 -0500 Subject: NRPE times out after 10 seconds In-Reply-To: <00b301c7c98d$f150bb00$6601a8c0@Masoud> References: <00b301c7c98d$f150bb00$6601a8c0@Masoud> Message-ID: > -----Original Message----- > From: Masoud Tabrizi [mailto:masoud.tabrizi at gmail.com] > Sent: Wednesday, July 18, 2007 5:50 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE times out after 10 seconds > > All, > I checked the timeout parameters and these are the only one I have: > nagios.cfg:# TIMEOUT VALUES > nagios.cfg:service_check_timeout=60 > nagios.cfg:host_check_timeout=30 > nagios.cfg:event_handler_timeout=30 > nagios.cfg:notification_timeout=30 > nagios.cfg:ocsp_timeout=5 > nagios.cfg:perfdata_timeout=5 > > Any suggestions? You posted a timeout for check_logfiles and the above looks correct. Did you also pass an increased timeout to check_nrpe that I expect is calling check_logfiles on the remote machine? After increasing the timeout for check_nrpe, did you restart or reload nagios? If so, please post the service definition, command definition as well as example plugin output (or nagios.log entry) when it fails. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 04:44:05 2007 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jul 2007 21:44:05 -0500 Subject: notification interval = 0 In-Reply-To: <173972.82264.qm@web33001.mail.mud.yahoo.com> References: <173972.82264.qm@web33001.mail.mud.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Alicia Calvo > Sent: Wednesday, July 18, 2007 7:25 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification interval = 0 > > Hello, i want to configure option for the only one notification when an > error begin, for that, I configure "notification interval=0" but the > notificacion send at five minutes equal than de check interval > configuration. Any idea? Thanks for your atention!!. That should work. Did you reload nagios after making the change? Verify that you do not have more than one nagios process running and/or escalations that may be causing re-notification. Also verify that you don't have is_volatile set. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Thu Jul 19 04:47:36 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Thu, 19 Jul 2007 12:47:36 +1000 Subject: service depenency templates Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A02702C17@mail01.ccia.local> I'm pretty sure, using hostgroups in service dependancies equates to : This service on all these hosts depends on this service on all *these* hosts. I'd prefer to have - This service on these hosts depend on this service on any of these host. If I'm wrong, please report back, I've always found service dendancies irksome to implement. Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff Chapin Sent: Thursday, 19 July 2007 8:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] service depenency templates Hello, I have inherited a small, but messy Nagios installation. I have spent a lot of time cleaning it up, and templating out a bunch of things. For instance, to create a new host, you simply add 2 lines in a new file - the template to use, and the hostname. Based on the template you use, it is assigned hostgroups and based on the hostgroups, it is assigned service checks. It works great for us. A little example: define host{ use generic-host-ssl host_name www.ssldomain.com } This assigned the host www.ssldomain.com to the hostgroup SSLDomains, along with the defaults for that domain. SSLDomains get tested for "HTTP by NAME" and "SSL Cert" - the former is obvious, and the second checks for existence off a SSL cert, and Crits if it is expired or will expire soon, warns if it expires in the next month, and says OK otherwise. What I would like to do, is setup a service dependency so that I am not warned about a missing SSL cert, if HTTP is down. Looking through the docs, it appears that the following MAY work: define servicedependency{ hostgroup_name SSLDomain service_description HTTP by NAME dependent_hostgroup_name SSLDomain dependent_service_description SSL Cert execution_failure_criteria n notification_failure_criteria c,w,u } Looking at the documentation, though, this might not work.... It appears that in this case the SSL Cert warnings will not go down if ANY of the HTTP by NAMES are down.... Is this the case? Any easy ways to accomplish this? Thanks, JEFF CHAPIN SYSTEM ADMINISTRATOR T8DESIGN.COM | P 319.266.7574 - x267 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2552 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shivkumar at outbackwifi.com Thu Jul 19 07:35:31 2007 From: shivkumar at outbackwifi.com (Shivkumar) Date: Thu, 19 Jul 2007 11:05:31 +0530 Subject: Version problem In-Reply-To: <583969.71114.qm@web51307.mail.re2.yahoo.com> References: <583969.71114.qm@web51307.mail.re2.yahoo.com> Message-ID: <469EF823.7060804@outbackwifi.com> Hi, Simplest way to isolate the problem is to type/paste the complete url to the tac.cgi or status.cgi in your address bar. At the same time, open up a terminal window (xterm etc) and do a tail -f /var/log/apache/error.log (or wherever your apache error logs are). This will show you in realtime where you are going wrong. Also it would help if you could post the relevant portions of the error log (not the whole file) along with your post. Reposting the same problem seldom helps, our crystal balls can only see so much. Regards, Shiv Gagandeep Singh said the following: > Hi Abhishek I am having the same problem and keep on getting denied > when i try to access /localhost/nagios/cgi-bin/ .. I dont know what > is the problem. Make sure you have the selinux disabled. But that > didnt do it for me. I followed the documentation exactly as stated @ > nagios.org. Still no luck. I also tried google but didnt help. > > Anybody have any idea what could be wrong. > > Gagan Rakkar > > */Abhishek V /* wrote: > > > Hi > > Currently i m trying to run nagios on Fedora version2 with kernel > version2.6 it configured properly but when i m trying out to > access the cgi part it giving error Permission denied in > /usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi > > I have also checked that the permission to these files are proper > or not. Also added nagios and apache to the same group > but even after all this no luck .. > > Kindly help.. > > Abhishek Vyas > Tata Consultancy Services > Mailto: abhishek.v at tcs.com > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Outsourcing > ____________________________________________ > > =====-----=====-----===== Notice: The information contained in this e-mail message and/or > attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------ > Need a vacation? Get great deals to amazing places > on > Yahoo! Travel. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas at glanzmann.de Thu Jul 19 09:32:16 2007 From: thomas at glanzmann.de (Thomas Glanzmann) Date: Thu, 19 Jul 2007 09:32:16 +0200 Subject: Get Notification for some services _only_ per E-Mail and others per E-Mail and SMS Message-ID: <20070719073216.GK3396@cip.informatik.uni-erlangen.de> Hello, how is it possible to tell nagios that I want notification for some services only via e-mail and for others both per e-mail and sms? Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at unixplanet.biz Thu Jul 19 14:30:13 2007 From: nagios at unixplanet.biz (Nagios) Date: Thu, 19 Jul 2007 09:30:13 -0300 Subject: check_http output In-Reply-To: References: Message-ID: <469F5955.5000608@unixplanet.biz> Hello Marc, I have downloaded and compiled the source code. it is working on /usr/lib/nagios/plugin, but not in other directories, Here is the message that I see on nagios screen: Critical : (Return code of 126 is out of bounds - plugin may be missing) is there any way to set up another directory for custom commands. Thanks Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Nagios >> Sent: Wednesday, July 18, 2007 2:18 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] check_http output >> >> Hello >> >> is there any way to change check_http plugin output . >> here is my output : >> HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds >> >> but I want to have different output based on service names.y >> like : host_name: HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds >> > > Yes, you can do it but you'd need to edit the source and recompile or > create a wrapper for check_http that modified the output to suit your > needs. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Itayemi.A at ng.celtel.com Thu Jul 19 14:40:09 2007 From: Itayemi.A at ng.celtel.com (Ayotunde Itayemi) Date: Thu, 19 Jul 2007 13:40:09 +0100 Subject: using check_procs to check number of occurrences of a certain process Message-ID: <99487797D76C7841AEEDE4A1DCA86C7022977D@VNL-LA01EX04S.vmobile-nigeria.com> Hi All, Please I want to use check_procs to warn me if a certain process (say "myproc") is not running at all (number of processes is equal to zero). And also return critical if myproc has more than say 5 occurrences. The example below is from check_procs' help. I am not sure on how to adapt it to fit my requirements. Thank you. Examples: check_procs -w 2:2 -c 2:1024 -C portsentry Warning if not two processes with command name portsentry. Critical if < 2 or > 1024 processes ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Thu Jul 19 15:19:48 2007 From: richardsolid at gmail.com (Jake Solid) Date: Thu, 19 Jul 2007 09:19:48 -0400 Subject: CHECK_NRPE: Socket timeout after 10 seconds. Message-ID: I got this error message: ***** Nagios 2.9 ***** Notification Type: PROBLEM Service: Disk3 Usage Host: host1.domain.pst Address: 1.2.3.4 State: CRITICAL Date/Time: Thu Jul 19 09:03:13 EDT 2007 Additional Info: CHECK_NRPE: Socket timeout after 10 seconds. When I checked the disk space of my Disk3 everything was ok. This error messages looks more like a connectivity problem. After I restarted xinetd which is use to run nrpe the nagios monitoring windows showed status "OK" for that disk. What could cause this error message? I'm trying to use Nagios when there is a real problem not wanting to get flooded with emails. Thanks for the inputs. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Itayemi.A at ng.celtel.com Thu Jul 19 15:36:22 2007 From: Itayemi.A at ng.celtel.com (Ayotunde Itayemi) Date: Thu, 19 Jul 2007 14:36:22 +0100 Subject: using check_procs to check number of occurrences ofa certain process Message-ID: <99487797D76C7841AEEDE4A1DCA86C702297C1@VNL-LA01EX04S.vmobile-nigeria.com> Hi All, For some reason, the check_procs does not seem to "see" my processes when used with something like /usr/local/nagios/libexec/check_procs -c 1:10 -C 'oprd' Or /usr/local/nagios/libexec/check_procs -c 1:10 -C '/usr/openv/volmgr/bin/oprd' I get something like: " PROCS CRITICAL: 0 processes with command name '/usr/openv/volmgr/bin/oprd'" I have even tried compiling the plugins with the --with-ps_command="/usr/ucb/ps -auxw" option with no difference in outcome. My config: Solaris 9 SPARC with gcc 3.3.2 and Nagios-Plugins 1.4.9. Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 16:03:19 2007 From: ktynagios at richard-group.com (Kurt Yoder) Date: Thu, 19 Jul 2007 10:03:19 -0400 Subject: watching Layer 2 device In-Reply-To: <143759745.20070718092940@gmail.com> References: <143759745.20070718092940@gmail.com> Message-ID: On Jul 18, 2007, at 2:29 AM, Brandino Andreas wrote: > Hi list, > > i am trying to watch a layer 2 device. It has no ip or snmp > capabilites. > > Except of watching the ethernet port on the switch is any other way to > check if is up? Is the device visible from the network in any way at all? Or is it possible to configure the device to have an ip address? If not, you will need to get creative. Maybe create some kind of direct serial or usb connection between the nagios monitoring server and the monitored hardware. Then write a custom plugin to check the connection. -Kurt ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Jul 19 16:04:52 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 19 Jul 2007 10:04:52 -0400 Subject: check_http output In-Reply-To: <469F5955.5000608@unixplanet.biz> References: <469F5955.5000608@unixplanet.biz> Message-ID: > I have downloaded and compiled the source code. > it is working on /usr/lib/nagios/plugin, but not in other directories, > Here is the message that I see on nagios screen: > Critical : (Return code of 126 is out of bounds - plugin may be > missing) > > is there any way to set up another directory for custom commands. Plugins can reside anywhere you want to put them. Just make sure that the permissions on them are correct for the Nagios user to run them, and that you specify the location correctly in your command definition. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 16:09:41 2007 From: marc at ena.com (Marc Powell) Date: Thu, 19 Jul 2007 09:09:41 -0500 Subject: check_http output In-Reply-To: <469F5955.5000608@unixplanet.biz> References: <469F5955.5000608@unixplanet.biz> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nagios > Sent: Thursday, July 19, 2007 7:30 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_http output > > Hello Marc, > > I have downloaded and compiled the source code. > it is working on /usr/lib/nagios/plugin, but not in other directories, > Here is the message that I see on nagios screen: > Critical : (Return code of 126 is out of bounds - plugin may be missing) > > is there any way to set up another directory for custom commands. Yes, sure. 126 means that the file does not exist in the path that you've specified in the command{} definition. Without any specific detail, I'm going to guess that your command definition for your new plugin uses the $USER1$ macro for the path, which points to /usr/lib/nagios/plugin in resource.cfg. You can either create a new $USERx$ macro there, $USER2$ for example, pointing to your custom path and use that in the command{} definition for your new plugin, or, you can specify the full path in the command_line for the command{} definition instead of using the $USERx$ macros. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.broadwith at blueivy.co.uk Thu Jul 19 16:05:00 2007 From: paul.broadwith at blueivy.co.uk (Paul Broadwith) Date: Thu, 19 Jul 2007 15:05:00 +0100 Subject: Permission Denied on check_nt Message-ID: Hi, Hoping somebody can help me out here. I've installed Nagios on CentOS using the following page http://www.maxsworld.org/index.php/how-tos/nagios and been through the permissions sections here http://nagios.sourceforge.net/docs/2_0/commandfile.html I have two problems now - the first one is with the check_nt command. I have installed the NS Client on the server. The server has an ISA Firewall on there and I've allowed the connections and am monitoring the traffic. I've configured the host, services and everything else and they show up in the Nagios web interface fine. However whenever a check is done, I get the error Permission Denied in the web interface. No actual traffic is sent to the server and Nagios is not trying to connect to the NS Client on the server (Firewall logs show no connections). If I try to run the command from the linux server command line I get the results back. I've also done an 'su nagios' and run the command from that user account and it again works fine. I have a check setup for the local Nagios server to monitor it's disk space and that is fine. I'm assuming it's a permissions problem with the plugin or Nagios or something, but don't know where. Here is the check_nt entry from commands.cfg: define command{ command_name check_nt command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ } And one of the service entries: define service{ host_name MYHOST use server-service-template service_description Drive Space - C: check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } And the server-service-template entry is: define service { name server-service-template contact_groups client_monitoring is_volatile 0 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 # leave this unless you know what you are doing parallelize_check 1 obsess_over_service 0 check_freshness 0 # freshness_threshold flap_detection_enabled 0 event_handler_enabled 0 # low_flap_threshold # high_flap_threshold process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notifications_enabled 1 notification_interval 30 notification_period 24x7 # w = send notifications on a WARNING state # u = send notifications on an UNKNOWN state # c = send notifications on a CRITICAL state # r = send notifications on recoveries (OK state) # f = send notifications when the service starts and stops flapping # n (none) as an option, no service notifications will be sent out notification_options w,u,c,r contact_groups client_monitoring register 0 } (as you can see I like to have all of the entries in there, even the ones that have the same default as I want) The second problem I have is when I try to change the scheduled time for the next check on a service - the error I get is: Error: Could not stat() command file '/var/log/nagios/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. Any suggestions to this? I'm liking Nagios, but these problems are stopping me from using it any further. Kind regards, Paul Broadwith MBCS Blue Ivy Ltd - Microsoft Small Business Specialist, UK Partner Qualified for 2007 Tel.: 0800 612 0601 Windows Messenger: paul.broadwith at blueivy.co.uk Web: http://www.blueivy.co.uk Blog: http://blog.blueivy.co.uk ---------------------------------------------------------------------------------------------------------------------------------------------- Blue Ivy Limited is a limited company registered in Scotland. Registered company number: SC 221649. Registered VAT number: GB 774 8460 88. Registered Office: 67 Kelburn Street, Barrhead, Glasgow, G78 1LD This message and any associated files is intended only for the use of nagios-users at lists.sourceforge.net and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not nagios-users at lists.sourceforge.net you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify paul.broadwith at blueivy.co.uk immediately by replying to the message and then deleting it from your computer. Any views or opinions presented are solely those of the author paul.broadwith at blueivy.co.uk and do not necessarily represent those of the company. ---------------------------------------------------------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 16:17:39 2007 From: marc at ena.com (Marc Powell) Date: Thu, 19 Jul 2007 09:17:39 -0500 Subject: CHECK_NRPE: Socket timeout after 10 seconds. {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jake Solid > Sent: Thursday, July 19, 2007 8:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] CHECK_NRPE: Socket timeout after 10 seconds. > {Disarmed} {Fraud?} > > I got this error message: > > ***** Nagios 2.9 ***** > > Notification Type: PROBLEM > > Service: Disk3 Usage > Host: host1.domain.pst > Address: 1.2.3.4 > State: CRITICAL > > Date/Time: Thu Jul 19 09:03:13 EDT 2007 > > Additional Info: > > CHECK_NRPE: Socket timeout after 10 seconds. > > > When I checked the disk space of my Disk3 everything was ok. This error > messages looks more like a connectivity problem. Yes, or it took longer than 10 seconds for the check to complete. > After I restarted xinetd which is use to run nrpe the nagios monitoring windows showed status "OK" > for that disk. That would definitely point to xinetd being the issue as opposed to NRPE. Verify that you don't have any connection limitations in xinetd. Check your system log files for errors from xinetd related to this check. When this error occurs, run the check from the command line as the nagios user exactly as you have it defined in the command{} definition, substituting in values for all appropriate macros. That's usually quite informative. > What could cause this error message? I'm trying to use Nagios when there > is a real problem not wanting to get flooded with emails. A good reason to use it. Sounds like you just might need to tune your environment to work with the way you're using Nagios. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Thu Jul 19 16:34:51 2007 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Thu, 19 Jul 2007 10:34:51 -0400 Subject: NRPE times out after 10 seconds In-Reply-To: References: <00b301c7c98d$f150bb00$6601a8c0@Masoud> Message-ID: <003f01c7ca11$f8052510$6601a8c0@Masoud> Thanks for your response: yes, I did reload both Nagios and restarted the daemon for nrpe. Here is some additional info: >From nrpe.cfg command[check_logs1]=/opt/csw/libexec/nagios-plugins/check_logfiles -t 420 - f /xxx/nrpe/config/myconfig_1.conf service definition: define service{ use generic-service host_name cn-3 service_description PROD Logs1 is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups OT notifications_enabled 1 notification_interval 120 notification_period 24x7 notification_options w,u,c check_command check_nrpe!check_logs1 name cn-3_MySE-DVCN_logs1 } My next step is to add the -t 240 to the service (i.e. check_command check_nrpe!check_logs1 -t 240) Any suggestions? Thanks in advance! M -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, July 18, 2007 10:40 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE times out after 10 seconds > -----Original Message----- > From: Masoud Tabrizi [mailto:masoud.tabrizi at gmail.com] > Sent: Wednesday, July 18, 2007 5:50 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE times out after 10 seconds > > All, > I checked the timeout parameters and these are the only one I have: > nagios.cfg:# TIMEOUT VALUES > nagios.cfg:service_check_timeout=60 > nagios.cfg:host_check_timeout=30 > nagios.cfg:event_handler_timeout=30 > nagios.cfg:notification_timeout=30 > nagios.cfg:ocsp_timeout=5 > nagios.cfg:perfdata_timeout=5 > > Any suggestions? You posted a timeout for check_logfiles and the above looks correct. Did you also pass an increased timeout to check_nrpe that I expect is calling check_logfiles on the remote machine? After increasing the timeout for check_nrpe, did you restart or reload nagios? If so, please post the service definition, command definition as well as example plugin output (or nagios.log entry) when it fails. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Thu Jul 19 16:39:31 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 19 Jul 2007 15:39:31 +0100 Subject: NRPE times out after 10 seconds In-Reply-To: <003f01c7ca11$f8052510$6601a8c0@Masoud> References: <003f01c7ca11$f8052510$6601a8c0@Masoud> Message-ID: <6546343904687E41B19D8E5A26AB9F53FA5DC7@E03MVB2-UKBR.domain1.systemhost.net> Have you checked you have connectivity between your nagios host and the remote machine? This caught me out first time round. Bloody firewalls!! A simple telnet monitored-host <5666> Should result in a connection -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Masoud Tabrizi Sent: 19 July 2007 15:35 To: 'Marc Powell'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE times out after 10 seconds Thanks for your response: yes, I did reload both Nagios and restarted the daemon for nrpe. Here is some additional info: >From nrpe.cfg command[check_logs1]=/opt/csw/libexec/nagios-plugins/check_logfiles -t 420 - f /xxx/nrpe/config/myconfig_1.conf service definition: define service{ use generic-service host_name cn-3 service_description PROD Logs1 is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups OT notifications_enabled 1 notification_interval 120 notification_period 24x7 notification_options w,u,c check_command check_nrpe!check_logs1 name cn-3_MySE-DVCN_logs1 } My next step is to add the -t 240 to the service (i.e. check_command check_nrpe!check_logs1 -t 240) Any suggestions? Thanks in advance! M -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, July 18, 2007 10:40 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE times out after 10 seconds > -----Original Message----- > From: Masoud Tabrizi [mailto:masoud.tabrizi at gmail.com] > Sent: Wednesday, July 18, 2007 5:50 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE times out after 10 seconds > > All, > I checked the timeout parameters and these are the only one I have: > nagios.cfg:# TIMEOUT VALUES > nagios.cfg:service_check_timeout=60 > nagios.cfg:host_check_timeout=30 > nagios.cfg:event_handler_timeout=30 > nagios.cfg:notification_timeout=30 > nagios.cfg:ocsp_timeout=5 > nagios.cfg:perfdata_timeout=5 > > Any suggestions? You posted a timeout for check_logfiles and the above looks correct. Did you also pass an increased timeout to check_nrpe that I expect is calling check_logfiles on the remote machine? After increasing the timeout for check_nrpe, did you restart or reload nagios? If so, please post the service definition, command definition as well as example plugin output (or nagios.log entry) when it fails. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Microsoft Defy all challenges. Microsoft Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 19 16:54:17 2007 From: marc at ena.com (Marc Powell) Date: Thu, 19 Jul 2007 09:54:17 -0500 Subject: NRPE times out after 10 seconds In-Reply-To: <003f01c7ca11$f8052510$6601a8c0@Masoud> References: <003f01c7ca11$f8052510$6601a8c0@Masoud> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Masoud Tabrizi > Sent: Thursday, July 19, 2007 9:35 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE times out after 10 seconds > > Thanks for your response: yes, I did reload both Nagios and restarted the > daemon for nrpe. > Here is some additional info: > > >From nrpe.cfg > command[check_logs1]=/opt/csw/libexec/nagios-plugins/check_logfiles -t 420 > - > f /xxx/nrpe/config/myconfig_1.conf > > service definition: > > define service{ > use generic-service > > host_name cn-3 ... > check_command check_nrpe!check_logs1 > name cn-3_MySE-DVCN_logs1 > } > > My next step is to add the -t 240 to the service (i.e. check_command > check_nrpe!check_logs1 -t 240) > > Any suggestions? Yes, make sure that the check_nrpe command definition you've specified is written such that it'll work the with '-t 240' at the end ;) If that command{} definition didn't specify a timeout value previously then I'm confident that is your resolution. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Thu Jul 19 18:13:25 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Thu, 19 Jul 2007 09:13:25 -0700 Subject: NagiosGrapher Linux Load In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C6242BD93@mail2.sd.defenseweb.net> References: <6F11F0B85CE3C841A4C78C8F364C1C6242BD62@mail2.sd.defenseweb.net> <6F11F0B85CE3C841A4C78C8F364C1C6242BD93@mail2.sd.defenseweb.net> Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C6242C9B6@mail2.sd.defenseweb.net> Does anyone else have the same problem that I am seeing with the graphs, on Linux Load? The graph area is not matching what the totals are getting from the server or from the values I am printing out of the bottom of the graph. The graph is showing much higher values and the average is also showing higher on the graph. I am using STACK to show all the values of 15min, 5min, and 1min on the same graph. Does anyone know how to resolve this as well? Thank you, Jeff ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.broadwith at blueivy.co.uk Thu Jul 19 18:11:22 2007 From: paul.broadwith at blueivy.co.uk (Paul Broadwith) Date: Thu, 19 Jul 2007 17:11:22 +0100 Subject: Permission Denied on check_nt In-Reply-To: References: Message-ID: Hi, The following command works fine in the terminal both for the nagios user ('su nagios' from root) and for the root: /usr/lib/nagios/plugins/check_nt -H 192.168.100.20 -p 12489 -v USEDDISKSPACE -l c -w 80 -c 90 Both produce the desired results. Apache log says nothing. Nagios log is complaining about notify-by-email having permission denied (which I knew about too and was going to tackle that once I had done this). Nagios is the latest stable version (downloaded yesterday) 2.9.1.el5, plugins is 1.4.9.-1.el5. NS Client was also downloaded yesterday - 0.2.7 although remember that it's not even getting as far as communicating with the client at the moment. Kind regards, Paul Broadwith MBCS Blue Ivy Ltd - Microsoft Small Business Specialist, UK Partner Qualified for 2007 Tel.: 0800 612 0601 Windows Messenger: paul.broadwith at blueivy.co.uk Web: http://www.blueivy.co.uk Blog: http://blog.blueivy.co.uk From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: 19 July 2007 16:18 To: Paul Broadwith; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Permission Denied on check_nt Check your permission on the Nagios box. Sounds like the Nagios user cannot execute the plugin. Does it work fine in the terminal? Use ls and grep and see what they say. Run the command in the terminal as root and as nagios and see what the output is. Check your apache logs, and nagios logs for any pertinent information. What version of Nagios and the plugins are you running? What version of the NS Client? Stephen Valdinger MIS Helpdesk Coordinator 330-365-3622 stephen.valdinger at doverchem.com * WinErr: 079 Mouse not found - A mouse driver has not been installed. Please click the left mouse button to continue. ________________________________ From: Paul Broadwith [mailto:paul.broadwith at blueivy.co.uk] Sent: Thursday, July 19, 2007 10:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Permission Denied on check_nt Hi, Hoping somebody can help me out here. I've installed Nagios on CentOS using the following page http://www.maxsworld.org/index.php/how-tos/nagios and been through the permissions sections here http://nagios.sourceforge.net/docs/2_0/commandfile.html I have two problems now - the first one is with the check_nt command. I have installed the NS Client on the server. The server has an ISA Firewall on there and I've allowed the connections and am monitoring the traffic. I've configured the host, services and everything else and they show up in the Nagios web interface fine. However whenever a check is done, I get the error Permission Denied in the web interface. No actual traffic is sent to the server and Nagios is not trying to connect to the NS Client on the server (Firewall logs show no connections). If I try to run the command from the linux server command line I get the results back. I've also done an 'su nagios' and run the command from that user account and it again works fine. I have a check setup for the local Nagios server to monitor it's disk space and that is fine. I'm assuming it's a permissions problem with the plugin or Nagios or something, but don't know where. Here is the check_nt entry from commands.cfg: define command{ command_name check_nt command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ } And one of the service entries: define service{ host_name MYHOST use server-service-template service_description Drive Space - C: check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } And the server-service-template entry is: define service { name server-service-template contact_groups client_monitoring is_volatile 0 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 # leave this unless you know what you are doing parallelize_check 1 obsess_over_service 0 check_freshness 0 # freshness_threshold flap_detection_enabled 0 event_handler_enabled 0 # low_flap_threshold # high_flap_threshold process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notifications_enabled 1 notification_interval 30 notification_period 24x7 # w = send notifications on a WARNING state # u = send notifications on an UNKNOWN state # c = send notifications on a CRITICAL state # r = send notifications on recoveries (OK state) # f = send notifications when the service starts and stops flapping # n (none) as an option, no service notifications will be sent out notification_options w,u,c,r contact_groups client_monitoring register 0 } (as you can see I like to have all of the entries in there, even the ones that have the same default as I want) The second problem I have is when I try to change the scheduled time for the next check on a service - the error I get is: Error: Could not stat() command file '/var/log/nagios/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. Any suggestions to this? I'm liking Nagios, but these problems are stopping me from using it any further. Kind regards, Paul Broadwith MBCS Blue Ivy Ltd - Microsoft Small Business Specialist, UK Partner Qualified for 2007 Tel.: 0800 612 0601 Windows Messenger: paul.broadwith at blueivy.co.uk Web: http://www.blueivy.co.uk Blog: http://blog.blueivy.co.uk ________________________________ Blue Ivy Limited is a limited company registered in Scotland. Registered company number: SC 221649. Registered VAT number: GB 774 8460 88. Registered Office: 67 Kelburn Street, Barrhead, Glasgow, G78 1LD This message and any associated files is intended only for the use of nagios-users at lists.sourceforge.net and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not nagios-users at lists.sourceforge.net you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify paul.broadwith at blueivy.co.uk immediately by replying to the message and then deleting it from your computer. Any views or opinions presented are solely those of the author paul.broadwith at blueivy.co.uk and do not necessarily represent those of the company. ________________________________ ---------------------------------------------------------------------------------------------------------------------------------------------- Blue Ivy Limited is a limited company registered in Scotland. Registered company number: SC 221649. Registered VAT number: GB 774 8460 88. Registered Office: 67 Kelburn Street, Barrhead, Glasgow, G78 1LD This message and any associated files is intended only for the use of recipient and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify paul.broadwith at blueivy.co.uk immediately by replying to the message and then deleting it from your computer. Any views or opinions presented are solely those of the author paul.broadwith at blueivy.co.uk and do not necessarily represent those of the company. ---------------------------------------------------------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 19 19:00:30 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 19 Jul 2007 19:00:30 +0200 Subject: NagiosGrapher Linux Load In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C6242C9B6@mail2.sd.defenseweb.net> References: <6F11F0B85CE3C841A4C78C8F364C1C6242BD62@mail2.sd.defenseweb.net> <6F11F0B85CE3C841A4C78C8F364C1C6242BD93@mail2.sd.defenseweb.net> <6F11F0B85CE3C841A4C78C8F364C1C6242C9B6@mail2.sd.defenseweb.net> Message-ID: <469F98AE.5090908@its-lehmann.de> Hi, 19.07.2007 18:13,, Jeff Shumard - DefenseWeb Technologies wrote:: > Does anyone else have the same problem that I am seeing with the graphs, > > on Linux Load? The graph area is not matching what the totals are > getting from the server or from the values I am printing out of the > bottom of the graph. The graph is showing much higher values and the > average is also showing higher on the graph. I am using STACK to show > all the values of 15min, 5min, and 1min on the same graph. Does anyone > know how to resolve this as well? IIRC, STACk means the values are all added up. The default NagiosGrapher setup thus creates very impressive graphics with limited value :-) When the load (1, 5, 15 min) is 1, 1, 1, the graph should show you the color for 1 min from 0 to 1, then 5min color from 1 to 2, and 15min color from 2 to three. If you want a better readable graph, I suggest simply painting three line graphs of different color for the different load values. Arno > Thank you, > Jeff > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 19 19:15:38 2007 From: marc at ena.com (Marc Powell) Date: Thu, 19 Jul 2007 12:15:38 -0500 Subject: Permission Denied on check_nt In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Paul Broadwith > Sent: Thursday, July 19, 2007 11:11 AM > To: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Permission Denied on check_nt > > Hi, > > > > The following command works fine in the terminal both for the nagios user > ('su nagios' from root) and for the root: > > > > /usr/lib/nagios/plugins/check_nt -H 192.168.100.20 -p 12489 -v > USEDDISKSPACE -l c -w 80 -c 90 > > > > Both produce the desired results. That's a good sign and definitely narrows down what the issue could be. To be clear, can you provide the entire output from the unsuccessful check from nagios.log? As far as what else to check, are you certain that $USER1$ is /usr/lib/nagios/plugins and that $HOSTADDRESS$ is 192.168.100.20? It might be helpful to see the actual command that nagios is running by changing the command{} definition to be -- command_line echo "$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$" It won't actually run check_nt but you'll see what nagios would be doing. Did you change this check from some other configuration? I'd restart nagios either way and while doing so, verify that you don't have multiple nagios processes running. > > The second problem I have is when I try to change the scheduled time for > the next check on a service - the error I get is: > > > > Error: Could not stat() command file '/var/log/nagios/rw/nagios.cmd'! > > The external command file may be missing, Nagios may not be running, > and/or Nagios may not be checking external commands. > > An error occurred while attempting to commit your command for processing. Sounds like you either haven't completely followed the instructions on enabling external commands or that you have SELinux or some other permissions issue preventing the web server from accessing that file. You should verify that your configuration matches the nagios documentation for enabling external commands (using your rpm specific paths of course) and that you've restarted your web server if you changed it's group membership. -- Marc p.s. please always use non-html/rich text messages when sending to support lists. It's difficult to reply in context and really messes up the digests. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 19 20:24:25 2007 From: marc at ena.com (Marc Powell) Date: Thu, 19 Jul 2007 13:24:25 -0500 Subject: Permission Denied on check_nt In-Reply-To: References: Message-ID: > -----Original Message----- > From: Paul Broadwith [mailto:paul.broadwith at blueivy.co.uk] > Sent: Thursday, July 19, 2007 12:34 PM > To: Marc Powell > Subject: RE: [Nagios-users] Permission Denied on check_nt > > Hi Marc, > > The output from the Nagios.log for the unsuccessful command is: > > === > [1184854600] SERVICE ALERT: MYHOST;Drive Space - > D:;CRITICAL;HARD;3;Permis > sion denied > [1184854600] SERVICE NOTIFICATION: > blueivy_client_monitoring;MYHOST;Drive > Space - D:;CRITICAL;notify-by-email;Permission denied > === > > (this is only one entry - all the services to this box fails but they > all say the same thing). The last one about the notify-by-email I can > sort once I get the monitoring sorted! > > The plugin checking the diskspace on the Nagios server itself uses > $USER1$ so I'm putting two and two together and assuming it is correct. > > I did as you suggested and added 'echo' at the start of the command and > the output in the 'Status Information' column of the web interface is: > > === > /usr/lib/nagios/plugins/check_nt -H 192.168.100.20 -p 12489 -v > USEDDISKSPACE -l d -w 80 -c 90 > === > > Which as far as I can see is correct. > > I copied that command above and pasted it into the terminal command > window and ran it (under root and nagios) and it returned the correct > information: > > === > d:\ - total: 129.51 Gb - used: 84.47 Gb (65%) - free 45.04 Gb (35%) | > 'd:\ Used Space'=84.47Gb;103.61;116.56;0.00;129.51 > === > > You asked if I changed the check from some other configuration. My > installation of Nagios didn't come with check_nt anywhere so I got it > from the page I set Nagios up from > (http://www.maxsworld.org/index.php/how-tos/nagios), removed the -s > option and added it to the commands.cfg file. > > There is only one instance of 'nagios' running (according to ps). > > For the second issue, SELinux is not enabled (according to the CentOS > Setup it's disabled) and as far as I know I have followed the > instructions carefully. I will go over them again though. We're definitely getting really obscure now. Pretty clearly you're experiencing a standard permissions issue for both commands. Everything we've looked at so far has been correct. Do you have other check_nt commands that are working successfully? Is nagios really running as the user nagios? Does the value of nagios_user in nagios.cfg match the owner of the plugins? The plugins are executable by that user? I know you're testing as the nagios user but the possibility exists that nagios isn't running as that user. I would be doubly sure that SELinux isn't enabled by verifying that you don't see avc denied messages in /var/log/messages but that's probably not the issue. Beyond that, I'm not really sure where to go... -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at unixplanet.biz Thu Jul 19 21:51:16 2007 From: nagios at unixplanet.biz (nagios at unixplanet.biz) Date: Thu, 19 Jul 2007 15:51:16 -0400 Subject: check_http output Message-ID: <20070719155116.39xvc0k49w8s00gk@webmail.unixplanet.biz> Hello Marc, I have full path on commands.cfg file, any idea why I can not run that command from out side of /usr/lib/nagios/plugin ? even I changed the ownership of that command to nagios, but still no luck. Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.broadwith at blueivy.co.uk Thu Jul 19 20:43:00 2007 From: paul.broadwith at blueivy.co.uk (Paul Broadwith) Date: Thu, 19 Jul 2007 19:43:00 +0100 Subject: Permission Denied on check_nt In-Reply-To: References: Message-ID: Hi Marc, To answer your questions: 1. None of the check_nt commands I have are running successfully. All of them are failing with 'Permission denied' in the Status Information column of the web interface. 2. Nagios is running under the user 'nagios'. Output of the 'ps -A u' command: === nagios 30049 0.0 0.0 27384 1356 ? Ssl 18:57 0:00 /usr/bin/nagios === 3. nagios_user is nagios: === nagios_user=nagios nagios_group=nagios === I included the nagios_group bit as I thought the nagios group was actually nagiocmd. The permissions on the 'plugins' directory and all of the plugins were root.root, but are now as follows: === drwxr-xr-x 2 root root 4096 Jul 19 12:02 cgi drwxr-xr-x 4 nagios nagiocmd 4096 Jul 19 12:02 plugins === After I changed them I restarted both Apache and Nagios but still getting the same error. 4. No avc messages in /var/log/messages so I assume SELinux isn't running. Happy to let somebody have a look around the server via SSH if they wish. Short of rebuilding the server I'm not sure what to do myself! As an aside I couldn't get Nagios running at first because it couldn't write the .pid file in /var/run. I changed the location of the .pid file to the /var/log/nagios and it worked fine. That also seemed to be permissions based even though I had given Nagios full access to the /var/run directory. Below is a full 'ps -A u' from the server in case anything running is causing problems: === USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 2036 640 ? Ss 13:40 0:00 init [3] root 2 0.0 0.0 0 0 ? S 13:40 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN 13:40 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S 13:40 0:00 [watchdog/0] root 5 0.0 0.0 0 0 ? S< 13:40 0:00 [events/0] root 6 0.0 0.0 0 0 ? S< 13:40 0:00 [khelper] root 7 0.0 0.0 0 0 ? S< 13:40 0:00 [kthread] root 10 0.0 0.0 0 0 ? S< 13:40 0:00 [kblockd/0] root 11 0.0 0.0 0 0 ? S< 13:40 0:00 [kacpid] root 86 0.0 0.0 0 0 ? S< 13:40 0:00 [cqueue/0] root 89 0.0 0.0 0 0 ? S< 13:40 0:00 [khubd] root 91 0.0 0.0 0 0 ? S< 13:40 0:00 [kseriod] root 150 0.0 0.0 0 0 ? S 13:40 0:00 [pdflush] root 151 0.0 0.0 0 0 ? S 13:40 0:00 [pdflush] root 152 0.0 0.0 0 0 ? S< 13:40 0:00 [kswapd0] root 153 0.0 0.0 0 0 ? S< 13:40 0:00 [aio/0] root 307 0.0 0.0 0 0 ? S< 13:40 0:00 [kpsmoused] root 328 0.0 0.0 0 0 ? S< 13:40 0:00 [kmirrord] root 333 0.0 0.0 0 0 ? S< 13:40 0:00 [ksnapd] root 336 0.0 0.0 0 0 ? S< 13:40 0:01 [kjournald] root 368 0.0 0.0 0 0 ? S< 13:40 0:00 [kauditd] root 402 0.0 0.0 2664 1124 ? S > -----Original Message----- > From: Paul Broadwith [mailto:paul.broadwith at blueivy.co.uk] > Sent: Thursday, July 19, 2007 12:34 PM > To: Marc Powell > Subject: RE: [Nagios-users] Permission Denied on check_nt > > Hi Marc, > > The output from the Nagios.log for the unsuccessful command is: > > === > [1184854600] SERVICE ALERT: MYHOST;Drive Space - > D:;CRITICAL;HARD;3;Permis > sion denied > [1184854600] SERVICE NOTIFICATION: > blueivy_client_monitoring;MYHOST;Drive > Space - D:;CRITICAL;notify-by-email;Permission denied > === > > (this is only one entry - all the services to this box fails but they > all say the same thing). The last one about the notify-by-email I can > sort once I get the monitoring sorted! > > The plugin checking the diskspace on the Nagios server itself uses > $USER1$ so I'm putting two and two together and assuming it is correct. > > I did as you suggested and added 'echo' at the start of the command and > the output in the 'Status Information' column of the web interface is: > > === > /usr/lib/nagios/plugins/check_nt -H 192.168.100.20 -p 12489 -v > USEDDISKSPACE -l d -w 80 -c 90 > === > > Which as far as I can see is correct. > > I copied that command above and pasted it into the terminal command > window and ran it (under root and nagios) and it returned the correct > information: > > === > d:\ - total: 129.51 Gb - used: 84.47 Gb (65%) - free 45.04 Gb (35%) | > 'd:\ Used Space'=84.47Gb;103.61;116.56;0.00;129.51 > === > > You asked if I changed the check from some other configuration. My > installation of Nagios didn't come with check_nt anywhere so I got it > from the page I set Nagios up from > (http://www.maxsworld.org/index.php/how-tos/nagios), removed the -s > option and added it to the commands.cfg file. > > There is only one instance of 'nagios' running (according to ps). > > For the second issue, SELinux is not enabled (according to the CentOS > Setup it's disabled) and as far as I know I have followed the > instructions carefully. I will go over them again though. We're definitely getting really obscure now. Pretty clearly you're experiencing a standard permissions issue for both commands. Everything we've looked at so far has been correct. Do you have other check_nt commands that are working successfully? Is nagios really running as the user nagios? Does the value of nagios_user in nagios.cfg match the owner of the plugins? The plugins are executable by that user? I know you're testing as the nagios user but the possibility exists that nagios isn't running as that user. I would be doubly sure that SELinux isn't enabled by verifying that you don't see avc denied messages in /var/log/messages but that's probably not the issue. Beyond that, I'm not really sure where to go... -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------------------------------------------------------------------------- Blue Ivy Limited is a limited company registered in Scotland. Registered company number: SC 221649. Registered VAT number: GB 774 8460 88. Registered Office: 67 Kelburn Street, Barrhead, Glasgow, G78 1LD This message and any associated files is intended only for the use of nagios-users at lists.sourceforge.net and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not nagios-users at lists.sourceforge.net you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify paul.broadwith at blueivy.co.uk immediately by replying to the message and then deleting it from your computer. Any views or opinions presented are solely those of the author paul.broadwith at blueivy.co.uk and do not necessarily represent those of the company. ---------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Thu Jul 19 21:07:37 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Thu, 19 Jul 2007 12:07:37 -0700 Subject: NagiosGrapher Linux Load In-Reply-To: <469F98AE.5090908@its-lehmann.de> References: <6F11F0B85CE3C841A4C78C8F364C1C6242BD62@mail2.sd.defenseweb.net> <6F11F0B85CE3C841A4C78C8F364C1C6242BD93@mail2.sd.defenseweb.net><6F11F0B85CE3C841A4C78C8F364C1C6242C9B6@mail2.sd.defenseweb.net> <469F98AE.5090908@its-lehmann.de> Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C624C30B6@mail2.sd.defenseweb.net> Arno, Thanks for the response, what you suggested is what I was going to try and do if I didn't receive a response from anyone. I thought that's what it was doing but couldn't confirm it. Thanks for the info, I will just change over to line graphs. Thank you, Jeff -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Arno Lehmann Sent: Thursday, July 19, 2007 10:01 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NagiosGrapher Linux Load Hi, 19.07.2007 18:13,, Jeff Shumard - DefenseWeb Technologies wrote:: > Does anyone else have the same problem that I am seeing with the graphs, > > on Linux Load? The graph area is not matching what the totals are > getting from the server or from the values I am printing out of the > bottom of the graph. The graph is showing much higher values and the > average is also showing higher on the graph. I am using STACK to show > all the values of 15min, 5min, and 1min on the same graph. Does anyone > know how to resolve this as well? IIRC, STACk means the values are all added up. The default NagiosGrapher setup thus creates very impressive graphics with limited value :-) When the load (1, 5, 15 min) is 1, 1, 1, the graph should show you the color for 1 min from 0 to 1, then 5min color from 1 to 2, and 15min color from 2 to three. If you want a better readable graph, I suggest simply painting three line graphs of different color for the different load values. Arno > Thank you, > Jeff > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Thu Jul 19 21:14:40 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 19 Jul 2007 21:14:40 +0200 Subject: Permission Denied on check_nt In-Reply-To: References: Message-ID: <469FB820.80200@its-lehmann.de> Hello, 19.07.2007 20:43,, Paul Broadwith wrote:: ... > The permissions on the 'plugins' directory and all of the plugins were > root.root, but are now as follows: ... > Happy to let somebody have a look around the server via SSH if they > wish. Short of rebuilding the server I'm not sure what to do myself! Oh damn... be careful with this sort of offer! At least chose someone with a known and confirmed name, set up a contract, get that signed by your management, so that you know whom to strangle when things go wrong :-) > As an aside I couldn't get Nagios running at first because it couldn't > write the .pid file in /var/run. I changed the location of the .pid file > to the /var/log/nagios and it worked fine. That also seemed to be > permissions based even though I had given Nagios full access to the > /var/run directory. This looks like you, during testing perhaps, ran nagios as root. Some files created were left behind, still owned by root, so that Nagios can not recreate or modify them. Now, I don't know where Nagios uses temporary files, pid files, sockets for interprocess communication, or whatever, but I would start using strace now on the running nagios processes, and check the permissions of all files (and directories) Nagios accesses... Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From devans3428 at gmail.com Thu Jul 19 22:57:44 2007 From: devans3428 at gmail.com (Drex) Date: Thu, 19 Jul 2007 15:57:44 -0500 Subject: nagiosgraph Message-ID: <530649890707191357i1eec011erdabc06fd27836c49@mail.gmail.com> Hi, I am running nagios 3.0a3 on solaris 10. I have an issue with nagiosgraph plotting. When i start nagios, nagiosgraph starts out plotting great. The one problem i notice is that nagiosgraph is writing temporary files to /tmp and not removing the files. An example is below: snipet.... -rw------- 1 apache apache 0 Jul 19 15:13 nagiosyW4qXU -rw------- 1 apache apache 0 Jul 19 15:13 nagioszW4qXU -rw------- 1 apache apache 0 Jul 19 15:20 nagiosu34qXU -rw------- 1 apache apache 0 Jul 19 15:20 nagiosj44qXU -rw------- 1 apache apache 0 Jul 19 15:23 nagiosX74qXU -rw------- 1 apache apache 0 Jul 19 15:23 nagiosY74qXU -rw------- 1 apache apache 0 Jul 19 15:23 nagios474qXU -rw------- 1 apache apache 0 Jul 19 15:25 nagiosc94qXU -rw------- 1 apache apache 0 Jul 19 15:25 nagiosd94qXU -rw------- 1 apache apache 0 Jul 19 15:25 nagiosE94qXU -rw------- 1 apache apache 0 Jul 19 15:25 nagiosM94qXU -rw------- 1 apache apache 0 Jul 19 15:26 nagiosb_4qXU -rw------- 1 apache apache 0 Jul 19 15:27 nagios7_4qXU -rw------- 1 apache apache 0 Jul 19 15:30 nagiosBd5qXU -rw------- 1 apache apache 113 Jul 19 15:40 nagiosUo5qXU -rw------- 1 apache apache 42 Jul 19 15:40 nagiosVo5qXU -rw------- 1 apache apache 135 Jul 19 15:40 nagiosWo5qXU -rw------- 1 apache apache 115 Jul 19 15:40 nagiosXo5qXU -rw------- 1 apache apache 56 Jul 19 15:40 nagiosYo5qXU -rw------- 1 apache apache 55 Jul 19 15:40 nagiosZo5qXU snipet... When this does work, nagiosgraph writes the file and the file is then removed. The action above is sporadic. I believe this is what attributes to the sporadic plotting. I am using fruity as a front end thus the user and group apache. I have played with the variables "normal check interval in time units" and "maximum check attempts" currently set at 10 and 4, respectively. I have used 5 and 1 but get the same results. I feel like this is a tuning issue with nagiosgraph. If you look closely there are breaks in the graph: [image: Graph] I have this working on solaris9 with nagios version 2.9. Any suggestions? -- Drex -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.broadwith at blueivy.co.uk Thu Jul 19 22:51:24 2007 From: paul.broadwith at blueivy.co.uk (Paul Broadwith) Date: Thu, 19 Jul 2007 21:51:24 +0100 Subject: Permission Denied on check_nt In-Reply-To: <469FB820.80200@its-lehmann.de> References: <469FB820.80200@its-lehmann.de> Message-ID: Hi Arno, I ran an strace on the PID and got the following for the check_nt: === open("/usr/lib/nagios/plugins/check_nt", O_RDONLY|O_LARGEFILE) = 8 fstat64(8, {st_dev=makedev(253, 0), st_ino=14649129, st_mode=S_IFREG|0755, st_nlink=1, st_uid=100, st_gid=500, st_blksize=4096, st_blocks=96 , st_size=43751, st_atime=2007/07/19-21:41:26, st_mtime=2007/06/25-15:34:01, st_ctime=2007/07/19-19:28:46}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f26000 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\260\214"..., 4096) = 4096 close(8) = 0 munmap(0xb7f26000, 4096) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7f20918) = 10991 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(10991, NULL, 0) = 10991 === >From the little I can understand from that, fstat64 is returning 0 when looking it up it should return a 12 element array. HOWEVER this does work: === open("/usr/lib/nagios/plugins/check_ping", O_RDONLY|O_LARGEFILE) = 8 fstat64(8, {st_dev=makedev(253, 0), st_ino=14649058, st_mode=S_IFREG|0755, st_nlink=1, st_uid=100, st_gid=500, st_blksize=4096, st_blocks=96 , st_size=44718, st_atime=2007/07/19-21:41:31, st_mtime=2007/06/25-15:34:01, st_ctime=2007/07/19-19:28:46}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f26000 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\260\220"..., 4096) = 4096 close(8) = 0 munmap(0xb7f26000, 4096) = 0 === And it's fstat also returns 0, so I'm confused. I've added a check_smtp for this server and it also fails, along with a check_http. This also fails for the local server and not just the remote one which does indicate permissions. However I've checked the permissions for check_disk (which works) and check_smtp and they are both identical: === open("/usr/lib/nagios/plugins/check_smtp", O_RDONLY|O_LARGEFILE) = 8 fstat64(8, {st_dev=makedev(253, 0), st_ino=14649103, st_mode=S_IFREG|0755, st_nlink=1, st_uid=100, st_gid=500, st_blksize=4096, st_blocks=12 8, st_size=56930, st_atime=2007/07/19-21:41:22, st_mtime=2007/06/25-15:34:01, st_ctime=2007/07/19-19:28:46}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f26000 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0 \222\4"..., 4096) = 4096 close(8) = 0 munmap(0xb7f26000, 4096) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7f20918) = 11059 --- SIGCHLD (Child exited) @ 0 (0) --- futex(0x4a7b75b8, FUTEX_WAKE, 1) = 1 waitpid(11059, NULL, 0) = 11059 === Nagios was instralled on CentOS using yum. The packages came from the RPMForge. Kind regards, Paul Broadwith MBCS Blue Ivy Ltd - Microsoft Small Business Specialist, UK Partner Qualified for 2007 Tel.: 0800 612 0601 Windows Messenger: paul.broadwith at blueivy.co.uk Web: http://www.blueivy.co.uk Blog: http://blog.blueivy.co.uk -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Arno Lehmann Sent: 19 July 2007 20:15 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Permission Denied on check_nt Hello, 19.07.2007 20:43,, Paul Broadwith wrote:: ... > The permissions on the 'plugins' directory and all of the plugins were > root.root, but are now as follows: ... > Happy to let somebody have a look around the server via SSH if they > wish. Short of rebuilding the server I'm not sure what to do myself! Oh damn... be careful with this sort of offer! At least chose someone with a known and confirmed name, set up a contract, get that signed by your management, so that you know whom to strangle when things go wrong :-) > As an aside I couldn't get Nagios running at first because it couldn't > write the .pid file in /var/run. I changed the location of the .pid file > to the /var/log/nagios and it worked fine. That also seemed to be > permissions based even though I had given Nagios full access to the > /var/run directory. This looks like you, during testing perhaps, ran nagios as root. Some files created were left behind, still owned by root, so that Nagios can not recreate or modify them. Now, I don't know where Nagios uses temporary files, pid files, sockets for interprocess communication, or whatever, but I would start using strace now on the running nagios processes, and check the permissions of all files (and directories) Nagios accesses... Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------------------------------------------------------------------------- Blue Ivy Limited is a limited company registered in Scotland. Registered company number: SC 221649. Registered VAT number: GB 774 8460 88. Registered Office: 67 Kelburn Street, Barrhead, Glasgow, G78 1LD This message and any associated files is intended only for the use of recipient and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify paul.broadwith at blueivy.co.uk immediately by replying to the message and then deleting it from your computer. Any views or opinions presented are solely those of the author paul.broadwith at blueivy.co.uk and do not necessarily represent those of the company. ---------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Jul 20 00:46:45 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Thu, 19 Jul 2007 15:46:45 -0700 Subject: change control on Nagios / Cacti servers Message-ID: <2b7af7c40707191546j154e913cp436238207c4b2285@mail.gmail.com> I'm looking for some sort of change control solution. On several Cacti/Nagios servers, I would like to take a snapshot of what I did, back it up, and if something changes, run something that shows me what files / permissions were changed since I last worked on the server. If it were just me, then I would just make copies of the files. But since there are other people in there doing all sorts of weird configs, I want to make sure that I document what they did since I last logged in. Any suggestions would be greatly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at onetruemedia.com Fri Jul 20 00:48:56 2007 From: anthony at onetruemedia.com (Anthony Mendoza) Date: Thu, 19 Jul 2007 15:48:56 -0700 Subject: change control on Nagios / Cacti servers In-Reply-To: <2b7af7c40707191546j154e913cp436238207c4b2285@mail.gmail.com> References: <2b7af7c40707191546j154e913cp436238207c4b2285@mail.gmail.com> Message-ID: <469FEA58.1070505@onetruemedia.com> subversion, cvs, or even RCS if just using locally. it'll give you revision control on all the text config files. On 7/19/2007 3:46 PM, Rogelio Bastardo had said: > I'm looking for some sort of change control solution. On several > Cacti/Nagios servers, I would like to take a snapshot of what I did, > back it up, and if something changes, run something that shows me what > files / permissions were changed since I last worked on the server. > > If it were just me, then I would just make copies of the files. But > since there are other people in there doing all sorts of weird > configs, I want to make sure that I document what they did since I > last logged in. > > Any suggestions would be greatly appreciated. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shacky83 at gmail.com Fri Jul 20 00:51:23 2007 From: shacky83 at gmail.com (shacky) Date: Fri, 20 Jul 2007 00:51:23 +0200 Subject: NRPE (No output returned from plugin) Message-ID: <7fedbc910707191551n29648e90i89fde523007e564a@mail.gmail.com> Hi. I'm using NRPE to monitor a remote server. The most part of the plugins works without problems, but check_backuppc returns the error "(No output returned from plugin)" in the Nagios web interface. The check_backuppc stanza in the Nagios configuration is the following: define service{ use remote-service host_name myremoteserver service_description BackupPC check_command check_nrpe!check_backuppc } If I execute from the shell "check_nrpe -H bakserver.blupixel.local -c check_backuppc" I correctly get the plugin's answer ("BACKUPPC WARNING - (5/7) failures"). Where is the problem? Thank you very much! Bye. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From azoecalvo at yahoo.com.ar Fri Jul 20 01:35:58 2007 From: azoecalvo at yahoo.com.ar (Alicia Calvo) Date: Thu, 19 Jul 2007 20:35:58 -0300 (ART) Subject: Notification Interval Message-ID: <67838.81834.qm@web33001.mail.mud.yahoo.com> Thanks!!! change de parameter "is volatile = 1 for =0" and now is ok. Thanks for your fast atention. AC --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at unixplanet.biz Fri Jul 20 02:27:04 2007 From: nagios at unixplanet.biz (Nagios) Date: Thu, 19 Jul 2007 21:27:04 -0300 Subject: Nagiosgraph and host_perfdata_file_processing_command Message-ID: <46A00158.6050908@unixplanet.biz> Hello I have setup nagios.cfg step by step as explained in Nagiosgraph README file but Nagios is not running the *service_perfdata_file_processing_command*, so rrd files can not be created. any idea why the command is not executed. Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at unixplanet.biz Fri Jul 20 02:27:16 2007 From: nagios at unixplanet.biz (Nagios) Date: Thu, 19 Jul 2007 21:27:16 -0300 Subject: Nagiosgraph and service_perfdata_file_processing_command Message-ID: <46A00164.30005@unixplanet.biz> Hello I have setup nagios.cfg step by step as explained in Nagiosgraph README file but Nagios is not running the *service_perfdata_file_processing_command*, so rrd files can not be created. any idea why the command is not executed. Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.broadwith at blueivy.co.uk Fri Jul 20 02:47:51 2007 From: paul.broadwith at blueivy.co.uk (Paul Broadwith) Date: Fri, 20 Jul 2007 01:47:51 +0100 Subject: Permission Denied on check_nt In-Reply-To: References: <469FB820.80200@its-lehmann.de> Message-ID: Just letting everybody know that I rebuilt the machine and it all appears to be working, including email alerts (a I just got one :-)) I have no idea what the problem was, as I followed the same instructions I did last time. but as it is so straightforward to install nagios, I thought I'd simply backup my cfg files and start again! Thanks to everybody for their help ... Kind regards, Paul Broadwith MBCS Blue Ivy Ltd - Microsoft Small Business Specialist, UK Partner Qualified for 2007 Tel.: 0800 612 0601 Windows Messenger: paul.broadwith at blueivy.co.uk Web: http://www.blueivy.co.uk Blog: http://blog.blueivy.co.uk -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Paul Broadwith Sent: 19 July 2007 21:51 To: Arno Lehmann; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Permission Denied on check_nt Hi Arno, I ran an strace on the PID and got the following for the check_nt: === open("/usr/lib/nagios/plugins/check_nt", O_RDONLY|O_LARGEFILE) = 8 fstat64(8, {st_dev=makedev(253, 0), st_ino=14649129, st_mode=S_IFREG|0755, st_nlink=1, st_uid=100, st_gid=500, st_blksize=4096, st_blocks=96 , st_size=43751, st_atime=2007/07/19-21:41:26, st_mtime=2007/06/25-15:34:01, st_ctime=2007/07/19-19:28:46}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f26000 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\260\214"..., 4096) = 4096 close(8) = 0 munmap(0xb7f26000, 4096) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7f20918) = 10991 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(10991, NULL, 0) = 10991 === >From the little I can understand from that, fstat64 is returning 0 when looking it up it should return a 12 element array. HOWEVER this does work: === open("/usr/lib/nagios/plugins/check_ping", O_RDONLY|O_LARGEFILE) = 8 fstat64(8, {st_dev=makedev(253, 0), st_ino=14649058, st_mode=S_IFREG|0755, st_nlink=1, st_uid=100, st_gid=500, st_blksize=4096, st_blocks=96 , st_size=44718, st_atime=2007/07/19-21:41:31, st_mtime=2007/06/25-15:34:01, st_ctime=2007/07/19-19:28:46}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f26000 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\260\220"..., 4096) = 4096 close(8) = 0 munmap(0xb7f26000, 4096) = 0 === And it's fstat also returns 0, so I'm confused. I've added a check_smtp for this server and it also fails, along with a check_http. This also fails for the local server and not just the remote one which does indicate permissions. However I've checked the permissions for check_disk (which works) and check_smtp and they are both identical: === open("/usr/lib/nagios/plugins/check_smtp", O_RDONLY|O_LARGEFILE) = 8 fstat64(8, {st_dev=makedev(253, 0), st_ino=14649103, st_mode=S_IFREG|0755, st_nlink=1, st_uid=100, st_gid=500, st_blksize=4096, st_blocks=12 8, st_size=56930, st_atime=2007/07/19-21:41:22, st_mtime=2007/06/25-15:34:01, st_ctime=2007/07/19-19:28:46}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f26000 read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0 \222\4"..., 4096) = 4096 close(8) = 0 munmap(0xb7f26000, 4096) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7f20918) = 11059 --- SIGCHLD (Child exited) @ 0 (0) --- futex(0x4a7b75b8, FUTEX_WAKE, 1) = 1 waitpid(11059, NULL, 0) = 11059 === Nagios was instralled on CentOS using yum. The packages came from the RPMForge. Kind regards, Paul Broadwith MBCS Blue Ivy Ltd - Microsoft Small Business Specialist, UK Partner Qualified for 2007 Tel.: 0800 612 0601 Windows Messenger: paul.broadwith at blueivy.co.uk Web: http://www.blueivy.co.uk Blog: http://blog.blueivy.co.uk -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Arno Lehmann Sent: 19 July 2007 20:15 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Permission Denied on check_nt Hello, 19.07.2007 20:43,, Paul Broadwith wrote:: ... > The permissions on the 'plugins' directory and all of the plugins were > root.root, but are now as follows: ... > Happy to let somebody have a look around the server via SSH if they > wish. Short of rebuilding the server I'm not sure what to do myself! Oh damn... be careful with this sort of offer! At least chose someone with a known and confirmed name, set up a contract, get that signed by your management, so that you know whom to strangle when things go wrong :-) > As an aside I couldn't get Nagios running at first because it couldn't > write the .pid file in /var/run. I changed the location of the .pid file > to the /var/log/nagios and it worked fine. That also seemed to be > permissions based even though I had given Nagios full access to the > /var/run directory. This looks like you, during testing perhaps, ran nagios as root. Some files created were left behind, still owned by root, so that Nagios can not recreate or modify them. Now, I don't know where Nagios uses temporary files, pid files, sockets for interprocess communication, or whatever, but I would start using strace now on the running nagios processes, and check the permissions of all files (and directories) Nagios accesses... Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ ---------------------------------------------------------------------- Blue Ivy Limited is a limited company registered in Scotland. Registered company number: SC 221649. Registered VAT number: GB 774 8460 88. Registered Office: 67 Kelburn Street, Barrhead, Glasgow, G78 1LD This message and any associated files is intended only for the use of recipient and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify paul.broadwith at blueivy.co.uk immediately by replying to the message and then deleting it from your computer. Any views or opinions presented are solely those of the author paul.broadwith at blueivy.co.uk and do not necessarily represent those of the company. ------------------------------------------------------------------------ ---------------------------------------------------------------------- ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Jul 20 02:55:55 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Thu, 19 Jul 2007 17:55:55 -0700 Subject: Reverse checks possible? In-Reply-To: <2D44F8D3-69ED-4A53-93BD-20DF5A7E5C0B@frontierflying.com> References: <2b7af7c40707091614y29aada81gd0ffe25c14101e5a@mail.gmail.com> <20070710001700.GE6266@pmorris.usa.hp.com> <2b7af7c40707091902r533e30a7q4a789a47e5628a95@mail.gmail.com> <2D44F8D3-69ED-4A53-93BD-20DF5A7E5C0B@frontierflying.com> Message-ID: <2b7af7c40707191755rf44173bh7925b3f60ceef57d@mail.gmail.com> > >>> Sure. See the "negate" plugin. Alright, I finally figured it out. Here, for what it is worth, is a reverse check for SMTP define command{ command_name check_reverse_smtp command_line $USER1$/negate "/usr/lib/nagios/plugins/check_smtp -H $HOSTADDRESS$" } define service{ use local-service host_name mail.yourDomain.com service_description SMTP_reverse_check check_command check_reverse_smtp } Of course, it goes without saying, but your mileage may vary according to how your cfg files are laid out. Thanks, Israel, Demetri, and Patrick. I really appreciate your help! ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 20 04:39:11 2007 From: marc at ena.com (Marc Powell) Date: Thu, 19 Jul 2007 21:39:11 -0500 Subject: change control on Nagios / Cacti servers In-Reply-To: <2b7af7c40707191546j154e913cp436238207c4b2285@mail.gmail.com> References: <2b7af7c40707191546j154e913cp436238207c4b2285@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rogelio Bastardo > Sent: Thursday, July 19, 2007 5:47 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] change control on Nagios / Cacti servers > > I'm looking for some sort of change control solution. On several > Cacti/Nagios servers, I would like to take a snapshot of what I did, back > it up, and if something changes, run something that shows me what files / > permissions were changed since I last worked on the server. cvs + Viewcvs work great here. It's a pretty trivial task to set up and can be very useful. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 20 04:41:30 2007 From: marc at ena.com (Marc Powell) Date: Thu, 19 Jul 2007 21:41:30 -0500 Subject: check_http output In-Reply-To: <469FADDB.8090902@unixplanet.biz> References: <469FADDB.8090902@unixplanet.biz> Message-ID: > -----Original Message----- > From: Nagios [mailto:nagios at unixplanet.biz] > Sent: Thursday, July 19, 2007 1:31 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_http output > > Hello Marc, > > I have full path on commands.cfg file, > any idea why I can not run that command from out side of > /usr/lib/nagios/plugin ? > even I changed the ownership of that command to nagios, but still no luck. No, none. If you've done it right then it will work. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.kessler at gmail.com Fri Jul 20 05:52:12 2007 From: josh.kessler at gmail.com (Josh Kessler) Date: Thu, 19 Jul 2007 20:52:12 -0700 Subject: NRPE (No output returned from plugin) In-Reply-To: <7fedbc910707191551n29648e90i89fde523007e564a@mail.gmail.com> References: <7fedbc910707191551n29648e90i89fde523007e564a@mail.gmail.com> Message-ID: <4ffd433c0707192052x774c19baj1ac847926ee2dff5@mail.gmail.com> Sounds like there is a line missing in your nrpe.conf file on the client. You need to add a line in the file to say, "talk to the check_backuppc program". something like command[check_backuppc]=/usr/lib64/nagios/plugins/check_backuppc HTH -Josh On 7/19/07, shacky wrote: > Hi. > > I'm using NRPE to monitor a remote server. > The most part of the plugins works without problems, but check_backuppc > returns the error "(No output returned from plugin)" in the Nagios web > interface. > > The check_backuppc stanza in the Nagios configuration is the following: > > define service{ > use remote-service > host_name myremoteserver > service_description BackupPC > check_command check_nrpe!check_backuppc > } > > If I execute from the shell "check_nrpe -H bakserver.blupixel.local -c > check_backuppc" I correctly get the plugin's answer ("BACKUPPC WARNING - > (5/7) failures"). > > Where is the problem? > > Thank you very much! > Bye. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Take my love, take my land / Take me where I cannot stand / I don't care, I'm still free / You can't take the sky from me / Take me out to the black / Tell 'em I ain't comin' back / Burn the land and boil the sea / You can't take the sky from me / There's no place I can be / Since I found serenity / But you can't take the sky from me. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at unixplanet.biz Fri Jul 20 07:35:59 2007 From: nagios at unixplanet.biz (Nagios) Date: Fri, 20 Jul 2007 02:35:59 -0300 Subject: Perfdata-file is gone after running nagiosgraph Message-ID: <46A049BF.3040603@unixplanet.biz> Hello Patrick I had the same problem, because insert.pl rename the perfdata file, but does not create a new one, you can add a line to insert.pl to create a new file, so another file will be created after processing old data, however for now, because I am debugging nagios and nagiosgraph , I just removed those lines in insert.pl so I can test perfdata output. I have one question for you, I set up Nagios.cfg the same as your config, but Nagios is not running the service_performance_data_file, are you having the same problem? or it is just me. finally I put insert.pl in crontab, because Nagios was not running it at all, so rrd files was not created. Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Jul 20 09:51:08 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 20 Jul 2007 09:51:08 +0200 Subject: watching Layer 2 device In-Reply-To: References: <143759745.20070718092940@gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744819576@hermes.sapphire-int.gi> Check the ARP table on a host that communicates with this layer 2 device. Best regards Giles Coochey Technical Department Sapphire Networks -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kurt Yoder Sent: 19 July 2007 16:03 To: Brandino Andreas Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] watching Layer 2 device On Jul 18, 2007, at 2:29 AM, Brandino Andreas wrote: > Hi list, > > i am trying to watch a layer 2 device. It has no ip or snmp > capabilites. > > Except of watching the ethernet port on the switch is any other way to > check if is up? Is the device visible from the network in any way at all? Or is it possible to configure the device to have an ip address? If not, you will need to get creative. Maybe create some kind of direct serial or usb connection between the nagios monitoring server and the monitored hardware. Then write a custom plugin to check the connection. -Kurt ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From windy at white-hawk.de Fri Jul 20 11:00:03 2007 From: windy at white-hawk.de (Stephan =?iso-8859-1?Q?Windm=FCller?=) Date: Fri, 20 Jul 2007 11:00:03 +0200 Subject: Perfdata-file is gone after running nagiosgraph In-Reply-To: <46A049BF.3040603@unixplanet.biz> References: <46A049BF.3040603@unixplanet.biz> Message-ID: <20070720090003.GB10436@speutel.de> On Fri, 20. Jul 2007, Nagios wrote: > I had the same problem, because insert.pl rename the perfdata file, > but does not create a new one, you can add a line to insert.pl to > create a new file, so another file will be created after processing > old data, however for now, because I am debugging nagios and > nagiosgraph , I just removed those lines in insert.pl so I can test > perfdata output. You can see my patch for this at http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html#nagiosgraph-install > I set up Nagios.cfg the same as your config, but Nagios is not running > the service_performance_data_file, are you having the same problem? or > it is just me. Here nagios starts insert.pl as it should. - Stephan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.broadwith at blueivy.co.uk Fri Jul 20 02:51:22 2007 From: paul.broadwith at blueivy.co.uk (Paul Broadwith) Date: Fri, 20 Jul 2007 01:51:22 +0100 Subject: Monitor remote server over the internet In-Reply-To: <46A00164.30005@unixplanet.biz> References: <46A00164.30005@unixplanet.biz> Message-ID: Hi, I'm sure I've seen documentation on this, but can't now find it! Can somebody point me in the direction of some docs on how to get Nagios to monitor remote systems over the internet? The scenario I have is I want to monitor a number of customer Windows servers over the internet. Would it be as straightforward as installing the Windows client and redirecting the NS Client port at the gateway to the Windows client to allow Nagios to get the relevant data from the internal Windows bits and pieces. Once I have it up and running I can secure it. Any help appreciated. Kind regards, Paul Broadwith MBCS Blue Ivy Ltd - Microsoft Small Business Specialist, UK Partner Qualified for 2007 Tel.: 0800 612 0601 Windows Messenger: paul.broadwith at blueivy.co.uk Web: http://www.blueivy.co.uk Blog: http://blog.blueivy.co.uk -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Nagios Sent: 20 July 2007 01:27 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagiosgraph andservice_perfdata_file_processing_command Hello I have setup nagios.cfg step by step as explained in Nagiosgraph README file but Nagios is not running the *service_perfdata_file_processing_command*, so rrd files can not be created. any idea why the command is not executed. Thanks ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------------------------------------------------------------------------- Blue Ivy Limited is a limited company registered in Scotland. Registered company number: SC 221649. Registered VAT number: GB 774 8460 88. Registered Office: 67 Kelburn Street, Barrhead, Glasgow, G78 1LD This message and any associated files is intended only for the use of nagios-users at lists.sourceforge.net and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not nagios-users at lists.sourceforge.net you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify paul.broadwith at blueivy.co.uk immediately by replying to the message and then deleting it from your computer. Any views or opinions presented are solely those of the author paul.broadwith at blueivy.co.uk and do not necessarily represent those of the company. ---------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Jul 20 12:26:39 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 20 Jul 2007 12:26:39 +0200 Subject: watching Layer 2 device In-Reply-To: <20070720102304.GC22852@hugo10.ka.punkt.de> References: <143759745.20070718092940@gmail.com> <9D30659ABCA7FB428CF91E386C3A5744819576@hermes.sapphire-int.gi> <20070720102304.GC22852@hugo10.ka.punkt.de> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744819584@hermes.sapphire-int.gi> Ah yes, very true... I'l revise my suggestion to check the mac address table on the switch that the device is connected to... my guess is a check by ssh or telnet that executes something like: Show mac-address-table abcd.abcd.abcd And checks for any output, would work. Of course the mac address aging time may be longer than your notification requirements. -----Original Message----- From: Patrick M. Hausen [mailto:hausen at punkt.de] Sent: 20 July 2007 12:23 To: Giles Coochey Cc: Kurt Yoder; Brandino Andreas; Nagios Users mailinglist Subject: Re: [Nagios-users] watching Layer 2 device Hello! > Check the ARP table on a host that communicates with this layer 2 > device. ARP is to match IP addresses to layer 2 addresses. IP addresses are layer 3. No IP, no ARP. Sorry. If the layer 2 device in question is a bridge, you could watch if it emits BPDU frames regularly and raise an alarm if it doesn't for a defined period of time. HTH, Patrick M. Hausen Leiter Netzwerke und Sicherheit -- punkt.de GmbH * Vorholzstr. 25 * 76137 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info at punkt.de http://www.punkt.de Gf: J?rgen Egeling AG Mannheim 108285 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hausen at punkt.de Fri Jul 20 12:23:05 2007 From: hausen at punkt.de (Patrick M. Hausen) Date: Fri, 20 Jul 2007 12:23:05 +0200 Subject: watching Layer 2 device In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744819576@hermes.sapphire-int.gi> References: <143759745.20070718092940@gmail.com> <9D30659ABCA7FB428CF91E386C3A5744819576@hermes.sapphire-int.gi> Message-ID: <20070720102304.GC22852@hugo10.ka.punkt.de> Hello! > Check the ARP table on a host that communicates with this layer 2 > device. ARP is to match IP addresses to layer 2 addresses. IP addresses are layer 3. No IP, no ARP. Sorry. If the layer 2 device in question is a bridge, you could watch if it emits BPDU frames regularly and raise an alarm if it doesn't for a defined period of time. HTH, Patrick M. Hausen Leiter Netzwerke und Sicherheit -- punkt.de GmbH * Vorholzstr. 25 * 76137 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info at punkt.de http://www.punkt.de Gf: J?rgen Egeling AG Mannheim 108285 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at unixplanet.biz Fri Jul 20 14:10:30 2007 From: nagios at unixplanet.biz (Nagios) Date: Fri, 20 Jul 2007 09:10:30 -0300 Subject: Perfdata-file is gone after running nagiosgraph In-Reply-To: <20070720090003.GB10436@speutel.de> References: <46A049BF.3040603@unixplanet.biz> <20070720090003.GB10436@speutel.de> Message-ID: <46A0A636.9090401@unixplanet.biz> thanks for the patch url. I just found that our Nagios is built with embeded perl option, and I have to mention the path to perl before each plugin. that was the reason perfformance cammand was not executed through nagios.cfg. however still I had some weired problems with nagiosgraph. 1-I don't know why when I reload nagios, it removes /tmp/service-perfdata file. 2- I have added /usr/bin/perl before plugin command and it works on our dev servers, but in our production server, nothing is written to /tmp/service-perfdata. Cheers Stephan Windm??ller wrote: > On Fri, 20. Jul 2007, Nagios wrote: > > >> I had the same problem, because insert.pl rename the perfdata file, >> but does not create a new one, you can add a line to insert.pl to >> create a new file, so another file will be created after processing >> old data, however for now, because I am debugging nagios and >> nagiosgraph , I just removed those lines in insert.pl so I can test >> perfdata output. >> > > You can see my patch for this at > http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html#nagiosgraph-install > > >> I set up Nagios.cfg the same as your config, but Nagios is not running >> the service_performance_data_file, are you having the same problem? or >> it is just me. >> > > Here nagios starts insert.pl as it should. > > - Stephan > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Fri Jul 20 15:25:15 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Fri, 20 Jul 2007 14:25:15 +0100 Subject: NRPE (No output returned from plugin) In-Reply-To: <7fedbc910707191551n29648e90i89fde523007e564a@mail.gmail.com> References: <7fedbc910707191551n29648e90i89fde523007e564a@mail.gmail.com> Message-ID: <46A0B7BB.5010900@aidananderson.co.uk> shacky wrote: > Hi. > > I'm using NRPE to monitor a remote server. > The most part of the plugins works without problems, but > check_backuppc returns the error "(No output returned from plugin)" in > the Nagios web interface. > > The check_backuppc stanza in the Nagios configuration is the following: > > define service{ > use remote-service > host_name myremoteserver > service_description BackupPC > check_command check_nrpe!check_backuppc > } > > If I execute from the shell "check_nrpe -H bakserver.blupixel.local -c > check_backuppc" I correctly get the plugin's answer ("BACKUPPC WARNING > - (5/7) failures"). > > Where is the problem? > Have you set up the command definition correctly in commands.cfg or wherever you store your commands on your Nagios server. Also check that Nagios has permission to execute the pluggin on the remote machine. Test by re-trying your check_nrpe command logged on as nagios. Aidan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Fri Jul 20 16:25:19 2007 From: richardsolid at gmail.com (Jake Solid) Date: Fri, 20 Jul 2007 10:25:19 -0400 Subject: Nagios reporting Load Usage Message-ID: Nagios did a good job reporting a high level of load on one of my servers during the morning CRITICAL - load average: 59.62, 31.70, 13.53 Then it sent a recovery alert showing the load as: OK - load average: 1.72, 1.72, 4.56 How can I find out what exactly put the load a that high level? Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Jul 20 16:47:13 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 20 Jul 2007 16:47:13 +0200 Subject: Nagios reporting Load Usage In-Reply-To: References: Message-ID: <9D30659ABCA7FB428CF91E386C3A574481959C@hermes.sapphire-int.gi> Unless you have process accounting and logging running on that system, you can't. You could always run a check through Nagios to gather the most resource intensive processes in the output of your check load, I don't know whether anyone has implemented it, but you can always search on Nagios Exchange, or try google. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jake Solid Sent: 20 July 2007 16:25 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios reporting Load Usage Nagios did a good job reporting a high level of load on one of my servers during the morning CRITICAL - load average: 59.62, 31.70, 13.53 Then it sent a recovery alert showing the load as: OK - load average: 1.72, 1.72, 4.56 How can I find out what exactly put the load a that high level? Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shacky83 at gmail.com Fri Jul 20 18:22:50 2007 From: shacky83 at gmail.com (shacky) Date: Fri, 20 Jul 2007 18:22:50 +0200 Subject: NRPE (No output returned from plugin) In-Reply-To: <46A0B7BB.5010900@aidananderson.co.uk> References: <7fedbc910707191551n29648e90i89fde523007e564a@mail.gmail.com> <46A0B7BB.5010900@aidananderson.co.uk> Message-ID: <7fedbc910707200922w29cf190freda4e2f7f3d72a8a@mail.gmail.com> 2007/7/20, Aidan Anderson : > > Have you set up the command definition correctly in commands.cfg or > wherever you store your commands on your Nagios server. Also check that > Nagios has permission to execute the pluggin on the remote machine. > Test by re-trying your check_nrpe command logged on as nagios. Yes, I setted up the command definition for check_nrpe on the Nagios server as the following: define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ } The command in the host configuration on the Nagios server is confgured as the following: define service{ use remote-service host_name my.remote.server service_description SMART check_command check_nrpe!check_smart_attributes } If I test the command logged on as nagios on the Nagios server it works: nagiosserver:/home/me# su nagios nagiosserver:/home/me$ whoami nagios nagiosserver:/home/me$ /usr/local/nagios/libexec/check_nrpe -H backuppc.foobar.local -c check_backuppc BACKUPPC WARNING - (4/7) failures nagiosserver:/home/me$ As you can see, it works, but it doesn't works from Nagios itself. Bye! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esben at cs.aau.dk Fri Jul 20 19:32:16 2007 From: esben at cs.aau.dk (Esben Bach) Date: Fri, 20 Jul 2007 18:32:16 +0100 Subject: change control on Nagios / Cacti servers In-Reply-To: <2b7af7c40707191546j154e913cp436238207c4b2285@mail.gmail.com> References: <2b7af7c40707191546j154e913cp436238207c4b2285@mail.gmail.com> Message-ID: <46A0F1A0.4020307@cs.aau.dk> if you cannot rely on the others using version control systems, then you might consider tripwire. Be careful though, you might end up getting a LOT of "spam" mails. -- Esben Rogelio Bastardo wrote: > I'm looking for some sort of change control solution. On several > Cacti/Nagios servers, I would like to take a snapshot of what I did, > back it up, and if something changes, run something that shows me what > files / permissions were changed since I last worked on the server. > > If it were just me, then I would just make copies of the files. But > since there are other people in there doing all sorts of weird > configs, I want to make sure that I document what they did since I > last logged in. > > Any suggestions would be greatly appreciated. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coreym at novexsoftware.com Fri Jul 20 18:51:24 2007 From: coreym at novexsoftware.com (Corey Mosher) Date: Fri, 20 Jul 2007 13:51:24 -0300 Subject: Alternative to Ping Message-ID: <46A0E80C.5020807@novexsoftware.com> If my hardware and software firewalls block ping requests, what do you guys suggest as an alternative to ping to determine that a server is up and running? I intend to eventually setup check_by_ssh checks for each server for various things like hard disk space, etc but I was wondering if there was something else that might be good for just checking that a system is up and running. -- *Corey Mosher* *Novex Software Development* *tel.* +1-888-542-1813 *fax.* +1-902-444-3803 *email.* coreym at novexsoftware.com *web.* http://www.novexsoftware.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From viniciusfs at gmail.com Fri Jul 20 18:51:39 2007 From: viniciusfs at gmail.com (=?ISO-8859-1?Q?Vin=EDcius_de_Figueiredo?=) Date: Fri, 20 Jul 2007 13:51:39 -0300 Subject: Custom Plugins - NRPE: Unable to read output on Solaris Message-ID: I wrote two simple shell scripts to check CPU and RAM usage and return output in percentage. I tested locally and both scripts worked fine on Solaris and Linux servers. When I tried to run these scripts via NRPE from my Nagios server I got this error only on my Solaris machine: # ./check_nrpe -H 10.121.240.171 -c check_cpu NRPE: Unable to read output The same error when I tried to run via check_nrpe locally: # ./check_nrpe -H localhost -c check_cpu NRPE: Unable to read output On Linux machine everything works well from Nagios and locally. # ./check_nrpe -H 10.121.240.170 -c check_cpu CPU OK - CPU usage in 1%|cpu=1%;80;90 # ./check_nrpe -H localhost -c check_cpu CPU OK - CPU usage in 12%|cpu=12%;80;90 All other checks that I run on this Solaris box from Nagios are OK: # ./check_nrpe -H 10.121.240.171 -c check_disk DISK OK - free space: / 5433 MB (55% inode=93%);| /=4314MB;9826;9836;0;9846 All permissions and command definitions on nrpe.cfg are OK. I'm stuck here, anyone can help me? My custom scripts source codes can be found here: http://vinicius.oitobits.net/arquivo/plugins-check_cpu-e-check_ram-para-nagios/ I don't know why these scripts works locally but can't be executed by check_nrpe on Solaris. Thanks. And sorry about my really bad English. vin?cius. http://vinicius.oitobits.net http://www.oitobits.net ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 20 18:51:53 2007 From: marc at ena.com (Marc Powell) Date: Fri, 20 Jul 2007 11:51:53 -0500 Subject: NRPE (No output returned from plugin) In-Reply-To: <7fedbc910707200922w29cf190freda4e2f7f3d72a8a@mail.gmail.com> References: <7fedbc910707200922w29cf190freda4e2f7f3d72a8a@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of shacky > Sent: Friday, July 20, 2007 11:23 AM > To: Aidan Anderson; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE (No output returned from plugin) > > Yes, I setted up the command definition for check_nrpe on the Nagios > server as the following: > > define command{ > command_name check_nrpe > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a > $ARG2$ > } > define service{ > use remote-service > host_name my.remote.server > service_description SMART > check_command check_nrpe!check_smart_attributes > } > > If I test the command logged on as nagios on the Nagios server it works: > > nagiosserver:/home/me$ /usr/local/nagios/libexec/check_nrpe -H > backuppc.foobar.local -c check_backuppc > BACKUPPC WARNING - (4/7) failures > nagiosserver:/home/me$ > > As you can see, it works, but it doesn't works from Nagios itself. Well, that's not what nagios is executing. Your command_line specifies '-a $ARG2$'. You do not pass an $ARG2$ to the command however so what nagios is really executing is -- /usr/local/nagios/libexec/check_nrpe -H backuppc.foobar.local -c check_backuppc -a Does _that_ work? I expect that it will fail spectacularly. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shacky83 at gmail.com Fri Jul 20 19:11:32 2007 From: shacky83 at gmail.com (shacky) Date: Fri, 20 Jul 2007 19:11:32 +0200 Subject: NRPE (No output returned from plugin) In-Reply-To: References: <7fedbc910707200922w29cf190freda4e2f7f3d72a8a@mail.gmail.com> Message-ID: <7fedbc910707201011j4b6cdef5xa52e7ea738c12b04@mail.gmail.com> Ok, I solved!! Thank you very much!! Bye. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 19:12:08 2007 From: marc at ena.com (Marc Powell) Date: Fri, 20 Jul 2007 12:12:08 -0500 Subject: Custom Plugins - NRPE: Unable to read output onSolaris In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Vin?cius de Figueiredo > Sent: Friday, July 20, 2007 11:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Custom Plugins - NRPE: Unable to read output > onSolaris > > I wrote two simple shell scripts to check CPU and RAM usage and return > output in percentage. I tested locally and both scripts worked fine on > Solaris and Linux servers. > > When I tried to run these scripts via NRPE from my Nagios server I got > this error only on my Solaris machine: > > # ./check_nrpe -H 10.121.240.171 -c check_cpu > NRPE: Unable to read output > > The same error when I tried to run via check_nrpe locally: > > # ./check_nrpe -H localhost -c check_cpu > NRPE: Unable to read output > I see that you have a pension for testing as root. Don't. You should always test as the user that is going to be running the program. They'll almost certainly have higher access restrictions than root. Can you successfully run your plugins on the Solaris box as the nrpe user? If so, try putting nrpe in debug mode and see what it complains about. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 20 19:51:42 2007 From: marc at ena.com (Marc Powell) Date: Fri, 20 Jul 2007 12:51:42 -0500 Subject: Custom Plugins - NRPE: Unable to read output onSolaris In-Reply-To: References: Message-ID: > -----Original Message----- > From: Vin?cius de Figueiredo [mailto:viniciusfs at gmail.com] > Sent: Friday, July 20, 2007 12:38 PM > To: Marc Powell > Subject: Re: [Nagios-users] Custom Plugins - NRPE: Unable to read output > onSolaris > > On 7/20/07, Marc Powell wrote: > > Can you successfully run your plugins on the Solaris box as the nrpe > user? If so, try putting nrpe in debug mode and see what it complains > about. > > > > -- > > Marc > > > > Yes, I can run plugins on Solaris box using nagios user. > > $ ./check_cpu 80 90 > CPU OK - CPU usage in 2%|cpu=2%;80;90 > But still not working under check_nrpe: > > $ ./check_nrpe -H localhost -c check_cpu > NRPE: Unable to read output How did the debug testing go? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Jul 20 19:59:44 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 20 Jul 2007 10:59:44 -0700 Subject: Alternative to Ping In-Reply-To: <46A0E80C.5020807@novexsoftware.com> References: <46A0E80C.5020807@novexsoftware.com> Message-ID: <20070720175944.GT27892@pmorris.usa.hp.com> Hi Corey! On Fri, 20 Jul 2007, Corey Mosher wrote: > If my hardware and software firewalls block ping requests, what do you > guys suggest as an alternative to ping to determine that a server is up > and running? I intend to eventually setup check_by_ssh checks for each > server for various things like hard disk space, etc but I was wondering > if there was something else that might be good for just checking that a > system is up and running. Without knowing what you *can* reach to determine if a host is up, I couldn't say. Sounds like check_ssh is an option, though. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shacky83 at gmail.com Fri Jul 20 20:01:39 2007 From: shacky83 at gmail.com (shacky) Date: Fri, 20 Jul 2007 20:01:39 +0200 Subject: Services dependences Message-ID: <7fedbc910707201101i4784d7ecx46406332e9ee7c02@mail.gmail.com> Hi. I'm using NRPE to monitor services on the remote servers. I wish to make the checks made by NRPE dependent with the NRPE service itself. I create a service to check the availability of the NRPE daemon on the remote host: define service{ use remote-service host_name bakserver.blupixel.local service_description NRPE check_command check_tcp!5666 } Now I wish to specify the dependency for all the checks made by NRPE, so if the NRPE daemon isn't available on the remote host, these checks will not executed at all (and the related notifications are not sent). I read on the Nagios documentation that this could be done with the following configuration: define service{ use remote-service host_name bakserver.blupixel.local service_description NRPE check_command check_tcp!5666 dependent_service_description nrpeservice1,nrpeservice2,nrpeservice3,nrpeservice4 execution_failure_criteria w,c } With this configuration, if the NRPE service is on warning or critical, the services "nrpeservice1, nrpeservice2, nrpeservice3, nrpeservice4" are not checked and their problems are not notificated. This is ok, but I wish to make a "vice versa" configuration. I wish to specify the dependence between the "NRPE" service and the "nrpeserviceX" in the "nrpeserviceX" stanzas, not in the "NRPE" service one. This because it will more fast to add new services, without modify the "NRPE" stanza. How can I do this? Thank you very much! Bye. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 20:26:02 2007 From: marc at ena.com (Marc Powell) Date: Fri, 20 Jul 2007 13:26:02 -0500 Subject: Custom Plugins - NRPE: Unable to read output onSolaris In-Reply-To: References: Message-ID: Please always respond on list. > -----Original Message----- > From: Vin?cius de Figueiredo [mailto:viniciusfs at gmail.com] > Sent: Friday, July 20, 2007 1:01 PM > To: Marc Powell > Subject: Re: [Nagios-users] Custom Plugins - NRPE: Unable to read output > onSolaris > > On 7/20/07, Marc Powell wrote: > > > > How did the debug testing go? > > > > -- > > Marc > > > > Debug is ON in my nrpe.cfg but nothing is wrong. Just notice about > NRPE starting. > I really don't know what is wrong. The same script works fine in my Linux > box. The debug output is being sent to /var/log/messages (probably). If I remember correctly, it should be very verbose, detailing connections, commands and just about everything about the transaction. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 20 20:26:52 2007 From: marc at ena.com (Marc Powell) Date: Fri, 20 Jul 2007 13:26:52 -0500 Subject: Alternative to Ping In-Reply-To: <46A0E80C.5020807@novexsoftware.com> References: <46A0E80C.5020807@novexsoftware.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Corey Mosher > Sent: Friday, July 20, 2007 11:51 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Alternative to Ping > > If my hardware and software firewalls block ping requests, what do you > guys suggest as an alternative to ping to determine that a server is up > and running? I intend to eventually setup check_by_ssh checks for each > server for various things like hard disk space, etc but I was wondering if > there was something else that might be good for just checking that a > system is up and running. check_tcp to an arbitrary port that your machine is listening on and is allowed through your firewalls would be a good start. It won't be as comprehensive as a ping check because that service can fail and the box still be up but when your basic testing is limited you have to move higher up the stack. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Jul 20 22:20:48 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 20 Jul 2007 16:20:48 -0400 Subject: Monitor remote server over the internet In-Reply-To: References: <46A00164.30005@unixplanet.biz> Message-ID: I am sure there are many ways to accomplish this, the method you proposed looks ok to me, However shouldn't security should be thought of first if your sending over the internet as opposed to behind your firewall. Other suggestions may include looking into check_by_ssl (Although I never tried this) NRPE (which should support encription) NC_NEt (using passive checks and setting up external NSCA and encription) Setting up a remote Nagios server at the client site (it does not need to be a new server with fast processor for only a few hosts) then VPN it to your Nagios host. TOny (author of NC_NEt) On 7/19/07, Paul Broadwith wrote: > > Hi, > > I'm sure I've seen documentation on this, but can't now find it! > > Can somebody point me in the direction of some docs on how to get Nagios > to monitor remote systems over the internet? > > The scenario I have is I want to monitor a number of customer Windows > servers over the internet. > > Would it be as straightforward as installing the Windows client and > redirecting the NS Client port at the gateway to the Windows client to > allow Nagios to get the relevant data from the internal Windows bits and > pieces. Once I have it up and running I can secure it. > > Any help appreciated. > > Kind regards, > > Paul Broadwith MBCS > Blue Ivy Ltd - Microsoft Small Business Specialist, UK Partner Qualified > for 2007 > > Tel.: 0800 612 0601 > Windows Messenger: paul.broadwith at blueivy.co.uk > Web: http://www.blueivy.co.uk > Blog: http://blog.blueivy.co.uk > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Nagios > Sent: 20 July 2007 01:27 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagiosgraph > andservice_perfdata_file_processing_command > > Hello > > I have setup nagios.cfg step by step as explained in Nagiosgraph README > file > but Nagios is not running the > *service_perfdata_file_processing_command*, > so rrd files can not be created. > > any idea why the command is not executed. > > Thanks > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ---------------------------------------------------------------------------------------------------------------------------------------------- > > Blue Ivy Limited is a limited company registered in Scotland. > Registered company number: SC 221649. Registered VAT number: GB 774 8460 > 88. > Registered Office: 67 Kelburn Street, Barrhead, Glasgow, G78 1LD > > This message and any associated files is intended only for the use of > nagios-users at lists.sourceforge.net and may contain information that is > confidential, subject to copyright or constitutes a trade secret. If you are > not nagios-users at lists.sourceforge.net you are hereby notified that any > dissemination, copying or distribution of this message, or files associated > with this message, is strictly prohibited. If you have received this message > in error, please notify paul.broadwith at blueivy.co.uk immediately by > replying to the message and then deleting it from your computer. > > Any views or opinions presented are solely those of the author > paul.broadwith at blueivy.co.uk and do not necessarily represent those of the > company. > > > ---------------------------------------------------------------------------------------------------------------------------------------------- > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Sat Jul 21 01:29:57 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Fri, 20 Jul 2007 16:29:57 -0700 Subject: nagios / cacti integration question Message-ID: <2b7af7c40707201629j2ba6bbfbsd072c6f9ae9d167d@mail.gmail.com> I'm looking for some ways to import the Nagios results (OK checks, not OK checks) into Cacti so that I can start creating some graphs to show SLA-type stuff. I have a good Nagios setup, and on that box Cacti is working. How do I merge the two? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markwag at u.washington.edu Sat Jul 21 01:45:23 2007 From: markwag at u.washington.edu (Mark Wagner) Date: Fri, 20 Jul 2007 16:45:23 -0700 Subject: Services dependences In-Reply-To: References: Message-ID: <20070720234523.GC15821@n-its-markwag.mcis.washington.edu> On Fri, Jul 20, 2007 at 04:30:07PM -0700, nagios-users-request at lists.sourceforge.net wrote: > Message: 19 > Date: Fri, 20 Jul 2007 20:01:39 +0200 > From: shacky > Subject: [Nagios-users] Services dependences > To: nagios-users at lists.sourceforge.net > Message-ID: > <7fedbc910707201101i4784d7ecx46406332e9ee7c02 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi. > > I'm using NRPE to monitor services on the remote servers. > I wish to make the checks made by NRPE dependent with the NRPE service > itself. > I create a service to check the availability of the NRPE daemon on the > remote host: > > define service{ > use remote-service > host_name bakserver.blupixel.local > service_description NRPE > check_command check_tcp!5666 > } > > Now I wish to specify the dependency for all the checks made by NRPE, so if > the NRPE daemon isn't available on the remote host, these checks will not > executed at all (and the related notifications are not sent). > I read on the Nagios documentation that this could be done with the > following configuration: > > define service{ > use remote-service > host_name bakserver.blupixel.local > service_description NRPE > check_command check_tcp!5666 > dependent_service_description > nrpeservice1,nrpeservice2,nrpeservice3,nrpeservice4 > execution_failure_criteria w,c > } > > With this configuration, if the NRPE service is on warning or critical, the > services "nrpeservice1, nrpeservice2, nrpeservice3, nrpeservice4" are not > checked and their problems are not notificated. > This is ok, but I wish to make a "vice versa" configuration. > I wish to specify the dependence between the "NRPE" service and the > "nrpeserviceX" in the "nrpeserviceX" stanzas, not in the "NRPE" service one. > This because it will more fast to add new services, without modify the > "NRPE" stanza. > > How can I do this? I won't answer this question but rather point out that once you go to hostgroups the service dependency system of Nagios 2.x doesn't work well because the dependencies are not 1 to 1 but rather all to all. For hosts that use NRPE I have created a check-host-alive command that checks nrpe rather than just ping. -- Mark Wagner System Administrator, UW Medicine IT Services 206-616-6119 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.broadwith at blueivy.co.uk Sat Jul 21 04:11:00 2007 From: paul.broadwith at blueivy.co.uk (Paul Broadwith) Date: Sat, 21 Jul 2007 03:11:00 +0100 Subject: NC_NET Scripts In-Reply-To: References: <46A00164.30005@unixplanet.biz> Message-ID: Hi, I've moved from NSCLient++ to NC_NET and trying to get the external scripts working. I've created an event_handler in the nagios config, I've created the script and the script is run when the service goes up or down. However teh script stops and restarts all of the relevant services. I only want this to happen when the service is down, however Nagios runs it when it changes state (which I believe is correct behaviour). >From reading the Nagios docs, external scripts must be able to take the following parameters $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$, and I was going to use one of them to check the state (ie. If it is critical, stop and start the services, if it's not, then don't). however I'm unsure how to pass this to the external script through NC_NET. In the Nagios log, the following is shown === SERVICE EVENT HANDLER: BLUDCSHIG001;Exchange Services;OK;HARD;3;run_remote_script!"restartexchange.cmd $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$" === I've redirected the args in the .cmd file running on the Windows machine to a text file so I can see them and nothing is being passed. Any ideas? Any other ways to do this? Kind regards, Paul Broadwith MBCS Blue Ivy Ltd - Microsoft Small Business Specialist, UK Partner Qualified for 2007 Tel.: 0800 612 0601 Windows Messenger: paul.broadwith at blueivy.co.uk Web: http://www.blueivy.co.uk ---------------------------------------------------------------------------------------------------------------------------------------------- Blue Ivy Limited is a limited company registered in Scotland. Registered company number: SC 221649. Registered VAT number: GB 774 8460 88. Registered Office: 67 Kelburn Street, Barrhead, Glasgow, G78 1LD This message and any associated files is intended only for the use of nagios-users at lists.sourceforge.net and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not nagios-users at lists.sourceforge.net you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify paul.broadwith at blueivy.co.uk immediately by replying to the message and then deleting it from your computer. Any views or opinions presented are solely those of the author paul.broadwith at blueivy.co.uk and do not necessarily represent those of the company. ---------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat Jul 21 04:28:02 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 20 Jul 2007 22:28:02 -0400 Subject: nagios / cacti integration question In-Reply-To: <2b7af7c40707201629j2ba6bbfbsd072c6f9ae9d167d@mail.gmail.com> References: <2b7af7c40707201629j2ba6bbfbsd072c6f9ae9d167d@mail.gmail.com> Message-ID: <46A16F32.8090803@aei.ca> On 20/07/07 07:29 PM, Rogelio Bastardo wrote: > I'm looking for some ways to import the Nagios results (OK checks, not > OK checks) into Cacti so that I can start creating some graphs to show > SLA-type stuff. > > I have a good Nagios setup, and on that box Cacti is working. How do > I merge the two? There is no standard way but in my company we developed our own Perl daemon for gathering performance data from a Nagios pipe and caching it. A Cacti script connects to the daemon to get the data... You will need a good understanding of Cacti (to create the new templates and data input) and a bit of patience. The daemon doesn't have any configuration (yet) so all variables are hard-coded in the code. For example to change the data retention timeout (which is 120 seconds right now since our Nagios checks every minute and our Cacti is patched to poll at the same interval) you will have to change it in the cache_cleanup sub. The latest daemon code with some bugfixes is available here: http://www.nagiosexchange.org/Misc.36.0.html?&tx_netnagext_pi1%5Bp_view%5D=972 And the setup instructions are here: http://www.control-alt-del.org/code/NPDaemon/ Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat Jul 21 15:16:43 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 21 Jul 2007 09:16:43 -0400 Subject: nagios / cacti integration question In-Reply-To: <46A16F32.8090803@aei.ca> References: <2b7af7c40707201629j2ba6bbfbsd072c6f9ae9d167d@mail.gmail.com> <46A16F32.8090803@aei.ca> Message-ID: <46A2073B.8070506@aei.ca> On 20/07/07 10:28 PM, Thomas Guyot-Sionnest wrote: > > There is no standard way but in my company we developed our own Perl > daemon for gathering performance data from a Nagios pipe and caching it. > A Cacti script connects to the daemon to get the data... You will need a > good understanding of Cacti (to create the new templates and data input) > and a bit of patience. > > The daemon doesn't have any configuration (yet) so all variables are > hard-coded in the code. For example to change the data retention timeout > (which is 120 seconds right now since our Nagios checks every minute > and our Cacti is patched to poll at the same interval) you will have to > change it in the cache_cleanup sub. > > The latest daemon code with some bugfixes is available here: > > http://www.nagiosexchange.org/Misc.36.0.html?&tx_netnagext_pi1%5Bp_view%5D=972 > > And the setup instructions are here: > > http://www.control-alt-del.org/code/NPDaemon/ Oh, one more thing I forgot to mention, by default the daemon listens on the localhost only so this works only if Cacti is running on the same server. If you want to run it trough the network you will have to change NPDaemon; at line 44 you have: LocalAddr => '127.0.0.1', Change it to the IP of the interface you want it to listen on, or '0.0.0.0' to listen on all interfaces. There is to authentication so you may want to run it only on a secured network or with a local firewall restricting access. The cacti script has to be modified as well to connect to the right IP. Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at unixplanet.biz Sat Jul 21 16:49:06 2007 From: nagios at unixplanet.biz (Nagios) Date: Sat, 21 Jul 2007 11:49:06 -0300 Subject: Nagios Email Notification In-Reply-To: <46A2073B.8070506@aei.ca> References: <2b7af7c40707201629j2ba6bbfbsd072c6f9ae9d167d@mail.gmail.com> <46A16F32.8090803@aei.ca> <46A2073B.8070506@aei.ca> Message-ID: <46A21CE2.60901@unixplanet.biz> Hello Our Nagios is configured to send email is a service is not available, I was wondering if we can set it up to send email when service is backed up !!!!! Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Jul 21 22:52:23 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 21 Jul 2007 16:52:23 -0400 Subject: NC_NET Scripts In-Reply-To: References: <46A00164.30005@unixplanet.biz> Message-ID: Hi Paul, I think you need to split your issues into seperate posts, I have not worked a lot with event Handlers in Nagios yet, so I willo not be able to help with that, BUt I can help on the NC_NEt side of the issue. first, create the script, (make sure you are using the most recent version of NC_NEt and check_nc_Net due to a few bug fixes and other options enabled in the most recent version. your script should print to standard output, and should have an exit code. make sure the script is in the Script folder of NC_NET. IF you want to pass arguments to the script you must modify the Startup.cfgof NC_NET in order for the Arguments to be accepted. on a simplest case, you can try to hardcode the script as a BAT file simply running a command like net start xyzservice to test the script call it using Check_nt/check_nc_net if the script runs from the command line, then you need to start worrying about getting the Event Handler running, For that, make sure to read the Nagios Documentation I thought the example was oK in it. WHen running the event handler make sure only to run it on the proper state, also make sure you do not have your retry interval to close together, sometimes it takes 20 sec or longer to restart a service. thus int he check_nt command make sure to have long enough timeouts for your command. If you get the problem down to just the event handler aspect of it, then you may want to repost with a new subject and description for just the event handler. good Luck, Tony (author of NC_NEt) On 7/20/07, Paul Broadwith wrote: > > Hi, > > I've moved from NSCLient++ to NC_NET and trying to get the external > scripts working. > > I've created an event_handler in the nagios config, I've created the > script and the script is run when the service goes up or down. However > teh script stops and restarts all of the relevant services. I only want > this to happen when the service is down, however Nagios runs it when it > changes state (which I believe is correct behaviour). > > >From reading the Nagios docs, external scripts must be able to take the > following parameters $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$, > and I was going to use one of them to check the state (ie. If it is > critical, stop and start the services, if it's not, then don't). however > I'm unsure how to pass this to the external script through NC_NET. In > the Nagios log, the following is shown > > === > SERVICE EVENT HANDLER: BLUDCSHIG001;Exchange > Services;OK;HARD;3;run_remote_script!"restartexchange.cmd $SERVICESTATE$ > $SERVICESTATETYPE$ $SERVICEATTEMPT$" > === > > I've redirected the args in the .cmd file running on the Windows machine > to a text file so I can see them and nothing is being passed. > > Any ideas? Any other ways to do this? > > Kind regards, > > Paul Broadwith MBCS > Blue Ivy Ltd - Microsoft Small Business Specialist, UK Partner Qualified > for 2007 > > Tel.: 0800 612 0601 > Windows Messenger: paul.broadwith at blueivy.co.uk > Web: http://www.blueivy.co.uk > > > > > ---------------------------------------------------------------------------------------------------------------------------------------------- > > Blue Ivy Limited is a limited company registered in Scotland. > Registered company number: SC 221649. Registered VAT number: GB 774 8460 > 88. > Registered Office: 67 Kelburn Street, Barrhead, Glasgow, G78 1LD > > This message and any associated files is intended only for the use of > nagios-users at lists.sourceforge.net and may contain information that is > confidential, subject to copyright or constitutes a trade secret. If you are > not nagios-users at lists.sourceforge.net you are hereby notified that any > dissemination, copying or distribution of this message, or files associated > with this message, is strictly prohibited. If you have received this message > in error, please notify paul.broadwith at blueivy.co.uk immediately by > replying to the message and then deleting it from your computer. > > Any views or opinions presented are solely those of the author > paul.broadwith at blueivy.co.uk and do not necessarily represent those of the > company. > > > ---------------------------------------------------------------------------------------------------------------------------------------------- > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at ayksolutions.com Sat Jul 21 23:01:08 2007 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Sat, 21 Jul 2007 23:01:08 +0200 (CEST) Subject: running multiple nagios instances? Message-ID: <20070721210108.2302E4F4045@desire.netways.de> Hello, We currently only have one instance of nagios running. We are looking to setup a 2nd node in a different location for redundancy purposes. We are thinking of installing Nagios on it and then using rsync and some crons to update the slave server from our currently running server so we only have to add new hosts to a single box. Has anyone done this before and how does it work? Also, it would be nice to set it up somehow so that only our main server sends out the notifications when it's online or we'll get twice the notifications for same failed services, which is a no-no. The secondary server could send out the alerts if the primary fails numerous checks from the secondary for uptime. Hopefully I didn't confuse anyone. If any of you guys/gals know of a plugin or a nice way of setting this up, please do speak up! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Jul 21 23:10:57 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 21 Jul 2007 17:10:57 -0400 Subject: running multiple nagios instances? In-Reply-To: <20070721210108.2302E4F4045@desire.netways.de> References: <20070721210108.2302E4F4045@desire.netways.de> Message-ID: > We currently only have one instance of nagios running. We are looking > to setup a 2nd node in a different location for redundancy purposes. > > We are thinking of installing Nagios on it and then using rsync and > some crons to update the slave server from our currently running server > so we only have to add new hosts to a single box. > > Has anyone done this before and how does it work? Also, it would be > nice to set it up somehow so that only our main server sends out the > notifications when it's online or we'll get twice the notifications for > same failed services, which is a no-no. The secondary server could send > out the alerts if the primary fails numerous checks from the secondary > for uptime. Take a look at the docs under "Distributed Monitoring." It describes how to do exactly what you're looking for. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jul 22 00:09:13 2007 From: marc at ena.com (Marc Powell) Date: Sat, 21 Jul 2007 17:09:13 -0500 Subject: Nagios Email Notification In-Reply-To: <46A21CE2.60901@unixplanet.biz> References: <46A21CE2.60901@unixplanet.biz> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nagios > Sent: Saturday, July 21, 2007 9:49 AM > To: nagios at unixplanet.biz > Cc: Nagios Users mailinglist > Subject: [Nagios-users] Nagios Email Notification > > Hello > > Our Nagios is configured to send email is a service is not available, > I was wondering if we can set it up to send email when service is backed > up !!!!! Yes, certainly. Set your notification_options for your services and contacts for those alert types you wish to receive. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jul 22 00:20:57 2007 From: marc at ena.com (Marc Powell) Date: Sat, 21 Jul 2007 17:20:57 -0500 Subject: running multiple nagios instances? In-Reply-To: <20070721210108.2302E4F4045@desire.netways.de> References: <20070721210108.2302E4F4045@desire.netways.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Artyom Khmelnitsky > Sent: Saturday, July 21, 2007 4:01 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] running multiple nagios instances? > > Hello, > > We currently only have one instance of nagios running. We are looking to > setup a 2nd node in a different location for redundancy purposes. > > We are thinking of installing Nagios on it and then using rsync and some > crons to update the slave server from our currently running server so we > only have to add new hosts to a single box. > > Has anyone done this before and how does it work? Also, it would be nice Yes, it works just fine. Never had a problem and have been doing it for over 5 years. 2 central nagios machines and 5 collector machines (reporting to the two central boxen). Configs are updated and distributed hourly via rsync. We also store our configs in CVS so we have change history and accountability. For that matter, you could even use CVS over ssh to keep the remote boxen updated. I don't believe one way is significantly better than the other. > to set it up somehow so that only our main server sends out the > notifications when it's online or we'll get twice the notifications for Easy to do if you disable notifications on the second box. > same failed services, which is a no-no. The secondary server could send > out the alerts if the primary fails numerous checks from the secondary for > uptime. Yup. You could use an event handler to send the external command to globally enable notifications. When the primary box recovered that same event handler could disable notifications once again. All nice and automatic. > Hopefully I didn't confuse anyone. If any of you guys/gals know of a > plugin or a nice way of setting this up, please do speak up! You've pretty much hit it on the nose. It's pretty straightforward with minimal scripting necessary... -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Jul 22 11:35:37 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 22 Jul 2007 11:35:37 +0200 (CEST) Subject: NagiosGrapher Linux Load In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C6242C9B6@mail2.sd.defenseweb.net> References: <6F11F0B85CE3C841A4C78C8F364C1C6242BD62@mail2.sd.defenseweb.net> <6F11F0B85CE3C841A4C78C8F364C1C6242BD93@mail2.sd.defenseweb.net> <6F11F0B85CE3C841A4C78C8F364C1C6242C9B6@mail2.sd.defenseweb.net> Message-ID: On Thu, 19 Jul 2007, Jeff Shumard - DefenseWeb Technologies wrote: > Does anyone else have the same problem that I am seeing with the graphs, > > on Linux Load? The graph area is not matching what the totals are > getting from the server or from the values I am printing out of the > bottom of the graph. The graph is showing much higher values and the > average is also showing higher on the graph. I am using STACK to show > all the values of 15min, 5min, and 1min on the same graph. Does anyone > know how to resolve this as well? If you stack them then they will be incorrect by design. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Jul 22 11:41:25 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 22 Jul 2007 11:41:25 +0200 (CEST) Subject: Nagios reporting Load Usage In-Reply-To: References: Message-ID: On Fri, 20 Jul 2007, Jake Solid wrote: > Nagios did a good job reporting a high level of load on one of my servers > during the morning > > CRITICAL - load average: 59.62, 31.70, 13.53 > > Then it sent a recovery alert showing the load as: > > OK - load average: 1.72, 1.72, 4.56 > > How can I find out what exactly put the load a that high level? After the fact? That will be tough. Go over all of your log files. At least you know the timeframe. But going in after the load is low again can only give you partial information. You need to go in when the load is absurd and catch the bandit redhanded. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Jul 22 11:52:18 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 22 Jul 2007 11:52:18 +0200 (CEST) Subject: Alternative to Ping In-Reply-To: <46A0E80C.5020807@novexsoftware.com> References: <46A0E80C.5020807@novexsoftware.com> Message-ID: On Fri, 20 Jul 2007, Corey Mosher wrote: > If my hardware and software firewalls block ping requests, what do you guys > suggest as an alternative to ping to determine that a server is up and > running? I intend to eventually setup check_by_ssh checks for each server > for various things like hard disk space, etc but I was wondering if there was > something else that might be good for just checking that a system is up and > running. Actually. Whatever works for me. But anyone blocking ICMP but allowing SSH needs to re-evaluate the security policies. And if they only allow SSH selectively they can add the proper ICMP traffic as well. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ludse.verhoeven at vopak.com Sun Jul 22 16:01:40 2007 From: ludse.verhoeven at vopak.com (Ludse Verhoeven) Date: Sun, 22 Jul 2007 16:01:40 +0200 Subject: Ludse Verhoeven is out of the office. Message-ID: I will be out of the office starting 21/07/2007 and will not return until 13/08/2007. I will respond to your message when I return. For urgent matters you can contact Peter Tameris. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai at duras.ro Sun Jul 22 23:37:55 2007 From: mihai at duras.ro (Mihai Tanasescu) Date: Mon, 23 Jul 2007 00:37:55 +0300 Subject: Cisco 3750, 2960 temperature status Message-ID: <46A3CE33.3040906@duras.ro> Hello, I was wondering if there was any way to get the temperature status from a Cisco 3750 or 2960 equipment and use it with nagios. From the CLI all I can see reported is: TEMPERATURE is OK so I was thinking there could be a snmp variable to query and get 1 for status normal, 2 for warning or smth. I tried a couple of things like: cisco.ciscoMgmt.ciscoEnvMonMIB.ciscoEnvMonObjects.ciscoEnvMonTemperatureStatusTable.ciscoEnvMonTemperatureStatusEntry.ciscoEnvMonTemperatureState but all I did get was that the OID I got using the Cisco OID locator did not exist for my Cisco. Can anyone help ? (I know the question is a bit more Cisco related then Nagios :( ) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelly.terry.jones at gmail.com Mon Jul 23 03:55:12 2007 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Sun, 22 Jul 2007 19:55:12 -0600 Subject: Monitoring service for every machine in hostgroup EXCEPT ONE Message-ID: <26face530707221855k4a50c73fwfab2ff105aae0e8@mail.gmail.com> I've created a hostgroup of 20 machines, and want to monitor 10 services on each machine (easy). I now want to monitor an 11th service on 19 of the 20 machines. What's the best way to do this? Two ugly ways I don't like: % Create a separate hostgroup for the 19 machines I do want to monitor. % Monitor the service on all 20 machines, but schedule infinite downtime for the service on the 20th machine. Is there a better way? Semi-related questions: % Can I create an "invisible" hostgroup? One that nagios can use but doesn't show up on the web interface? % When I mark a service down, I don't get emails about it (that's good), but it still shows as red on the web interface? How can I fix this? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jerryqin at sina.com Mon Jul 23 05:28:26 2007 From: jerryqin at sina.com (jerryqin at sina.com) Date: Mon, 23 Jul 2007 11:28:26 +0800 Subject: Errors when making nagios plugins 1.4.9 Message-ID: <20070723032826.16947.qmail@mail3-15.sinamail.sina.com.cn> Hello, I'm trying to compiling nagios plugins 1.4.9 after  nagios version 2.9 has been installed successfully, but error occured as following. First, configure executed ok # ./configure --prefix=/usr/local/nagios checking for a BSD-compatible install... /opt/imake/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking build system type... cpp: "", line 0: error 4021: Unable to stat . hppa2.0w-hp-hpux11.11 checking host system type... hppa2.0w-hp-hpux11.11 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether gcc needs -traditional... no checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for /usr/ccs/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic (s[0-9][0-9][0-9]|PA -RISC[0-9].[0-9]) shared library checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether  accepts -g... no checking the maximum length of command line arguments... 262144 checking command to parse /usr/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... (cached) ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... y es checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... hpux11.11 dld.sl checking how to hardcode library paths into programs... relink checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... y es checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... y es checking dynamic linker characteristics... hpux11.11 dld.sl checking how to hardcode library paths into programs... relink appending configuration tag "F77" to libtool checking whether gcc and cc understand -c and -o together... yes checking for error_at_line... no checking for working strtod... yes uname: illegal option -- p usage: uname [-amnrsvil] [-S nodename] checking for python... no checking for sh... /usr/bin/sh checking for perl... /usr/contrib/bin/perl checking for libgnutls-config... no checking for hostname... /usr/bin/hostname checking for basename... /usr/bin/basename checking for main in -ldce... yes checking for main in -lnsl... yes checking for socket in -lsocket... no checking for main in -lresolv... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for floor in -lm... yes checking for plan_tests in -ltap... no checking for main in -lcrypt... yes checking for PQsetdbLogin in -lpq... no configure: WARNING: Skipping PostgreSQL plugin (check_pgsql) configure: WARNING: LIBS="-lcrypt " CPPFLAGS="" configure: WARNING: install PostgreSQL libs to compile this plugin (see REQUIREM ENTS). checking for rc_read_config in -lradiusclient... no configure: WARNING: Skipping radius plugin configure: WARNING: install radius libs to compile this plugin (see REQUIREMENTS ). checking for main in -lldap... no configure: WARNING: Skipping LDAP plugin configure: WARNING: install LDAP libs to compile this plugin (see REQUIREMENTS). checking for mysql_config... no configure: WARNING: Skipping mysql plugin configure: WARNING: install mysql client libs to compile this plugin (see REQUIR EMENTS). checking for IPv6 support... no checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/x509.h usability... yes checking openssl/x509.h presence... yes checking for openssl/x509.h... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking for CRYPTO_lock in -lcrypto... yes checking for main in -lssl... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking features.h usability... no checking features.h presence... no checking for features.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/unistd.h usability... yes checking sys/unistd.h presence... yes checking for sys/unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for va_copy... yes checking for memmove... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for floor... no checking for poll... yes checking return type of socket size... int checking for ps... /usr/bin/ps checking for ps syntax... /usr/bin/ps -el (AIX 4.1 and HP-UX) checking for ping... /usr/sbin/ping checking for ping6... no checking for ICMP ping syntax... /usr/sbin/ping %s -n %d checking for nslookup... /usr/bin/nslookup checking for nslookup syntax... /usr/bin/nslookup checking for number of cpus... cannot calculate checking for uptime... /usr/bin/uptime checking for rpcinfo... /usr/bin/rpcinfo checking for lmstat... no configure: WARNING: Get lmstat from Globetrotter Software to monitor flexlm lice nses checking for smbclient... no configure: WARNING: Get smbclient from Samba.org to monitor SMB shares checking for who... /usr/bin/who checking for snmpget... no configure: WARNING: Get snmpget from http://net-snmp.sourceforge.net to make che ck_hpjd and check_snmp plugins checking for snmpgetnext... no configure: WARNING: Tried /usr/contrib/bin/perl - install Net::SNMP perl module if you want to use the perl snmp plugins checking for quakestat... no checking for qstat... no configure: WARNING: Get qstat from http://www.activesw.com/people/steve/qstat.ht ml in order to make check_game plugin checking for fping... no configure: WARNING: Get fping from http://www.fping.com in order to make check_f ping plugin checking for ssh... no configure: WARNING: Get ssh in order to make check_by_ssh plugin checking for mailq... /usr/bin/mailq checking for qmail-qstat... no configure: WARNING: Could not find qmail-qstat or eqivalent checking for swap... no checking for swapinfo... /usr/sbin/swapinfo checking for /usr/sbin/swapinfo format... using HP-UX format swapinfo checking for lsps... no checking for sys/stat.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/swap.h... yes checking whether swapctl is declared... no checking for swaptbl_t... no checking for swapent_t... no checking for struct swapent.se_nblks... no checking for /proc/meminfo... no checking for dig... no checking for apt-get... no checking whether NLS is requested... yes checking for msgfmt... /opt/gnome/bin/msgfmt checking for gmsgfmt... /opt/gnome/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for msgmerge... /usr/local/bin/msgmerge checking for ld used by GCC... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... no checking for iconv... yes checking how to link with libiconv... -liconv checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... -lintl checking for working alloca.h... yes checking for alloca... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for sys/param.h... (cached) yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/fs_types.h usability... no checking sys/fs_types.h presence... no checking for sys/fs_types.h... no checking for sys/socket.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdint.h... (cached) no checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking whether system is Windows or MSDOS... no checking whether // is distinct from /... no checking whether strerror_r is declared... no checking for strerror_r... no checking whether strerror_r returns char *... no checking for C/C++ restrict keyword... __restrict checking for IPv4 sockets... yes checking for IPv6 sockets... no checking for inline... inline checking getopt.h usability... no checking getopt.h presence... no checking for getopt.h... no checking whether getenv is declared... yes checking for mbstate_t... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking whether defines MIN and MAX... yes checking whether defines MIN and MAX... yes checking for nl_langinfo and CODESET... yes checking for iswctype... yes checking for mbrtowc... yes checking for mempcpy... no checking for wcrtomb... yes checking for wcscoll... yes checking for pipe... yes checking for iswcntrl... yes checking for wcwidth... yes checking for ssize_t... yes checking whether snprintf is declared... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for long long int... no checking for unsigned long long int... no checking whether strdup is declared... yes checking whether strndup is declared... no checking whether strnlen is declared... no checking for EOVERFLOW... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... no checking for intmax_t... yes checking whether vsnprintf is declared... yes checking for alloca as a compiler built-in... yes checking whether // is distinct from /... (cached) no checking for error_at_line... (cached) no checking for sys/mount.h... yes configure: checking how to get file system space usage checking for statvfs function (SVR4)... yes checking dustat.h usability... no checking dustat.h presence... no checking for dustat.h... no checking sys/fs/s5param.h usability... no checking sys/fs/s5param.h presence... no checking for sys/fs/s5param.h... no checking sys/filsys.h usability... yes checking sys/filsys.h presence... yes checking for sys/filsys.h... yes checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking for statfs that truncates block counts... no configure: checking how to do getaddrinfo, freeaddrinfo and getnameinfo checking for library containing getaddrinfo... no checking for getaddrinfo... no checking for getaddrinfo in ws2tcpip.h and -lws2_32... no checking for gai_strerror... no checking for library containing gethostbyname... none required checking for library containing getservbyname... none required checking for gethostbyname... yes checking whether getaddrinfo is declared... no checking whether freeaddrinfo is declared... no checking whether gai_strerror is declared... no checking whether getnameinfo is declared... no checking for struct addrinfo... no checking for gethostname... yes checking for getloadavg... no checking for pstat_getdynamic... yes checking for kstat_open in -lkstat... no checking for elf_begin in -lelf... yes checking for kvm_open in -lkvm... no checking for getloadavg in -lutil... no checking for getloadavg in -lgetloadavg... no checking for getloadavg... no checking sys/dg_sys_info.h usability... no checking sys/dg_sys_info.h presence... no checking for sys/dg_sys_info.h... no checking nlist.h usability... yes checking nlist.h presence... yes checking for nlist.h... yes checking for struct nlist.n_un.n_name... no checking whether getloadavg requires setgid... no checking for inet_ntop... yes checking whether inet_ntop is declared... yes checking whether the compiler generally respects inline... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for memchr... yes checking for listmntent... no checking for getmntinfo... no checking for sys/ucred.h... no checking for sys/mount.h... (cached) yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking for sys/fs_types.h... (cached) no checking for struct fsstat.f_fstypename... no checking for library containing getmntent... none required checking for getmntent... yes checking for listmntent of Cray/Unicos-9... no checking for mntctl function and struct vmount... no checking for one-argument getmntent function... yes checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking for struct statfs.f_fstypename... no checking for working re_compile_pattern... no checking whether isblank is declared... yes checking for stdint.h... (cached) no checking for SIZE_MAX... (((1UL << 31) - 1) * 2 + 1) checking for snprintf... yes checking for socklen_t... yes checking for ssize_t... (cached) yes checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking sys/bitypes.h usability... no checking sys/bitypes.h presence... no checking for sys/bitypes.h... no checking for bit size of ptrdiff_t... 32 checking for bit size of sig_atomic_t... 32 checking for bit size of size_t... 32 checking for bit size of wchar_t... 32 checking for bit size of wint_t... 32 checking whether sig_atomic_t is signed... no checking whether wchar_t is signed... no checking whether wint_t is signed... no checking for ptrdiff_t integer literal suffix... l checking for sig_atomic_t integer literal suffix... u checking for size_t integer literal suffix... ul checking for wchar_t integer literal suffix... u checking for wint_t integer literal suffix... u checking for strncasecmp... yes checking whether strncasecmp is declared... yes checking for strdup... (cached) yes checking for working strndup... no checking for working strnlen... no checking for unistd.h... (cached) yes checking absolute name of ... ///usr/include/unistd.h checking for vasnprintf... no checking for ptrdiff_t... yes checking for snprintf... (cached) yes checking for wcslen... yes checking for vasprintf... no checking for vsnprintf... yes checking whether is standalone... yes checking absolute name of ... ///usr/include/wctype.h checking whether wcwidth is declared... yes checking for stdint.h... (cached) no configure: creating ./config.status config.status: creating gl/Makefile config.status: creating Makefile config.status: creating lib/Makefile config.status: creating plugins/Makefile config.status: creating lib/tests/Makefile config.status: creating plugins-root/Makefile config.status: creating plugins-scripts/Makefile config.status: creating plugins-scripts/subst config.status: creating plugins-scripts/utils.pm config.status: creating plugins-scripts/utils.sh config.status: creating command.cfg config.status: creating test.pl config.status: creating pkg/solaris/pkginfo config.status: creating po/Makefile.in config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile             --with-apt-get-command:               --with-ping6-command:                --with-ping-command: /usr/sbin/ping %s -n %d                        --with-ipv6: no                       --with-mysql: no                     --with-openssl: yes                      --with-gnutls: no                        --with-perl: /usr/contrib/bin/perl                      --with-cgiurl: /nagios/cgi-bin                --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin But, the command of "gmake all" failed # gmake all gmake  all-recursive gmake[1]: Entering directory `/var/softlib/nagios-plugins-1.4.9' Making all in gl gmake[2]: Entering directory `/var/softlib/nagios-plugins-1.4.9/gl' gmake  all-am gmake[3]: Entering directory `/var/softlib/nagios-plugins-1.4.9/gl' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/var/softlib/nagios-plugins-1.4.9/gl' gmake[2]: Leaving directory `/var/softlib/nagios-plugins-1.4.9/gl' Making all in lib gmake[2]: Entering directory `/var/softlib/nagios-plugins-1.4.9/lib' Making all in tests gmake[3]: Entering directory `/var/softlib/nagios-plugins-1.4.9/lib/tests' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/var/softlib/nagios-plugins-1.4.9/lib/tests' gmake[3]: Entering directory `/var/softlib/nagios-plugins-1.4.9/lib' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/var/softlib/nagios-plugins-1.4.9/lib' gmake[2]: Leaving directory `/var/softlib/nagios-plugins-1.4.9/lib' Making all in plugins gmake[2]: Entering directory `/var/softlib/nagios-plugins-1.4.9/plugins' /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  -L. -L/opt/openssl/lib -o c heck_swap  check_swap.o -lm utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen. o -lintl gcc -g -O2 -o check_swap check_swap.o utils.o popen.o  -L/var/softlib/nagios-plu gins-1.4.9/plugins -L/opt/openssl/lib -lm ../lib/libnagiosplug.a ../gl/libgnu.a /usr/local/lib/libintl.sl -L/usr/local/lib /usr/local/lib/libiconv.sl -Wl,+b -Wl ,/usr/local/lib /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (check_swap.o) was de tected. The linked output may not run on a PA 1.x system. /usr/ccs/bin/ld: Unsatisfied symbols:    floorf (code) collect2: ld returned 1 exit status gmake[2]: *** [check_swap] Error 1 gmake[2]: Leaving directory `/var/softlib/nagios-plugins-1.4.9/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/softlib/nagios-plugins-1.4.9' gmake: *** [all] Error 2 By the way, my environment profile:HP-UX 11i v1, Nagios 2.9, Nagios plugins 1.4.9 #swlist # Initializing... # Contacting target "c3700"... # # Target:  c3700:/ # # # Bundle(s): #   B3901BA                       B.11.11.10     HP C/ANSI C Developer's Bundle fo r HP-UX 11.i (S800)   B6848BA                       1.4.gm.46.7    Ximian GNOME 1.4 GTK+ Libraries f or HP-UX   B8111AA                       1.2.2.15.00    Java 2 RTE for HP-UX (700/800), P A1.1 + PA2.0 Add On   B8465BA                       A.01.05.08     HP WBEM Services for HP-UX   B9073BA                       B.06.02        HP-UX iCOD (Instant Capacity on D emand)   B9098AA                       1.2.2.15.00    Java 2 Plugin for HP-UX (700/800)     B9788AA                       1.3.1.13.01    Java2 1.3 SDK for HP-UX   B9789AA                       1.3.1.13.01    Java2 1.3 RTE for HP-UX   BUNDLE11i                     B.11.11.0306.1 Required Patch Bundle for HP-UX 1 1i, June 2003   Base-VXVM                     B.03.50.5      Base VERITAS Volume Manager Bundl e 3.5 for HP-UX   CDE-ChineseS                  B.11.11        Simplified Chinese CDE Environmen t   CDE-ChineseT                  B.11.11        Traditional Chinese CDE Environme nt   CDE-English                   B.11.11        English CDE Environment   CDE-French                    B.11.11        French CDE Environment   CDE-German                    B.11.11        German CDE Environment   CDE-Italian                   B.11.11        Italian CDE Environment   CDE-Japanese                  B.11.11        Japanese CDE Environment   CDE-Korean                    B.11.11        Korean CDE Environment   CDE-Spanish                   B.11.11        Spanish CDE Environment   CDE-Swedish                   B.11.11        Swedish CDE Environment   FDDI-00                       B.11.11.02     PCI FDDI;Supptd HW=A3739A/A3739B; SW=J3626AA   FEATURE11-11                  B.11.11.0209.5 Feature Enablement Patches for HP -UX 11i, Sept 2002   FibrChanl-00                  B.11.11.09     PCI/HSC FibreChannel;Supptd HW=A6 684A,A6685A,A5158A,A6795A   FibrChanl-01                  B.11.11.03     PCI-X FibreChannel;Supptd HW=A682 6A,A9782A,A9784A   GigEther-00                   B.11.11.19     PCI/HSC GigEther;Supptd HW=A4926A /A4929A/A4924A/A4925A;SW=J1642AA   GigEther-01                   B.11.11.15     PCI/PCI-X GigEther;Supptd HW=A679 4A/A6825A/A6847A/A9782A/A9784A/A7109A   HPUXBase64                    B.11.11        HP-UX 64-bit Base OS   HPUXBaseAux                   B.11.11.0406   HP-UX Base OS Auxiliary   HWEnable11i                   B.11.11.0406.4 Hardware Enablement Patches for H P-UX 11i v1, June 2004   IEther-00                     B.11.11.05     PCI/PCI-X IEther;Supptd HW=A7011A /A7012A/AB352A   MOZILLA                       1.4.0.01.04    Mozilla 1.4 for HP-UX   MOZILLAsrc                    1.4.0.01.04    Mozilla 1.4 Source distribution   OnlineDiag                    B.11.11.14.15  HPUX 11.11 Support Tools Bundle, Jun 2004   OpenSSL                       A.00.09.07-d.002 Secure Network Communications P rotocol   RAID-00                       B.11.11.01     PCI RAID; Supptd HW=A5856A   T1455AA                       1.3.1.13.01    Java2 1.3 Netscape Plugin for HP- UX   T1456AA                       1.4.2.02.01    Java2 1.4 SDK for HP-UX   T1456AAaddon                  1.4.2.02.01    Java2 1.4 SDK -AA addon for HP-UX     T1457AA                       1.4.2.02.01    Java2 1.4 RTE for HP-UX   T1457AAaddon                  1.4.2.02.01    Java2 1.4 RTE -AA addon for HP-UX     T1458AA                       1.4.2.02.01    Java2 1.4 Netscape Plugin for HP- UX   hpuxwsApache                  A.2.0.49.00    HP-UX Apache-based Web Server   hpuxwsTomcat                  A.4.1.29.02    HP-UX Tomcat-based Servlet Engine     hpuxwsWebmin                  A.1.070.00     HP-UX Webmin-based Admin   hpuxwsXml                     A.2.00         HP-UX XML Web Server Tools   scsiU320-00                   B.11.11.01     PCI SCSI U320; Supptd HW=A7173A # # Product(s) not contained in a Bundle: #   gcc                           4.1.2          gcc              gettext                       0.16.1         gettext          libiconv                      1.11           libiconv         make                          3.81           make           What's the reason about that ? Thanks in advance. Jerry   ------------------------------------------------------------------- ?????????????????( http://d1.sina.com.cn/sina/limeng3/mail_zhuiyu/2007/mail_zhuiyu_20070719.html ) =================================================================== ????2G????? http://mail.sina.com.cn/chooseMode.html ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bbongcac at fcpp.fujitsu.com Mon Jul 23 06:55:59 2007 From: bbongcac at fcpp.fujitsu.com (Bobby) Date: Mon, 23 Jul 2007 12:55:59 +0800 Subject: Cisco 3750, 2960 temperature status References: <46A3CE33.3040906@duras.ro> Message-ID: <055f01c7cce5$c307e4c0$4d8f10ac@netscan> Hi Mihai, Regarding Cisco's temp on their SW/Router, you can view the actual figure via its Web-Interface (CDM = Cisco Device Manager) First, check your SW config if http is enable, example settings are: # ip classless ip route 0.0.0.0 0.0.0.0 x.x.x.x ip http server # * on the Dashboard of the URL is the exact current temp of you SW/Router. On the CLI, instead of the #sh env temp ; please use the #sh env all (to display the exact temp values) Well, about its config on the Nagios, I am quite interested on that too. Ill see if I can get something about it. ----- Original Message ----- From: "Mihai Tanasescu" To: Sent: Monday, July 23, 2007 5:37 AM Subject: [Nagios-users] Cisco 3750, 2960 temperature status > Hello, > > > I was wondering if there was any way to get the temperature status from a > Cisco 3750 or 2960 equipment and use it with nagios. > > > From the CLI all I can see reported is: > > TEMPERATURE is OK > > so I was thinking there could be a snmp variable to query and get 1 for > status normal, 2 for warning or smth. > > I tried a couple of things like: > > cisco.ciscoMgmt.ciscoEnvMonMIB.ciscoEnvMonObjects.ciscoEnvMonTemperatureStatusTable.ciscoEnvMonTemperatureStatusEntry.ciscoEnvMonTemperatureState > > but all I did get was that the OID I got using the Cisco OID locator did > not exist for my Cisco. > > > Can anyone help ? (I know the question is a bit more Cisco related then > Nagios :( ) > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hausen at punkt.de Mon Jul 23 08:42:56 2007 From: hausen at punkt.de (Patrick M. Hausen) Date: Mon, 23 Jul 2007 08:42:56 +0200 Subject: Monitoring a service if ICMP to the host is blocked Message-ID: <20070723064255.GB37019@hugo10.ka.punkt.de> Hi, all! We are monitoring an external FTP server that is not in our control but that we depend on for a certain part of our business. After the FTP service failed for a short period of time on Saturday, the host was flagged "down" and has not come up since. I just found out that the other admin blocks ICMP. The FTP server works fine, though. I wonder if they have "misterious" problems with customers that have an MTU slightly less than 1500 somewhere in their path ;-)) Is there a way to tell Nagios not to bother checking if a host is alive with ICMP echo and just continue checking the service instead? Thanks a lot, Patrick -- punkt.de GmbH * Vorholzstr. 25 * 76137 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info at punkt.de http://www.punkt.de Gf: J?rgen Egeling AG Mannheim 108285 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 23 11:04:14 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 23 Jul 2007 11:04:14 +0200 Subject: Monitoring a service if ICMP to the host is blocked In-Reply-To: <20070723064255.GB37019@hugo10.ka.punkt.de> References: <20070723064255.GB37019@hugo10.ka.punkt.de> Message-ID: <46A46F0E.1060401@its-lehmann.de> Hi, 23.07.2007 08:42,, Patrick M. Hausen wrote:: > Hi, all! > > We are monitoring an external FTP server that is not in our > control but that we depend on for a certain part of our business. > > After the FTP service failed for a short period of time on > Saturday, the host was flagged "down" and has not come up > since. I just found out that the other admin blocks ICMP. > The FTP server works fine, though. I wonder if they have > "misterious" problems with customers that have an MTU > slightly less than 1500 somewhere in their path ;-)) > > Is there a way to tell Nagios not to bother checking > if a host is alive with ICMP echo and just continue checking > the service instead? Sure... either simply remove the host check from the hosts definition, or - what I would do - use the ftp check as a host check also. Arno > > Thanks a lot, > Patrick -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From huenseler at twt.de Mon Jul 23 11:07:40 2007 From: huenseler at twt.de (Dennis Huenseler) Date: Mon, 23 Jul 2007 11:07:40 +0200 Subject: Monitoring a service if ICMP to the host isblocked References: <20070723064255.GB37019@hugo10.ka.punkt.de> <46A46F0E.1060401@its-lehmann.de> Message-ID: <8A793F1AC3ED7447B580082FCF608CF9B2606B@twtexchange1.twt.intern> Hi all, i've done the same for my loadbalancer-cluster. I use the HTTP-check as check_command in the hostconfig to ensure that the single nodes are up. Kind regards, ? Dennis H?nseler _________________________________________________________ Dennis H?nseler | System-Administrator TWT Interactive GmbH | Martinstra?e 47-55 | D-40223 D?sseldorf Tel: +49 (0)211 601 601-0 | Fax: +49 (0)211 601 601-19 TWT Niederlassung Berlin | Friedrichstra?e 90 | D-10117 Berlin Tel: +49 (0)30 20 25 3562 | Fax: +49 (0)30 20 25 3333 huenseler at twt.de | www.twt.de TWT - your eValue Partner Gesch?ftsf?hrung: Marcel Kreuter; Hans J. Even Sitz der Gesellschaft und Gerichtstand: D?sseldorf, Amtsgericht D?sseldorf, HRB 42097 www.salescatalog.de - Kunden begeistern, Ums?tze steigern mit bl?tterbaren Online-Katalogen ? www.digitalnext.de - Informationsportal f?r die digitale Wirtschaft -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Arno Lehmann Sent: Monday, July 23, 2007 11:04 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring a service if ICMP to the host isblocked Hi, 23.07.2007 08:42,, Patrick M. Hausen wrote:: > Hi, all! > > We are monitoring an external FTP server that is not in our > control but that we depend on for a certain part of our business. > > After the FTP service failed for a short period of time on > Saturday, the host was flagged "down" and has not come up > since. I just found out that the other admin blocks ICMP. > The FTP server works fine, though. I wonder if they have > "misterious" problems with customers that have an MTU > slightly less than 1500 somewhere in their path ;-)) > > Is there a way to tell Nagios not to bother checking > if a host is alive with ICMP echo and just continue checking > the service instead? Sure... either simply remove the host check from the hosts definition, or - what I would do - use the ftp check as a host check also. Arno > > Thanks a lot, > Patrick -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Jul 23 11:24:34 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 23 Jul 2007 10:24:34 +0100 Subject: change control on Nagios / Cacti servers In-Reply-To: <46A0F1A0.4020307@cs.aau.dk> References: <2b7af7c40707191546j154e913cp436238207c4b2285@mail.gmail.com> <46A0F1A0.4020307@cs.aau.dk> Message-ID: <46A473D2.5010505@googlemail.com> one word: Subversion. -h Hari Sekhon Esben Bach wrote: > if you cannot rely on the others using version control systems, then you > might consider tripwire. Be careful though, you might end up getting a > LOT of "spam" mails. > > -- > Esben > > > Rogelio Bastardo wrote: > >> I'm looking for some sort of change control solution. On several >> Cacti/Nagios servers, I would like to take a snapshot of what I did, >> back it up, and if something changes, run something that shows me what >> files / permissions were changed since I last worked on the server. >> >> If it were just me, then I would just make copies of the files. But >> since there are other people in there doing all sorts of weird >> configs, I want to make sure that I document what they did since I >> last logged in. >> >> Any suggestions would be greatly appreciated. >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.mies at itnovum.de Mon Jul 23 11:26:42 2007 From: c.mies at itnovum.de (Mies, Christian) Date: Mon, 23 Jul 2007 11:26:42 +0200 Subject: Monitoring Progress Databases Message-ID: Christian Mies schrieb am 23.07.2007 11:26 _____________________________________________________________________ Hi List, has anybody experience in Monitoring Progress Databases? If I see it correctly Progress DBs are only Files, that have a fix Filesize and some Logfiles. Is it right? Or is there a ODBC Driver for Connecting through a Progress DB? Any Hints? Regards Christian it-novum GmbH Ein Unternehmen der Mehler AG Christian Mies Consultant Systemmanagement Edelzeller Stra?e 44 36043 Fulda FON: +49 (661) 103-874 (-333) FAX: +49 (661) 103-17874 (-334) MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Geschaftsfuhrer: Michael Kienle Sitz der Gesellschaft: Fulda, Deutschland/Germany UstID-Nr: DE813211784 Steuernr.: 018/225/03095 Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfanger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at brainwork.at Mon Jul 23 12:37:06 2007 From: lists at brainwork.at (Martin Koeck) Date: Mon, 23 Jul 2007 12:37:06 +0200 Subject: execute command as root user Message-ID: <46A484D2.4040907@brainwork.at> Hello, I know this is more OS related and not so much nagios related, but I thought maybe somebody has stumbled across this: I need, on a critical failure that is trapped by nagios (this works for me), to restart an application which I usually restart as root user on this machine. To be specific: Tomcat is giving up work now and then on this machine, I can trap it, and need to restart it. Normally I do this by /etc/init.d/tomcat restart -- but I need to be root for this, so nagios cannot do this automatically for me, because it runs as nagios user. What is the best way to approach this ? Changing the owner of the tomcat-related startup files so that nagios can do it ? Writing a file on-critical-error and restarting tomcat (as a cron-job), whenever that file exists ? Something else ? Regards, Martin ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From addw at phcomp.co.uk Mon Jul 23 13:01:07 2007 From: addw at phcomp.co.uk (Alain Williams) Date: Mon, 23 Jul 2007 12:01:07 +0100 Subject: execute command as root user In-Reply-To: <46A484D2.4040907@brainwork.at> References: <46A484D2.4040907@brainwork.at> Message-ID: <20070723110107.GC2743@mint.phcomp.co.uk> On Mon, Jul 23, 2007 at 12:37:06PM +0200, Martin Koeck wrote: > Hello, > > I know this is more OS related and not so much nagios related, but I > thought maybe somebody has stumbled across this: > > I need, on a critical failure that is trapped by nagios (this works for > me), to restart an application which I usually restart as root user on > this machine. > > To be specific: Tomcat is giving up work now and then on this machine, I > can trap it, and need to restart it. Normally I do this by > /etc/init.d/tomcat restart -- but I need to be root for this, so nagios > cannot do this automatically for me, because it runs as nagios user. > > What is the best way to approach this ? Changing the owner of the > tomcat-related startup files so that nagios can do it ? Writing a file > on-critical-error and restarting tomcat (as a cron-job), whenever that > file exists ? Something else ? Use the 'sudo' command. Alternately: write a short program in C, that is setuid root, that execs the init script. You MUST think carefully about the security implications of doing this - put appropriate checks in. -- Alain Williams Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php Chairman of UKUUG: http://www.ukuug.org/ #include ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esben at cs.aau.dk Mon Jul 23 13:18:10 2007 From: esben at cs.aau.dk (Esben Bach) Date: Mon, 23 Jul 2007 13:18:10 +0200 Subject: Cisco 3750, 2960 temperature status In-Reply-To: <055f01c7cce5$c307e4c0$4d8f10ac@netscan> References: <46A3CE33.3040906@duras.ro> <055f01c7cce5$c307e4c0$4d8f10ac@netscan> Message-ID: <46A48E72.3010707@cs.aau.dk> I added temperature monitoring of our C3750 stack (mrtg not nagios) just the other day - the oid is something like 1.3.6.1.4.1.9.9.13.1.3.1.3.1005 where 1005 is the sensor number - try doing an snmpwalk one step up in the oid tree and you should get all your available sensors. For nagios there is a package called "snmp4nagios" (i think its on nagiosexchange not sure though) and in this package is a "check_cisco_temp" that checks the temperature sensors. -- Esben Bobby wrote: > Hi Mihai, > > Regarding Cisco's temp on their SW/Router, you can view the actual figure > via its Web-Interface (CDM = Cisco Device Manager) > First, check your SW config if http is enable, example settings are: > > # > ip classless > ip route 0.0.0.0 0.0.0.0 x.x.x.x > ip http server > # > * on the Dashboard of the URL is the exact current temp of you SW/Router. > > On the CLI, instead of the #sh env temp ; please use the #sh env all > (to display the exact temp values) > > Well, about its config on the Nagios, I am quite interested on that too. > Ill see if I can get something about it. > > > ----- Original Message ----- > From: "Mihai Tanasescu" > To: > Sent: Monday, July 23, 2007 5:37 AM > Subject: [Nagios-users] Cisco 3750, 2960 temperature status > > > >> Hello, >> >> >> I was wondering if there was any way to get the temperature status from a >> Cisco 3750 or 2960 equipment and use it with nagios. >> >> >> From the CLI all I can see reported is: >> >> TEMPERATURE is OK >> >> so I was thinking there could be a snmp variable to query and get 1 for >> status normal, 2 for warning or smth. >> >> I tried a couple of things like: >> >> cisco.ciscoMgmt.ciscoEnvMonMIB.ciscoEnvMonObjects.ciscoEnvMonTemperatureStatusTable.ciscoEnvMonTemperatureStatusEntry.ciscoEnvMonTemperatureState >> >> but all I did get was that the OID I got using the Cisco OID locator did >> not exist for my Cisco. >> >> >> Can anyone help ? (I know the question is a bit more Cisco related then >> Nagios :( ) >> >> >> >> >> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Mon Jul 23 13:33:39 2007 From: stava at telcotec.se (Lars Stavholm) Date: Mon, 23 Jul 2007 13:33:39 +0200 Subject: execute command as root user In-Reply-To: <46A484D2.4040907@brainwork.at> References: <46A484D2.4040907@brainwork.at> Message-ID: <46A49213.8070808@telcotec.se> Martin Koeck wrote: > Hello, > > I know this is more OS related and not so much nagios related, but I > thought maybe somebody has stumbled across this: > > I need, on a critical failure that is trapped by nagios (this works for > me), to restart an application which I usually restart as root user on > this machine. > > To be specific: Tomcat is giving up work now and then on this machine, I > can trap it, and need to restart it. Normally I do this by > /etc/init.d/tomcat restart -- but I need to be root for this, so nagios > cannot do this automatically for me, because it runs as nagios user. > > What is the best way to approach this ? Changing the owner of the > tomcat-related startup files so that nagios can do it ? Writing a file > on-critical-error and restarting tomcat (as a cron-job), whenever that > file exists ? Something else ? sudo and nagios eventhandler should do it. For security reasons, be as specific as possible in your sudo configuration, e.g.: [snip] nagios ALL=NOPASSWD:/etc/init.d/tomcat restart [snip] You'll have to look in nagios doco for eventhandlers, i've never used them. Another alternative, that we use here successfully, is to use monit from http://www.tildeslash.com/monit. Works like a charm and is a bit easier to setup than nagios eventhandlers (I think:). In monit you define simple criterias and subsequent actions, like restart. For example: memory out of bounds: restart, process missing: start, etc. Hope this helps /Lars ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From singh_mail at yahoo.com Mon Jul 23 15:13:59 2007 From: singh_mail at yahoo.com (Gagandeep Singh) Date: Mon, 23 Jul 2007 06:13:59 -0700 (PDT) Subject: cgi's missing Message-ID: <389653.34325.qm@web51301.mail.re2.yahoo.com> I am missing some cgi's in the /usr/local/nagios/sbin/ such as statusmap.cgi, trends.cgi, histograms.cgi. Where can I get them. Gagan Rakkar --------------------------------- Shape Yahoo! in your own image. Join our Network Research Panel today! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Mon Jul 23 15:16:26 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 23 Jul 2007 15:16:26 +0200 Subject: cgi's missing In-Reply-To: <389653.34325.qm@web51301.mail.re2.yahoo.com> References: <389653.34325.qm@web51301.mail.re2.yahoo.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57448195FF@hermes.sapphire-int.gi> http://www.nagios.org/faqs/viewfaq.php?faq_id=55 Best regards ? Giles Coochey Technical Department Sapphire?Networks ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gagandeep Singh Sent: 23 July 2007 15:14 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] cgi's missing I am missing some cgi's in the /usr/local/nagios/sbin/ such as statusmap.cgi, trends.cgi, histograms.cgi.? Where can I get them. ? Gagan Rakkar ________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Jul 23 15:19:08 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 23 Jul 2007 14:19:08 +0100 Subject: Get Notification for some services _only_ per E-Mail and others per E-Mail and SMS In-Reply-To: <20070719073216.GK3396@cip.informatik.uni-erlangen.de> References: <20070719073216.GK3396@cip.informatik.uni-erlangen.de> Message-ID: <765d77c80707230619o48b9cb5bk93294e9211c8d329@mail.gmail.com> On 19/07/07, Thomas Glanzmann wrote: > Hello, > how is it possible to tell nagios that I want notification for some > services only via e-mail and for others both per e-mail and sms? Set up each user with two separate contact definitions, for example "Thomas-Glanzman-email" and "Thomas-Glanzmann-sms". Set up contact groups "admins-email" and "admins-sms". In the service definitions, specify whichever contact_groups are appropriate. I'm sure there a many other ways of doing this, but this is broadly-speaking how I do it. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmurray at whoi.edu Mon Jul 23 15:33:50 2007 From: jmurray at whoi.edu (jmurray at whoi.edu) Date: Mon, 23 Jul 2007 09:33:50 -0400 Subject: cgi's missing In-Reply-To: <389653.34325.qm@web51301.mail.re2.yahoo.com> References: <389653.34325.qm@web51301.mail.re2.yahoo.com> Message-ID: <1185197630.46a4ae3e82ec4@webmail.whoi.edu> I had the same problem. I found that they had been built when I made the software, but they didn't get copied to the correct directory. I guess that's something that gets done manually. In my case I had to copy /usr/local/src/nagios-2.8/cgi/statusmap.cgi (where I built it) to: /usr/local/nagios/sbin/statusmap.cgi also make sure you check your configure log after you run your ./configure, there are dependencies that are required for some of the cgi's to be built. -Jonathan Quoting Gagandeep Singh : > I am missing some cgi's in the /usr/local/nagios/sbin/ such as statusmap.cgi, > trends.cgi, histograms.cgi. Where can I get them. > > Gagan Rakkar > > > --------------------------------- > Shape Yahoo! in your own image. Join our Network Research Panel today! ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmurray at whoi.edu Mon Jul 23 17:18:58 2007 From: jmurray at whoi.edu (Jonathan Murray) Date: Mon, 23 Jul 2007 11:18:58 -0400 Subject: cgi's missing In-Reply-To: <534193.96122.qm@web51305.mail.re2.yahoo.com> References: <534193.96122.qm@web51305.mail.re2.yahoo.com> Message-ID: <46A4C6E2.4020302@whoi.edu> You should refer to: http://www.nagios.org/faqs/viewfaq.php?faq_id=55 as Giles Coochey suggests. If during the build process, statusmap.cgi doesn't get built, it is most likely because there are missing packages that are required. I also ran into this problem. Installing the missing dependencies and then following the instructions worked well. Gagandeep Singh wrote: > hell jonathan I see the statusmap.c in > /home/Desktop/gagan/nagios-2.9/cgi but not statusmap.cgi > > Gagan Rakkar > */jmurray at whoi.edu/* wrote: > > I had the same problem. I found that they had been built when I made the > software, but they didn't get copied to the correct directory. I > guess that's > something that gets done manually. > > In my case I had to copy > > /usr/local/src/nagios-2.8/cgi/statusmap.cgi (where I built it) > > to: > /usr/local/nagios/sbin/statusmap.cgi > > also make sure you check your configure log after you run your > ./configure, > there are dependencies that are required for some of the cgi's to be > built. > > -Jonathan > > > Quoting Gagandeep Singh : > > > I am missing some cgi's in the /usr/local/nagios/sbin/ such as > statusmap.cgi, > > trends.cgi, histograms.cgi. Where can I get them. > > > > Gagan Rakkar > > > > > > --------------------------------- > > Shape Yahoo! in your own image. Join our Network Research Panel > today! > > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > ------------------------------------------------------------------------ > Shape Yahoo! in your own image. Join our Network Research Panel today! > > -- Jonathan Murray linux generalist AIM/AOL : oxide23 Yahoo: pt3rosaur 508-289-2877 "Freedom isn't free, but it's a heck of a lot cheaper at Walmart" ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoran at apple.com Mon Jul 23 19:55:32 2007 From: amoran at apple.com (Andy Moran) Date: Mon, 23 Jul 2007 10:55:32 -0700 Subject: Question about Next Scheduled Active Check Message-ID: Occasionally my nagios installation will stop checking some tests.. When I look, it'll say "Next Scheduled Active Check" with a time in the past, or sometimes "N/A". Restarting Nagios seems to fix the issue. I'm running Nagios 2.4. Is this a known issue that's fixed in later versions, or perhaps a configuration problem? (This is with 331 service checks, one Nagios server). --Andy ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmkeller at houseofzen.org Mon Jul 23 20:00:08 2007 From: jmkeller at houseofzen.org (James Michael Keller) Date: Mon, 23 Jul 2007 14:00:08 -0400 Subject: Question about Next Scheduled Active Check In-Reply-To: References: Message-ID: <46A4ECA8.80307@houseofzen.org> Andy Moran wrote: > > Occasionally my nagios installation will stop checking some tests.. > When I look, it'll say "Next Scheduled Active Check" with a time in > the past, or sometimes "N/A". Restarting Nagios seems to fix the > issue. > > I'm running Nagios 2.4. Is this a known issue that's fixed in later > versions, or perhaps a configuration problem? (This is with 331 > service checks, one Nagios server). > > --Andy > I belive that is handled by the 'Check For Orphaned Services' option: "This option allows you to enable or disable checks for orphaned service checks. Orphaned service checks are checks which have been executed and have been removed from the event queue, but have not had any results reported in a long time. Since no results have come back in for the service, it is not rescheduled in the event queue. This can cause service checks to stop being executed. Normally it is very rare for this to happen - it might happen if an external user or process killed off the process that was being used to execute a service check. If this option is enabled and Nagios finds that results for a particular service check have not come back, it will log an error message and reschedule the service check. If you start seeing service checks that never seem to get rescheduled, enable this option and see if you notice any log messages about orphaned services." ** -- James Michael Keller ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Jul 23 20:38:12 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 23 Jul 2007 20:38:12 +0200 (CEST) Subject: Question about Next Scheduled Active Check In-Reply-To: References: Message-ID: On Mon, 23 Jul 2007, Andy Moran wrote: > I'm running Nagios 2.4. Is this a known issue that's fixed in later > versions, or perhaps a configuration problem? (This is with 331 > service checks, one Nagios server). There are issues fixed in 2.5 .... 2.9 that you might want to look at. Please check out: http://www.nagios.org/development/changelog.php#2x_branch Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Law at thomson.com Mon Jul 23 20:40:08 2007 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Mon, 23 Jul 2007 14:40:08 -0400 Subject: check_nt In-Reply-To: References: Message-ID: Hi Group, Does anyone know what these are the only tests compiled into the 1.4.9 plugins for check_nt are ~ CHECK_NONE, CHECK_CLIENTVERSION, CHECK_CPULOAD, CHECK_UPTIME, CHECK_USEDDISKSPACE, CHECK_SERVICESTATE, CHECK_PROCSTATE, CHECK_MEMUSE, CHECK_COUNTER, CHECK_FILEAGE, Some other ones like are mentioned in the NC_NET documentation. ENUMCONFIG ENUMPASSIVE ENUMSERVICE ENUMPROCESS ENUMCOUNTER ENUMCOUNTERDESC WMICAT WMICOUNTER Am I missing something? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai at duras.ro Mon Jul 23 21:29:48 2007 From: mihai at duras.ro (Mihai Tanasescu) Date: Mon, 23 Jul 2007 22:29:48 +0300 Subject: Nagios-users Digest, Vol 14, Issue 21 In-Reply-To: References: Message-ID: <46A501AC.4080903@duras.ro> >I added temperature monitoring of our C3750 stack (mrtg not nagios) just >the other day - the oid is something like >1.3.6.1.4.1.9.9.13.1.3.1.3.1005 where 1005 is the sensor number - try >doing an snmpwalk one step up in the oid tree and you should get all >your available sensors. >For nagios there is a package called "snmp4nagios" (i think its on >nagiosexchange not sure though) and in this package is a >"check_cisco_temp" that checks the temperature sensors. >-- >Esben Bobby wrote: > > Hi Mihai, > > > > Regarding Cisco's temp on their SW/Router, you can view the actual figure > > via its Web-Interface (CDM = Cisco Device Manager) > > First, check your SW config if http is enable, example settings are: > > > > # > > ip classless > > ip route 0.0.0.0 0.0.0.0 x.x.x.x > > ip http server > > # > > * on the Dashboard of the URL is the exact current temp of you SW/Router. > > > > On the CLI, instead of the #sh env temp ; please use the #sh env all > > (to display the exact temp values) > > > > Well, about its config on the Nagios, I am quite interested on that too. > > Ill see if I can get something about it. > > > > > > ----- Original Message ----- > > From: "Mihai Tanasescu" > > To: > > Sent: Monday, July 23, 2007 5:37 AM > > Subject: [Nagios-users] Cisco 3750, 2960 temperature status > > > > > > > >> >> Hello, >> >> >> >> >> >> I was wondering if there was any way to get the temperature status from a >> >> Cisco 3750 or 2960 equipment and use it with nagios. >> >> >> >> >> >> From the CLI all I can see reported is: >> >> >> >> TEMPERATURE is OK >> >> >> >> so I was thinking there could be a snmp variable to query and get 1 for >> >> status normal, 2 for warning or smth. >> >> >> >> I tried a couple of things like: >> >> >> >> cisco.ciscoMgmt.ciscoEnvMonMIB.ciscoEnvMonObjects.ciscoEnvMonTemperatureStatusTable.ciscoEnvMonTemperatureStatusEntry.ciscoEnvMonTemperatureState >> >> >> >> but all I did get was that the OID I got using the Cisco OID locator did >> >> not exist for my Cisco. >> >> >> >> >> >> Can anyone help ? (I know the question is a bit more Cisco related then >> >> Nagios :( ) >> >> >> >> >> >> >> >> >> >> >> Hello, Unfortunately the C3750 and C2960 don't have any temperature sensors (they don't show anything in degrees) Ex: access#sh env all FAN is OK TEMPERATURE is OK SW PID Serial# Status Sys Pwr PoE Pwr Watts -- ------------------ ---------- --------------- ------- ------- ----- 1 Fixed Good SW Status RPS Name RPS Serial# RPS Port# -- ------------- ---------------- ----------- --------- 1 Not Present <> I don't have any web interface installed on it..as I'm quite paranoid about having web stuff installed on routers from a security point of view. >1.3.6.1.4.1.9.9.13.1.3.1.3.1005 where 1005 is the sensor number - try >doing an snmpwalk one step up in the oid tree and you should get all >your available sensors. I tried doing a walk one step up but no luck..it doesn't have that OID. All I could find was: chassisTempAlarm.0 = 1.3.6.1.4.1.9.5.1.2.13.0 shows 1 = off I presume (correct me if I'm wrong) that the previous chassisTempAlarm was what I was looking for (I guess it should become 2 = on in case of a heat problem). If so then I'll use snmp with this to monitor the status of my equipments. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Mon Jul 23 20:41:47 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Mon, 23 Jul 2007 14:41:47 -0400 Subject: check_nt In-Reply-To: References: Message-ID: <20070723184147.GA8536@bewilderbeast.blackhelicopters.org> nc_net includes its own version of check_nt. Personally, I wish they'd change the name... On Mon, Jul 23, 2007 at 02:40:08PM -0400, Mark.Law at thomson.com wrote: > Hi Group, > > Does anyone know what these are the only tests compiled into the 1.4.9 > plugins for check_nt are ~ > > CHECK_NONE, > CHECK_CLIENTVERSION, > CHECK_CPULOAD, > CHECK_UPTIME, > CHECK_USEDDISKSPACE, > CHECK_SERVICESTATE, > CHECK_PROCSTATE, > CHECK_MEMUSE, > CHECK_COUNTER, > CHECK_FILEAGE, > > Some other ones like are mentioned in the NC_NET documentation. > > ENUMCONFIG > ENUMPASSIVE > ENUMSERVICE > ENUMPROCESS > ENUMCOUNTER > ENUMCOUNTERDESC > WMICAT > WMICOUNTER > > Am I missing something? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Law at thomson.com Mon Jul 23 21:56:43 2007 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Mon, 23 Jul 2007 15:56:43 -0400 Subject: check_nt In-Reply-To: <20070723184147.GA8536@bewilderbeast.blackhelicopters.org> References: <20070723184147.GA8536@bewilderbeast.blackhelicopters.org> Message-ID: True, NC_NET includes its own client version - I just can't figure out how to get that to run on my Linux Nagios box. :-) Mark Law Thomson Global Technology Infrastructure (TGTI) (734) 913-3775 Phone (734) 260-5740 Cell (734) 913- 3500 Fax mark.law at thomson.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael W. Lucas Sent: Monday, July 23, 2007 2:42 PM To: Law, Mark (TH USA) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_nt nc_net includes its own version of check_nt. Personally, I wish they'd change the name... On Mon, Jul 23, 2007 at 02:40:08PM -0400, Mark.Law at thomson.com wrote: > Hi Group, > > Does anyone know what these are the only tests compiled into the 1.4.9 > plugins for check_nt are ~ > > CHECK_NONE, > CHECK_CLIENTVERSION, > CHECK_CPULOAD, > CHECK_UPTIME, > CHECK_USEDDISKSPACE, > CHECK_SERVICESTATE, > CHECK_PROCSTATE, > CHECK_MEMUSE, > CHECK_COUNTER, > CHECK_FILEAGE, > > Some other ones like are mentioned in the NC_NET documentation. > > ENUMCONFIG > ENUMPASSIVE > ENUMSERVICE > ENUMPROCESS > ENUMCOUNTER > ENUMCOUNTERDESC > WMICAT > WMICOUNTER > > Am I missing something? > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chactuchac10 at yahoo.com.ar Mon Jul 23 22:44:34 2007 From: chactuchac10 at yahoo.com.ar (Guille) Date: Mon, 23 Jul 2007 17:44:34 -0300 (ART) Subject: Nagiosgraph Message-ID: <905056.7402.qm@web56709.mail.re3.yahoo.com> Hello guys, im installing nagiosgraph in my nagios server and look work fine, but it only give me graphs about the disk usage and the http, how can i add service to the nagiosgraph ?? Thanks! Guille ____________________________________________________________________________________ ?S? un mejor ambientalista! Encontr? consejos para cuidar el lugar donde vivimos. http://ar.yahoo.com/promos/mejorambientalista.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bheese at mac.com Mon Jul 23 22:44:55 2007 From: bheese at mac.com (bheese at mac.com) Date: Mon, 23 Jul 2007 16:44:55 -0400 Subject: Nagiograph issues In-Reply-To: References: Message-ID: Hi All, I've been trying to get nagiosgraph up and running. I've fixed most of the issues I've come across. However the problem I can't seem to solve is why the rrd files aren't being generated. When I follow the link to the extended data for the service I get an error that the rrd dir is empty. In looking through the file system this is correct. Looking through nagios.log shows that data is being collected. Looking through the service-perfdata file shows data is being collected. As is host-perfdata The nagiosgraph.log file is empty. Sorry I don't have more info than that. Any direction and help would be greatly appreciated! Thanks in advance. Bill ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Jul 23 23:11:57 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 23 Jul 2007 14:11:57 -0700 Subject: Nagiosgraph In-Reply-To: <905056.7402.qm@web56709.mail.re3.yahoo.com> References: <905056.7402.qm@web56709.mail.re3.yahoo.com> Message-ID: <20070723211157.GM27892@pmorris.usa.hp.com> Have you read the docs that come with it? You may want to go over them again. The short answer is that you need to edit your map file. On Mon, 23 Jul 2007, Guille wrote: > Hello guys, im installing nagiosgraph in my nagios server and look work fine, but it only > give me graphs about the disk usage and the http, how can i add service to the > nagiosgraph ?? > > Thanks! > > Guille > > > ____________________________________________________________________________________ > ?S? un mejor ambientalista! > Encontr? consejos para cuidar el lugar donde vivimos. > http://ar.yahoo.com/promos/mejorambientalista.html > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Jul 23 23:14:33 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 23 Jul 2007 14:14:33 -0700 Subject: Nagiograph issues In-Reply-To: References: Message-ID: <20070723211433.GN27892@pmorris.usa.hp.com> On Mon, 23 Jul 2007, bheese at mac.com wrote: > Hi All, > > I've been trying to get nagiosgraph up and running. I've fixed most of the > issues I've come across. However the problem I can't seem to solve is why > the rrd files aren't being generated. When I follow the link to the extended > data for the service I get an error that the rrd dir is empty. In looking > through the file system this is correct. > > Looking through nagios.log shows that data is being collected. > Looking through the service-perfdata file shows data is being collected. > As is host-perfdata > The nagiosgraph.log file is empty. > > Sorry I don't have more info than that. Any direction and help would be > greatly appreciated! Try running your perfdata processing command (probably something involving insert.pl) manually, as the nagios user -- that may give you some helpful error messages. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From augusts at gmail.com Tue Jul 24 00:27:12 2007 From: augusts at gmail.com (August Simonelli) Date: Tue, 24 Jul 2007 08:27:12 +1000 Subject: Monitoring service for every machine in hostgroup EXCEPT ONE In-Reply-To: <26face530707221855k4a50c73fwfab2ff105aae0e8@mail.gmail.com> References: <26face530707221855k4a50c73fwfab2ff105aae0e8@mail.gmail.com> Message-ID: <46fa40c10707231527xc61764l759768a95997cc9e@mail.gmail.com> hey kelly ... i've just done the following in the service entry: define service{ hostgroup_name your_20_server_group host_name !not_this_one_server service_description the_service etc etc ... being able to negate hosts seems to work fine in version 2.x (not sure about 1 or 3) august On 7/23/07, Kelly Jones wrote: > > I've created a hostgroup of 20 machines, and want to monitor 10 > services on each machine (easy). I now want to monitor an 11th service > on 19 of the 20 machines. What's the best way to do this? > > Two ugly ways I don't like: > > % Create a separate hostgroup for the 19 machines I do want to monitor. > > % Monitor the service on all 20 machines, but schedule infinite > downtime for the service on the 20th machine. > > Is there a better way? > > Semi-related questions: > > % Can I create an "invisible" hostgroup? One that nagios can use but > doesn't show up on the web interface? > > % When I mark a service down, I don't get emails about it (that's > good), but it still shows as red on the web interface? How can I fix > this? > > -- > We're just a Bunch Of Regular Guys, a collective group that's trying > to understand and assimilate technology. We feel that resistance to > new ideas and technology is unwise and ultimately futile. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoran at apple.com Tue Jul 24 01:43:57 2007 From: amoran at apple.com (Andy Moran) Date: Mon, 23 Jul 2007 16:43:57 -0700 Subject: Question about Next Scheduled Active Check In-Reply-To: References: Message-ID: <5CF656D1-51D2-40DD-A531-9B24E5238E52@apple.com> Thanks guys.. upgrading to 2.9 which has orphan checks on by default fixed the problem. --Andy On Jul 23, 2007, at 11:38 AM, Hugo van der Kooij wrote: > On Mon, 23 Jul 2007, Andy Moran wrote: > >> I'm running Nagios 2.4. Is this a known issue that's fixed in later >> versions, or perhaps a configuration problem? (This is with 331 >> service checks, one Nagios server). > > There are issues fixed in 2.5 .... 2.9 that you might want to look at. > > Please check out: http://www.nagios.org/development/ > changelog.php#2x_branch > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Jul 24 08:01:00 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 24 Jul 2007 07:01:00 +0100 Subject: check_nt In-Reply-To: References: <20070723184147.GA8536@bewilderbeast.blackhelicopters.org> Message-ID: <765d77c80707232301y4debd0a1t377ccc4676496918@mail.gmail.com> On 23/07/07, Mark.Law at thomson.com wrote: > True, NC_NET includes its own client version - I just can't figure out > how to get that to run on my Linux Nagios box. :-) You can just replace the standard check_nt.c source file with the new one which comes with nc_net before (re)compiling the standard plugins in the usual way. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Jul 24 10:43:11 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 24 Jul 2007 09:43:11 +0100 Subject: Monitoring Progress Databases In-Reply-To: References: Message-ID: <765d77c80707240143y2227355dy6b77a986762da6ca@mail.gmail.com> On 23/07/07, Mies, Christian wrote: > > Christian Mies schrieb am 23.07.2007 11:26 > > Hi List, > > has anybody experience in Monitoring Progress Databases? > If I see it correctly Progress DBs are only Files, that have a fix Filesize and some Logfiles. Is it right? > Or is there a ODBC Driver for Connecting through a Progress DB? > > Any Hints? The database log file is pretty easy to monitor. The trick is to filter out anything you're not interested in. I rewrote the standard check_logs plugin slightly to allow the "-v" option in egrep. I can then run the plugin something like so: /usr/local/nagios/libexec/check_logv -F /user/dbasedir/dbase.lg -O /tmp/dbase.lg.old -v -q \ ': \(-----\) Database dbase Options:|: \(-----\) Event Logger error 997:|: \(-----\) Registry error 5:|: \(452\) |: \(453\) |: \(562\) |: \(739\) |: \(742\) |: \(794\) |: \(2252\) |: \(2253\) |: \(2518\) |: \(3777\) |: \(3778\) |: \(3789\) |: \(5512\) |: \(5644\) |: \(5645\) |: \(7129\) |: \(8846\) |: \(8864\) |: \(8873) |: \(12699\) |: \(13199\) |\^\$| Mon | Tue | Wed | Thu | Fri | Sat | Sun ' I only implemented this recently so it needs a little polishing still. I'd also rather get egrep to take its arguments line by line from a file, so I'll probably rewrite it one day when I get around to it. The "\^\$" thing I put there to make it ignore blank lines, but that doesn't seem to work quite right yet. The days of the week are there because Progress writes the date to the log file every day and I want to ignore that. If you read some of the documentation, it might tell you that an "I" in the log file means "Informational" implying that there might be a "W" for warnding "C" for critical and so on. Don't believe it! In a test database, I even deleted one of the extent files and the message in the log file still only had "I" in it. One really important thing to monitor in Progress is the size of the BI storage area. You can monitor the size of the extent file using standard plugins and make it alert when it gets to a size somewhat lower than whatever you've set the BI threshold parameter to in Progress. Other storage areas you can monitor (for size anyway) in a similar fashion. We went one step further and wrote a little Progress program to dump some of the virtual system tables to an ascii file. I use a simple script to read the file and return results back to Nagios using nsca. I monitor the number of licenses used with a simple script which reads the dbname.lic file. I've only been monitoring Progress OpenEdge 10 for a few weeks myself, so I haven't gotten around to publishing any of my plugins or scripts yet. Before doing so, I need to tidy them up a bit, as the way I do things using nsca is a bit non-standard but works for me. If you'd like them in their rough form anyway, give me a shout and I'll be happy to email them to you. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Jul 24 10:46:57 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 24 Jul 2007 09:46:57 +0100 Subject: Monitoring Progress Databases In-Reply-To: References: Message-ID: <765d77c80707240146j3415bf7fr55e361e1fb4c60e8@mail.gmail.com> p.s. You will find various useful things and some friendly forums at http://www.peg.com If you make much use of it, please consider helping with their running costs by becoming a member - it's not expensive. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Tue Jul 24 11:54:18 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Tue, 24 Jul 2007 10:54:18 +0100 Subject: FW: Monitoring service for every machine in hostgroupEXCEPT ONE Message-ID: -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net On Behalf Of Kelly Jones Sent: 23 July 2007 02:55 I did not see any reply to this message, so here is my effort: > I've created a hostgroup of 20 machines, and want to monitor 10 > services on each machine (easy). I now want to monitor an 11th service > on 19 of the 20 machines. What's the best way to do this? > > Two ugly ways I don't like: > > % Create a separate hostgroup for the 19 machines I do want to monitor. > > % Monitor the service on all 20 machines, but schedule infinite > downtime for the service on the 20th machine. > > Is there a better way? Yes. In the configuration for the service, use an entry like this: define service{ use generic-service # From a template or add other options hostgroup_name mygroup # Group of 20 machines hosts !nothisone # Machine not to be tested (note the !) contact_groups us # } Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jriggin at gmail.com Tue Jul 24 15:05:43 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Tue, 24 Jul 2007 08:05:43 -0500 Subject: Nagios e-mail reports Message-ID: <66955c170707240605n5a7ba7d5lf3610cfba8ea9ed1@mail.gmail.com> Last night I got a few warning/critical errors with a few recovery e-mails. However towards this morning I received 2 critical alerts and even though they recovered I didn't receive a recovery e-mail. Any ideas? Jerad -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reed at reedmedia.net Tue Jul 24 15:15:35 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Tue, 24 Jul 2007 08:15:35 -0500 (CDT) Subject: Nagios e-mail reports In-Reply-To: <66955c170707240605n5a7ba7d5lf3610cfba8ea9ed1@mail.gmail.com> References: <66955c170707240605n5a7ba7d5lf3610cfba8ea9ed1@mail.gmail.com> Message-ID: On Tue, 24 Jul 2007, Jerad Riggin wrote: > Last night I got a few warning/critical errors with a few recovery e-mails. > However towards this morning I received 2 critical alerts and even though > they recovered I didn't receive a recovery e-mail. Any ideas? What do your nagios logs say about it? Jeremy C. Reed ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jriggin at gmail.com Tue Jul 24 15:23:54 2007 From: jriggin at gmail.com (Jerad Riggin) Date: Tue, 24 Jul 2007 08:23:54 -0500 Subject: Nagios e-mail reports In-Reply-To: References: <66955c170707240605n5a7ba7d5lf3610cfba8ea9ed1@mail.gmail.com> Message-ID: <66955c170707240623m341367ei93aab713779cecaf@mail.gmail.com> Now that I look at it, it looks like the down e-mails that didn't have corresponding recovery e-mails were delayed for some reason (by about 15 minutes). So perhaps I'm just reading this out of order. I have on clue why that would happen. On 7/24/07, Jeremy C. Reed wrote: > > On Tue, 24 Jul 2007, Jerad Riggin wrote: > > > Last night I got a few warning/critical errors with a few recovery > e-mails. > > However towards this morning I received 2 critical alerts and even > though > > they recovered I didn't receive a recovery e-mail. Any ideas? > > What do your nagios logs say about it? > > Jeremy C. Reed > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Jul 24 15:31:16 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 24 Jul 2007 09:31:16 -0400 Subject: Nagios e-mail reports In-Reply-To: <66955c170707240623m341367ei93aab713779cecaf@mail.gmail.com> References: <66955c170707240605n5a7ba7d5lf3610cfba8ea9ed1@mail.gmail.com> <66955c170707240623m341367ei93aab713779cecaf@mail.gmail.com> Message-ID: From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jerad Riggin Sent: Tuesday, July 24, 2007 6:24 AM To: Jeremy C. Reed Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios e-mail reports Now that I look at it, it looks like the down e-mails that didn't have corresponding recovery e-mails were delayed for some reason (by about 15 minutes). So perhaps I'm just reading this out of order. I have on clue why that would happen. The messages' headers should be able to tell you were they got stuck. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nkeezer at gwinnettpl.org Tue Jul 24 16:11:01 2007 From: nkeezer at gwinnettpl.org (Nancy L. Keezer) Date: Tue, 24 Jul 2007 10:11:01 -0400 Subject: no etc file Message-ID: <066BFE97025B8E4982A969154C4FD31CD8BFF5@baum.gwinnettpl.org> First install no etc folder tried the make install-config still no files. I also am unsure on what files I need to modify for my network. I am using Ubuntu (I am also new to it) and Nagios3.0a4 been following the ubuntu quickstart guide from site with no luck. Nancy Keezer MCP, MCSA Network Administrator Gwinnett County Public Library nkeezer at gwinnettpl.org 770-822-5335 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mashtin.bakir at gmail.com Tue Jul 24 16:28:57 2007 From: mashtin.bakir at gmail.com ( ) Date: Tue, 24 Jul 2007 10:28:57 -0400 Subject: libgd problems Message-ID: <2f3389080707240728yced003ck8b66c8126c7048e@mail.gmail.com> I'm trying to build nagios2.9 on linux. There already happens to be an older one installed via RPM as well as libgd, libpng and libjpeg so I'm (re)installing from source. nagios 2.9 compiles but complains about GD, PNG or jpeg library. Install gd-2.0.33 and libpng-1.2.18 and they both compile without error. The error I get when nagios compiles is where it says Checking for gdImagePng in -lgd (order 1)... no If I've compiled libgd and libpng, installed them in the default (/usr/local), what else do I need to do for them to be recognized? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 16:36:17 2007 From: marc at ena.com (Marc Powell) Date: Tue, 24 Jul 2007 09:36:17 -0500 Subject: no etc file In-Reply-To: <066BFE97025B8E4982A969154C4FD31CD8BFF5@baum.gwinnettpl.org> References: <066BFE97025B8E4982A969154C4FD31CD8BFF5@baum.gwinnettpl.org> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nancy L. Keezer > Sent: Tuesday, July 24, 2007 9:11 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] no etc file > > First install no etc folder tried the make install-config still no files. > I also am unsure on what files I need to modify for my network. What was the output of make install-config? That should have created the ~nagios/etc directory and the sample config files. > I am using Ubuntu (I am also new to it) and Nagios3.0a4 been following the > ubuntu quickstart guide from site with no luck. Be aware that nagios-3 is currently ALPHA software. That means that it is not ready for production, has bugs, things will be broken and you will have problems. If you are new to linux and new to nagios, it's probably not your best choice unless you are willing to accept those caveats. While the hope is that bugs will be minimal, it has not undergone significant real-world testing so you are likely to encounter issues that no-one else has seen before. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 16:45:02 2007 From: marc at ena.com (Marc Powell) Date: Tue, 24 Jul 2007 09:45:02 -0500 Subject: libgd problems In-Reply-To: <2f3389080707240728yced003ck8b66c8126c7048e@mail.gmail.com> References: <2f3389080707240728yced003ck8b66c8126c7048e@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of > Sent: Tuesday, July 24, 2007 9:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] libgd problems > > I'm trying to build nagios2.9 on linux. There already happens to be > an older one installed via RPM as well as libgd, libpng and libjpeg > so I'm (re)installing from source. > > nagios 2.9 compiles but complains about GD, PNG or jpeg library. > Install gd-2.0.33 and libpng-1.2.18 and they both compile without error. > The error I get when nagios compiles is where it says > > Checking for gdImagePng in -lgd (order 1)... no > > If I've compiled libgd and libpng, installed them in the default > (/usr/local), what else do I need to do for them to be recognized? > Did you see/follow these directions from ./configure, particularly the second NOTE. If that doesn't work and you have the devel include files installed, try passing /usr/local to --with-gd-lib and with-gd-inc. -- "*** GD, PNG, and/or JPEG libraries could not be located... ********* Boutell's GD library is required to compile the statusmap, trends and histogram CGIs. Get it from http://www.boutell.com/gd/, compile it, and use the --with-gd-lib and --with-gd-inc arguments to specify the locations of the GD library and include files. NOTE: In addition to the gd-devel library, you'll also need to make sure you have the png-devel and jpeg-devel libraries installed on your system. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the GD, PNG, and JPEG libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make clean' in the Nagios distribution to clean out any old references to your previous compile. 4. Rerun the configure script. NOTE: If you can't get the configure script to recognize the GD libs on your system, get over it and move on to other things. The CGIs that use the GD libs are just a small part of the entire Nagios package. Get everything else working first and then revisit the problem. Make sure to check the nagios-users mailing list archives for possible solutions to GD library problems when you resume your troubleshooting. ********************************************************************" ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmenard at servprise.com Tue Jul 24 16:46:44 2007 From: kmenard at servprise.com (Kevin Menard) Date: Tue, 24 Jul 2007 10:46:44 -0400 Subject: Host check command interval Message-ID: <384329B8D7108B45A3064FB38FCF267B0E19F7@aristotle.servprise.office> Hi, Apologies for the overly simple question, but how does one control the interval at which host command check attempts are executed? I'm working on a plugin that will power-on a host if the check command fails. Unfortunately, it looks like each attempt occurs 3 seconds after the previous one. Given how long it may take to power on a host, I exceed the max attempts before the machine is restored, resulting in a HARD state that shouldn't occur. For what it's worth, the plugin is non-blocking. So, even if it takes the machine several minutes to power-up, the script execution will only be about 5 seconds. I presume this may be part of my problem. Thanks for any help, Kevin -- Kevin Menard Servprise International, Inc. 800.832.3823 x308 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Jul 24 16:55:06 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 24 Jul 2007 10:55:06 -0400 Subject: Host check command interval In-Reply-To: <384329B8D7108B45A3064FB38FCF267B0E19F7@aristotle.servprise.office> References: <384329B8D7108B45A3064FB38FCF267B0E19F7@aristotle.servprise.office> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kevin Menard > Sent: Tuesday, July 24, 2007 7:47 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host check command interval > > Hi, > > Apologies for the overly simple question, but how does one control the > interval at which host command check attempts are executed? I'm > working > on a plugin that will power-on a host if the check command fails. > Unfortunately, it looks like each attempt occurs 3 seconds after the > previous one. Given how long it may take to power on a host, I exceed > the max attempts before the machine is restored, resulting in a HARD > state that shouldn't occur. > > For what it's worth, the plugin is non-blocking. So, even if it takes > the machine several minutes to power-up, the script execution will only > be about 5 seconds. I presume this may be part of my problem. Host checks will basically happen as fast as they can, and that's not configurable in Nagios 2.x. http://nagios.sourceforge.net/docs/2_0/checkscheduling.html#host_checks ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Tue Jul 24 17:26:32 2007 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 24 Jul 2007 11:26:32 -0400 Subject: libgd problems In-Reply-To: <2f3389080707240728yced003ck8b66c8126c7048e@mail.gmail.com> References: <2f3389080707240728yced003ck8b66c8126c7048e@mail.gmail.com> Message-ID: <302ce8b50707240826l28539dc7rcbf63f566aca4c56@mail.gmail.com> On 7/24/07, mashtin.bakir at gmail.com wrote: > I'm trying to build nagios2.9 on linux. There already happens to be > an older one installed via RPM as well as libgd, libpng and libjpeg > so I'm (re)installing from source. You really should avoid building from source on systems with package management options (doesn't matter if it's .deb or .rpm or other) in place, as this can cause headaches and file conflicts later. Instead, you might consider installing the -devel packages for these dependencies. > nagios 2.9 compiles but complains about GD, PNG or jpeg library. > Install gd-2.0.33 and libpng-1.2.18 and they both compile without error. > The error I get when nagios compiles is where it says > > Checking for gdImagePng in -lgd (order 1)... no > > If I've compiled libgd and libpng, installed them in the default > (/usr/local), what else do I need to do for them to be recognized? -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shivkumar at outbackwifi.com Tue Jul 24 17:54:34 2007 From: shivkumar at outbackwifi.com (Shivkumar) Date: Tue, 24 Jul 2007 21:24:34 +0530 Subject: no etc file In-Reply-To: <066BFE97025B8E4982A969154C4FD31CD8BFF5@baum.gwinnettpl.org> References: <066BFE97025B8E4982A969154C4FD31CD8BFF5@baum.gwinnettpl.org> Message-ID: <46A620BA.3030104@outbackwifi.com> Hi, Most newbies to Ubuntu generally forget to run all system wide commands as the root user. Make sure that all your make installs are run like so: $ sudo make install-config Regards, Shiv Nancy L. Keezer said the following: > > First install no etc folder tried the make install-config still no > files. I also am unsure on what files I need to modify for my network. > > I am using Ubuntu (I am also new to it) and Nagios3.0a4 been following > the ubuntu quickstart guide from site with no luck. > > Nancy Keezer MCP, MCSA > > Network Administrator > > Gwinnett County Public Library > > nkeezer at gwinnettpl.org > > 770-822-5335 > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Tue Jul 24 18:16:42 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Tue, 24 Jul 2007 12:16:42 -0400 Subject: check_procs timeout - Solaris 10 Message-ID: <9A7C330414272D44AE4911C835702AAA0C06E3@SXGM-003.fg.rbc.com> Hi guys, I've run into a strange issue (which seems some have encountered before, yet I haven't found a fix) on a Solaris 10 box (SunOS 5.10). My check_procs just times out, no matter how long I let it run. Ex: command run: check_procs -w 2:3 -c 1000 -a SERVICE_NAME -t60 returned result: CRITICAL - Plugin timed out after 60 seconds Version is: check_procs (nagios-plugins 1.4.4) 1.53 Other plugins like check_disk seem to work fine. I'm a bit confused and really would appreciate some help. Has anyone been able to pin point where the problem is in this case? Regards, Dimitry _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dani at tydnet.org Tue Jul 24 18:28:07 2007 From: dani at tydnet.org (Dani) Date: Tue, 24 Jul 2007 18:28:07 +0200 Subject: check_procs timeout - Solaris 10 In-Reply-To: <9A7C330414272D44AE4911C835702AAA0C06E3@SXGM-003.fg.rbc.com> References: <9A7C330414272D44AE4911C835702AAA0C06E3@SXGM-003.fg.rbc.com> Message-ID: <200707241828.07886.dani@tydnet.org> A Dimarts 24 Juliol 2007, Sapon, Dimitry va escriure: > Hi guys, Hi Dimitry, Hi All, this is my first email to the list, so I hope I can help somehow. > I've run into a strange issue (which seems some have encountered > before, yet I haven't found a fix) on a Solaris 10 box (SunOS 5.10). > My check_procs just times out, no matter how long I let it run. I'm working just now in a medium deployment of Nagios in a mixed enviroment: Sol 8, 10 (sparc,x86) and linux and foundsome troubles with check_procs. Check at the end for my solution. > Ex: > > command run: check_procs -w 2:3 -c 1000 -a SERVICE_NAME -t60 > returned result: CRITICAL - Plugin timed out after 60 seconds do you run it directly from the shell or through nrpe? > Version is: check_procs (nagios-plugins 1.4.4) 1.53 > > Other plugins like check_disk seem to work fine. > > I'm a bit confused and really would appreciate some help. Has anyone > been able to pin point where the problem is in this case? My problem with check_procs was different but we found the solution in the next http://docs.sun.com/app/docs/doc/816-2678/6m90st2dn?a=view After applying the patch check_procs works great under solaris. Good Luck, Dani ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Tue Jul 24 18:49:15 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Tue, 24 Jul 2007 12:49:15 -0400 Subject: check_procs timeout - Solaris 10 In-Reply-To: <200707241828.07886.dani@tydnet.org> References: <9A7C330414272D44AE4911C835702AAA0C06E3@SXGM-003.fg.rbc.com> <200707241828.07886.dani@tydnet.org> Message-ID: <9A7C330414272D44AE4911C835702AAA0C06E4@SXGM-003.fg.rbc.com> Hi Dani, Thanks for the quick response. At first I ran into this problem when I added the new Solaris 10 box to monitor (current ones being monitored are all 8. The new box started timing out through NRPE. After investigating I figured out that, NRPE works fine. So I tested running the command from the shell and got the same error message, which basically says that it's the plugin itself that's having the problem Regarding your solution, was that the one with Java environment variables? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dani Sent: Tuesday, July 24, 2007 12:28 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_procs timeout - Solaris 10 A Dimarts 24 Juliol 2007, Sapon, Dimitry va escriure: > Hi guys, Hi Dimitry, Hi All, this is my first email to the list, so I hope I can help somehow. > I've run into a strange issue (which seems some have encountered > before, yet I haven't found a fix) on a Solaris 10 box (SunOS 5.10). > My check_procs just times out, no matter how long I let it run. I'm working just now in a medium deployment of Nagios in a mixed enviroment: Sol 8, 10 (sparc,x86) and linux and foundsome troubles with check_procs. Check at the end for my solution. > Ex: > > command run: check_procs -w 2:3 -c 1000 -a SERVICE_NAME -t60 returned > result: CRITICAL - Plugin timed out after 60 seconds do you run it directly from the shell or through nrpe? > Version is: check_procs (nagios-plugins 1.4.4) 1.53 > > Other plugins like check_disk seem to work fine. > > I'm a bit confused and really would appreciate some help. Has anyone > been able to pin point where the problem is in this case? My problem with check_procs was different but we found the solution in the next http://docs.sun.com/app/docs/doc/816-2678/6m90st2dn?a=view After applying the patch check_procs works great under solaris. Good Luck, Dani ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dani at tydnet.org Tue Jul 24 20:01:43 2007 From: dani at tydnet.org (Dani) Date: Tue, 24 Jul 2007 20:01:43 +0200 Subject: check_procs timeout - Solaris 10 In-Reply-To: <9A7C330414272D44AE4911C835702AAA0C06E4@SXGM-003.fg.rbc.com> References: <9A7C330414272D44AE4911C835702AAA0C06E3@SXGM-003.fg.rbc.com> <200707241828.07886.dani@tydnet.org> <9A7C330414272D44AE4911C835702AAA0C06E4@SXGM-003.fg.rbc.com> Message-ID: <200707242001.43993.dani@tydnet.org> A Dimarts 24 Juliol 2007, Sapon, Dimitry va escriure: > Hi Dani, > > Thanks for the quick response. > > At first I ran into this problem when I added the new Solaris 10 box > to monitor (current ones being monitored are all 8. The new box > started timing out through NRPE. After investigating I figured out > that, NRPE works fine. So I tested running the command from the shell > and got the same error message, which basically says that it's the > plugin itself that's having the problem > > Regarding your solution, was that the one with Java environment > variables? > HI Dimitri, no, this one: Solaris Systems With More Than 4 Gbytes RAM __The SUNWscpux 64?bit source compatibility package__ must be installed on systems that have more than 4 Gbytes of RAM before you can install Sun Management Center 3.5. If the package is not installed, the command-line installation process will report the following messages and fail. Dani ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Tue Jul 24 20:18:25 2007 From: caylan at mac.com (Caylan Van Larson) Date: Tue, 24 Jul 2007 13:18:25 -0500 Subject: Command Macro - All Contact Groups? Message-ID: Good afternoon, A common question I'm facing is, "who else gets these alerts?" It's usually coming from a manager, and wants to make sure that all teams responsible are seeing the alerts. As a first step we've moved away from putting individual users in nagios in favor of a one-to-one relationship of mailing-lists <-> contact-groups. Is there a way to add the other contact-groups that are being notified to the current notification? I've looked through all of the macros (http://nagios.sourceforge.net/docs/2_0/macros.html) and didn't see anything that would fit this request. Short of giving shell access to the managers (*guffaws*), any ideas? I'm not holding my breath for macro, so what's the best way to script a report? Is there an easy way to have nagios dereference all of the inheritances instead of parsing the status file myself? (which wouldn't be so bad if someone had a perl snippet to parse it into a data structure). Thanks! --- Caylan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From renders at cknxradio.com Tue Jul 24 23:20:34 2007 From: renders at cknxradio.com (Rob Enders) Date: Tue, 24 Jul 2007 17:20:34 -0400 Subject: Acknowledge Notifications using email In-Reply-To: References: Message-ID: <001501c7ce38$78e0d740$032afea9@cknxradio.com> Is there a script in use for acknowledging notifications using an incoming email? Nagiosexchange has one for sms messages. Was hoping someone could point me to such a script for email use. Thanks Rob ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Ringe at web.de Tue Jul 24 22:52:50 2007 From: Peter.Ringe at web.de (Peter Ringe) Date: Tue, 24 Jul 2007 22:52:50 +0200 Subject: Nagiograph issues In-Reply-To: <20070723211433.GN27892@pmorris.usa.hp.com> References: <20070723211433.GN27892@pmorris.usa.hp.com> Message-ID: <46A666A2.4030905@web.de> now to all... (fist Answer was just to Patrick ... :-( hi, be advised, that nagiosgraph ist not compatible to epn (just case you are using epn) In that case, your perfdata processing command has to be /perl insert.pl .... instead of just insert.pl .... regards, peter Patrick Morris schrieb: > On Mon, 23 Jul 2007, bheese at mac.com wrote: > > >> Hi All, >> >> I've been trying to get nagiosgraph up and running. I've fixed most of the >> issues I've come across. However the problem I can't seem to solve is why >> the rrd files aren't being generated. When I follow the link to the extended >> data for the service I get an error that the rrd dir is empty. In looking >> through the file system this is correct. >> >> Looking through nagios.log shows that data is being collected. >> Looking through the service-perfdata file shows data is being collected. >> As is host-perfdata >> The nagiosgraph.log file is empty. >> >> Sorry I don't have more info than that. Any direction and help would be >> greatly appreciated! >> > > Try running your perfdata processing command (probably something > involving insert.pl) manually, as the nagios user -- that may give you > some helpful error messages. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bbongcac at fcpp.fujitsu.com Wed Jul 25 02:15:14 2007 From: bbongcac at fcpp.fujitsu.com (Bobby) Date: Wed, 25 Jul 2007 08:15:14 +0800 Subject: Nagios e-mail reports References: <66955c170707240605n5a7ba7d5lf3610cfba8ea9ed1@mail.gmail.com> <66955c170707240623m341367ei93aab713779cecaf@mail.gmail.com> Message-ID: <0b6f01c7ce50$df877310$4d8f10ac@netscan> Well, this might have been another one of that mailer-type problem, meaning not really caused by Nagios itself... Might as well take a look at your mailer-program (sendmail, postfix...etc) configs... Look at some of those timers there and probably youll got some ideas from it... ----- Original Message ----- From: Jerad Riggin To: Jeremy C. Reed Cc: nagios-users at lists.sourceforge.net Sent: Tuesday, July 24, 2007 9:23 PM Subject: Re: [Nagios-users] Nagios e-mail reports Now that I look at it, it looks like the down e-mails that didn't have corresponding recovery e-mails were delayed for some reason (by about 15 minutes). So perhaps I'm just reading this out of order. I have on clue why that would happen. On 7/24/07, Jeremy C. Reed wrote: On Tue, 24 Jul 2007, Jerad Riggin wrote: > Last night I got a few warning/critical errors with a few recovery e-mails. > However towards this morning I received 2 critical alerts and even though > they recovered I didn't receive a recovery e-mail. Any ideas? What do your nagios logs say about it? Jeremy C. Reed -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai at duras.ro Wed Jul 25 02:48:42 2007 From: mihai at duras.ro (Mihai Tanasescu) Date: Wed, 25 Jul 2007 03:48:42 +0300 Subject: Wildcard not working in service escalations ? Message-ID: <46A69DEA.4010606@duras.ro> Hello, I've just set up a service escalation like this: define serviceescalation{ host_name * service_description Host-UP first_notification 3 last_notification 0 notification_interval 30 contact_groups admins,managers } But when I try to start nagios it says: Error: Could not find any host matching '*' Error: Could not expand hostgroups and/or hosts specified in service escalation (config file '/usr/local/etc/nagios/escalations.cfg', starting on line 2) If instead of host_name * I specify a certain host out of the ones I'm monitoring, everything works alright. The nagios I'm running is 2.9.1 and after googling a bit I saw that it should support wildcards here. I have use_regexp_matching=1 enabled in nagios.cfg (and regexps work for everything except the escalations). Any ideas / am I doing something wrong ? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at wansecurity.com Wed Jul 25 03:06:13 2007 From: lists at wansecurity.com (Robert Smith) Date: Wed, 25 Jul 2007 10:06:13 +0900 Subject: config.cgi always shows "Enable Active Checks" as No Message-ID: <46A6A205.20509@wansecurity.com> When I realized the issue, created a host definition with the bare minimum, and set active_checks_enabled 1 without using any template. I selected hosts from the config.cgi and searched for the hostname. Without fail, regardless of the configuration enabled, "Enable Active Checks" is always No. Am I doing something wrong? I'm surprised that I have never noticed this before having used Nagios for years. Cheers, -Robert Smith ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.silenzi at gmail.com Wed Jul 25 10:02:41 2007 From: christian.silenzi at gmail.com (Christian Silenzi) Date: Wed, 25 Jul 2007 10:02:41 +0200 Subject: Apache user and host detail Message-ID: <20070725100241.8bba1148.christian.silenzi@gmail.com> Hello everybody, I am new of this list and I am trying to configure Nagios Version 2.0 on Debian Etch. I would create an Apache user that are able to view only a specific host. For example, I have a two different nets, monitorate from Nagios, and I would want that an Apache user has the possibility to view only one net. As I can make all this with Apache2 and Nagios2? Thanks and sorry for my bad english -- Christian Silenzi -------------------------------------------------- Registered Linux User #393743 Registered Linux Machine: 1- portatile #295118 2- fisso #301222 Linux User Group Piacenza: www.lugpiacenza.org Associazione Italiana Contro il TC: www.no1984.org Blog: www.dynamicduo.it/ilfornaio ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shivkumar at outbackwifi.com Wed Jul 25 10:17:54 2007 From: shivkumar at outbackwifi.com (Shivkumar) Date: Wed, 25 Jul 2007 13:47:54 +0530 Subject: Apache user and host detail In-Reply-To: <20070725100241.8bba1148.christian.silenzi@gmail.com> References: <20070725100241.8bba1148.christian.silenzi@gmail.com> Message-ID: <46A70732.102@outbackwifi.com> Hi, Isnt the nomal way of defining contacts working for you? Normally contacts for a particular host/hostgroup can only see their own hosts/hostgroups. Regards, Shiv Christian Silenzi said the following: > Hello everybody, > I am new of this list and I am trying to configure Nagios Version 2.0 > on Debian Etch. > > I would create an Apache user that are able to view only a specific > host. > > For example, I have a two different nets, monitorate from Nagios, > and I would want that an Apache user has the possibility to view only > one net. > > As I can make all this with Apache2 and Nagios2? > > Thanks and sorry for my bad english > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Jul 25 11:31:30 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 25 Jul 2007 10:31:30 +0100 Subject: Acknowledge Notifications using email In-Reply-To: <001501c7ce38$78e0d740$032afea9@cknxradio.com> References: <001501c7ce38$78e0d740$032afea9@cknxradio.com> Message-ID: <46A71872.1050609@googlemail.com> Why don't you just look at the interface, and try to put the url into the notification command that sends the email, possibly using macros to make it generic enough to work for all services. This would result in an email with a link that you open to acknowledge the notifications. If you wanted reply to, then you'd have to join the email receipt to the acknowledge function somehow, which seems more difficult to do and would likely require you to write some glue code. Good idea on the acknowledge notifications. -h Hari Sekhon Rob Enders wrote: > Is there a script in use for acknowledging notifications using an incoming > email? Nagiosexchange has one for sms messages. Was hoping someone could > point me to such a script for email use. > > Thanks > > Rob > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Wed Jul 25 11:40:15 2007 From: shoktai at gmail.com (Toto Carpaccio) Date: Wed, 25 Jul 2007 11:40:15 +0200 Subject: Make all error Message-ID: <619cf3c0707250240n1766d6fcv36df41180c241b7a@mail.gmail.com> Hi all, I am trying to install nagios 1.4.1 on a debian system. The configure went fine but the make-install is going wrong : debian:/nagios-1.4.1# make install cd ./base && make install make[1]: Entering directory `/nagios-1.4.1/base' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin /usr/bin/strip /usr/local/nagios/bin/nagios make[1]: Leaving directory `/nagios-1.4.1/base' cd ./cgi && make install make[1]: Entering directory `/nagios-1.4.1/cgi' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin for file in *.cgi; do \ /usr/bin/install -c -m 775 -o nagios -g nagios $file /usr/local/nagios/sbin; \ /usr/bin/strip /usr/local/nagios/sbin/$file; \ done /usr/bin/strip: /usr/local/nagios/sbin/avail.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/cmd.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/config.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/extinfo.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/histogram.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/history.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/notifications.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/outages.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/showlog.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/status.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/statusmap.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/statuswml.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/statuswrl.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/summary.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/tac.cgi: File format not recognized /usr/bin/strip: /usr/local/nagios/sbin/trends.cgi: File format not recognized make[1]: *** [install] Error 1 make[1]: Leaving directory `/nagios-1.4.1/cgi' make: *** [install] Error 2 Any ideas to help me continue? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esben at cs.aau.dk Wed Jul 25 12:09:52 2007 From: esben at cs.aau.dk (Esben Bach) Date: Wed, 25 Jul 2007 12:09:52 +0200 Subject: check_procs timeout - Solaris 10 In-Reply-To: <9A7C330414272D44AE4911C835702AAA0C06E3@SXGM-003.fg.rbc.com> References: <9A7C330414272D44AE4911C835702AAA0C06E3@SXGM-003.fg.rbc.com> Message-ID: <46A72170.5030709@cs.aau.dk> Hi Sapon This issue has been address a multitude of times (with differenet solution suggestions). Someone has claimed that the check_procs plugin was fixed in the latest plugin version, however i have not found the time to try them out. You should search the mailinglist archives - your problem is likely related to the ps command carrying a different syntax than expected. -- Esben Sapon, Dimitry wrote: > Hi guys, > > I've run into a strange issue (which seems some have encountered > before, yet I haven't found a fix) on a Solaris 10 box (SunOS 5.10). > My check_procs just times out, no matter how long I let it run. > > Ex: > > *command run:* check_procs -w 2:3 -c 1000 -a SERVICE_NAME -t60 > *returned result: *CRITICAL - Plugin timed out after 60 seconds > > Version is: check_procs (nagios-plugins 1.4.4) 1.53 > > Other plugins like check_disk seem to work fine. > > I'm a bit confused and really would appreciate some help. Has anyone > been able to pin point where the problem is in this case? > > Regards, > Dimitry > _______________________________________________________________________ > > This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. > Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. > This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. > > Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. > Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. > Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shivkumar at outbackwifi.com Wed Jul 25 12:20:17 2007 From: shivkumar at outbackwifi.com (Shivkumar) Date: Wed, 25 Jul 2007 15:50:17 +0530 Subject: Make all error In-Reply-To: <619cf3c0707250240n1766d6fcv36df41180c241b7a@mail.gmail.com> References: <619cf3c0707250240n1766d6fcv36df41180c241b7a@mail.gmail.com> Message-ID: <46A723E1.5010902@outbackwifi.com> Hi, Did you do a make all *before* you did a make install? I think your CGIs have not been built yet! other way to check is #cd /your/nagios/source/cgi on my machine i do # cd /usr/local/src/nagios-2.9/cgi Then do # file tac.cgi It should give you something like tac.cgi: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), not stripped See the last two words? now when i go to the nagios install directory, #cd /usr/local/nagios/sbin and then do #file tac.cgi I get tac.cgi: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), stripped Here it says "stripped". Strip basically removes all symbols from the executable so that it cant be reverse engineered. So when it says format not recognized, it means that your cgis have not been built yet. Regards, Shiv Toto Carpaccio said the following: > Hi all, > > I am trying to install nagios 1.4.1 on a debian system. The configure > went fine but the make-install is going wrong : > debian:/nagios-1.4.1# make install > cd ./base && make install > make[1]: Entering directory `/nagios- 1.4.1/base' > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin > /usr/bin/install -c -m 774 -o nagios -g nagios nagios > /usr/local/nagios/bin > /usr/bin/strip /usr/local/nagios/bin/nagios > make[1]: Leaving directory `/nagios- 1.4.1/base' > cd ./cgi && make install > make[1]: Entering directory `/nagios-1.4.1/cgi' > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin > for file in *.cgi; do \ > /usr/bin/install -c -m 775 -o nagios -g nagios $file > /usr/local/nagios/sbin; \ > /usr/bin/strip /usr/local/nagios/sbin/$file; \ > done > /usr/bin/strip: /usr/local/nagios/sbin/avail.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/cmd.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/config.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/extinfo.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/histogram.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/history.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/notifications.cgi: File format > not recognized > /usr/bin/strip: /usr/local/nagios/sbin/outages.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/showlog.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/status.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/statusmap.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/statuswml.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/statuswrl.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/summary.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/tac.cgi: File format not recognized > /usr/bin/strip: /usr/local/nagios/sbin/trends.cgi: File format not > recognized > make[1]: *** [install] Error 1 > make[1]: Leaving directory `/nagios- 1.4.1/cgi' > make: *** [install] Error 2 > > Any ideas to help me continue? > > Thanks > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelkarpushkar at gmail.com Wed Jul 25 13:04:36 2007 From: kelkarpushkar at gmail.com (pushkar kelkar) Date: Wed, 25 Jul 2007 16:34:36 +0530 Subject: Bandwidth and VSAT monitoring Message-ID: hello, I wish to know how can we monitor the bandwidth of a network and also include VSAT networks in the monitoring process. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From D.Parise at iaea.org Wed Jul 25 14:01:36 2007 From: D.Parise at iaea.org (D.Parise at iaea.org) Date: Wed, 25 Jul 2007 14:01:36 +0200 Subject: NSCA Passive with UDP Message-ID: Dear All, I will make a massive use of passive services. I have machines performing various types of jobs and reporting to Nagios. With TCP if Nagios is down the jobs hangs waiting for timeout. Do you think it is possible to use UDP connection for this purpose. Do you see any drawback in this choice? Regards, Davide Parise Safeguards Systems Analyst Division of Technical Support (SGTS) International Atomic Energy Agency (IAEA) Tel.: +43 1 2600 26496 (Office) Fax: +43 1 2600 29317 (21st Floor) E-mail: d.parise at iaea.org This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Wed Jul 25 14:10:37 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Wed, 25 Jul 2007 05:10:37 -0700 Subject: notifications for a hostgroup to a particular contact Message-ID: <2402BA0C1F52594E8E271233F62EB6A903EA9176@repbex02.amer.bea.com> Hi, I am using Nagios for past couple of months. Now I need to do the following configuration- There is a set of machines for which I want a particular person to be notified in case any of those machines goes up or down. I thought I would make a hostgroup of those machines and put that in the contacts.cfg as a parameter. But after going through the documentation I realized this is not possible. Can you please tell me the best way to achieve this? I would really appreciate any help. Thanks, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 15:20:23 2007 From: marc at ena.com (Marc Powell) Date: Wed, 25 Jul 2007 08:20:23 -0500 Subject: Apache user and host detail In-Reply-To: <20070725100241.8bba1148.christian.silenzi@gmail.com> References: <20070725100241.8bba1148.christian.silenzi@gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Christian Silenzi > Sent: Wednesday, July 25, 2007 3:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Apache user and host detail > > Hello everybody, > I am new of this list and I am trying to configure Nagios Version 2.0 > on Debian Etch. > > I would create an Apache user that are able to view only a specific > host. > > For example, I have a two different nets, monitorate from Nagios, > and I would want that an Apache user has the possibility to view only > one net. > > As I can make all this with Apache2 and Nagios2? Yes, see the documentation on Enabling Authorization/Authentication for the CGI's. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Wed Jul 25 15:34:30 2007 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Wed, 25 Jul 2007 09:34:30 -0400 Subject: check_procs timeout - Solaris 10 In-Reply-To: <46A72170.5030709@cs.aau.dk> References: <9A7C330414272D44AE4911C835702AAA0C06E3@SXGM-003.fg.rbc.com> <46A72170.5030709@cs.aau.dk> Message-ID: <2274b9c30707250634h48f1fb30j9bbf0bf0d5e2adc8@mail.gmail.com> It has been fixed with 1.4.9 The previous workaround was to reformat the ps-format config option. --kyleo On 7/25/07, Esben Bach wrote: > Hi Sapon > This issue has been address a multitude of times (with differenet > solution suggestions). > > Someone has claimed that the check_procs plugin was fixed in the latest > plugin version, however i have not found the time to try them out. You > should search the mailinglist archives - your problem is likely related > to the ps command carrying a different syntax than expected. > > -- > Esben > > Sapon, Dimitry wrote: > > Hi guys, > > > > I've run into a strange issue (which seems some have encountered > > before, yet I haven't found a fix) on a Solaris 10 box (SunOS 5.10). > > My check_procs just times out, no matter how long I let it run. > > > > Ex: > > > > *command run:* check_procs -w 2:3 -c 1000 -a SERVICE_NAME -t60 > > *returned result: *CRITICAL - Plugin timed out after 60 seconds > > > > Version is: check_procs (nagios-plugins 1.4.4) 1.53 > > > > Other plugins like check_disk seem to work fine. > > > > I'm a bit confused and really would appreciate some help. Has anyone > > been able to pin point where the problem is in this case? > > > > Regards, > > Dimitry > > _______________________________________________________________________ > > > > This email is intended only for the use of the individual(s) to whom it is > addressed and may be privileged and confidential. > > Unauthorised use or disclosure is prohibited. If you receive This e-mail > in error, please advise immediately and delete the original message. > > This message may have been altered without your or our knowledge and the > sender does not accept any liability for any errors or omissions in the > message. > > > > Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux > droits et obligations qui s'y rapportent. > > Toute diffusion, utilisation ou copie de ce message ou des renseignements > qu'il contient par une personne autre que le (les) destinataire(s) > d?sign?(s) est interdite. > > Si vous recevez ce courriel par erreur, veuillez m'en aviser > imm?diatement, par retour de courriel ou par un autre moyen. > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.silenzi at gmail.com Wed Jul 25 15:38:00 2007 From: christian.silenzi at gmail.com (Christian Silenzi) Date: Wed, 25 Jul 2007 15:38:00 +0200 Subject: Apache user and host detail In-Reply-To: References: <20070725100241.8bba1148.christian.silenzi@gmail.com> Message-ID: <20070725153800.3268183b.christian.silenzi@gmail.com> On Wed, 25 Jul 2007 08:20:23 -0500 "Marc Powell" wrote: > Yes, see the documentation on Enabling Authorization/Authentication > for the CGI's. Thanks to all, I've resolved. ;) Bye -- Christian Silenzi -------------------------------------------------- Registered Linux User #393743 Registered Linux Machine: 1- portatile #295118 2- fisso #301222 Linux User Group Piacenza: www.lugpiacenza.org Associazione Italiana Contro il TC: www.no1984.org Blog: www.dynamicduo.it/ilfornaio ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 15:39:16 2007 From: marc at ena.com (Marc Powell) Date: Wed, 25 Jul 2007 08:39:16 -0500 Subject: notifications for a hostgroup to a particular contact In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903EA9176@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903EA9176@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Wednesday, July 25, 2007 7:11 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notifications for a hostgroup to a particular > contact > > Hi, > > I am using Nagios for past couple of months. > > Now I need to do the following configuration- > > There is a set of machines for which I want a particular person to be > notified in case any of those machines goes up or down. > > I thought I would make a hostgroup of those machines and put that in the > contacts.cfg as a parameter. > > But after going through the documentation I realized this is not possible. Reverse your logic. Create a contactgroup that contains that person and assign it as a contactgroup for the machines in question in their host and service definitions. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 16:37:00 2007 From: marc at ena.com (Marc Powell) Date: Wed, 25 Jul 2007 09:37:00 -0500 Subject: Make all error In-Reply-To: <619cf3c0707250240n1766d6fcv36df41180c241b7a@mail.gmail.com> References: <619cf3c0707250240n1766d6fcv36df41180c241b7a@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Toto Carpaccio > Sent: Wednesday, July 25, 2007 4:40 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Make all error > > Hi all, > > I am trying to install nagios 1.4.1 on a debian system. The configure went > fine but the make-install is going wrong : > /usr/bin/strip: /usr/local/nagios/sbin/summary.cgi: File format not > recognized > /usr/bin/strip: /usr/local/nagios/sbin/tac.cgi: File format not recognized > /usr/bin/strip: /usr/local/nagios/sbin/trends.cgi: File format not > recognized > make[1]: *** [install] Error 1 > make[1]: Leaving directory `/nagios- 1.4.1/cgi' > make: *** [install] Error 2 > > Any ideas to help me continue? > Are you using a distribution stock version of strip? It might help if you let us know what version of Debian you are using. Where there any errors reported when compiling? Nagios 1.x is very old. Nagios-2 was released about a year and a half ago and Nagios-3 is approaching. There were many enhancements and bugfixes in the intervening releases. You really should be using the latest version of Nagios-2 unless you specifically need the postgres database support that existed in the 1.x version. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shivkumar at outbackwifi.com Wed Jul 25 18:48:16 2007 From: shivkumar at outbackwifi.com (Shivkumar) Date: Wed, 25 Jul 2007 22:18:16 +0530 Subject: Bandwidth and VSAT monitoring In-Reply-To: References: Message-ID: <46A77ED0.10100@outbackwifi.com> pushkar kelkar said the following: > hello, > > I wish to know how can we monitor the bandwidth of a network > and also include VSAT networks in the monitoring process. > ------------------------------------------------------------------------ > > Hi, Reading the Nagios Documentation would probably help you arrive at the decision whether Nagios is the right fit for your requirements. Having said that, Nagios doesnt know or care whether you have a Wi-Fi, Wired or even a VSAT network. All that matters is that these network devices/endpoints/switches/routers/CPEs need to be IP capable (or at the very least be SNMP capable) It would really help if you outlined what you did to monitor the VSAT network and why it did not work with Nagios. As far as bandwidth monitoring goes, smokeping or cacti are your best friends. Regards, Shiv -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Wed Jul 25 19:50:39 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Wed, 25 Jul 2007 10:50:39 -0700 Subject: question on "nagios->rrdtool->cacti" process Message-ID: <2b7af7c40707251050t4aa6c2a7sd327f9e1ce9b52f5@mail.gmail.com> I'm trying to wrap my mind around how Nagios and Cacti "integrate" (or, more specifically, how I can pipe Nagios output to rrdtool and then have Cacti poll that rrd database). Both Nagios and Cacti are installed ok, and now I'm trying to get n2rrd properly installed and "gluing" together the two programs. I've (I think) followed all of these instructions ok http://n2rrd.diglinks.com/cgi-bin/trac.cgi/wiki/InstallationGuide --n2rrd is unpacked to /etc/n2rrd ok --nagios cfg files are edited properly --made a /path/to/templates/service.t file (icmp.t to be exact) --can reload nagios ok (with no errors) ...but now what? I don't see any nagios logs being generated (step 14 of the HOWTO URL), and I'm not sure where exactly these get generated (or how to tell). I'm assuming that nrd2graph doesn't have to be installed b/c that is what Cacti will properly take care of? Any help would be greatly appreciated. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tomw at bnl.gov Wed Jul 25 21:58:42 2007 From: tomw at bnl.gov (Tomasz Wlodek) Date: Wed, 25 Jul 2007 15:58:42 -0400 (EDT) Subject: nagios authorisation Message-ID: Hi, I am sure this issue came out thousands of times before... I have threee groups of services A, B and C. Users logon to nagios page and I want some of them to have the following authorisations: they should see all services from group A, they should be able to issue commands for thouse services, acknowledge problems and receive alerts. They should see services from group B but they shouold not be able to issue any commands for those services and they should not receive alerts about those services. They should not see the services from group C. ------------------------------ My problem: it seems to me that users can be give administrator privileges which will allow them to see and issue commands to all services. But you cannot restrict the administrative provileges to some services: either you can issue commands for all services/hosts or for none. Is there a middle road? Is there an add-on for nagios which manages authorisations? TomW ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai at duras.ro Wed Jul 25 22:00:31 2007 From: mihai at duras.ro (Mihai Tanasescu) Date: Wed, 25 Jul 2007 23:00:31 +0300 Subject: Wildcard not working in service escalations ? In-Reply-To: <46A69DEA.4010606@duras.ro> References: <46A69DEA.4010606@duras.ro> Message-ID: <46A7ABDF.9020702@duras.ro> Mihai Tanasescu wrote: > Hello, > > > I've just set up a service escalation like this: > > define serviceescalation{ > host_name * > service_description Host-UP > first_notification 3 > last_notification 0 > notification_interval 30 > contact_groups admins,managers > } > > But when I try to start nagios it says: > > Error: Could not find any host matching '*' > Error: Could not expand hostgroups and/or hosts specified in service > escalation (config file '/usr/local/etc/nagios/escalations.cfg', > starting on line 2) > > If instead of host_name * I specify a certain host out of the ones I'm > monitoring, everything works alright. > > The nagios I'm running is 2.9.1 and after googling a bit I saw that it > should support wildcards here. > > I have use_regexp_matching=1 enabled in nagios.cfg (and regexps work for > everything except the escalations). > > > Any ideas / am I doing something wrong ? > > > > > > Can anyone help me here please ..if you are currently using wildcard based escalations ? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Jul 25 22:15:19 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 25 Jul 2007 16:15:19 -0400 Subject: nagios authorisation In-Reply-To: References: Message-ID: > My problem: it seems to me that users can be give administrator > privileges > which will allow them to see and issue commands to all services. But > you > cannot restrict the administrative provileges to some services: either > you > can issue commands for all services/hosts or for none. > > Is there a middle road? Is there an add-on for nagios which manages > authorisations? Assuming you don't globally add all rights to all users (and it sounds like you have), this is not the case. Generally, users are allowed to view and interact with services for which they are contacts (see the sections of the docs about CGI auth for details). There is, however, no "read-only" access in an out-of-the-box Nagios installation. Either a certain user has full access to a given host or service, or none. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tomw at bnl.gov Wed Jul 25 22:31:42 2007 From: tomw at bnl.gov (Tomasz Wlodek) Date: Wed, 25 Jul 2007 16:31:42 -0400 (EDT) Subject: nagios authorisation In-Reply-To: References: Message-ID: On Wed, 25 Jul 2007, Morris, Patrick wrote: > > Assuming you don't globally add all rights to all users (and it sounds > like you have), this is not the case. Generally, users are allowed to > view and interact with services for which they are contacts (see the > sections of the docs about CGI auth for details). > > There is, however, no "read-only" access in an out-of-the-box Nagios > installation. Either a certain user has full access to a given host or > service, or none. > Exactly. Either you have "read-write" access to service, or none. And If I want users to have "read-write" access to some services and "read only" to others - how can I do this? I understand that Nagios in standard version does not allow for this, bu5t maybe someone knows an add-on which allows for this? I investigated Oreon and it does not allow for such access as well. Maybe other tool? TomW ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 23:47:32 2007 From: marc at ena.com (Marc Powell) Date: Wed, 25 Jul 2007 16:47:32 -0500 Subject: Wildcard not working in service escalations ? In-Reply-To: <46A7ABDF.9020702@duras.ro> References: <46A7ABDF.9020702@duras.ro> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mihai Tanasescu > Sent: Wednesday, July 25, 2007 3:01 PM > To: Mihai Tanasescu > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Wildcard not working in service escalations ? > > Mihai Tanasescu wrote: > > Hello, > > > > > > I've just set up a service escalation like this: > > > > define serviceescalation{ > > host_name * > > service_description Host-UP > > first_notification 3 > > last_notification 0 > > notification_interval 30 > > contact_groups admins,managers > > } > > > > But when I try to start nagios it says: > > > > Error: Could not find any host matching '*' > > Error: Could not expand hostgroups and/or hosts specified in service > > escalation (config file '/usr/local/etc/nagios/escalations.cfg', > > starting on line 2) > > > > If instead of host_name * I specify a certain host out of the ones I'm > > monitoring, everything works alright. > > > > The nagios I'm running is 2.9.1 and after googling a bit I saw that it > > should support wildcards here. > > > > I have use_regexp_matching=1 enabled in nagios.cfg (and regexps work for > > everything except the escalations). > > Can anyone help me here please ..if you are currently using wildcard > based escalations ? I don't use escalations (or wildcards), but what you're trying to do is specifically documented at http://nagios.sourceforge.net/docs/2_0/templatetricks.html#serviceescala tion I _would_ say that use_regexp_matching really isn't enabled but if you have other regexp directives that are working, that shoots that down. If someone else can duplicate it you may have discovered a bug. Unusual, but possible. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From renders at cknxradio.com Wed Jul 25 23:55:03 2007 From: renders at cknxradio.com (Rob Enders) Date: Wed, 25 Jul 2007 17:55:03 -0400 Subject: Using the joystick for monitoring closures Message-ID: <00f601c7cf06$747b2790$032afea9@cknxradio.com> Hi all.. I have been a user of Nagios right back to the Netsaint 1.0 days. I needed a way to monitor several external contact closures generated by external equipment, (We are a radio station and use audio silence monitors that give a closure on alarm). I came across some software by Christian Garbs called joyd. http://www.cgarbs.de/joyd.en.html It is a daemon that can monitor the joystick port typically found on audio cards. It will execute a command based on the change in state of the joystick buttons and/or the position of the handle. It was a simple matter to add the necessary info for the submit_check_result script that Ethan Galstad suggests in the nagios docs. This functions similar to the NRPE software and other passive plugins. It will send a command for the original closure as well as the release. The development version includes the features described.. I am using this with two separate gameports in order to get enough closures, but the software supports thresholds on the joystick handle position which could be used for additional closures. Hopefully someone will find this info useful.. Ciao Rob Enders CKNX Radio Wingham, ON Canada -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai at duras.ro Thu Jul 26 00:42:42 2007 From: mihai at duras.ro (Mihai Tanasescu) Date: Thu, 26 Jul 2007 01:42:42 +0300 Subject: Wildcard not working in service escalations ? In-Reply-To: References: Message-ID: <46A7D1E2.3090606@duras.ro> Marc Powell wrote: >> Can anyone help me here please ..if you are currently using wildcard >> based escalations ? >> > > I don't use escalations (or wildcards), but what you're trying to do is > specifically documented at > http://nagios.sourceforge.net/docs/2_0/templatetricks.html#serviceescala > tion > > I _would_ say that use_regexp_matching really isn't enabled but if you > have other regexp directives that are working, that shoots that down. If > someone else can duplicate it you may have discovered a bug. Unusual, > but possible. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Umm...sorry seems you were right (I don't know why I had the impression that I was already using regexps somewhere in the config). I have in nagios.cfg the use_regexp_matching=1 but it doesn't seem to function in any of the possible places where the "*" character could be used. Any idea why ? Should I try using the ePN (embedded perl) to see if things change and regexp start working ? (but that would cause some script rewriting unfortunately) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 00:54:00 2007 From: marc at ena.com (Marc Powell) Date: Wed, 25 Jul 2007 17:54:00 -0500 Subject: Wildcard not working in service escalations ? In-Reply-To: <46A7D1E2.3090606@duras.ro> References: <46A7D1E2.3090606@duras.ro> Message-ID: > -----Original Message----- > From: Mihai Tanasescu [mailto:mihai at duras.ro] > Sent: Wednesday, July 25, 2007 5:43 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Wildcard not working in service escalations ? > > Marc Powell wrote: > > I _would_ say that use_regexp_matching really isn't enabled but if you > > have other regexp directives that are working, that shoots that down. If > > someone else can duplicate it you may have discovered a bug. Unusual, > > but possible. > Umm...sorry seems you were right (I don't know why I had the impression > that I was already using regexps somewhere in the config). > > I have in nagios.cfg the > > use_regexp_matching=1 > > but it doesn't seem to function in any of the possible places where the > "*" character could be used. > > Any idea why ? No, not really. You're looking at the right nagios.cfg, yes? Any possibility that the nagios daemon is looking at another one that doesn't have it enabled? > Should I try using the ePN (embedded perl) to see if things change and > regexp start working ? (but that would cause some script rewriting > unfortunately) They're completely unrelated. One doesn't depend on the other. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai at duras.ro Thu Jul 26 01:00:18 2007 From: mihai at duras.ro (Mihai Tanasescu) Date: Thu, 26 Jul 2007 02:00:18 +0300 Subject: Wildcard not working in service escalations ? In-Reply-To: References: Message-ID: <46A7D602.4060206@duras.ro> Marc Powell wrote: > >> -----Original Message----- >> From: Mihai Tanasescu [mailto:mihai at duras.ro] >> Sent: Wednesday, July 25, 2007 5:43 PM >> To: Marc Powell >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Wildcard not working in service >> > escalations ? > >> Marc Powell wrote: >> > > > >>> I _would_ say that use_regexp_matching really isn't enabled but if >>> > you > >>> have other regexp directives that are working, that shoots that >>> > down. If > >>> someone else can duplicate it you may have discovered a bug. >>> > Unusual, > >>> but possible. >>> > > > >> Umm...sorry seems you were right (I don't know why I had the >> > impression > >> that I was already using regexps somewhere in the config). >> >> I have in nagios.cfg the >> >> use_regexp_matching=1 >> >> but it doesn't seem to function in any of the possible places where >> > the > >> "*" character could be used. >> >> Any idea why ? >> > > No, not really. You're looking at the right nagios.cfg, yes? Any > possibility that the nagios daemon is looking at another one that > doesn't have it enabled? > > It's the right one unfortunately this time. nagios # ps -ax | grep nagios 87215 ?? Ss 1:13.47 /usr/local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg nagios # cat /usr/local/etc/nagios/nagios.cfg | grep use_regexp use_regexp_matching=1 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai at duras.ro Thu Jul 26 01:20:39 2007 From: mihai at duras.ro (Mihai Tanasescu) Date: Thu, 26 Jul 2007 02:20:39 +0300 Subject: Wildcard not working in service escalations ? In-Reply-To: <46A7D602.4060206@duras.ro> References: <46A7D602.4060206@duras.ro> Message-ID: <46A7DAC7.3060507@duras.ro> Mihai Tanasescu wrote: > Marc Powell wrote: > >> >> >>> -----Original Message----- >>> From: Mihai Tanasescu [mailto:mihai at duras.ro] >>> Sent: Wednesday, July 25, 2007 5:43 PM >>> To: Marc Powell >>> Cc: nagios-users at lists.sourceforge.net >>> Subject: Re: [Nagios-users] Wildcard not working in service >>> >>> >> escalations ? >> >> >>> Marc Powell wrote: >>> >>> >> >> >>>> I _would_ say that use_regexp_matching really isn't enabled but if >>>> >>>> >> you >> >> >>>> have other regexp directives that are working, that shoots that >>>> >>>> >> down. If >> >> >>>> someone else can duplicate it you may have discovered a bug. >>>> >>>> >> Unusual, >> >> >>>> but possible. >>>> >>>> >> >> >>> Umm...sorry seems you were right (I don't know why I had the >>> >>> >> impression >> >> >>> that I was already using regexps somewhere in the config). >>> >>> I have in nagios.cfg the >>> >>> use_regexp_matching=1 >>> >>> but it doesn't seem to function in any of the possible places where >>> >>> >> the >> >> >>> "*" character could be used. >>> >>> Any idea why ? >>> >>> >> No, not really. You're looking at the right nagios.cfg, yes? Any >> possibility that the nagios daemon is looking at another one that >> doesn't have it enabled? >> >> >> > > It's the right one unfortunately this time. > > nagios # ps -ax | grep nagios > 87215 ?? Ss 1:13.47 /usr/local/bin/nagios -d > /usr/local/etc/nagios/nagios.cfg > nagios # cat /usr/local/etc/nagios/nagios.cfg | grep use_regexp > use_regexp_matching=1 > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > I've solved the problem with the help of a Freenode user. It seems that contrary to what I believed, in order for the * to match everything you should have: use_regexp_matching=0 I got confused upon reading the manual and only attempted with it = 1. (the manual stated: If you wish, you can enable regular expression matching for object names by using the use_regexp_matching config option. By default, regular expression matching will only be used in object names that contain the *** and *?* wildcard characters.) Glad that's over with. Maybe this will prove useful to others. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Thu Jul 26 02:31:42 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Wed, 25 Jul 2007 17:31:42 -0700 Subject: question on "nagios->rrdtool->cacti" process In-Reply-To: <2b7af7c40707251050t4aa6c2a7sd327f9e1ce9b52f5@mail.gmail.com> References: <2b7af7c40707251050t4aa6c2a7sd327f9e1ce9b52f5@mail.gmail.com> Message-ID: <2b7af7c40707251731g3e92c51at47f1f1c25b895a49@mail.gmail.com> On 7/25/07, Rogelio Bastardo wrote: > I'm trying to wrap my mind around how Nagios and Cacti "integrate" > (or, more specifically, how I can pipe Nagios output to rrdtool and > then have Cacti poll that rrd database). Both Nagios and Cacti are > installed ok, and now I'm trying to get n2rrd properly installed and > "gluing" together the two programs. I actually found out the piece I need to work on. From here on out, it looks like a Cacti problem. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Thu Jul 26 06:36:36 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Wed, 25 Jul 2007 21:36:36 -0700 Subject: Notifications Message-ID: <2402BA0C1F52594E8E271233F62EB6A903EA9472@repbex02.amer.bea.com> Hi, I am using Nagios for past couple of months. Now I need to do the following configuration- There is a set of machines for which I want a particular person to be notified in case any of those machines goes up or down. I thought I would make a hostgroup of those machines and put that in the contacts.cfg as a parameter. But after going through the documentation I realized this is not possible. Can you please tell me the best way to achieve this? I would really appreciate any help. Thanks, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Jul 26 07:29:31 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 26 Jul 2007 07:29:31 +0200 (CEST) Subject: Wildcard not working in service escalations ? In-Reply-To: <46A69DEA.4010606@duras.ro> References: <46A69DEA.4010606@duras.ro> Message-ID: On Wed, 25 Jul 2007, Mihai Tanasescu wrote: > define serviceescalation{ > host_name * > service_description Host-UP > first_notification 3 > last_notification 0 > notification_interval 30 > contact_groups admins,managers > } > > But when I try to start nagios it says: > > Error: Could not find any host matching '*' > Error: Could not expand hostgroups and/or hosts specified in service > escalation (config file '/usr/local/etc/nagios/escalations.cfg', > starting on line 2) > > If instead of host_name * I specify a certain host out of the ones I'm > monitoring, everything works alright. > > The nagios I'm running is 2.9.1 and after googling a bit I saw that it > should support wildcards here. > > I have use_regexp_matching=1 enabled in nagios.cfg (and regexps work for > everything except the escalations). If you insist on using regex in the config I tink you should use them. The character * all by itself is not valid as regex. So you need to change it to .* instead to be a proper regex. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.gerbec at agenda.si Thu Jul 26 09:48:53 2007 From: david.gerbec at agenda.si (David Gerbec) Date: Thu, 26 Jul 2007 09:48:53 +0200 Subject: Notifications In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903EA9472@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903EA9472@repbex02.amer.bea.com> Message-ID: <46A851E5.8060109@agenda.si> Hello Lalita! The easiest way to do this imo, is to create a new contact group with and add this person to that group. Then add the contact group to the services / hosts in your hosts / services config files: define host { host_name somehost alias somehost address 172.xx.xx.xx use generic-host check_command check-host-alive event_handler process-service-perfdata notification_interval 10 notification_period 24x7 contact_groups regular-support,particular-person parents riverstone.agenda.si } Hope that helps! Regards, David Gerbec Agenda Open Systems [www.agenda.si] Lalita Drolia pravi: > > > Hi, > > I am using Nagios for past couple of months. > > Now I need to do the following configuration- > > There is a set of machines for which I want a particular person to be > notified in case any of those machines goes up or down. > > I thought I would make a hostgroup of those machines and put that in the > contacts.cfg as a parameter. > > But after going through the documentation I realized this is not possible. > > > > Can you please tell me the best way to achieve this? > > I would really appreciate any help. > > > > Thanks, > > Lalita > > > > > > > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the individual > or entity named in this message. If you are not the intended recipient, > and have received this message in error, please immediately return this > by email and then delete it. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Thu Jul 26 10:02:01 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 26 Jul 2007 01:02:01 -0700 Subject: Notifications In-Reply-To: <46A851E5.8060109@agenda.si> References: <2402BA0C1F52594E8E271233F62EB6A903EA9472@repbex02.amer.bea.com> <46A851E5.8060109@agenda.si> Message-ID: <2402BA0C1F52594E8E271233F62EB6A903EA9621@repbex02.amer.bea.com> David, Thank you for my help. But this will not help me exactly. I am aware of ths fact that in hosts.cfg I can specify the person I want the mail to rech to. I want to achive this task in hostgroups.cfg which I guess is not possible.I want this particular-person to receive mails for a group of machines. And I am not checking for any services on these machines. The person just wants to know if the machines are up/down. I hope I have made myself clear. Kindly help. Thanks again, lalita -----Original Message----- From: David Gerbec [mailto:david.gerbec at agenda.si] Sent: Thursday, July 26, 2007 1:19 PM To: Lalita Drolia Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notifications Hello Lalita! The easiest way to do this imo, is to create a new contact group with and add this person to that group. Then add the contact group to the services / hosts in your hosts / services config files: define host { host_name somehost alias somehost address 172.xx.xx.xx use generic-host check_command check-host-alive event_handler process-service-perfdata notification_interval 10 notification_period 24x7 contact_groups regular-support,particular-person parents riverstone.agenda.si } Hope that helps! Regards, David Gerbec Agenda Open Systems [www.agenda.si] Lalita Drolia pravi: > > > Hi, > > I am using Nagios for past couple of months. > > Now I need to do the following configuration- > > There is a set of machines for which I want a particular person to be > notified in case any of those machines goes up or down. > > I thought I would make a hostgroup of those machines and put that in the > contacts.cfg as a parameter. > > But after going through the documentation I realized this is not possible. > > > > Can you please tell me the best way to achieve this? > > I would really appreciate any help. > > > > Thanks, > > Lalita > > > > > > > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the individual > or entity named in this message. If you are not the intended recipient, > and have received this message in error, please immediately return this > by email and then delete it. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.kraus at rz.uni-augsburg.de Thu Jul 26 10:32:24 2007 From: daniel.kraus at rz.uni-augsburg.de (Daniel Kraus) Date: Thu, 26 Jul 2007 10:32:24 +0200 Subject: Notifications In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903EA9621@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903EA9472@repbex02.amer.bea.com> <46A851E5.8060109@agenda.si> <2402BA0C1F52594E8E271233F62EB6A903EA9621@repbex02.amer.bea.com> Message-ID: <46A85C18.7080903@rz.uni-augsburg.de> Hello Lalita, I also don't know a possibility to realize this in hostgroups.cfg. But you could create a host-template and add there your contact-group. All machines you want notifications for must use this template. host-template: define host{ name my-generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 10 notification_interval 0 notification_period 24x7 notification_options d,u,r contact_groups HERE YOUR CONTACTGROUP register 0 } host: define host{ use my-generic-host host_name my-host alias my-host address 192.168.1.1 } I hope this will help you! Regards, Daniel Kraus ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Thu Jul 26 15:14:15 2007 From: sujith.linux at gmail.com (sujith h) Date: Thu, 26 Jul 2007 18:44:15 +0530 Subject: check_snmp_storage.pl doubt Message-ID: Hi , My name is Sujith. Am using nagios for our network monitoring. I am using Ubuntu(dapper) in our PC. And I had tested the check_smtp_storage.pl to monitor the diskspace in the PC. It works fine. But when I copied the exact file to other PC which runs Ubuntu in it and i had installed a package called lbsnmp-perl, snmp and snmpd. When I execute the script: ./check_snmp_storage -H 127.0.0.1 -C public -m / -w 80 -c 90 -v am getting error as: ERROR: Description/Type table : Requested table is empty or does not exist. Can anyone help me why is it so? Cheers, Sujith Haridaasan -- ?????? ??????? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Thu Jul 26 15:54:01 2007 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Thu, 26 Jul 2007 09:54:01 -0400 Subject: check_snmp_storage.pl doubt In-Reply-To: References: Message-ID: <2274b9c30707260654h7e331703qaca3172516245d1e@mail.gmail.com> try check_snmp_storage.pl -H host -C community -q FixedDisk -m / -r -w 80 -c 90 since storage can monitor ram,swap,disk,flash memory, cd, floppys, etc you must specify which type of media, and if you only want '/' you need -r check_snmp_storage -H host -C community -q FixedDisk On 7/26/07, sujith h wrote: > Hi , > > My name is Sujith. Am using nagios for our network monitoring. > I am using Ubuntu(dapper) in our PC. And I had tested the > check_smtp_storage.pl to monitor the diskspace in the PC. > It works fine. But when I copied the exact file to other PC > which runs Ubuntu in it and i had installed a package called > lbsnmp-perl, snmp and snmpd. When I execute the script: > > ./check_snmp_storage -H 127.0.0.1 -C public -m / -w 80 -c 90 -v > > am getting error as: > > ERROR: Description/Type table : Requested table is empty or does not exist. > > Can anyone help me why is it so? > > Cheers, > > Sujith Haridaasan > > > -- > ?????? ??????? > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Thu Jul 26 16:26:14 2007 From: aaron.segura at cabelas.com (Rev. Dr. Aaron M. Segura) Date: Thu, 26 Jul 2007 08:26:14 -0600 Subject: check_snmp_storage.pl doubt In-Reply-To: References: Message-ID: <1185459974.28516.4.camel@asegura.cabelas.com> Why are you using snmp to monitor a local resource? Just use check_disk. It comes as one of the standard nagios-plugins. On Thu, 2007-07-26 at 18:44 +0530, sujith h wrote: > Hi , > > My name is Sujith. Am using nagios for our network monitoring. > I am using Ubuntu(dapper) in our PC. And I had tested the > check_smtp_storage.pl to monitor the diskspace in the PC. > It works fine. But when I copied the exact file to other PC > which runs Ubuntu in it and i had installed a package called > lbsnmp-perl, snmp and snmpd. When I execute the script: > > ./check_snmp_storage -H 127.0.0.1 -C public -m / -w 80 -c 90 -v > > am getting error as: > > ERROR: Description/Type table : Requested table is empty or does not > exist. > > Can anyone help me why is it so? > > Cheers, > > Sujith Haridaasan > > > -- > ?????? ??????? > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Thu Jul 26 19:43:32 2007 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Thu, 26 Jul 2007 13:43:32 -0400 Subject: nagiosgraph restart, aggregate.cgi Message-ID: <7f62d2420707261043o5be4528eg2341e7f16ffee359@mail.gmail.com> I had a linux-based nagios 2.9 install with nagiosgraph 0.8. The server recently shutdown and upon startup, while nagios ran fine and nagiosgraph.log and perdata.log both show the correct type of activity, new graphs simply weren't generated after startup. The classic: "Illegal attempt to update" message goes into the log. I took this to be just a warning that one of the epoch values is incorrect. I base this assumption on the fact that higher level debug shows RRD inserts. I tried running insert.pl manually, moving the RRDs aside to make new ones but still couldn't get the graphs generated so I backed up my setup and upgraded to nagiosgraph 0.9. Now I am generating graphs however nagiosgraph-0.9 has an update.pl which moves the RRDs into hostname subdirectories. I installed aggregate.cgi with the previous version to create a single webpage with all the graphs and this no longer works due to the RRD format or location. Does anyone have a patch or newer version of aggregate.cgi (http://www.nebrwesleyan.edu/people/stpierre/aggregate.cgi) Also, I notice that the perfdata.log file seems to get rolled on its own every few minutes and running nagiosgraph with warning-level debugs produces a warning "perfdata not recognized". I presume these two events are related. Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jplatter at vortexit.net Thu Jul 26 21:47:01 2007 From: jplatter at vortexit.net (Jeff Platter) Date: Thu, 26 Jul 2007 15:47:01 -0400 Subject: Monitoring multiple windows clients behind a firewall Message-ID: <025701c7cfbd$bc824110$3586c330$@net> I have a Nagios server setup at my office running version 3.0a5 on centos 4. I have a small client that I would like to monitor their workstations from my Nagios server. They have a small network with five windows workstations and one network printer behind a Linksys router and dsl internet connection. I have been able to setup NSClient++ to work on local windows machines for monitoring but I am not sure how to set it up to work at a remote site with this sort of configuration. I don't have the ability to setup a linux box at the client site to monitor these machines and report back to my main server. Is there any way that I can have one of the windows machines act as a NRPE server and have it check the other boxes or have the other boxes report back to it and then it report back to my main server? Or can I just have all the machines report back directly to my main server? Thanks, -Jeff -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From szhang at 8x8.com Thu Jul 26 23:11:09 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Thu, 26 Jul 2007 14:11:09 -0700 Subject: host problem In-Reply-To: References: Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Jul 26 23:49:39 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 26 Jul 2007 17:49:39 -0400 Subject: host problem In-Reply-To: References: Message-ID: From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Siwei Zhang Sent: Thursday, July 26, 2007 2:11 PM To: nagios-users Subject: [Nagios-users] host problem Hi there, I am using Nagios2.3.1. One of our hosts only show up in the Web GUI intermittently. Did anyone else encounter this problem before? Yep. Shut down Nagios, and use the ps command to make sure all instances are fully stopped. Then restart it. You have two running. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benk at aweber.com Fri Jul 27 00:34:50 2007 From: benk at aweber.com (Benjamin Krein) Date: Thu, 26 Jul 2007 18:34:50 -0400 Subject: Forcing recovery notifications to email only Message-ID: <46A9218A.9000703@aweber.com> I have setup my contacts file such that each contact has 3 definitions. The entire contacts file is generated by an external script that pulls from a DB so that we can rotate pager duty. The following contact definitions are setup for each contact: 1. Default contact (may be either email-only or email + epager depending on where the person is in the rotation) define contact{ use tpl_dev_contacts contact_name benk alias Ben Krein contactgroups admins service_notification_commands notify-by-email, notify-by-epager host_notification_commands host-notify-by-email, host-notify-by-epager host_notification_options d service_notification_options c email benk at example.com pager 1234567890 at cellphone.com } 2. Contact for email-only notifications define contact{ use tpl_dev_contacts contact_name benk-email alias Ben Krein (email) contactgroups admins-email service_notification_commands notify-by-email host_notification_commands host-notify-by-email host_notification_options d service_notification_options c email benk at example.com } 3. Recovery contact (recoveries should only go to email) define contact{ use tpl_dev_contacts contact_name benk-recovery alias Ben Krein (recovery) contactgroups admins, admins-email host_notification_options r service_notification_options r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email benk at example.com } However, when Nagios runs & recovers a service/host, the following is displayed in the nagios.log & no notifications are sent for the recovery: ----- [1185479942] Warning: Host recovery notification option for contact 'benk-recovery' doesn't make any sense - specify down and/or unreachable options as well [1185479942] Warning: Service recovery notification option for contact 'benk-recovery' doesn't make any sense - specify critical and/or warning options as well ----- How can I make Nagios only send recoveries to email? Ben ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Jul 27 07:13:44 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Thu, 26 Jul 2007 22:13:44 -0700 Subject: check_mx plugin? Message-ID: <46A97F08.2030504@gmail.com> On various DNS servers, I'd like to make sure that a certain A records remains the 10 record (or, at least, the first deliverable mail server), and then alert me when that changes. Any idea how to do this with Nagios? From what I can tell, the check_dns plugin does not have this functionality. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From augusts at gmail.com Fri Jul 27 07:32:17 2007 From: augusts at gmail.com (August Simonelli) Date: Fri, 27 Jul 2007 15:32:17 +1000 Subject: check_mx plugin? In-Reply-To: <46A97F08.2030504@gmail.com> References: <46A97F08.2030504@gmail.com> Message-ID: <46fa40c10707262232x67667ecfw4b9e68d923d74f00@mail.gmail.com> i think check_dig might start things off ... you can ask a name server for an MX record and specify what you expect in the answer section with the -a flag: check_dig -H SERVER -l cnn.com -T mx -a nycmail1.turner.com so this would expect the string "nycmail1.turner.com" to be in the answer section ... but i can only see how to get the lowest MX record with check_dig so seeing higher MX may require a little extra work ... On 7/27/07, Rogelio Bastardo wrote: > > On various DNS servers, I'd like to make sure that a certain A records > remains the 10 record (or, at least, the first deliverable mail server), > and then alert me when that changes. > > Any idea how to do this with Nagios? From what I can tell, the > check_dns plugin does not have this functionality. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Jul 27 08:31:41 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 27 Jul 2007 02:31:41 -0400 Subject: check_nt In-Reply-To: <20070723184147.GA8536@bewilderbeast.blackhelicopters.org> References: <20070723184147.GA8536@bewilderbeast.blackhelicopters.org> Message-ID: I did change the name of check_nt to check_nc_net about a year ago, However when I posted to the Plugin_developer group a few months ago, they said they did not want to include check_nc_net into the standard plugins and requested that I maintain it on a seperate site, which I am doing, on the official Sourcforge page of NC_NET. the nc_net version of check_nt has a comprehensive help for each command just type check_nt --help to get the basic help on each of the arguments then type check_nt --help=COMMAND where command is the command you want more information on like ENUMCONFIG or INSTANCES the basic procedure for compiling is to just overwrite check_nt.c with content of check_nc_net.c and then run make. If someone has an easier procedure please email it to me at nc_net at montitech.com or post it into the NC_NEt forum hosted on the sourceforge page. I have also been causus of making sure the CLIENTVERSION reports NC_NET instead of check_nt no matter what you name the file. Tony Author of NC_NEt On 7/23/07, Michael W. Lucas wrote: > > nc_net includes its own version of check_nt. > > Personally, I wish they'd change the name... > > -------------------------clipp---------------- > Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org > http://www.BlackHelicopters.org/~mwlucas/ > Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com > On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security > reasons." > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Jul 27 08:55:29 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 27 Jul 2007 02:55:29 -0400 Subject: Netsaint monitoring windows issue Message-ID: Not sure if anyone ever responded to this I recall seing that error but I do not remember exacly what induced it, It should be something simple like Windows Firewall, refusing to allow nagios to access the port to the Windows server you are monitoring. (instead of Windows Firewall, it could be antivirus running on the WIndows Host) I have had episodes of antivirus application breaking and having to go back in and re-enter the application into the accepted list. or had to resetup the port exception. Tony (author of NC_NEt) On 7/16/07, Navdeep Sidhu wrote: > > Hey all > > I'm using NetSaint for monitoring my windows servers resources like HDD, > Memory... > > But on one server, I'm getting connection refused & unable to fetch > information from server. > > I've tried by reinstalling NetSaint service but this didn't help. > > As per my understanding, it tries to make the connection on TCP/1248 > port & moreover no such TCP/IP filtering is there between Nagios box & > this server. > > Did anyone face this issue? > > Regards > Navdeep Singh Sidhu > <<<<>>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sander at pictura-dp.nl Fri Jul 27 09:41:43 2007 From: sander at pictura-dp.nl (Sander Klein) Date: Fri, 27 Jul 2007 09:41:43 +0200 Subject: $HOSTALIAS$ Message-ID: <46A9A1B7.20909@pictura-dp.nl> Hi, when I do the following: define serviceextinfo{ hostgroupname somegroup service_description something notes_url http://somewhere/$HOSTALIAS$ } then $HOSTALIAS$ doesn't get substituted. When I use $HOSTNAME$ it does work. Is this expected behaviour? Regards, Sander ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Fri Jul 27 09:56:10 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Fri, 27 Jul 2007 00:56:10 -0700 Subject: dont want notification when machine reboots Message-ID: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com> Hi, I have nagios configured for our lab here. But the problem I am facing is that every time a user reboots his machine for some practical purposes, We get a down and subsequent up mail. I would not like to receive these mails. But I have not found a way where nagios would wait for 5 minutes after a machine goes down and then send out a notification, Is it possible? Please help, With thanks, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Jul 27 10:23:44 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 27 Jul 2007 09:23:44 +0100 Subject: check_mx plugin? In-Reply-To: <46fa40c10707262232x67667ecfw4b9e68d923d74f00@mail.gmail.com> References: <46A97F08.2030504@gmail.com> <46fa40c10707262232x67667ecfw4b9e68d923d74f00@mail.gmail.com> Message-ID: <46A9AB90.6040504@googlemail.com> writing your own plugin here is the way to go if you can't find anything on nagiosexchange.org, and I think the dig suggestion is a good start. Why would you need to check this though? Shouldn't it be set once and then stay ok after your deploy + test? My records are tested at deploy time and then I just have to check that the dns servers are up which is a more common task. -h Hari Sekhon August Simonelli wrote: > i think check_dig might start things off ... you can ask a name server > for an MX record and specify what you expect in the answer section > with the -a flag: > > check_dig -H SERVER -l cnn.com -T mx -a > nycmail1.turner.com > > so this would expect the string "nycmail1.turner.com > " to be in the answer section ... > > but i can only see how to get the lowest MX record with check_dig so > seeing higher MX may require a little extra work ... > > > > On 7/27/07, *Rogelio Bastardo * > wrote: > > On various DNS servers, I'd like to make sure that a certain A > records > remains the 10 record (or, at least, the first deliverable mail > server), > and then alert me when that changes. > > Any idea how to do this with Nagios? From what I can tell, the > check_dns plugin does not have this functionality. > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Fri Jul 27 13:15:45 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Fri, 27 Jul 2007 07:15:45 -0400 Subject: dont want notification when machine reboots In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com> Message-ID: <2274b9c30707270415l1f4a4c1s31f7b658c62517e7@mail.gmail.com> Have the reboot initiate a send_nsca notification to your nagios server. Write a wrapper for reboot command, edit the alt+ctrl+del marco, the new power management tools should even be able to let you exec something when the power buttons been pressed. --kyle On 7/27/07, Lalita Drolia wrote: > > Hi, > > I have nagios configured for our lab here. But the problem I am facing is > that every time a user reboots his machine for some practical purposes, > > We get a down and subsequent up mail. > > I would not like to receive these mails. > > But I have not found a way where nagios would wait for 5 minutes after a > machine goes down and then send out a notification, > > Is it possible? > > > > Please help, > > With thanks, > > Lalita > > > > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated entities, > that may be confidential, proprietary, copyrighted and/or legally > privileged, and is intended solely for the use of the individual or entity > named in this message. If you are not the intended recipient, and have > received this message in error, please immediately return this by email and > then delete it. > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Fri Jul 27 13:24:21 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Fri, 27 Jul 2007 04:24:21 -0700 Subject: dont want notification when machine reboots In-Reply-To: <2274b9c30707270415l1f4a4c1s31f7b658c62517e7@mail.gmail.com> References: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com> <2274b9c30707270415l1f4a4c1s31f7b658c62517e7@mail.gmail.com> Message-ID: <2402BA0C1F52594E8E271233F62EB6A903EA9DA2@repbex02.amer.bea.com> Kyle, Thank you for your help. But I am not using nsca. In fact I read about it but am not sure what it does. Besides, the other steps that you have suggested are way beyond my technical skills. I am a beginner at this. But have been able to configure nagios for my organization's lab and use it. Is there any other simpler way to solve my problem? Thanks again, Lalita From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf Of Kyle O'Donnell Sent: Friday, July 27, 2007 4:46 PM To: Lalita Drolia Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] dont want notification when machine reboots Have the reboot initiate a send_nsca notification to your nagios server. Write a wrapper for reboot command, edit the alt+ctrl+del marco, the new power management tools should even be able to let you exec something when the power buttons been pressed. --kyle On 7/27/07, Lalita Drolia wrote: Hi, I have nagios configured for our lab here. But the problem I am facing is that every time a user reboots his machine for some practical purposes, We get a down and subsequent up mail. I would not like to receive these mails. But I have not found a way where nagios would wait for 5 minutes after a machine goes down and then send out a notification, Is it possible? Please help, With thanks, Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 14:29:41 2007 From: marc at ena.com (Marc Powell) Date: Fri, 27 Jul 2007 07:29:41 -0500 Subject: $HOSTALIAS$ In-Reply-To: <46A9A1B7.20909@pictura-dp.nl> References: <46A9A1B7.20909@pictura-dp.nl> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sander Klein > Sent: Friday, July 27, 2007 2:42 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] $HOSTALIAS$ > > Hi, > > when I do the following: > > define serviceextinfo{ > hostgroupname somegroup > service_description something > notes_url http://somewhere/$HOSTALIAS$ > } > > then $HOSTALIAS$ doesn't get substituted. When I use $HOSTNAME$ it does > work. Is this expected behaviour? No, it's not. $HOSTNAME$ shouldn't work. Macros are only supposed to be available within the command_line of a command{} definition and only for the following -- 1. Service checks 2. Service notifications 3. Host checks 4. Host notifications 5. Service event handlers and/or a global service event handler 6. Host event handlers and/or a global host event handler 7. OCSP command 8. OCHP command 9. Service performance data commands 10. Host performance data commands If that$HOSTNAME$ substitution is working now I'd say you've encountered a convenient bug. Based on my possibly outdated understanding of the program flow it shouldn't be working. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 14:32:24 2007 From: marc at ena.com (Marc Powell) Date: Fri, 27 Jul 2007 07:32:24 -0500 Subject: dont want notification when machine reboots In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Friday, July 27, 2007 2:56 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] dont want notification when machine reboots > > Hi, > > I have nagios configured for our lab here. But the problem I am facing is > that every time a user reboots his machine for some practical purposes, > > We get a down and subsequent up mail. > > I would not like to receive these mails. > > But I have not found a way where nagios would wait for 5 minutes after a > machine goes down and then send out a notification, > > Is it possible? Don't perform host checks for those hosts. Add a PING service check. Set the retry_check_interval for services on that host to 5 minutes set max check attempts to 2. I think that'll do it for you. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.munyak at gmail.com Fri Jul 27 15:01:25 2007 From: don.munyak at gmail.com (Don Munyak) Date: Fri, 27 Jul 2007 09:01:25 -0400 Subject: nagios pop up feature? In-Reply-To: <4694B633.8090505@googlemail.com> References: <461188.62113.qm@web52009.mail.re2.yahoo.com> <20070710123244.DF2BB4F4045@desire.netways.de> <46937E73.2050601@googlemail.com> <88ad29240707110308l21bb32d2wcac8c3228378557d@mail.gmail.com> <4694B633.8090505@googlemail.com> Message-ID: <6207f7d90707270601w298fa0fdr7416879d8d86f5b@mail.gmail.com> On 7/11/07, Hari Sekhon wrote: > yes that is what I did for important services and it works. > you do have to maintain the windows host list mapping for this to work. > > -h > Hari Sekhon > moshe sharon wrote: > > Hello > > > > its is also possbile to do this with notifications and smblcient -M ( > > which sends win pop up messages across windows network) you only need > > to set appropriate hosts file > > > > Moshe Sharon Would/could someone please give some additional information regarding this solution. Am I correct in assuming that: - the smbclient would require having samba installed on the Nagios server. - the notification would be a command in a cfg file, for smbclient -M Thanks Don ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Jul 27 15:08:19 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 27 Jul 2007 14:08:19 +0100 Subject: nagios pop up feature? In-Reply-To: <6207f7d90707270601w298fa0fdr7416879d8d86f5b@mail.gmail.com> References: <461188.62113.qm@web52009.mail.re2.yahoo.com> <20070710123244.DF2BB4F4045@desire.netways.de> <46937E73.2050601@googlemail.com> <88ad29240707110308l21bb32d2wcac8c3228378557d@mail.gmail.com> <4694B633.8090505@googlemail.com> <6207f7d90707270601w298fa0fdr7416879d8d86f5b@mail.gmail.com> Message-ID: <46A9EE43.506@googlemail.com> yes that is exactly correct. smbclient -M hostname <<< "message" as your notification command. obvious make "message" contain all the macros and info you want" -h Hari Sekhon Don Munyak wrote: > Would/could someone please give some additional information regarding > this solution. > > Am I correct in assuming that: > - the smbclient would require having samba installed on the Nagios server. > - the notification would be a command in a cfg file, for smbclient -M > > Thanks > Don > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jplatter at vortexit.net Fri Jul 27 16:18:41 2007 From: jplatter at vortexit.net (Jeff Platter) Date: Fri, 27 Jul 2007 10:18:41 -0400 Subject: Monitoring multiple windows clients behind a firewall In-Reply-To: <46A982E8.5020707@outbackwifi.com> References: <025701c7cfbd$bc824110$3586c330$@net> <46A982E8.5020707@outbackwifi.com> Message-ID: <034f01c7d059$0935b550$1ba11ff0$@net> Thanks for the reply. How would I go about configuring the NSC.ini file to report back to the nagios server? And then I'm not totally sure I understand how to setup the host config file on the server itself. Do I use the external IP of all the machines in the config file on the server? Or do I not put IP information in the file and just set the hosts up for passive mode? And what kind of configuration do I have to do to the NSC.ini file to get the windows client to report back to the main server? Thnx -Jeff From: Shivkumar [mailto:shivkumar at outbackwifi.com] Sent: Friday, July 27, 2007 1:30 AM To: Jeff Platter Subject: Re: [Nagios-users] Monitoring multiple windows clients behind a firewall Jeff Platter said the following: Or can I just have all the machines report back directly to my main server? Hi, This looks like the best option given the circumstances. Only thing to be taken care of is that you have to allow the NSClient as an exception in all the Machines' Windows Firewall Settings. If your router/firewall has outgoing filtering enabled, also create exceptions for the NSclient requests. Regards, Shiv -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at lotame.com Fri Jul 27 17:58:29 2007 From: rob at lotame.com (Rob Hamilton) Date: Fri, 27 Jul 2007 11:58:29 -0400 Subject: Need help with check_http Message-ID: The check_http plugin doesn't seem to be catching critical events and connection refused events: Localhost.cfg define service{ use local-service ; Name of service template to use host_name app3, app4, app5, app6, app7, app8, app9, app10, service_description CC_PIXEL check_command check_pixel } Commands.cfg # 'check_pixel' command definition define command{ command_name check_pixel command_line $USER1$/check_http -e OK -H -I $HOSTADDRESS$ -u } When apache is off, I get a "Connection refused" in the status information, but the nagios status for the defined service is "OK" When apache is up and the app server is down, I get "HTTP CRITICAL - Invalid HTTP response received from host " in the status information, but the nagios status for the defined service is "OK" When I run check_http from the command line manually, I can confirm that I'm receiving correct status information back and the expect string of "OK" isn't in the response. What am I missing? Thanks, -Rob The information transmitted in this email is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and permanently delete the email from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 18:27:39 2007 From: marc at ena.com (Marc Powell) Date: Fri, 27 Jul 2007 11:27:39 -0500 Subject: Need help with check_http In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rob Hamilton > Sent: Friday, July 27, 2007 10:58 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Need help with check_http > > > > The check_http plugin doesn't seem to be catching critical events and > connection refused events: > When apache is off, I get a "Connection refused" in the status > information, but the nagios status for the defined service is "OK" > > > > When apache is up and the app server is down, I get "HTTP CRITICAL - > Invalid HTTP response received from host " in the status information, but > the nagios status for the defined service is "OK" > > > > When I run check_http from the command line manually, I can confirm that > I'm receiving correct status information back and the expect string of > "OK" isn't in the response. > > > > What am I missing? The nagios status is not derived from the text output but rather the exit code of the plugin. When testing from the command line, use 'echo $?' to verify the exit code of the plugin. 0 = OK, 1 = Warning, 2 = Critical. The symptoms you are reporting indicate that the exit code isn't being set properly or isn't being seen by nagios properly. I've confirmed that it should work as specified by you, at least with a slightly older version of check_http. Are you seeing the proper exit code from the plugin? -- $ ./check_http -e OK -H www.somehost.com -I myip.address -u /foo Invalid HTTP response received from host $ echo $? 2 $ ./check_http -e OK -H www.somehost.com -I myip.address -u /foo Connection refused Unable to open TCP socket $ echo $? 2 $ ./check_http -V check_http (nagios-plugins 1.4.3) 1.89 If nagios isn't seeing the exit code properly, that would be a rather unique situation. I can't recall seeing that before. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From szhang at 8x8.com Fri Jul 27 19:07:30 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Fri, 27 Jul 2007 10:07:30 -0700 Subject: host problem In-Reply-To: References: Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Jul 27 19:33:38 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Fri, 27 Jul 2007 10:33:38 -0700 Subject: Nagios stopped alerting (and not sure why) Message-ID: <2b7af7c40707271033g4c69cc99pe81ea12cab872366@mail.gmail.com> In some way, shape, or form, Nagios is not alerting me about down hosts. I suspect that someone toggled something in the http://box/nagios web GUI, but I looked around and don't see anything that could have changed. The cfg files are the same as I left them. Any ideas on what might have changed? Roger ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benk at aweber.com Fri Jul 27 19:40:11 2007 From: benk at aweber.com (Benjamin Krein) Date: Fri, 27 Jul 2007 13:40:11 -0400 Subject: Forcing recovery notifications to email only In-Reply-To: <46A9218A.9000703@aweber.com> References: <46A9218A.9000703@aweber.com> Message-ID: <46AA2DFB.3070202@aweber.com> For the sake of others who may care... I fixed this by making the *-recovery contacts the default contacts which get added to the admins contactgroup. These contacts get notifications for [d|c],[u|r] for hosts/services. In addition, I only make paging contacts for those who are on pager duty and also add them to the admins contactgroup. The paging contacts only get notifications for [d|c] for hosts/services. Ben Benjamin Krein wrote: > I have setup my contacts file such that each contact has 3 definitions. > The entire contacts file is generated by an external script that pulls > from a DB so that we can rotate pager duty. The following contact > definitions are setup for each contact: > > 1. Default contact (may be either email-only or email + epager depending > on where the person is in the rotation) > > define contact{ > use tpl_dev_contacts > contact_name benk > alias Ben Krein > contactgroups admins > service_notification_commands notify-by-email, notify-by-epager > host_notification_commands host-notify-by-email, > host-notify-by-epager > host_notification_options d > service_notification_options c > email benk at example.com > pager 1234567890 at cellphone.com > } > > 2. Contact for email-only notifications > > define contact{ > use tpl_dev_contacts > contact_name benk-email > alias Ben Krein (email) > contactgroups admins-email > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > host_notification_options d > service_notification_options c > email benk at example.com > } > > 3. Recovery contact (recoveries should only go to email) > > define contact{ > use tpl_dev_contacts > contact_name benk-recovery > alias Ben Krein (recovery) > contactgroups admins, admins-email > host_notification_options r > service_notification_options r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email benk at example.com > } > > However, when Nagios runs & recovers a service/host, the following is > displayed in the nagios.log & no notifications are sent for the recovery: > > ----- > [1185479942] Warning: Host recovery notification option for contact > 'benk-recovery' doesn't make any sense - specify down and/or unreachable > options as well > [1185479942] Warning: Service recovery notification option for contact > 'benk-recovery' doesn't make any sense - specify critical and/or warning > options as well > ----- > > How can I make Nagios only send recoveries to email? > > Ben > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reed at reedmedia.net Fri Jul 27 19:42:01 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Fri, 27 Jul 2007 12:42:01 -0500 (CDT) Subject: Nagios stopped alerting (and not sure why) In-Reply-To: <2b7af7c40707271033g4c69cc99pe81ea12cab872366@mail.gmail.com> References: <2b7af7c40707271033g4c69cc99pe81ea12cab872366@mail.gmail.com> Message-ID: On Fri, 27 Jul 2007, Rogelio Bastardo wrote: > In some way, shape, or form, Nagios is not alerting me about down > hosts. I suspect that someone toggled something in the > http://box/nagios web GUI, but I looked around and don't see anything > that could have changed. > > The cfg files are the same as I left them. > > Any ideas on what might have changed? If your alerts are done via email, then check your mail logs. Jeremy C. Reed ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dani at tydnet.org Fri Jul 27 19:50:30 2007 From: dani at tydnet.org (Dani) Date: Fri, 27 Jul 2007 19:50:30 +0200 Subject: dont want notification when machine reboots In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com> Message-ID: <200707271950.31038.dani@tydnet.org> A Divendres 27 Juliol 2007, Lalita Drolia va escriure: > Hi, Hi Lalita, > I have nagios configured for our lab here. But the problem I am > facing is that every time a user reboots his machine for some > practical purposes, We get a down and subsequent up mail. > I would not like to receive these mails. > But I have not found a way where nagios would wait for 5 minutes > after a machine goes down and then send out a notification, > > Is it possible? > Well, I think this is the normal behaviour for Nagios, to alert you when something goes wrong... Maybe your users could "schedule a downtime" for this when they want to reboot the machine. Besides, this machine is offering services? Wouldn't you like to know when thereis a downtime for this machine? greetings, Dani ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Jul 27 19:54:08 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 27 Jul 2007 18:54:08 +0100 Subject: Netsaint monitoring windows issue In-Reply-To: References: Message-ID: <765d77c80707271054v42fb1f08wa81fdb0865242d4e@mail.gmail.com> On 27/07/07, Anthony Montibello wrote: > Not sure if anyone ever responded to this I don't recall seeing it either, but now you come to mention it there is sometimes a problem if the Windows server is running MS-Exchange server which also sometimes uses port 1248. Using NC_Net, I often configure it to use a higher port number to avoid that problem. I notice that NSClient++ uses port 12489 for the same reason. I don't want to get in to an argument about whether NC_Net is better than NSClient++, but my advice would be to use port 12489 whether you're using NSClient, NC_Net or NSClient++ then you can pick whichever client is best for whatever you need without needing to redefine your commands to use different port numbers. I use a mixture of all three at the moment for various reasons, and use ports 1248, 3789 and 12489 depending on when I installed the client! One day, I'll get around to moving everything to 12489 which will make my service and command config files somewhat tidier. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at lotame.com Fri Jul 27 19:57:24 2007 From: rob at lotame.com (Rob Hamilton) Date: Fri, 27 Jul 2007 13:57:24 -0400 Subject: Need help with check_http In-Reply-To: References: Message-ID: Hey Mark, Thanks for the great response. My nagios check_http plugin seems to be a bit newer than yours. I'm using Nagios V2.9 with what appears to be newer plugins. [root at hydra libexec]# ./check_http -V check_http (nagios-plugins 1.4.9) 1.104 Here are the test cases. All exit codes look to be correct on command completion (0,2,2 respectively), but when I use the echo $? command - they are all zeros (see below). Cases below... Thanks, -Rob Case: Apache up, JBoss up [root at hydra libexec]# ./check_http -e OK -H -I app10 -u [1] 4332 [root at hydra libexec]# HTTP OK HTTP/1.1 200 OK - 609 bytes in 0.134 seconds |time=0.134439s;;;0.000000 size=609B;;;0 [1]+ Done ./check_http -e OK -H -I app10 -u [root at hydra libexec]# echo $? 0 Case: Apache down, JBoss up [root at hydra libexec]# ./check_http -e OK -H -I app10 -u [1] 4411 [root at hydra libexec]# Connection refused HTTP CRITICAL - Unable to open TCP socket [1]+ Exit 2 ./check_http -e OK -H -I app10 -u [root at hydra libexec]# echo $? 0 Case: Apache up, JBoss down [root at hydra libexec]# ./check_http -e OK -H -I app10 -u [1] 4431 [root at hydra libexec]# HTTP CRITICAL - Invalid HTTP response received from host [1]+ Exit 2 ./check_http -e OK -H -I app10 -u [root at hydra libexec]# echo $? 0 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, July 27, 2007 12:28 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Need help with check_http > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rob Hamilton > Sent: Friday, July 27, 2007 10:58 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Need help with check_http > > > > The check_http plugin doesn't seem to be catching critical events and > connection refused events: > When apache is off, I get a "Connection refused" in the status > information, but the nagios status for the defined service is "OK" > > > > When apache is up and the app server is down, I get "HTTP CRITICAL - > Invalid HTTP response received from host " in the status information, but > the nagios status for the defined service is "OK" > > > > When I run check_http from the command line manually, I can confirm that > I'm receiving correct status information back and the expect string of > "OK" isn't in the response. > > > > What am I missing? The nagios status is not derived from the text output but rather the exit code of the plugin. When testing from the command line, use 'echo $?' to verify the exit code of the plugin. 0 = OK, 1 = Warning, 2 = Critical. The symptoms you are reporting indicate that the exit code isn't being set properly or isn't being seen by nagios properly. I've confirmed that it should work as specified by you, at least with a slightly older version of check_http. Are you seeing the proper exit code from the plugin? -- $ ./check_http -e OK -H www.somehost.com -I myip.address -u /foo Invalid HTTP response received from host $ echo $? 2 $ ./check_http -e OK -H www.somehost.com -I myip.address -u /foo Connection refused Unable to open TCP socket $ echo $? 2 $ ./check_http -V check_http (nagios-plugins 1.4.3) 1.89 If nagios isn't seeing the exit code properly, that would be a rather unique situation. I can't recall seeing that before. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information transmitted in this email is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and permanently delete the email from any computer. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Jul 27 19:59:09 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Fri, 27 Jul 2007 10:59:09 -0700 Subject: Nagios stopped alerting (and not sure why) In-Reply-To: References: <2b7af7c40707271033g4c69cc99pe81ea12cab872366@mail.gmail.com> Message-ID: <2b7af7c40707271059j15e414a6n578eac059fd0b651@mail.gmail.com> > If your alerts are done via email, then check your mail logs. They are. I ran "tail /var/log/maillog" and see that the last email was sent over a week ago. Any idea of what might have gotten changed on the web GUI level? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Jul 27 20:01:52 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Fri, 27 Jul 2007 11:01:52 -0700 Subject: check_mx plugin? In-Reply-To: <46A9AB90.6040504@googlemail.com> References: <46A97F08.2030504@gmail.com> <46fa40c10707262232x67667ecfw4b9e68d923d74f00@mail.gmail.com> <46A9AB90.6040504@googlemail.com> Message-ID: <2b7af7c40707271101n5b495a41v7ca823e3097eb821@mail.gmail.com> > Why would you need to check this though? I'm thinking of providing a service of using Postfix to provide MX backups. I'd like to make sure that I am *not* their primary MX record. I want to be a backup, not the main gateway for a company's email. Also, when people have problems, this would let me look (on one screen) and see who didn't configure their MX records right. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Jul 27 20:03:34 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 27 Jul 2007 19:03:34 +0100 Subject: dont want notification when machine reboots In-Reply-To: <200707271950.31038.dani@tydnet.org> References: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com> <200707271950.31038.dani@tydnet.org> Message-ID: <765d77c80707271103h1f463c5eu3367eeb75e2d4c73@mail.gmail.com> I've been having a similar problem and have thought about the solution but haven't gotten around to implementing it yet. Mark Powell's suggestion to rely on the service check notification is absolutely right when you want to ignore brief bounces or lost pings. I'm going to do just that, but I will still have a host notification enabled too... I'll configure things so that the on-call engineers get the ping service notification rather than the host notification - they don't want to know about servers briefly bounced. The host notifications I'll send only to me by email so I will know the next day which servers have bounced overnight. I'm hoping that will bring me the best of both worlds. Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 20:21:06 2007 From: marc at ena.com (Marc Powell) Date: Fri, 27 Jul 2007 13:21:06 -0500 Subject: Need help with check_http In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rob Hamilton > Sent: Friday, July 27, 2007 12:57 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Need help with check_http > > Hey Mark, > > Thanks for the great response. > > My nagios check_http plugin seems to be a bit newer than yours. I'm > using Nagios V2.9 with what appears to be newer plugins. > > [root at hydra libexec]# ./check_http -V > check_http (nagios-plugins 1.4.9) 1.104 > > > Here are the test cases. All exit codes look to be correct on command > completion (0,2,2 respectively), but when I use the echo $? command - > they are all zeros (see below). > > Cases below... > > Thanks, > > -Rob > > Case: Apache up, JBoss up > > [root at hydra libexec]# ./check_http -e OK -H -I app10 -u > > [1] 4332 > [root at hydra libexec]# HTTP OK HTTP/1.1 200 OK - 609 bytes in 0.134 > seconds |time=0.134439s;;;0.000000 size=609B;;;0 > [1]+ Done ./check_http -e OK -H -I > app10 -u > [root at hydra libexec]# echo $? > 0 Yes, it's clear what's going on now... Your testurl contains an '&', doesn't it? This causes the part of the command before the & to be executed as a detached process in the background and the rest is likely just creating shell variable=value environment variables. It's this latter successful variable assignment that's exiting with status code 0. The success or failure of the first part is irrelevant. A simple example is below -- $ echo something1=something&something2=somethingelse [1] 22997 Something1=something [1]+ Done echo something1=something $ echo $? 0 $ echo $something2 somethingelse Using the -v argument to check_http you can see the difference in the GET requests as well. It has a simple solution though: enclose the in quotes in your command definition. If you were testing on the command line you'd use -- ./check_http -e OK -H -I app10 -u "" -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at lotame.com Fri Jul 27 20:56:49 2007 From: rob at lotame.com (Rob Hamilton) Date: Fri, 27 Jul 2007 14:56:49 -0400 Subject: Need help with check_http In-Reply-To: References: Message-ID: What was it ... D'oh! Thanks for the eyeballs Marc... -Rob -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, July 27, 2007 2:21 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Need help with check_http > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rob Hamilton > Sent: Friday, July 27, 2007 12:57 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Need help with check_http > > Hey Mark, > > Thanks for the great response. > > My nagios check_http plugin seems to be a bit newer than yours. I'm > using Nagios V2.9 with what appears to be newer plugins. > > [root at hydra libexec]# ./check_http -V > check_http (nagios-plugins 1.4.9) 1.104 > > > Here are the test cases. All exit codes look to be correct on command > completion (0,2,2 respectively), but when I use the echo $? command - > they are all zeros (see below). > > Cases below... > > Thanks, > > -Rob > > Case: Apache up, JBoss up > > [root at hydra libexec]# ./check_http -e OK -H -I app10 -u > > [1] 4332 > [root at hydra libexec]# HTTP OK HTTP/1.1 200 OK - 609 bytes in 0.134 > seconds |time=0.134439s;;;0.000000 size=609B;;;0 > [1]+ Done ./check_http -e OK -H -I > app10 -u > [root at hydra libexec]# echo $? > 0 Yes, it's clear what's going on now... Your testurl contains an '&', doesn't it? This causes the part of the command before the & to be executed as a detached process in the background and the rest is likely just creating shell variable=value environment variables. It's this latter successful variable assignment that's exiting with status code 0. The success or failure of the first part is irrelevant. A simple example is below -- $ echo something1=something&something2=somethingelse [1] 22997 Something1=something [1]+ Done echo something1=something $ echo $? 0 $ echo $something2 somethingelse Using the -v argument to check_http you can see the difference in the GET requests as well. It has a simple solution though: enclose the in quotes in your command definition. If you were testing on the command line you'd use -- ./check_http -e OK -H -I app10 -u "" -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information transmitted in this email is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and permanently delete the email from any computer. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Jul 28 04:08:19 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 27 Jul 2007 22:08:19 -0400 Subject: Monitoring multiple windows clients behind a firewall In-Reply-To: <025701c7cfbd$bc824110$3586c330$@net> References: <025701c7cfbd$bc824110$3586c330$@net> Message-ID: dear Jeff, how about setting up a VPN tunnel between Nagios and the external network? then via the VPN you will have access to the communicate to the remote hosts. One thing to be carefull of is if the remote host is on a DSL and has a dynamic IP assigned by the ISP, instead of a static IP.(in this case passive checks would most likely be a better solution, unless you use some other script to keep the remote Address updated in the Nagios configuration.) also NC_NEt allows for configuring Passive checks to nagios, these are configured using NSCA (NRPE is used to configure Active checks) Good luck tony (author of NC_NEt) On 7/26/07, Jeff Platter wrote: > > I have a Nagios server setup at my office running version 3.0a5 on centos > 4. I have a small client that I would like to monitor their workstations > from my Nagios server. They have a small network with five windows > workstations and one network printer behind a Linksys router and dsl > internet connection. I have been able to setup NSClient++ to work on local > windows machines for monitoring but I am not sure how to set it up to work > at a remote site with this sort of configuration. I don't have the ability > to setup a linux box at the client site to monitor these machines and report > back to my main server. Is there any way that I can have one of the windows > machines act as a NRPE server and have it check the other boxes or have the > other boxes report back to it and then it report back to my main server? Or > can I just have all the machines report back directly to my main server? > > > > Thanks, > > -Jeff > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* , and is > believed to be clean. > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Jul 28 04:24:48 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 27 Jul 2007 22:24:48 -0400 Subject: Nagios stopped alerting (and not sure why) In-Reply-To: <2b7af7c40707271059j15e414a6n578eac059fd0b651@mail.gmail.com> References: <2b7af7c40707271033g4c69cc99pe81ea12cab872366@mail.gmail.com> <2b7af7c40707271059j15e414a6n578eac059fd0b651@mail.gmail.com> Message-ID: Notification could have been disables, or things may have been put into downtime, but for things that may have been done via the web GUI there should be something saying it on the GUI for example if in downtime or notification turned off on a individual service/system there should be an icon signifying this, Likewise when Nagios Global Notification is disabled it should report this in the little box in the upper left that reports your login username and stuff, thus check the Process Info page and make sure nothing is turned off, Under the REPORTING menu/options, you should be able to see if nagios tried to send notification you can also check many other things through the web GDI Like the Event Log Good Luck Tony (author of NC_NEt) On 7/27/07, Rogelio Bastardo wrote: > > > If your alerts are done via email, then check your mail logs. > > They are. > > I ran "tail /var/log/maillog" and see that the last email was sent > over a week ago. > > Any idea of what might have gotten changed on the web GUI level? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Jul 28 04:39:35 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 27 Jul 2007 22:39:35 -0400 Subject: dont want notification when machine reboots In-Reply-To: <765d77c80707271103h1f463c5eu3367eeb75e2d4c73@mail.gmail.com> References: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com> <200707271950.31038.dani@tydnet.org> <765d77c80707271103h1f463c5eu3367eeb75e2d4c73@mail.gmail.com> Message-ID: IF the machines are rebooted at or between a particular time, then setup DOWNTIME, (potentially setting it up in a script) with downtime, there is both fixed and dynamic, using dynamic I find best resembles a reboot senario; you can set it up so that the downtime will begin within a particular time frame, then after the DURATION the downtime ends, because you proboly would like to know if a machine does not go back up within the a specific timelimit. With Fixed it fairly strait foward between here to here ignore notification rules. Mind Host checks are a burden and sometimes induce a load on the Nagios server, thus the sugestion earlier by Mark Powell is always a good way to reduce some of that Host check load. Good luck, TOny (author of NC_NEt) On 7/27/07, Jim Avery wrote: > > I've been having a similar problem and have thought about the solution > but haven't gotten around to implementing it yet. Mark Powell's > suggestion to rely on the service check notification is absolutely > right when you want to ignore brief bounces or lost pings. I'm going > to do just that, but I will still have a host notification enabled > too... > > I'll configure things so that the on-call engineers get the ping > service notification rather than the host notification - they don't > want to know about servers briefly bounced. The host notifications > I'll send only to me by email so I will know the next day which > servers have bounced overnight. I'm hoping that will bring me the > best of both worlds. > > Cheers, > > Jim > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Sat Jul 28 19:25:09 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Sat, 28 Jul 2007 10:25:09 -0700 Subject: check_mx plugin? In-Reply-To: References: <46A97F08.2030504@gmail.com> <46fa40c10707262232x67667ecfw4b9e68d923d74f00@mail.gmail.com> <46A9AB90.6040504@googlemail.com> <2b7af7c40707271101n5b495a41v7ca823e3097eb821@mail.gmail.com> Message-ID: <46AB7BF5.301@gmail.com> william(at)elan.net wrote: > > You can take a look at below plugin and further rework if you know perl: > http://www.elan.net/~william/nagios/plugins/check_dnsname.pl > this would require new loop to get mx list, check each name and make > specified name/address matches addresses of at one of the names on > mx list as well as specialized test to make sure its not primary MX > when all is done; this really is all pretty easy with just basic > knowledge of perl and documentation for Net:DNS is all online. Very cool, thank you, William. I don't know Perl, but this looks like the perfect opportunity to learn. > As this is commercial service you're planning I gather and its > too specialized a request, I'd not do it free as new additional > feature but you can hire me if you really really want it (would > cost $150-$200 i.e. 1-2 hours of my time). No, not a commercial service, a free service I only offer to certain qualifying nonprofits (i.e. any nonprofit I deem as (a) "cool", (b) not too clingy on my free services). I already provide them Mailman listserv services, jabber services, domain parking, and unlimited email forwarding (to say a gmail account or something). (I'd provide the hosting, but I don't want to have to deal with the support issues). I'd like to provide them a backup when, say, their Small Business Server 2003 box goes down (which it will), and then provide them some sort of email "scrubbing" (e.g. only accept known good AD email addresses, filter for viruses, tag spam) while they're down. But I do *not* want to be the primary MX and have to deal with their support issues (as I'm doing this for free). ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 dugas.cc Sun Jul 29 19:48:02 2007 From: paul at dugas.cc (Paul Dugas) Date: Sun, 29 Jul 2007 13:48:02 -0400 Subject: guest access Message-ID: <1185731282.9311.18.camel@ltpad.localdomain> Been fiddling with this for a while now and am stumped. I figure I'm not the first to want this so before I get a brain cramp I'll ask. I run a couple Nagios server on internal networks and I want internal users to get read access without having to log in. I want a select number of users to be able to login and get higher level access. I've been trying to get the HTTP interface default to the guest account and the HTTPS interface to require a login. My admins and I would use the HTTPS interface while our customers would use the standard HTTP interface. Anybody got something like this going? Perhaps something else that would accomplish the same? Any info would be appreciated. pd -- Paul Dugas, Computer Engineer Dugas Enterprises, LLC paul at dugas.cc phone: 404-932-1355 522 Black Canyon Park http://dugas.cc fax: 866-751-6494 Canton, GA 30114 USA -- This e-mail and any attachments are confidential. If you receive this message in error or are not the intended recipient, you should not retain, distribute, disclose or use any of this information and you should destroy the e-mail and any attachments or copies. -------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Jul 29 21:18:04 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Sun, 29 Jul 2007 20:18:04 +0100 Subject: guest access In-Reply-To: <1185731282.9311.18.camel@ltpad.localdomain> References: <1185731282.9311.18.camel@ltpad.localdomain> Message-ID: <46ACE7EC.9050305@mailnetwork.co.uk> Hi Paul, Are you looking for your read-only users simply to see your host/service statuses without being able to do anything else? If so, this is what Nagios Looking Glass was designed for, and as Nagios moves into v3.0, there are plans to possibly extend this functionality to do other stuff as well, like reporting, and a full management suite. See www.nagioslookingglass.co.uk for more details and to get it. Version 2 of Nagios Looking Glass (due for previews at the end of the year/early next year) will have a complete security model and management dashboard. Regards Andy Paul Dugas wrote: > Been fiddling with this for a while now and am stumped. I figure I'm > not the first to want this so before I get a brain cramp I'll ask. > > I run a couple Nagios server on internal networks and I want internal > users to get read access without having to log in. I want a select > number of users to be able to login and get higher level access. I've > been trying to get the HTTP interface default to the guest account and > the HTTPS interface to require a login. My admins and I would use the > HTTPS interface while our customers would use the standard HTTP > interface. > > Anybody got something like this going? Perhaps something else that > would accomplish the same? Any info would be appreciated. > > pd > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > !DSPAM:37,46acd2fb267728080321068! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:37,46acd2fb267728080321068! > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From H.Patel at rl.ac.uk Sun Jul 29 22:32:54 2007 From: H.Patel at rl.ac.uk (Patel, H (Hiten)) Date: Sun, 29 Jul 2007 21:32:54 +0100 Subject: check_snmp to monitor temperature probes Message-ID: <677CE4DD24B12C4B9FA138534E29FB1D030341BF@exchange11.fed.cclrc.ac.uk> Hi I need to implement monitoring for the set of temperature probes using snmp. I've issued the following command: /usr/local/nagios/libexec/check_snmp -H -o . -w 27 -c 28 -C public And got: SNMP OK - 22 | iso.3.6.1.4.1.17373.2.2.1.5.1=22 How can I implement this in Nagios?. I've only installed Nagios last week so I'm not an expert yet. Many Thanks Hitenl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Mon Jul 30 02:16:19 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Sun, 29 Jul 2007 20:16:19 -0400 Subject: General Questions Message-ID: <7abcf48e0707291716v37861c8ep8b97a97b20580895@mail.gmail.com> I have nagio 2.4 How many hosts can Nagios handle i have 598 hosts i think its freaking out a little ? I dont know if i can add more ? Question how many process can nagios run i have default threshold set to 300 i think it usulally braks this threshold? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From william at elan.net Mon Jul 30 03:20:37 2007 From: william at elan.net (william(at)elan.net) Date: Sun, 29 Jul 2007 18:20:37 -0700 (PDT) Subject: check_snmp to monitor temperature probes In-Reply-To: <677CE4DD24B12C4B9FA138534E29FB1D030341BF@exchange11.fed.cclrc.ac.uk> References: <677CE4DD24B12C4B9FA138534E29FB1D030341BF@exchange11.fed.cclrc.ac.uk> Message-ID: http://william.leibzon.org/nagios/plugins/check_snmp_temperature.pl On Sun, 29 Jul 2007, Patel, H (Hiten) wrote: > Hi > > I need to implement monitoring for the set of temperature probes using snmp. I've issued the following command: > /usr/local/nagios/libexec/check_snmp -H -o . -w 27 -c 28 -C public > > And got: > > SNMP OK - 22 | iso.3.6.1.4.1.17373.2.2.1.5.1=22 > > How can I implement this in Nagios?. I've only installed Nagios last week so I'm not an expert yet. > > Many Thanks > > Hitenl ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Mon Jul 30 03:32:15 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Sun, 29 Jul 2007 18:32:15 -0700 Subject: General Questions In-Reply-To: <7abcf48e0707291716v37861c8ep8b97a97b20580895@mail.gmail.com> References: <7abcf48e0707291716v37861c8ep8b97a97b20580895@mail.gmail.com> Message-ID: <46AD3F9F.9080603@gmail.com> Nedim Bicic wrote: > I have nagio 2.4 > > How many hosts can Nagios handle i have 598 hosts i think its freaking > out a little ? > I dont know if i can add more ? A few questions about your setup. How many services in all are you checking? And how often are you polling these services? Define "freaking out", please. Is it slow? Or is it just taking forever to run your various checks? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Mon Jul 30 03:49:24 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Sun, 29 Jul 2007 21:49:24 -0400 Subject: General Questions In-Reply-To: <46AD3F9F.9080603@gmail.com> References: <7abcf48e0707291716v37861c8ep8b97a97b20580895@mail.gmail.com> <46AD3F9F.9080603@gmail.com> Message-ID: <7abcf48e0707291849v67759b3cw1fe665efb550905c@mail.gmail.com> Well i have 598 hosts and i am using only ping serivce for each host as far as pooling i think its every 30 sec i need to know as soon as something goes down thats why its so low freaking out in terms of i get critical threholds breahes on the local machine, i mean i can always raise it but i wanted to know if that will somehow impact the server of running slow or burning up because its working to hard to be checking so many processes. So if i wanted to know if its save to add more hosts Maybe distributed checking where put another server to be checking for procceses and the other reporting in ( i was reading online) but thats money and effort maybe in near future would have to do On 7/29/07, Rogelio Bastardo wrote: > > Nedim Bicic wrote: > > I have nagio 2.4 > > > > How many hosts can Nagios handle i have 598 hosts i think its freaking > > out a little ? > > I dont know if i can add more ? > > A few questions about your setup. > > How many services in all are you checking? And how often are you polling > these services? > > Define "freaking out", please. Is it slow? Or is it just taking > forever to run your various checks? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Mon Jul 30 07:21:38 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Sun, 29 Jul 2007 22:21:38 -0700 Subject: dont want notification when machine reboots In-Reply-To: References: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com><200707271950.31038.dani@tydnet.org><765d77c80707271103h1f463c5eu3367eeb75e2d4c73@mail.gmail.com> Message-ID: <2402BA0C1F52594E8E271233F62EB6A903F2BDF4@repbex02.amer.bea.com> Setting up downtime will not be possible. As our servers our being used by individual users for testing purposes. And they may reboot the machine in the normal process of their working. Asking them to schedule a downtime would add overhead for them and we would not prefer to do that. So I guess I will have to go with Mark's suggestion if there is no way to delay the notifications. Thank you, Lalita From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Anthony Montibello Sent: Saturday, July 28, 2007 8:10 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] dont want notification when machine reboots IF the machines are rebooted at or between a particular time, then setup DOWNTIME, (potentially setting it up in a script) with downtime, there is both fixed and dynamic, using dynamic I find best resembles a reboot senario; you can set it up so that the downtime will begin within a particular time frame, then after the DURATION the downtime ends, because you proboly would like to know if a machine does not go back up within the a specific timelimit. With Fixed it fairly strait foward between here to here ignore notification rules. Mind Host checks are a burden and sometimes induce a load on the Nagios server, thus the sugestion earlier by Mark Powell is always a good way to reduce some of that Host check load. Good luck, TOny (author of NC_NEt) On 7/27/07, Jim Avery wrote: I've been having a similar problem and have thought about the solution but haven't gotten around to implementing it yet. Mark Powell's suggestion to rely on the service check notification is absolutely right when you want to ignore brief bounces or lost pings. I'm going to do just that, but I will still have a host notification enabled too... I'll configure things so that the on-call engineers get the ping service notification rather than the host notification - they don't want to know about servers briefly bounced. The host notifications I'll send only to me by email so I will know the next day which servers have bounced overnight. I'm hoping that will bring me the best of both worlds. Cheers, Jim ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Jul 30 08:37:15 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 30 Jul 2007 07:37:15 +0100 Subject: dont want notification when machine reboots In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A903F2BDF4@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A903EA9C30@repbex02.amer.bea.com> <200707271950.31038.dani@tydnet.org> <765d77c80707271103h1f463c5eu3367eeb75e2d4c73@mail.gmail.com> <2402BA0C1F52594E8E271233F62EB6A903F2BDF4@repbex02.amer.bea.com> Message-ID: <765d77c80707292337i4db9b8fej4bf48c75ee981e34@mail.gmail.com> On 30/07/07, Lalita Drolia wrote: > > Setting up downtime will not be possible. As our servers our being used by > individual users for testing purposes. And they may reboot the machine in > the normal process of their working. Asking them to schedule a downtime > would add overhead for them and we would not prefer to do that. > > So I guess I will have to go with Mark's suggestion if there is no way to > delay the notifications. I believe Mark's suggestion is absolutely the right one (both for me and for you). However, if you're reluctant to try that for some reason another option would be to have the normal host notifications go to /dev/null, and use escalation to notify after a given period; it would be a messy way to do it but it's another option! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Jul 30 08:47:14 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 30 Jul 2007 07:47:14 +0100 Subject: check_snmp to monitor temperature probes In-Reply-To: <677CE4DD24B12C4B9FA138534E29FB1D030341BF@exchange11.fed.cclrc.ac.uk> References: <677CE4DD24B12C4B9FA138534E29FB1D030341BF@exchange11.fed.cclrc.ac.uk> Message-ID: <765d77c80707292347r489544daxcf05d5d3a519e696@mail.gmail.com> On 29/07/07, Patel, H (Hiten) wrote: > I need to implement monitoring for the set of temperature probes using snmp. > I've issued the following command: > /usr/local/nagios/libexec/check_snmp -H -o > . -w 27 -c 28 -C public > > And got: > > SNMP OK - 22 | iso.3.6.1.4.1.17373.2.2.1.5.1=22 > > How can I implement this in Nagios?. I've only installed Nagios last week so > I'm not an expert yet. The "SNMP OK - 22" is what will appear on-screen in Nagios (presumably that's 22 degrees C!); anything after the | pipe symbol is only used for collecting performance data - typically it is used if you have installed Nagiosgrapher, PNP or suchlike to graph the values you are getting from Nagios. So that command seems to be working fine. For Nagios, you need to set up a command definition, probably in /usr/local/etc/nagios/commands.cfg (depending on where you have your Nagios config files). Then you need to set up a service definition which uses the new command definition you've just set up. See. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html I can heartily recommend Wolfgang Barth's book "Nagios" published by No Starch press if you want a head-start learning how to configure things in Nagios. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barbereau at gmail.com Mon Jul 30 17:41:35 2007 From: barbereau at gmail.com (=?UTF-8?Q?S=C3=A9bastien_Barbereau?=) Date: Mon, 30 Jul 2007 16:41:35 +0100 Subject: guest access In-Reply-To: <1185731282.9311.18.camel@ltpad.localdomain> References: <1185731282.9311.18.camel@ltpad.localdomain> Message-ID: <4e0e33ee0707300841u279f1b9btb143a2f1ab6379f5@mail.gmail.com> Can't you just do this by playing with the apache and nagios configs? I've done this in the past and it was not really a catch the only thing is that you need 2 nagios configurations files: one serving the unauthenticated content with no exec permissions, one with the authenticated content with the exec permissions (this also means that you need two set of cgi scripts reading different nagios config files). Other options is to not use apache native authentication but to create your own apache auth module. This can be done in perl using mod-perl or mod-python. In this case you setup a proper authentication mechanism under apache with a default guest user account to fallback if no proper auth is provided. This is probably nicer and provides more flexibility but is probably more complicated. Some examples of apache authentication modules: perl: apache::authcookie ( http://search.cpan.org/~mschout/Apache-AuthCookie-3.10/lib/Apache2/AuthCookie.pm ) python: http://www.modpython.org/live/current/doc-html/tut-more-complicated.html I've done some code on this here: http://www.barbich.net/websvn/wsvn/nagios/nagios/doc/mod_apache_authentication/?rev=0&sc=0 On 7/29/07, Paul Dugas wrote: > > Been fiddling with this for a while now and am stumped. I figure I'm > not the first to want this so before I get a brain cramp I'll ask. > > I run a couple Nagios server on internal networks and I want internal > users to get read access without having to log in. I want a select > number of users to be able to login and get higher level access. I've > been trying to get the HTTP interface default to the guest account and > the HTTPS interface to require a login. My admins and I would use the > HTTPS interface while our customers would use the standard HTTP > interface. > > Anybody got something like this going? Perhaps something else that > would accomplish the same? Any info would be appreciated. > > pd > -- > Paul Dugas, Computer Engineer Dugas Enterprises, LLC > paul at dugas.cc phone: 404-932-1355 522 Black Canyon Park > http://dugas.cc fax: 866-751-6494 Canton, GA 30114 USA > -- > This e-mail and any attachments are confidential. If you receive > this message in error or are not the intended recipient, you should > not retain, distribute, disclose or use any of this information and > you should destroy the e-mail and any attachments or copies. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Mon Jul 30 19:21:15 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 30 Jul 2007 10:21:15 -0700 Subject: Nagios/n2rrd -> missing template for ping.t Message-ID: <2b7af7c40707301021t7796a7c8p7a22af875b3bb6e@mail.gmail.com> On CentOS 4.5, I have Cacti and Nagios installed. I'm trying to "glue" them together with a program called n2rdd but am having a problem that I wondering is possibly Nagios-related. When I run "tail /var/log/nagios/rra/n2rrd.log", I see lots of this sort of thing: server01: Missing template for "server01" service "check_ping" "/etc/n2rrd/templates/rra/ping.t" I have a ping.t template in that file path, but it's still not working. In fact, I did one exactly like the example in the instructions (step 7, example 1: http://n2rrd.diglinks.com/cgi-bin/trac.cgi/wiki/InstallationGuide) and then I copied that icmp.t template to ping.t Any help would be greatly appreciated. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Mon Jul 30 19:37:25 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 30 Jul 2007 10:37:25 -0700 Subject: check_ping vs check_icmp? Message-ID: <2b7af7c40707301037s55b2d945y6a358790d95dd94e@mail.gmail.com> I just recently noticed that there is a check_ping and a check_icmp plugin. I ran "./check_plugin --help" on each, but am still unclear as to what each does differently. Does check_icmp include traceroute and other non-ping ICMP checks? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Mon Jul 30 19:53:30 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Mon, 30 Jul 2007 19:53:30 +0200 Subject: check_ping vs check_icmp? In-Reply-To: <2b7af7c40707301037s55b2d945y6a358790d95dd94e@mail.gmail.com> References: <2b7af7c40707301037s55b2d945y6a358790d95dd94e@mail.gmail.com> Message-ID: <20070730175330.GA9031796@CIS.FU-Berlin.DE> * Rogelio Bastardo [2007-07-30 10:37]: > I just recently noticed that there is a check_ping and a check_icmp plugin. > > I ran "./check_plugin --help" on each, but am still unclear as to what > each does differently. Unlike check_ping, check_icmp allows for checking multiple hosts at once; the behaviour is more configurable; and it generates performance data output. But the main difference is that check_ping executes the system's ping(1) command and parses its output while check_icmp talks ICMP itself. This usually means that check_icmp must be installed setuid root, but also that its performance is much better. Given that Nagios 2.x holds off on doing anything else while performing host checks, this might be an important advantage. So, if you don't mind installing the plugin setuid root, I'd recommend using check_icmp. > Does check_icmp include traceroute and other non-ping ICMP checks? No. Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 20:22:49 2007 From: marc at ena.com (Marc Powell) Date: Mon, 30 Jul 2007 13:22:49 -0500 Subject: check_ping vs check_icmp? In-Reply-To: <2b7af7c40707301037s55b2d945y6a358790d95dd94e@mail.gmail.com> References: <2b7af7c40707301037s55b2d945y6a358790d95dd94e@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rogelio Bastardo > Sent: Monday, July 30, 2007 12:37 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] check_ping vs check_icmp? > > I just recently noticed that there is a check_ping and a check_icmp > plugin. > > I ran "./check_plugin --help" on each, but am still unclear as to what > each does differently. Does check_icmp include traceroute and other > non-ping ICMP checks? check_ping is a wrapper for /bin/ping and so depends on that program to actually perform the check, parsing it's output to determine success or not. check_icmp performs the check itself. check_icmp is much more efficient than check_ping, typically completing in fractions of a second for 10 pings. Here's a graphic example, 50 pings, 49 seconds for check_ping v.s. 1.2 seconds for check_icmp -- $ time ./check_ping -n 50 -H www.ena.com -w500,50% -c 1000,100% PING OK - Packet loss = 0%, RTA = 1.78 ms real 0m49.197s user 0m0.000s sys 0m0.020s time ./check_icmp -n 50 -H www.ena.com -w500,50% -c 1000,100% OK - www.ena.com: rta 0.40 ms, lost 0%|rta=0.40ms;500;1000;; pl=0%;50;100;; real 0m1.229s user 0m0.530s sys 0m0.700s -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chactuchac10 at yahoo.com.ar Mon Jul 30 22:17:34 2007 From: chactuchac10 at yahoo.com.ar (Guille) Date: Mon, 30 Jul 2007 17:17:34 -0300 (ART) Subject: check_mysql...5 Message-ID: <73462.61765.qm@web56715.mail.re3.yahoo.com> Hello guys, im having trouble with the check_mysql when i change the version of the mysql 4.1.21 to 5.0.x, the plugin start to fail. With the answer: NRPE: Unable to read output Does the Mysql 5 need other plugin? Any suggestion ? Regards! Guille ____________________________________________________________________________________ ?S? un mejor besador! Compart? todo lo que sab?s sobre besos. http://ar.yahoo.com/promos/mejorbesador.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Mon Jul 30 22:57:57 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 30 Jul 2007 13:57:57 -0700 Subject: Nagios/n2rrd -> missing template for ping.t In-Reply-To: <2b7af7c40707301021t7796a7c8p7a22af875b3bb6e@mail.gmail.com> References: <2b7af7c40707301021t7796a7c8p7a22af875b3bb6e@mail.gmail.com> Message-ID: <2b7af7c40707301357v76a5b897kbe04ebc0129bc049@mail.gmail.com> On 7/30/07, Rogelio Bastardo wrote: > > When I run "tail /var/log/nagios/rra/n2rrd.log", I see lots of this > sort of thing: > > server01: Missing template for "server01" service "check_ping" > "/etc/n2rrd/templates/rra/ping.t" So, I fixed this (by adding a "#!/usr/bin/perl -w" at the top of the n2rrd.pl file), but now I Nagios doesn't seem to be piping it to the appropriate /var/log/nagios/rra/ folder like I would expect. I "tail /var/log/nagios/rra/n2rrd.log" and don't see the aforementioned error, so it seems like it's working, but no log files seem to be growing, particularly the logs that are based on the ping.t template I made. I'm missing some key piece to this, but I'm not quite sure what it is. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Mon Jul 30 23:02:03 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 30 Jul 2007 14:02:03 -0700 Subject: Nagios/n2rrd -> missing template for ping.t In-Reply-To: <2b7af7c40707301357v76a5b897kbe04ebc0129bc049@mail.gmail.com> References: <2b7af7c40707301021t7796a7c8p7a22af875b3bb6e@mail.gmail.com> <2b7af7c40707301357v76a5b897kbe04ebc0129bc049@mail.gmail.com> Message-ID: <2b7af7c40707301402l26e45a72v5f4162e551fb720@mail.gmail.com> > I'm missing some key piece to this, but I'm not quite sure what it is. Also, for what it's worth, here are the relevent entries in my cfg files ---- nagiios.cfg --- process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata --- commands.cfg --- define command{ command_name process-host-perfdata command_line /usr/bin/n2rrd.pl -d -c /etc/n2rrd/n2rrd.conf -T $LASTHOSTCHECK$ -H $HOSTNAME$ -s "check_ping" -o "$HOSTOUTPUT$" } define command{ command_name process-service-perfdata command_line /usr/bin/n2rrd.pl -d -c /etc/n2rrd/n2rrd.conf -e $SERVICEEXECUTIONTIME$ -l $SERVICELATENCY$ -T $LASTSERVICECHECK$ -H $HOSTNAME$ -s "$SERVICEDESC$" -o "$SERVICEPERFDATA$" } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brady.maxwell at gmail.com Mon Jul 30 23:40:47 2007 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Mon, 30 Jul 2007 17:40:47 -0400 Subject: NSCA Question and Hardware utilization question. Message-ID: Just curious to see how many NSCA transactions people are running in their environments. I am trying to send 3000 service check results every 5 minutes from one machine to another. I am using xinetd which seems to panic at this volume and shut itself down. At 2200 service checks i did not have issues with xinetd. I have also been trying to convince my coworker that we should be doing all of the checks from one server so this would not be an issue. And the second server can be the redundant fail over. My server is 2 x dual core 2.0 Ghz, 8 GB of RAM and 6 300GB 15k disks in raid 5 with a single 1Gb network connection. My current load on this machine with 3000 + service checks in 5 minutes is around 10% cpu usage. About 2% of that is nagios related. The total need for service checks will be about 12.5k every 5 minutes, we are implementing in phases. I think I can do this all from one machine and replicate everything to my fail over server for redundancy. How many service checks are people doing in their environments and then submiting with nsca and how many checks are people doing from one server? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kerry.Milestone at CacheLogic.com Tue Jul 31 00:26:20 2007 From: Kerry.Milestone at CacheLogic.com (Kerry Milestone) Date: Mon, 30 Jul 2007 23:26:20 +0100 Subject: Regex Services? Message-ID: <46AE658C.3020001@CacheLogic.com> Hello, I am trying to build a services.cfg using regular expressions. I have enabled the regex options within nagios.cfg The string I am trying is the following: ^(host|gost)\d{1,2}\.\w+\.$ and I have checked my regular expressions with: echo 'host1.public.going' | perl -ne 'print if /^(host|gost)\d{1,2}\.\w+\.going$/' echo 'gost32.private.going' | perl -ne 'print if /^(host|gost)\d{1,2}\.\w+\.going$/' yet, I always get when running nagios -v nagios.cfg: Error: Could not find any host matching '^(host|gost)\d{1' Error: Could not expand hostgroups and/or hosts specified in service (config file '/usr/local/nagios/etc/services.cfg', starting on line I've tried various other ways of it, and one thing I seem to have noticed is that Nagios seems to parse only square brackets in an expression. I have compiled a version of the binary with the embedded perl, but this did not help. I have tried posix expressons too, but not much luck either. Has anyone one else had some luck with regular expressions within the services.cfg file? I have a bunch of hosts all running identical services. I am running Nagios 2.9, both on a Linux platform and FreeBSD. Many thanks, Kerry. -- Kerry Milestone Network Engineer ------------------- 1 0 ... my two bits ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perlskuul at gmail.com Tue Jul 31 00:46:02 2007 From: perlskuul at gmail.com (Goksie Learner) Date: Mon, 30 Jul 2007 23:46:02 +0100 Subject: Regex Services? In-Reply-To: <46AE658C.3020001@CacheLogic.com> References: <46AE658C.3020001@CacheLogic.com> Message-ID: <46AE6A2A.3040401@gmail.com> Kerry Milestone wrote: > Hello, > > I am trying to build a services.cfg using regular expressions. I have > enabled the regex options within nagios.cfg > > The string I am trying is the following: > > > and I have checked my regular expressions with: > echo 'host1.public.going' | perl -ne 'print if > /^(host|gost)\d{1,2}\.\w+\.going$/' > echo 'gost32.private.going' | perl -ne 'print if > /^(host|gost)\d{1,2}\.\w+\.going$/' > > yet, I always get when running nagios -v nagios.cfg: > Error: Could not find any host matching '^(host|gost)\d{1' > Error: Could not expand hostgroups and/or hosts specified in service > (config file '/usr/local/nagios/etc/services.cfg', starting on line > > I've tried various other ways of it, and one thing I seem to have > noticed is that Nagios seems to parse only square brackets in an > expression. I have compiled a version of the binary with the embedded > perl, but this did not help. I have tried posix expressons too, but not > much luck either. > > Has anyone one else had some luck with regular expressions within the > services.cfg file? I have a bunch of hosts all running identical services. > > I am running Nagios 2.9, both on a Linux platform and FreeBSD. > > Many thanks, > Kerry. > > > > > > ^(host|gost)\d{1,2}\.\w+\.$ change it to ^(host|gost)\d{1,2}\.\w+\.\w+$ and test again. Learner ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 00:45:10 2007 From: marc at ena.com (Marc Powell) Date: Mon, 30 Jul 2007 17:45:10 -0500 Subject: NSCA Question and Hardware utilization question. In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Brady Maxwell > Sent: Monday, July 30, 2007 4:41 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSCA Question and Hardware utilization question. > > Just curious to see how many NSCA transactions people are running in their > environments. > > I am trying to send 3000 service check results every 5 minutes from one > machine to another. 3753 at 5 min running nsca as a daemon. No problems at all. > > I am using xinetd which seems to panic at this volume and shut itself > down. Anything interesting logged? That's only about 10 requests/sec on average. Hardly seems worth getting panic-y about... > At 2200 service checks i did not have issues with xinetd. Hints towards an xinetd cps issue. > How many service checks are people doing in their environments and then > submiting with nsca and how many checks are people doing from one server? My heaviest loaded data collector is running about 980 checks/5 min but that's going to double in the next month or so. It's also running Cricket updating just over 12,000 RRD files every 5 minutes as well. Average CPU utilization is just around 8% so plenty of room for growth. 2x dual core AMD 275, 2GB RAM. Mostly check_icmp checks. Scaling issues WRT passive checks are mostly related to nagios reading the external command pipe fast enough. That limitation starts cropping up with multiple 10's of thousands of checks at 5 min from what I've heard. I know I've seen documentation that upcoming versions of Nagios/NSCA specifically addresses this by allowing you to create files with the external results that nagios will read in then wipe but I can't seem to put my hands on that right now. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Jul 31 00:53:15 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 30 Jul 2007 15:53:15 -0700 Subject: check_ping vs check_icmp? In-Reply-To: <20070730175330.GA9031796@CIS.FU-Berlin.DE> References: <2b7af7c40707301037s55b2d945y6a358790d95dd94e@mail.gmail.com> <20070730175330.GA9031796@CIS.FU-Berlin.DE> Message-ID: <2b7af7c40707301553o301832ecyfc265e723a26f12a@mail.gmail.com> > So, if you don't mind installing the plugin setuid root, I'd recommend > using check_icmp. Forgive my ignorance, but where can I find this? (I googled for "setuid root nagios check_icmp" but nothing jumped out at me) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kerry.Milestone at CacheLogic.com Tue Jul 31 00:58:46 2007 From: Kerry.Milestone at CacheLogic.com (Kerry Milestone) Date: Mon, 30 Jul 2007 23:58:46 +0100 Subject: Regex Services? In-Reply-To: <46AE6A2A.3040401@gmail.com> References: <46AE658C.3020001@CacheLogic.com> <46AE6A2A.3040401@gmail.com> Message-ID: <46AE6D26.8010302@CacheLogic.com> Hello Goksie, Cheers for your reply. This works too as a regex, however I still get the following within Nagios: ---------------- # ./bin/nagios -v etc/nagios.cfg Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Error: Could not find any host matching '^(host|gost)\d{1' Error: Could not expand hostgroups and/or hosts specified -------------- Kerry. Goksie Learner wrote: > > ^(host|gost)\d{1,2}\.\w+\.$ > > change it to > ^(host|gost)\d{1,2}\.\w+\.\w+$ > > and test again. > > Learner > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perlskuul at gmail.com Tue Jul 31 01:05:36 2007 From: perlskuul at gmail.com (Goksie Learner) Date: Tue, 31 Jul 2007 00:05:36 +0100 Subject: Regex Services? In-Reply-To: <46AE658C.3020001@CacheLogic.com> References: <46AE658C.3020001@CacheLogic.com> Message-ID: <46AE6EC0.4050101@gmail.com> Kerry Milestone wrote: > Hello, > > I am trying to build a services.cfg using regular expressions. I have > enabled the regex options within nagios.cfg > > The string I am trying is the following: > ^(host|gost)\d{1,2}\.\w+\.$ > > and I have checked my regular expressions with: > echo 'host1.public.going' | perl -ne 'print if > /^(host|gost)\d{1,2}\.\w+\.going$/' > echo 'gost32.private.going' | perl -ne 'print if > /^(host|gost)\d{1,2}\.\w+\.going$/' > > yet, I always get when running nagios -v nagios.cfg: > Error: Could not find any host matching '^(host|gost)\d{1' > Error: Could not expand hostgroups and/or hosts specified in service > (config file '/usr/local/nagios/etc/services.cfg', starting on line > > I've tried various other ways of it, and one thing I seem to have > noticed is that Nagios seems to parse only square brackets in an > expression. I have compiled a version of the binary with the embedded > perl, but this did not help. I have tried posix expressons too, but not > much luck either. > > Has anyone one else had some luck with regular expressions within the > services.cfg file? I have a bunch of hosts all running identical services. > > I am running Nagios 2.9, both on a Linux platform and FreeBSD. > > Many thanks, > Kerry. > > > > > > kerry, note ^(host|gost)\d{1,2}\.\w+\.$ change it to ^(host|gost)\d{1,2}\.\w+\.\w+$ and test again. Learner ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Jul 31 01:22:17 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 30 Jul 2007 16:22:17 -0700 Subject: check_ping vs check_icmp? In-Reply-To: <2b7af7c40707301553o301832ecyfc265e723a26f12a@mail.gmail.com> References: <2b7af7c40707301037s55b2d945y6a358790d95dd94e@mail.gmail.com> <20070730175330.GA9031796@CIS.FU-Berlin.DE> <2b7af7c40707301553o301832ecyfc265e723a26f12a@mail.gmail.com> Message-ID: <2b7af7c40707301622u59482b51g5073b4fdc2aac85@mail.gmail.com> On 7/30/07, Rogelio Bastardo wrote: > > So, if you don't mind installing the plugin setuid root, I'd recommend > > using check_icmp. > > Forgive my ignorance, but where can I find this? > > (I googled for "setuid root nagios check_icmp" but nothing jumped out at me) ah, I see it's a package "yum install nagios-plugins-setuid" thanks again for your help, guys. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 14:41:01 2007 From: marc at ena.com (Marc Powell) Date: Tue, 31 Jul 2007 07:41:01 -0500 Subject: check_ping vs check_icmp? In-Reply-To: <2b7af7c40707301622u59482b51g5073b4fdc2aac85@mail.gmail.com> References: <2b7af7c40707301622u59482b51g5073b4fdc2aac85@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rogelio Bastardo > Sent: Monday, July 30, 2007 6:22 PM > To: Nagios Users > Subject: Re: [Nagios-users] check_ping vs check_icmp? > > On 7/30/07, Rogelio Bastardo wrote: > > > So, if you don't mind installing the plugin setuid root, I'd recommend > > > using check_icmp. > > > > Forgive my ignorance, but where can I find this? > > > > (I googled for "setuid root nagios check_icmp" but nothing jumped out at > me) > > ah, I see it's a package Actually, this is terminology detailing how a specific set of permissions are applied to a file/program. Basically, setuid and setgid mean that a flag is applied to the file/program with chmod such that it will retain it's ownership for that bit when being used. For the purposes here, setuid root means that the file should be owned by the user root (chown root /path/to/check_icmp) and setuid (chmod u+s /path/to/check_icmp). This will cause check_icmp to always run as the root user no matter who is running it. This allows it to open the necessary socket connections without requiring that the actual root user be running it. setuid is denoted by the 's' below -- $ ls -l /usr/local/nagios/libexec/check_icmp -r-sr-xr-x 1 root nagios 15424 Jun 9 21:42 /usr/local/nagios/libexec/check_icmp $ ls -l /bin/ping -rwsr-xr-x 1 root root 27860 Sep 29 2005 /bin/ping -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgsconsulting at gmail.com Tue Jul 31 16:44:46 2007 From: dgsconsulting at gmail.com (David Schlecht) Date: Tue, 31 Jul 2007 07:44:46 -0700 Subject: EMC Symetrix monitoring Message-ID: <536053370707310744i1f1aa251kb1de6e1640c4b195@mail.gmail.com> I've seen a few questions about this here but no replies. Maybe by now there is more information. I'm trying to monitor an EMC SAN with Symmetrix, but am hitting a brick wall. EMC's ECC console has up-to-date information on the SAN but doesn't have an SNMP interface for Nagios to query. The ECC console has interface libraries to talk to some of the major commercial monitoring packages, but not Nagios. Has anyone had any luck getting information from the ECC console? Has anyone had any luck with any other approaches to monitoring an EMC SAN? -David -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Tue Jul 31 21:10:40 2007 From: alexus at gmail.com (alexus) Date: Tue, 31 Jul 2007 15:10:40 -0400 Subject: check_mysql Message-ID: <6ae50c2d0707311210o5a39fccwec63c2a7ce9f798e@mail.gmail.com> Hello, I'm running into a little issue here, whenever I check if the slave thread is running properly, I get this: No Seconds Behind Master: (null) here is the command, I issue: # ~nagios/libexec/check_mysql -H db2 -u repl -p slavepass -S Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) # for the test purpose (just to be on safe side) I even tried it with root, same thing... replication is however is working, and for test purposes, replication was interupted, yet nagios didn't send any alerts, obviosly due to something wrong with nagios plugin. another weird issue, i'm having is even though I get that output whenever I try to run command manually, nagios doesn't show me, CRITICAL state through Services. please advise, thank you in advance -- http://alexus.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Tue Jul 31 21:19:20 2007 From: alexus at gmail.com (alexus) Date: Tue, 31 Jul 2007 15:19:20 -0400 Subject: nagios Message-ID: <6ae50c2d0707311219u1a921bfape29daf3860c10942@mail.gmail.com> this might seem a little complicated, but it's really not that complicated... anyways.. i have service that assigned to a hostgroup (not to an idividual host). host have specific timeperiod that i want to be monitored/notified service has different 24x7 timeperiod, as it needs to check for other hosts, that are being monitored/notified on 24x7 basis the thing is, whenever host goes down, nagios supress any service alerts, but since in my case service is being monitored 24x7 it still keeps on notifiying me about service is being down, even though i specified that host doesn't need to be monitored/notified and there for is services assigned to this host for that time period. so its kind of mix, now i dont know if this is a bug or do I need to create another service to monitor non-24 timeperiod hosts i hope it made some sort of sense... please advice thank you -- http://alexus.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at intercable.com.ve Tue Jul 31 22:23:08 2007 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Tue, 31 Jul 2007 16:23:08 -0400 Subject: check_sybase Message-ID: <46AF9A2C.50404@intercable.com.ve> Hi all! I'm triying to use this plugin for checking a remote Sybase database. The thing is that in the usage of the script i dont see any option that indicates the IP address of the server. Here is the -h for the plugin: Mandatory arguments to long options are mandatory for short options too. -U, --user Username to connect to database. -P, --pass Password to connect to database. -S, --dbsvr Database server (as in the interfaces file). -D, --dbname Database name to check. --config=FILE Config file (see SECURITY below) --checktype=TYPE Type of check to run (see TYPEs below) --charset=CHARSET Character set of server (default iso_1). --explain Explains how we calculated the free space. --fallback Fallback to a CONNECT check if a non-CONNECT check takes too long. --no-mixed-devices-warning Suppress the warning about mixed data/log devices. -w, --warning Warning threshold (default 25). -c, --critical Critical threshold (default 10). -t, --timeout Timeout value, in seconds (default 30). -h, --help This help message -V, --version Version information (1.0) Examples: check_sybase -U sa -P secret -S bigbox -D orders check_sybase --config=/secure/nagios-sybase.cfg --checktype=CONNECT TYPEs There are three types of checks you can run: --checktype=CONNECT Checks just the connection to the database. --checktype=FREESPACE (Default) Checks both the connection to the database and the free space. With this check type, both warning and critical thresholds are in percent. Warning defaults to 25% free space, critical defaults to 10% free space. --checktype=NUMLOGINS Checks the number of logins connected to the database server. With this check type, the warning and critical thresholds are integers. SECURITY - Using a config file Since a "ps ax" will reveal your database username and password, you can instead specify them in a config file. Pass the config file with --config. The format of the file is: USER value PASS value You can also specify a DBSVR and DBNAME in the file. Comments (#) and blank lines are ignored. Use whitespace to separate argument and value. The file should be readable by as few people as possible. -- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Jul 31 22:47:01 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 31 Jul 2007 13:47:01 -0700 Subject: check_sybase In-Reply-To: <46AF9A2C.50404@intercable.com.ve> References: <46AF9A2C.50404@intercable.com.ve> Message-ID: <20070731204701.GD1987@pmorris.usa.hp.com> Hi Danilo! On Tue, 31 Jul 2007, Danilo Perdomo wrote: > Hi all! I'm triying to use this plugin for checking a remote Sybase > database. The thing is that in the usage of the script > i dont see any option that indicates the IP address of the server. Here > is the -h for the plugin: That's because this plugin won't work as a remote check. You'll need to use something like nrpe or check_via_ssh to run it on a remote box. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 22:51:53 2007 From: marc at ena.com (Marc Powell) Date: Tue, 31 Jul 2007 15:51:53 -0500 Subject: check_sybase In-Reply-To: <46AF9A2C.50404@intercable.com.ve> References: <46AF9A2C.50404@intercable.com.ve> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo > Sent: Tuesday, July 31, 2007 3:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_sybase > > Hi all! I'm triying to use this plugin for checking a remote Sybase > database. The thing is that in the usage of the script > i dont see any option that indicates the IP address of the server. Here > is the -h for the plugin: > > Mandatory arguments to long options are mandatory for short options too. > -U, --user Username to connect to database. > -P, --pass Password to connect to database. > -S, --dbsvr Database server (as in the interfaces file). > -D, --dbname Database name to check. I don't use Sybase but I have used DBI::Sybase that this is based on. I'm 99% sure that the IP address would be specified within the interfaces file in the definition of the database server you pass with -S. This link might be useful -- http://www.outlands.demon.co.uk/sybase/index.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 22:55:25 2007 From: marc at ena.com (Marc Powell) Date: Tue, 31 Jul 2007 15:55:25 -0500 Subject: check_sybase In-Reply-To: <20070731204701.GD1987@pmorris.usa.hp.com> References: <20070731204701.GD1987@pmorris.usa.hp.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Patrick Morris > Sent: Tuesday, July 31, 2007 3:47 PM > To: Danilo Perdomo > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_sybase > > Hi Danilo! > > On Tue, 31 Jul 2007, Danilo Perdomo wrote: > > > Hi all! I'm triying to use this plugin for checking a remote Sybase > > database. The thing is that in the usage of the script > > i dont see any option that indicates the IP address of the server. Here > > is the -h for the plugin: > > That's because this plugin won't work as a remote check. You'll need to > use something like nrpe or check_via_ssh to run it on a remote box. I'm pretty confident it will (untested though). It just uses DBI::Sybase which doesn't care where the database is located. -- sub connect { $dbh = DBI->connect("dbi:Sybase:server=$dbsvr;database=$dbname;". "timeout=$timeout,loginTimeout=$timeout", $user, $pass) or &ncrit("Could not connect to '$dbname' on '$dbsvr'"); # Report success for a check of type CONNECT &nok("Connect okay") if $checktype ne "FREESPACE"; } -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mike.Babineau at Pearson.com Tue Jul 31 23:36:57 2007 From: Mike.Babineau at Pearson.com (Babineau, Mike) Date: Tue, 31 Jul 2007 14:36:57 -0700 Subject: object inheritance question Message-ID: When using templates in the case of variables which can have a comma-delimited set of values, does variable assignment overwrite or append? Example: define contact{ use template.contact contact_name template.contact.admin contactgroups contactgroup.admin register 0 } define contact{ use template.contact.admin contact_name jbob contactgroups contactgroup.admin.sa alias Jim Bob } Will Jim Bob be a member of a) only contactgroup.admin.sa; or b) both contactgroup.admin and contactgroup.admin.sa? If, as I suspect, a) is correct and he will only be a member of the last assigned group, is there a way to append to an inherited variable's value and achieve case b)? Thanks, --------------------------- Michael Babineau Systems Administrator Pearson Education mike.babineau at pearson.com **************************************************************************** This email may contain material confidential to Pearson. If you were not an intended recipient, please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null