From dlopez at humnet.ucla.edu Fri Sep 1 01:30:33 2006 From: dlopez at humnet.ucla.edu (Lopez, Denise) Date: Thu, 31 Aug 2006 16:30:33 -0700 Subject: Service Check for FileMaker Pro 6 Message-ID: Hello everyone, I was wondering if anyone knew of a service check for FileMaker Pro 6. I have this running on an OS X server and it seems to crash periodically. I checked the nagios exchange website and didn't see anything for OS X. I also looked under the Linux plugins and misc plugins and only found a check_snmp_process.pl script but it doesn't recognize the process. Thanks in advance. Denise Lopez UCLA Center for Digital Humanities Network Services Systems Engineer 337 Charles E. Young Drive East PPB 1020 Los Angeles, CA 90095 (310) 206-8216 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 dlopez at humnet.ucla.edu Fri Sep 1 01:37:50 2006 From: dlopez at humnet.ucla.edu (Lopez, Denise) Date: Thu, 31 Aug 2006 16:37:50 -0700 Subject: FileMaker Pro 6 Service Check Message-ID: Hello everyone, I was wondering if anyone knew of a service check for FileMaker Pro 6. I have this running on an OS X server and it seems to crash periodically. I checked the nagios exchange website and didn't see anything for OS X. I also looked under the Linux plugins and misc plugins and only found a check_snmp_process.pl script but it doesn't recognize the process. Thanks in advance. Denise Lopez UCLA Center for Digital Humanities Network Services Systems Engineer 337 Charles E. Young Drive East PPB 1020 Los Angeles, CA 90095 (310) 206-8216 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 richy at daviesinc.com Fri Sep 1 07:31:49 2006 From: richy at daviesinc.com (Richard Galvez) Date: Fri, 01 Sep 2006 01:31:49 -0400 Subject: unique computers in a hostgroup In-Reply-To: References: Message-ID: <1157088709.4350.10.camel@atari.localhost> Ok the only work around that I have considered to this issue is to make different "special" groups. 1 would have 1 group for all of cabinet1 and then special groups with the same computers for particular checks say like "webservers" and "webservers mysql databases" and things like that.. Yet only in the special groupings have the service check definitions. Then I would look to see if when I click on hostgroup cab1 in the cgis if I get the computers with the right services.. Will try this tomorrow, post back on the list with results. Richard On Thu, 2006-08-31 at 14:41 -0400, Janet Post wrote: > I have the same issue, where I have a large main group, say > mysql-servers, and some run ntpd while others run xntpd. I have had to > set up different groups which I name accordingly -- mysql-servers-ntp > and mysql-servers-xntpd. In the case of one group of servers, I have 7 > different 'custom' groups to take into account different computers. > > This is extremely cumbersome, as nearly every group has exceptions. :-) > If anyone has a better more elegent method of dealing with this, than > please please speak up. > > Janet > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Richard > Galvez > Sent: August 31, 2006 2:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] unique computers in a hostgroup > > Hello, I'm new to the list and had a rather quick question. > > I have nagios2 installed on a debian testing system, and it's monitoring > a hostgroup for each cabinet I monitor (currently have only one cabinet > of 42 U's setup). I have three service checks set up for this group > (cabinet1) which are http, ftp, and disk space. The problem comes up > with a few machines (3) that do not have ftp set up, so nagios is > constantly returning a critical error. I need to make exceptions in this > group for those systems.. and when I start adding things like mysql > checks, and custom plugins, I need to make some systems that don't have > mysql and such things on them. > > Is this possible? > > --Richard > > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:44f72d69128215729811212! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 1 07:59:55 2006 From: moshesharon at gmail.com (moshe sharon) Date: Fri, 1 Sep 2006 07:59:55 +0200 Subject: FileMaker Pro 6 Service Check In-Reply-To: References: Message-ID: <88ad29240608312259r434ba7d8h43b53da0768a960d@mail.gmail.com> Hi if you using nrpe and nagios plugins you can use the plugin check_procs to check if service is running for example: check_procs -C httpd -w 10 -c 20 replace httpd with the filemaker service and thats it. -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 redlob+nagios-users at xs4all.nl Fri Sep 1 08:27:51 2006 From: redlob+nagios-users at xs4all.nl (RLB) Date: Fri, 1 Sep 2006 08:27:51 +0200 Subject: Internet explorer hangs when viewing archived logs Message-ID: <20060901062750.GA23494@xs2.xs4all.nl> Hi guys, I'm running Nagios 2.5 on Debian unstable. I rotate my logs daily, and at this moment I have some older logs in my /var/log/nagios2/archives folder. Now, when I use the Event Log in the webconsole I can see the log of today without problems. When I click on the arrow to go an older log, IE jumps to a CPU usage of 99%. I kept waiting for a couple of minutes, but nothing happened. The log of yesterday is only 80K in filesize, so really small and easy to process. The strange thing is that it used to work, I never had this problem. Something's fishy here... Any ideas would be greatly appreciated ! Regards, Dick ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ranjeetk at aztecsoft.com Fri Sep 1 09:22:23 2006 From: ranjeetk at aztecsoft.com (Ranjeet Kumar) Date: Fri, 1 Sep 2006 12:52:23 +0530 Subject: check_ping: %s: Warning threshold must be integer or percentage! Message-ID: <93F0E3CFC1ABB646B8808894FC7CDD250683C836@azindbaex01.aztec.soft> Thanks a lot Andy. It was syntax problem. I did changed to the below one & it's working now. command[check_ping]=/usr/lib/nagios/plugins/check_ping -H localhost $ARG1$c $ARG2$ -p 5 Can you please give me idea, how to integrated Nagios with MRTG? Regards, Ranjeet Date: Thu, 31 Aug 2006 13:30:37 +0100 From: Andy Shellam Subject: Re: [Nagios-users] check_ping: %s: Warning threshold must be integer or percentage! To: nagios-users at lists.sourceforge.net Message-ID: <44F6D66D.9040106 at mailnetwork.co.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Ranjeet, Only just got this e-mail after I'd replied! OK this is what's happening. Firstly, check_ping on your Nagios machine is ignored by nrpe - as that contains it's own command definitions. So, here: command[check_ping]=/usr/lib/nagios/plugins/check_ping -H $ARG1$ -w $ARG2$ -c $AGR3$ -p 5 it's expecting the hostname as argument 1, the warning threshold as argument 2 and the critical threshold as argument 3. (depending on what your check_nrpe command reads (something like "check_nrpe -H $HOSTADDRESS$ -p 5666 -c $ARG1$"), what Nagios is actually passing is: "check_ping!100.0,20%!500.0,60%", so your client machine is reading the host (argument 1) as 100.0,20%, the warning threshold (argument 2) as 500.0,60% and the critical threshold as blank. Also notice your typo in command[check_ping]: $AGR3$ should be $ARG3$ Andy. Ranjeet Kumar wrote: > > Hi, > > In case of check_ping it throws error ?check_ping: %s: Warning > threshold must be integer or percentage! ? > > Server (Fedora Core 4) > > Command details in service section > > check_command check_ping!100.0,20%!500.0,60% > > Command > > # 'check_ping' command definition > > define command{ > > command_name check_ping > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ > -p 5 > > } > > check command on client (Debain) > > command[check_ping]=/usr/lib/nagios/plugins/check_ping -H $ARG1$ -w > $ARG2$ -c $AGR3$ -p 5 > > I am using following server & client configuration: - > > Server : Fedora Core 4 > > Nagios ver 2.5 > > Nagios Plugin ver 1.4.3 > > NRPE ver 2.5.2 > > Client : Debian (2.6.16 kernel) > > Nagios Plugin ver 1.4.6 > > Nagios NRPE : 2.0.7 > > Please help me in solving this issue. > > Thanks, > > Ranjeet > > !DSPAM:37,44f6cd04143291392681367! > > The information contained in, or attached to, this e-mail, contains > confidential information and is intended solely for the use of the > individual or entity to whom they are addressed and is subject to > legal privilege. If you have received this e-mail in error you should > notify the sender immediately by reply e-mail, delete the message from > your system and notify your system manager. Please do not copy it for > any purpose, or disclose its contents to any other person. The views > or opinions presented in this e-mail are solely those of the author > and do not necessarily represent those of the company. The recipient > should check this e-mail and any attachments for the presence of > viruses. The company accepts no liability for any damage caused, > directly or indirectly, by any virus transmitted in this email. > > www.aztecsoft.com > > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk &kid=120709&bid=263057&dat=121642 > > !DSPAM:37,44f6cd04143291392681367! > > ---------------------------------------------------------------------- > -- The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. www.aztecsoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 redlob+nagios-users at xs4all.nl Fri Sep 1 10:05:41 2006 From: redlob+nagios-users at xs4all.nl (RLB) Date: Fri, 1 Sep 2006 10:05:41 +0200 Subject: Internet explorer hangs when viewing archived logs In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493D7B695@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493D7B695@cmgexcdc01.CMG.local> Message-ID: <20060901080540.GD31380@xs2.xs4all.nl> On 01-09-06 09:15, Giles Coochey wrote: > I brought this up to the list sometime ago and go replies that others > have this problem too. > So you are not alone. > Use Firefox or Mozilla as a workaround. Thanks, Firefox works ok. Guess I should have searched the list archives :) Regards, Dick > > I'm running Nagios 2.5 on Debian unstable. I rotate my logs > > daily, and at this moment I have some older logs in my > > /var/log/nagios2/archives folder. > > Now, when I use the Event Log in the webconsole I can see the > > log of today without problems. When I click on the arrow to > > go an older log, IE jumps to a CPU usage of 99%. I kept > > waiting for a couple of minutes, but nothing happened. > > The log of yesterday is only 80K in filesize, so really small > > and easy to process. The strange thing is that it used to > > work, I never had this problem. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 1 11:57:39 2006 From: moshesharon at gmail.com (moshe sharon) Date: Fri, 1 Sep 2006 11:57:39 +0200 Subject: Internet explorer hangs when viewing archived logs In-Reply-To: <20060901080540.GD31380@xs2.xs4all.nl> References: <28919ADDC3E2C44BAD07B1EB44818493D7B695@cmgexcdc01.CMG.local> <20060901080540.GD31380@xs2.xs4all.nl> Message-ID: <88ad29240609010257r5f91c378hfc745233927ebfdf@mail.gmail.com> Hello if you stiil want to use internet explorer rotate the log every hour it should work fine. -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Sep 1 12:36:01 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 01 Sep 2006 11:36:01 +0100 Subject: Nagios process not running? It is running! In-Reply-To: <44F742CD.5060808@sparks.net> References: 44DCC414.8040306@googlemail.com <44F742CD.5060808@sparks.net> Message-ID: <44F80D11.5050108@googlemail.com> David Miller wrote: > Hi Hari; > > Did you find a solution to > http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg06533.html > ? I'm facing the same problem:( > > Thanks, > > --- David > Unfortunately no. The nagios check command refused to work after many suggestions. I have read all the Nagios docs at least twice and would like to think I have a reasonable understanding of the whole thing but after confirming that I had indeed done it the way all the users on the mailing-list thought correct as well as a forum admin for the nagios forums, I came to the conclusion that it may not be my nagios_check_command that is at fault. I've disabled the check_command and it no longer gives me the warning in the web interface. In fact since doing that I can actually apply host commands via the interface. Nice. On a related note, this stopped me from entering comments in the interface even when everything seemed to be correctly set up regarding the cgi auth. Still can't schedule downtime, possibly because the check isn't running but that's another story for another thread... Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wolvverine at tarchomin.pl Fri Sep 1 13:36:50 2006 From: wolvverine at tarchomin.pl (=?UTF-8?Q?Micha=C5=82?= Panasiewicz) Date: Fri, 01 Sep 2006 13:36:50 +0200 Subject: problem with nationality specific char in notifications Message-ID: <1157110610.6149.22.camel@wolvv-lap> problem with nationality specific char in notifications: Sep 1 12:53:54 kuf-serwer nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESUL T;K5;Application EventLog;1;Application [error] [Application Hang #1002]: Aplikacja zawieszaj?ca msaccess.exe, ^^^^ OK wersja 7.0.0.4, modu? zawieszenia hungapp, wersja 0.0.0.0, adres ^^^^ OK zawieszenia 0x00000000. Sep 1 12:54:02 kuf-serwer nagios: SERVICE ALERT: K5;Application EventLog;WARNIN G;HARD;1;Application [error] [Application Hang #1002]: Aplikacja zawieszaj?ca msaccess.exe, wersja 7.0.0.4, modu? zawieszenia hungapp, wersja 0.0.0.0, adres zawieszenia 0x00000000. Sep 1 12:54:02 kuf-serwer nagios: SERVICE NOTIFICATION: winadmin;K5;Application EventLog;WARNING;notify-by-email;Application [error] [Application Hang #1002]: Aplikacja zawieszajca msaccess.exe, ^^^ NOT OK wersja 7.0.0.4, modu zawieszenia hungapp, wersja 0.0.0.0, adres ^^^ NOT OK zawieszenia 0x00000000. -- Micha? Panasiewicz Linux user nr. #425323 - jabber: wolvverine [ at ] chrome [ dot ] pl || e-mail: wolvverine [ at ] tlen [ dot ] pl , wolvverine [ at ] pld-linux [ dot ] org http://www.linkomp.pl - Linkomp - Us?ugi informatyczne dla firm - biuro [ at ] linkomp [ dot ] pl ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 1 13:48:17 2006 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Fri, 1 Sep 2006 13:48:17 +0200 Subject: Trouble with passive checks and freshness Message-ID: <200609011348.17812.odenbach@uni-paderborn.de> Hi, we have the following setup: Nagios 2.5 73 hosts 335 active checks 765 passive checks Each host submits its passive check results every 5 minutes into the nagios command file. The freshness threshold is set to 2000 seconds, so the service stays passive, when everything runs as it should. The check_command is defined as check_dummy, which generates the message "No data from host" when executed actively. This works fine for nearly every host. But there is one host, which is not different from the others, that makes trouble. The data is coming in every 5 minutes, but Nagios keeps flipping between active and passive mode: root at giedi3[nagios]# tail -10000 nagios.log | grep rana | grep disk | naglog.pl | cut -c-100 [01.09. 12:29:04] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 12:31:49] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n [01.09. 12:34:24] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 12:34:29] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: [01.09. 12:39:44] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 12:41:50] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n [01.09. 12:45:04] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 12:45:10] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: [01.09. 12:50:29] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 12:51:49] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n [01.09. 12:55:49] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 12:55:59] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: [01.09. 13:01:09] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 13:01:49] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n [01.09. 13:06:29] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 13:06:39] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: [01.09. 13:11:50] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n [01.09. 13:11:50] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 13:11:50] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: [01.09. 13:17:09] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 13:21:49] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n [01.09. 13:22:30] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 13:22:39] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: [01.09. 13:27:54] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 13:31:49] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n [01.09. 13:33:14] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s [01.09. 13:33:19] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: All other hosts work just fine: root at giedi3[nagios]# tail -10000 nagios.log | grep etamin | grep disk | naglog.pl | cut -c-100 [01.09. 12:30:49] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free [01.09. 12:36:09] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free [01.09. 12:41:29] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free [01.09. 12:46:50] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free [01.09. 12:52:09] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free [01.09. 12:57:29] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free [01.09. 13:02:49] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free [01.09. 13:08:09] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free [01.09. 13:13:34] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free [01.09. 13:18:54] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free [01.09. 13:24:14] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free [01.09. 13:29:34] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free [01.09. 13:34:54] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free The configuration is: define service { use check_local_disk_templ host_name rana } define service{ use passive_templ name check_local_disk_templ service_description Local disk servicegroups local-disk-services check_command check_disk!-w 15% -c 10% -x /afs -e notifications_enabled 1 register 0 } define service{ name passive_templ register 0 max_check_attempts 1 normal_check_interval 10 retry_check_interval 1 active_checks_enabled 0 passive_checks_enabled 1 check_freshness 1 freshness_threshold 2000 check_period always notification_interval 0 notification_period always notification_options w,c,r,f notifications_enabled 0 contact_groups Server process_perf_data 1 } define command{ command_name check_disk command_line $USER1$/check_dummy 3 "No data from host - nsce not running?" } Any ideas what is going wrong here? Why is Nagios flipping the service to active when data has arrived less than 2000 seconds ago? Thanks, 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Sep 1 14:07:49 2006 From: marc at ena.com (Marc Powell) Date: Fri, 1 Sep 2006 07:07:49 -0500 Subject: Internet explorer hangs when viewing archivedlogs Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of moshe sharon > Sent: Friday, September 01, 2006 4:58 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Internet explorer hangs when viewing > archivedlogs > > Hello > > if you stiil want to use internet explorer rotate the log every hour it > should work fine. I rotate logs daily, they're between 3M and 5M in size and have no problems viewing them in either browser. It takes only about 2 minutes for IE to fully render the pages. IE 6.0.3790.1830. The OP's problem has the feel of a permissions issue to me. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 1 14:54:49 2006 From: moshesharon at gmail.com (moshe sharon) Date: Fri, 1 Sep 2006 14:54:49 +0200 Subject: unique computers in a hostgroup In-Reply-To: <1157088709.4350.10.camel@atari.localhost> References: <1157088709.4350.10.camel@atari.localhost> Message-ID: <88ad29240609010554t72a240f7o828b68a9b545bf80@mail.gmail.com> Hello you can set in the service hostgroup_name: you-group and then add host_name: !host1 this will exclude the service check from the specific host but all other hosts in the group will be checked -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Fri Sep 1 15:25:15 2006 From: moshesharon at gmail.com (moshe sharon) Date: Fri, 1 Sep 2006 15:25:15 +0200 Subject: building NRPE statically In-Reply-To: <17EBC05307239C4896ED25244F42A801023810FD@permls05.wde.woodside.com.au> References: <17EBC05307239C4896ED25244F42A801023810FD@permls05.wde.woodside.com.au> Message-ID: <88ad29240609010625u3ed5405g8d48d3a9a8876c3@mail.gmail.com> Hello its enough to run configure with --with-ssl-lib=/ssl_lib_dir and --with-ssl-inc=ssl_include_dir i have several hundreds nrpe deployed this way -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Andre.Bergei at ergo.no Fri Sep 1 17:41:13 2006 From: Andre.Bergei at ergo.no (Andre Bergei) Date: Fri, 1 Sep 2006 17:41:13 +0200 Subject: SMART hard-disk monitoring In-Reply-To: <44F6F255.7080100@mailnetwork.co.uk> References: <44F6F255.7080100@mailnetwork.co.uk> Message-ID: <74CE1A97B625704EA803A1ACA4B31EDE389E4E@GANYMEDES.ad.ergogroup.no> > Has anyone got a check plugin working for monitoring SMART hard disk > status thresholds? Just another idea here: If you got smarttools installed, and net snmpd running you can use "extended" net snmp checks. In your snmpd.conf add something like this: (change your device settings of course) sh SMART_health_disk0 /usr/sbin/smartctl -H -d cciss,0 /dev/cciss/c0d0 |grep Health sh SMART_drive_temp_disk0 /usr/sbin/smartctl -A -d cciss,0 /dev/cciss/c0d0 | egrep 'Current' | sed 's/^.*:....[^0-9]//' | sed 's/[^0-9]*$//' Uh, you might want to refine those sed statements to something more efficient. When you this up and running, just use check_snmp to get you values. /andr? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Fri Sep 1 18:48:11 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Fri, 1 Sep 2006 13:48:11 -0300 Subject: Problems with contact_groups Message-ID: <27acffb00609010948j5426de0bqb7dc7476fdd39384@mail.gmail.com> Hello, I created a contact_group like the follow: define contactgroup{ contactgroup_name saopaulo alias Administradores de Sao Paulo members usrsp } and I define the host: define host{ use generic-host ; Name of host template to use host_name SPAUL0436 alias SPAUL0436 address xxx.xxx.xxx.xxx check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups saopaulo,admins } and the service for this host: define service{ use generic-service ; Name of service template to use host_name SPAUL0436 service_description CHECK PING xxx.xxx.xxx.xxx is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups saopaulo,admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_ping!200.0,20%!500.0,60% } But when I logged in at Nagios like "usrsp", the Nagios shows me all the hosts... What is the problem?? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Sep 1 18:53:56 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 1 Sep 2006 12:53:56 -0400 Subject: Problems with contact_groups In-Reply-To: <27acffb00609010948j5426de0bqb7dc7476fdd39384@mail.gmail.com> References: <27acffb00609010948j5426de0bqb7dc7476fdd39384@mail.gmail.com> Message-ID: > But when I logged in at Nagios like "usrsp", the Nagios shows > me all the hosts... > What is the problem?? A few possibilities: 1. Your cgi.cfg file is configured to bypass the usual access restrictions 2, The user you are logged in with is a contact for those hosts, or services on them. 3. Authentication is not set up correctly ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Fri Sep 1 22:53:34 2006 From: richy at daviesinc.com (Richard Galvez) Date: Fri, 01 Sep 2006 16:53:34 -0400 Subject: check_http, not default In-Reply-To: <88ad29240609010554t72a240f7o828b68a9b545bf80@mail.gmail.com> References: <1157088709.4350.10.camel@atari.localhost> <88ad29240609010554t72a240f7o828b68a9b545bf80@mail.gmail.com> Message-ID: <1157144014.5940.4.camel@atari.localhost> Hello, for a particular machine, I would like to check_http not for the default host name, but a website on that machine. How can I alter the check_http command so not check the default? Richard On Fri, 2006-09-01 at 14:54 +0200, moshe sharon wrote: > Hello > > you can set in the service hostgroup_name: you-group > and then add host_name: !host1 > > this will exclude the service check from the specific host but all > other hosts in the group will be checked > -- > Moshe Sharon > http://www.centerity.com > !DSPAM:44f82dab250048784158535! > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > !DSPAM:44f82dab250048784158535! > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:44f82dab250048784158535! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 22:57:44 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 01 Sep 2006 22:57:44 +0200 Subject: Trouble with passive checks and freshness In-Reply-To: <200609011348.17812.odenbach@uni-paderborn.de> References: <200609011348.17812.odenbach@uni-paderborn.de> Message-ID: <44F89EC8.5030809@its-lehmann.de> Hi, On 9/1/2006 1:48 PM, Christopher Odenbach wrote: > Hi, > > we have the following setup: > > Nagios 2.5 > 73 hosts > 335 active checks > 765 passive checks > > Each host submits its passive check results every 5 minutes into the > nagios command file. The freshness threshold is set to 2000 seconds, > so the service stays passive, when everything runs as it should. > The check_command is defined as check_dummy, which generates the > message "No data from host" when executed actively. > > This works fine for nearly every host. But there is one host, which > is not different from the others, that makes trouble. The data is > coming in every 5 minutes, but Nagios keeps flipping between active > and passive mode: Perhaps some individual configuration that crept into your system? I'd recommend to check the objects.cache file and see if this host is actually set up identical to the others. Hope this helps, Arno > root at giedi3[nagios]# tail -10000 nagios.log | grep rana | grep disk | naglog.pl | cut -c-100 > [01.09. 12:29:04] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 12:31:49] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n > [01.09. 12:34:24] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 12:34:29] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: > [01.09. 12:39:44] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 12:41:50] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n > [01.09. 12:45:04] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 12:45:10] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: > [01.09. 12:50:29] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 12:51:49] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n > [01.09. 12:55:49] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 12:55:59] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: > [01.09. 13:01:09] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 13:01:49] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n > [01.09. 13:06:29] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 13:06:39] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: > [01.09. 13:11:50] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n > [01.09. 13:11:50] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 13:11:50] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: > [01.09. 13:17:09] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 13:21:49] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n > [01.09. 13:22:30] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 13:22:39] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: > [01.09. 13:27:54] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 13:31:49] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce n > [01.09. 13:33:14] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free s > [01.09. 13:33:19] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: > > All other hosts work just fine: > > root at giedi3[nagios]# tail -10000 nagios.log | grep etamin | grep disk | naglog.pl | cut -c-100 > [01.09. 12:30:49] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > [01.09. 12:36:09] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > [01.09. 12:41:29] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > [01.09. 12:46:50] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > [01.09. 12:52:09] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > [01.09. 12:57:29] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > [01.09. 13:02:49] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > [01.09. 13:08:09] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > [01.09. 13:13:34] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > [01.09. 13:18:54] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > [01.09. 13:24:14] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > [01.09. 13:29:34] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > [01.09. 13:34:54] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;etamin;Local disk;0;DISK OK - free > > The configuration is: > > define service { > use check_local_disk_templ > host_name rana > } > define service{ > use passive_templ > name check_local_disk_templ > service_description Local disk > servicegroups local-disk-services > check_command check_disk!-w 15% -c 10% -x /afs -e > notifications_enabled 1 > register 0 > } > define service{ > name passive_templ > register 0 > max_check_attempts 1 > normal_check_interval 10 > retry_check_interval 1 > active_checks_enabled 0 > passive_checks_enabled 1 > check_freshness 1 > freshness_threshold 2000 > check_period always > notification_interval 0 > notification_period always > notification_options w,c,r,f > notifications_enabled 0 > contact_groups Server > process_perf_data 1 > } > define command{ > command_name check_disk > command_line $USER1$/check_dummy 3 "No data from host - nsce not running?" > } > > Any ideas what is going wrong here? Why is Nagios flipping the > service to active when data has arrived less than 2000 seconds ago? > > Thanks, > > Christopher > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 23:16:18 2006 From: marc at ena.com (Marc Powell) Date: Fri, 1 Sep 2006 16:16:18 -0500 Subject: check_http, not default Message-ID: Please don't hijack other threads. It increases the likelihood that you will be ignored/missed and can be confusing when reviewing the archives. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Richard Galvez > Sent: Friday, September 01, 2006 3:54 PM > To: Nagios Users Mailing List > Subject: [Nagios-users] check_http, not default > > Hello, for a particular machine, I would like to check_http not for the > default host name, but a website on that machine. How can I alter the > check_http command so not check the default? check_http --help -H, --hostname=ADDRESS Host name argument for servers using host headers (virtual host) Append a port to include it in the header (eg: example.com:5000) define command { command_name check_http command_line $USER1$/check_http -H mysite.domain.com -I $HOSTADDRESS$ -wt 20 -ct 30 -to 35 } > > Richard > > On Fri, 2006-09-01 at 14:54 +0200, moshe sharon wrote: -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Fri Sep 1 23:53:51 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Fri, 01 Sep 2006 17:53:51 -0400 Subject: Recovery while problem is aknowledged Message-ID: Hi, Situation: - Service is in hard warning or critical state - nagios sends notifications - I know the cause of the problem and I know it is normal - I go in the web interface and acknowledge the problem to cease notifications What happens when the service comes back into a hard OK state? Do I get a notification? Regards, Ugo ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Sat Sep 2 00:01:00 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Fri, 01 Sep 2006 18:01:00 -0400 Subject: [Fwd: Syncing configs between 2 nagios servers - permissions] Message-ID: Hi, I have 2 nagios servers that will be setup as redundant, if nagios1 is down, nagios2 will enable its checks + alert. Using NSCA, I can sync the state, but I now have a problem to sync the config and plugin directory. The easiest way to sync would be to have all the files in /etc/nagios/ and /usr/lib(64)/nagils/plugins/ owned by the user who does the sync. Could I do a chown nagios:nagios on all those files? If someone has a better idea, I welcome it! Regards, Ugo ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfrazier at achievedata.com Sat Sep 2 00:09:24 2006 From: mfrazier at achievedata.com (Malcolm Frazier) Date: Fri, 01 Sep 2006 15:09:24 -0700 Subject: [Fwd: Syncing configs between 2 nagios servers - permissions] In-Reply-To: References: Message-ID: <44F8AF94.8040009@achievedata.com> Your idea sounds good to me, just chown -R nagios:nagios and setup and setup a crontab job to rsync the files to the fail-over nagios server. If you want a script written to do this just let me know and I will be more than happy to help, I actually think its a really good idea. Ugo Bellavance wrote: > Hi, > > I have 2 nagios servers that will be setup as redundant, if nagios1 is > down, nagios2 will enable its checks + alert. Using NSCA, I can sync > the state, but I now have a problem to sync the config and plugin directory. > > The easiest way to sync would be to have all the files in /etc/nagios/ > and /usr/lib(64)/nagils/plugins/ owned by the user who does the sync. > Could I do a chown nagios:nagios on all those files? > > If someone has a better idea, I welcome it! > > Regards, > > Ugo > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Sat Sep 2 00:20:28 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Fri, 1 Sep 2006 15:20:28 -0700 Subject: check_snmp_int.pl Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4440275@raptor.redhawk.info> Does anyone have a SNMP Version 2, version of check_snmp_int.pl? I have two devices on my network that require SNMP Version 2 only, it would be MUCH easier to update that file and the service check for the two devices. Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Sep 2 01:00:49 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 1 Sep 2006 19:00:49 -0400 Subject: [Fwd: Syncing configs between 2 nagios servers -permissions] In-Reply-To: References: Message-ID: > I have 2 nagios servers that will be setup as > redundant, if nagios1 is down, nagios2 will enable its checks > + alert. Using NSCA, I can sync the state, but I now have a > problem to sync the config and plugin directory. > > The easiest way to sync would be to have all the files > in /etc/nagios/ and /usr/lib(64)/nagils/plugins/ owned by the > user who does the sync. > Could I do a chown nagios:nagios on all those files? > > If someone has a better idea, I welcome it! I do that on a few machines. The only potential snag (one that I have to deal with) is if you have Nagios boxes running different OS versions, in which case synching your plugins can be a bad idea. Configs aren't a problem in any case, as long as you make sure they're readable when they arrive. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 01:02:18 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 1 Sep 2006 19:02:18 -0400 Subject: Recovery while problem is aknowledged In-Reply-To: References: Message-ID: > Situation: > > - Service is in hard warning or critical state > - nagios sends notifications > - I know the cause of the problem and I know it is normal > - I go in the web interface and acknowledge the problem to > cease notifications > > What happens when the service comes back into a hard OK > state? Do I get a notification? Yes. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Sat Sep 2 01:14:31 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Fri, 01 Sep 2006 19:14:31 -0400 Subject: Service dependencies patch for self referring and 1:1 joins Message-ID: <200609012314.k81NEVtH019680@mx1.cs.umb.edu> Hello all: One of the things I have wanted to do is to create servicedependencies like: define servicedependency{ dependent_host_name a,b,c,d,e,f,g,h,i dependent_service_description sa, sb, sc, sd, se, sf, sg, sh, si, sj host_name SELF service_description SshCheck notification_failure_criteria c,w } that will be interpreted as though I had specified: define servicedependency{ dependent_host_name a dependent_service_description sa, sb, sc, sd, se, sf, sg, sh, si, sj host_name a service_description SshCheck notification_failure_criteria c,w } define servicedependency{ dependent_host_name b dependent_service_description sa, sb, sc, sd, se, sf, sg, sh, si, sj host_name b service_description SshCheck notification_failure_criteria c,w } define servicedependency{ dependent_host_name c dependent_service_description sa, sb, sc, sd, se, sf, sg, sh, si, sj host_name c service_description SshCheck notification_failure_criteria c,w } ... define servicedependency{ dependent_host_name i dependent_service_description sa, sb, sc, sd, se, sf, sg, sh, si, sj host_name i service_description SshCheck notification_failure_criteria c,w } I found this email: http://thread.gmane.org/gmane.network.nagios.user/19511/focus=19511 that points to this patch: http://www.xney.com/nagios/nagios-2.0-servicedep.patch that claims to do exactly what I want and may also work similarly with: define servicedependency{ dependent_servicegroup_name check_by_ssh host_name SELF service_description SshCheck notification_failure_criteria c,w } Does anybody use this patch? It seems to greatly simplify a very common case where you have multiple services dependent on another service running on the SAME host. Does anybody know if this feature is planned for nagios 3.0? -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Sat Sep 2 01:26:07 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Fri, 01 Sep 2006 19:26:07 -0400 Subject: [Fwd: Syncing configs between 2 nagios servers -permissions] In-Reply-To: Your message of "Fri, 01 Sep 2006 19:00:49 EDT." References: Message-ID: <200609012326.k81NQ7KS021304@mx1.cs.umb.edu> In message , "Morris, Patrick" writes: >> I have 2 nagios servers that will be setup as >> redundant, if nagios1 is down, nagios2 will enable its checks >> + alert. Using NSCA, I can sync the state, but I now have a >> problem to sync the config and plugin directory. >> >> The easiest way to sync would be to have all the files >> in /etc/nagios/ and /usr/lib(64)/nagils/plugins/ owned by the >> user who does the sync. >> Could I do a chown nagios:nagios on all those files? >> >> If someone has a better idea, I welcome it! > >I do that on a few machines. The only potential snag (one that I have >to deal with) is if you have Nagios boxes running different OS versions, >in which case synching your plugins can be a bad idea. > >Configs aren't a problem in any case, as long as you make sure they're >readable when they arrive. Patrick, I assume you must have your two nagios server co-located at the same site and connected to the same switches. Otherwise do you have a method for rewriting your configs to change the parent directives to match the view from your backup/remote nagios machine. Also if you have local commands that are run on the nagios server rather than remote probes (such as nrpe or check_by_ssh), how do you define these entries in your services file? E.G. I have a stanza define service{ service_description DiskRootCheck hostgroup_name standard_linux_services,!standard_linux_services -dev host_name !nag1 use generic-service check_command check_by_ssh!check_disk!-w 10% -c 5% -p / servicegroups check_by_ssh normal_check_interval 2 } define service{ service_description DiskRootCheck hostgroup_name standard_linux_services-dev use generic-service check_command check_by_ssh!check_disk!-w 10% -c 5% -p / servicegroups check_by_ssh contact_groups renesys-admins-nopage normal_check_interval 2 } define service{ service_description DiskRootCheck host_name nag1 use generic-service check_command check_local_disk!10%!5%!-p / } I need to change all the "nag1" (which is the primary nagios server) host names to "nag2" which is the backup server (located 1500 miles from the primary server). How are yours set up so that you don't have to change the config files and still cross monitor the machines? -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Sat Sep 2 01:56:13 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Fri, 01 Sep 2006 19:56:13 -0400 Subject: [Fwd: Syncing configs between 2 nagios servers -permissions] In-Reply-To: <200609012326.k81NQ7KS021304@mx1.cs.umb.edu> References: <200609012326.k81NQ7KS021304@mx1.cs.umb.edu> Message-ID: John P. Rouillard wrote: > Patrick, I assume you must have your two nagios server co-located at > the same site and connected to the same switches. Otherwise do you > have a method for rewriting your configs to change the parent > directives to match the view from your backup/remote nagios machine. > > Also if you have local commands that are run on the nagios server > rather than remote probes (such as nrpe or check_by_ssh), how do you > define these entries in your services file? E.G. I have a stanza What I will do for that is to put all the commands that are 'local' to the server in a folder called 'localized', ignored by rsync during the sync. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enzo at osc.co.cr Sat Sep 2 02:06:53 2006 From: enzo at osc.co.cr (enzo - Eduardo Garcia) Date: Fri, 01 Sep 2006 18:06:53 -0600 Subject: Values to first_notification Message-ID: <44F8CB1D.7080608@osc.co.cr> Hi people *I new in nagios, and i'm try write my first escalation, but i dont know what values to put in first_notification. I want too the mean for each value please * thanks for your help cu enzo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Sat Sep 2 02:39:31 2006 From: btmanmeh at verizon.net (Max H.) Date: Fri, 01 Sep 2006 20:39:31 -0400 Subject: Values to first_notification In-Reply-To: <44F8CB1D.7080608@osc.co.cr> References: <44F8CB1D.7080608@osc.co.cr> Message-ID: <44F8D2C3.7070004@verizon.net> enzo - Eduardo Garcia wrote: > Hi people > > *I new in nagios, and i'm try write my first escalation, but i dont know > what values to put in first_notification. I want too the mean for each > value please > * It depends on when you want the escalation to take place. For example: define serviceescalation{ host_name webserver service_description HTTP first_notification 2 last_notification 0 notification_interval 30 contact_groups yourcontact } Would first notify according the notification of the service. On the second notification this escalation will take over and send it forever to the contact group defined. Setting last notification to 0 means it will continue to use this object configuration. You can do neat things like make the first one go to e-mail, make the second to fourth attempts go to pagers and so on. Check out the docs to get more details. Max ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Sep 2 04:06:13 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 1 Sep 2006 22:06:13 -0400 Subject: [Fwd: Syncing configs between 2 nagios servers-permissions] In-Reply-To: <200609012326.k81NQ7KS021304@mx1.cs.umb.edu> References: <200609012326.k81NQ7KS021304@mx1.cs.umb.edu> Message-ID: > Patrick, I assume you must have your two nagios server > co-located at the same site and connected to the same > switches. Otherwise do you have a method for rewriting your > configs to change the parent directives to match the view > from your backup/remote nagios machine. I have not attempted two duplicate master servers in different locations -- too many complications there. I have dual master servers in one location, and slave machines in other locations that can monitor independently, and have their own web interfaces enabled. Under normal circumstances, the masters do all the alerting, and that's where people use the web interface (since those boxes are the place where you can see everything in one place). However, in the case of a failure of one of those masters, the slaves turn notifications on and begin notifying independently. Nearly all of my checks are designed to be performed from the slave servers and submitted via on ocsp command to the masters, so they continue working if the masters die. Each of the slaves monitors each of the masters, so they all have their own independent view of whether their attached to the Nagios "cluster" or not. Parent/Child relationships are set up based on how they are viewed from the slave boxes doing the monitoring. All of my checks are set up with templates (e.g., "slave1-service, slave2-service, etc." that may or may not be defined differently on different hosts. In your case. I might define "host_name" as nag1 in a slave1-service, and nag2 in a slave2-service. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Sat Sep 2 18:06:47 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Sun, 3 Sep 2006 02:06:47 +1000 Subject: security & suid/sudo plugins In-Reply-To: <44F756F5.3080606@touche.fr.st> References: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> <44F756F5.3080606@touche.fr.st> Message-ID: <610cb7a00609020906v66660389n78865d92c0fde2f6@mail.gmail.com> Thanks everyone for the responses. The 'systrace' thing went over my head I'm afraid and the Solaris man page for that command isn't helping me much. To make things clearer, the setup I'm proposing is this: 1. # /usr/local/sbin/visudo ... nagios ALL=(ALL) NOPASSWD: /usr/local/nagios/libexec/check_logfiles -f /usr/local/nagios/etc/check_logfiles.cfg 2. # vi /usr/local/nagios/etc/nrpe.cfg ... command[check_logfiles]=/usr/local/bin/sudo /usr/local/nagios/libexec/check_logfiles -f /usr/local/nagios/etc/check_logfiles.cfg 3. # grep nagios /etc/passwd nagios:x:1123:100:Nagios Remote User:/usr/local/nagios:/usr/bin/bash Note to Hari: my understanding is that sudo won't work for account that doesn't have a valid shell. Certainly all my testing led me to that conclusion. 4. # passwd -l nagios It's not clear to me exactly what the security risk is. The idea is that someone may gain access to an unprivileged account on the system and then use this access and this Nagios plugin to cause mailicious damage? Or to break the root account? In which case, it would all come down to how secure the code of the plugin is. Is this correct? Kind Regards, Alex On 9/1/06, julien Touche wrote: > > Alexander Harvey wrote on 31/08/2006 16:10: > > I have a difficult customer who won't sign off changes based on the > > security > > risk using suid plugins, for example, check_logfiles. What does one do > > about > > this situation? > > $ cat /usr/local/share/doc/nagios-plugins/README.OpenBSD > Some nagios plugins need elevated privileges to run properly. As the code > quality of these plugins is not really good, they are not installed suid > root by default, but instead I suggest running them with systrace's > privilege elevation feature. This way they are run as _nagios, but single > syscalls are run as root. > > 1) Create a preliminary systrace policy for the plugin. > > # cd ${PREFIX}/libexec/nagios > # systrace -A -d /tmp ./ > > This creates a policy for the plugin in /tmp. > > 2) Refine the policy and configure privilege elevation as required. This > is an example, permitting the bind(2) syscall as root. > > native-bind: sockaddr eq "inet-[0.0.0.0]:68" then permit as root > > 3) Copy the systrace policy to /etc/systrace. > > 4) Run visudo as root and configure sudo for user _nagios like this. > > _nagios ALL=NOPASSWD: /bin/systrace -a -c 550\:550 \ > ${PREFIX}/libexec/nagios/ > > 5) Configure the respective command in nagios. > > define command { > command_name check_dhcp > command_line sudo /bin/systrace -a -c 550:550 $USER1$/ > > } > > 6) In case of problems, systrace will log to /var/log/messages. > > Regards > > > Julien > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 richy at daviesinc.com Sun Sep 3 01:10:44 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sat, 02 Sep 2006 19:10:44 -0400 Subject: defining domain for check_http for each host Message-ID: <1157238644.32435.13.camel@atari.localhost> Hi, I am trying to setup a domain for each host that I want check_http to check. In other words, for host colo1.colo.com I want check_http to check www.yahoo.com (as if yahoo.com was hosted on colo1.colo.com). The idea I had to this was the following: Add a directive in the host definition block for each host for a domain such as "domain_check" and then pass this variable in the definition for check_http, such as $PATH$/check_http -H $DOMAINCHECK$ -w... Is something like this possible? Or can anyone else suggest an easier or more effective solution? I considered changing the address of each host to that domain, but I considered this is an inelegant and flawed method. Thanks, Richard ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Sep 3 01:31:18 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 2 Sep 2006 19:31:18 -0400 Subject: defining domain for check_http for each host In-Reply-To: <1157238644.32435.13.camel@atari.localhost> References: <1157238644.32435.13.camel@atari.localhost> Message-ID: > I am trying to setup a domain for each host that I want > check_http to check. In other words, for host colo1.colo.com > I want check_http to check www.yahoo.com (as if yahoo.com was > hosted on colo1.colo.com). The idea I had to this was the following: > > Add a directive in the host definition block for each host > for a domain such as "domain_check" and then pass this > variable in the definition for check_http, such as > $PATH$/check_http -H $DOMAINCHECK$ -w... > > Is something like this possible? Or can anyone else suggest > an easier or more effective solution? I considered changing > the address of each host to that domain, but I considered > this is an inelegant and flawed method. Yes, that's how you would check virtual hosts. You'd set your parameter in the service definition. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Sun Sep 3 02:05:45 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sat, 02 Sep 2006 20:05:45 -0400 Subject: defining domain for check_http for each host In-Reply-To: References: Message-ID: <1157241945.32435.16.camel@atari.localhost> Great, I'm glad to know I was relatively close to the correct path. Now the question though is syntax. Wouldn't nagios complain if I put a "domain_check www.yahoo.com" in the host definition? And then, how would I summon the variable "domain_check?" As $DOMAINCHECK$ ? Richard On Sat, 2006-09-02 at 19:31 -0400, Morris, Patrick wrote: > > I am trying to setup a domain for each host that I want > > check_http to check. In other words, for host colo1.colo.com > > I want check_http to check www.yahoo.com (as if yahoo.com was > > hosted on colo1.colo.com). The idea I had to this was the following: > > > > Add a directive in the host definition block for each host > > for a domain such as "domain_check" and then pass this > > variable in the definition for check_http, such as > > $PATH$/check_http -H $DOMAINCHECK$ -w... > > > > Is something like this possible? Or can anyone else suggest > > an easier or more effective solution? I considered changing > > the address of each host to that domain, but I considered > > this is an inelegant and flawed method. > > Yes, that's how you would check virtual hosts. You'd set your parameter > in the service definition. > > !DSPAM:44fa14ba77131424011432! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Sep 3 02:46:59 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 2 Sep 2006 20:46:59 -0400 Subject: defining domain for check_http for each host In-Reply-To: <1157241945.32435.16.camel@atari.localhost> References: <1157241945.32435.16.camel@atari.localhost> Message-ID: > Great, I'm glad to know I was relatively close to the correct > path. Now the question though is syntax. Wouldn't nagios > complain if I put a "domain_check www.yahoo.com" in the host > definition? And then, how would I summon the variable > "domain_check?" As $DOMAINCHECK$ ? You would set it up as a service check, not a host check. Your check_command would look something like "domain_check!www.yahoo.com", and your check_command definition should look something like "check_http $HOSTADDRESS$ -w $ARG1$" ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Sun Sep 3 07:20:23 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sun, 03 Sep 2006 01:20:23 -0400 Subject: defining domain for check_http for each host In-Reply-To: References: Message-ID: <1157260823.32435.18.camel@atari.localhost> Right, I understand that, but the issue is that I would have to define a check_http then for every host. I have over 100 hosts, and I would like to just set it in the host definition for quicker, more logical execution.. Is this possible? Richard On Sat, 2006-09-02 at 20:46 -0400, Morris, Patrick wrote: > > Great, I'm glad to know I was relatively close to the correct > > path. Now the question though is syntax. Wouldn't nagios > > complain if I put a "domain_check www.yahoo.com" in the host > > definition? And then, how would I summon the variable > > "domain_check?" As $DOMAINCHECK$ ? > > You would set it up as a service check, not a host check. Your > check_command would look something like "domain_check!www.yahoo.com", > and your check_command definition should look something like "check_http > $HOSTADDRESS$ -w $ARG1$" > > !DSPAM:44fa2675121191469711690! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 07:54:28 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 3 Sep 2006 07:54:28 +0200 (CEST) Subject: defining domain for check_http for each host In-Reply-To: <1157260823.32435.18.camel@atari.localhost> References: <1157260823.32435.18.camel@atari.localhost> Message-ID: On Sun, 3 Sep 2006, Richard Galvez wrote: > Right, I understand that, but the issue is that I would have to define a > check_http then for every host. I have over 100 hosts, and I would like > to just set it in the host definition for quicker, more logical > execution.. Is this possible? You do not want hostchecks. Your users do do not care what piece of iron holds a particular service. They only care about the services and so is Nagios. Host checks are a different bal game with Nagios as one may learn from this list archives. So you define websites as services. Like: define service{ use linux-counter-template host_name gimel.counter.li.org service_description HTTP-counter.li.org check_command check_http_url!counter.li.org!/index.php contact_groups linux-counter } define service{ use linux-counter-template host_name gimel.counter.li.org service_description HTTP-i18n.counter.li.org check_command check_http_url!i18n.counter.li.org!/index.php contact_groups linux-counter } define command { command_name check_http_url command_line $USER1$/check_http -H $ARG1$ -u $ARG2$ } Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Sun Sep 3 09:12:47 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sun, 03 Sep 2006 03:12:47 -0400 Subject: defining domain for check_http for each host In-Reply-To: References: <1157260823.32435.18.camel@atari.localhost> Message-ID: <1157267567.32435.28.camel@atari.localhost> Yeah, I follow you, but the issue is that I'm the user, and I care for the websites that I know are consistent with each machine. If that site goes down, then so did the machine.. That's my reason behind it. Thanks for your help though, all of you, I don't want to seem as if I'm not appreciative. I was thinking, however, in the address of the host definition I just add the domain (www.yahoo.com) that path should resolve to the same machine every time. I'm not sure if this is still the solution I seek. The solution I really am seeking is to add another variable to the host definition. That would be completely, absolutely, ideal. It will also allow me to add other information to the hosts in the future. Any ideas as to how to add custom directives to the host definition block? Richard On Sun, 2006-09-03 at 07:54 +0200, Hugo van der Kooij wrote: > On Sun, 3 Sep 2006, Richard Galvez wrote: > > > Right, I understand that, but the issue is that I would have to define a > > check_http then for every host. I have over 100 hosts, and I would like > > to just set it in the host definition for quicker, more logical > > execution.. Is this possible? > > You do not want hostchecks. Your users do do not care what piece of iron > holds a particular service. They only care about the services and so is > Nagios. Host checks are a different bal game with Nagios as one may learn > from this list archives. > > So you define websites as services. Like: > > define service{ > use linux-counter-template > host_name gimel.counter.li.org > service_description HTTP-counter.li.org > check_command check_http_url!counter.li.org!/index.php > contact_groups linux-counter > } > > define service{ > use linux-counter-template > host_name gimel.counter.li.org > service_description HTTP-i18n.counter.li.org > check_command check_http_url!i18n.counter.li.org!/index.php > contact_groups linux-counter > } > > define command { > command_name check_http_url > command_line $USER1$/check_http -H $ARG1$ -u $ARG2$ > } > > Hugo. > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Sep 3 11:02:24 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 3 Sep 2006 11:02:24 +0200 (CEST) Subject: defining domain for check_http for each host In-Reply-To: <1157267567.32435.28.camel@atari.localhost> References: <1157260823.32435.18.camel@atari.localhost> <1157267567.32435.28.camel@atari.localhost> Message-ID: On Sun, 3 Sep 2006, Richard Galvez wrote: > Yeah, I follow you, but the issue is that I'm the user, and I care for > the websites that I know are consistent with each machine. If that site > goes down, then so did the machine.. That's my reason behind it. Thanks > for your help though, all of you, I don't want to seem as if I'm not > appreciative. I was thinking, however, in the address of the host > definition I just add the domain (www.yahoo.com) that path should > resolve to the same machine every time. I'm not sure if this is still > the solution I seek. The solution I really am seeking is to add another > variable to the host definition. That would be completely, absolutely, > ideal. It will also allow me to add other information to the hosts in > the future. Any ideas as to how to add custom directives to the host > definition block? Use the Source Luke. But in the real world the equasion 1 host = 1 service is almost never valid. After all there are disk involved, perhaps a database and it is quite likely you want some means of maintaining them which could mean ssh, ..... I think you are focussed to much on this host thing. If a normal check_http does not work in a host definition then the website has host restrictions. And so you have cut loose the 1on1 link between hardware and services before you even went to look with nagios. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.respen at wrackweb.net Sun Sep 3 16:20:07 2006 From: j.respen at wrackweb.net (WrackWeb - Jean Respen) Date: Sun, 03 Sep 2006 16:20:07 +0200 Subject: Problem with nagios and Debian Message-ID: <44FAE497.7050102@wrackweb.net> Hi all, I've installed nagios via apt-get. so nagios-text is installed. I just have a little problem of right permission. If I run my apache2 with the www-data user, the web interface of nagios tell me that no nagios process is runing, but if i run apache2 with the nagios user, everything is fine... Do you know why? (i have to stay with the www-data for other reason, so i have to find a fix for this problem) Thanks, -- Jean "Wrack" Respen j.respen at wrackweb.net http://www.wrackweb.net ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sun Sep 3 16:21:03 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 3 Sep 2006 10:21:03 -0400 Subject: defining domain for check_http for each host In-Reply-To: <1157267567.32435.28.camel@atari.localhost> References: <1157267567.32435.28.camel@atari.localhost> Message-ID: > Yeah, I follow you, but the issue is that I'm the user, and I > care for the websites that I know are consistent with each > machine. If that site goes down, then so did the machine.. > That's my reason behind it. Thanks for your help though, all > of you, I don't want to seem as if I'm not appreciative. I > was thinking, however, in the address of the host definition > I just add the domain (www.yahoo.com) that path should > resolve to the same machine every time. I'm not sure if this > is still the solution I seek. The solution I really am > seeking is to add another variable to the host definition. > That would be completely, absolutely, ideal. It will also > allow me to add other information to the hosts in the future. > Any ideas as to how to add custom directives to the host > definition block? What you're trying to do just isn't possible with the current Nagios version. However, it seems it would only be slightly less cumbersome, if it all, to have a service definition template set up so that when a new host is set up, you'd just have to add the following: define service { host_name new_host check_command check_virtual_host!www.yahoo.com } Sure, it's not a one-liner, but it's not far from it. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Sun Sep 3 17:36:12 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Sun, 3 Sep 2006 15:36:12 +0000 (UTC) Subject: (no subject) Message-ID: configure+make failed. configure succeeded, but generated this warning: configure: WARNING: sys/mount.h: present but cannot be compiled configure: WARNING: sys/mount.h: check for missing prerequisite headers? configure: WARNING: sys/mount.h: see the Autoconf documentation configure: WARNING: sys/mount.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/mount.h: proceeding with the preprocessor's result configure: WARNING: sys/mount.h: in the future, the compiler will take precedence configure: WARNING: ## ----------------------------------------- ## configure: WARNING: ## Report this to the nagios-plugins lists. ## configure: WARNING: ## ----------------------------------------- ## there is no sys/mount.h in the tarball, so I assume that this is a reference to one of the following: /usr/include/sys/mount.h /usr/src/sys/compat/sys/mount.h /usr/src/sys/sys/mount.h As best I can tell this is an autoconf snafu, and I am looking for a line like the following in the configure scripts: AC_CHECK_HEADERS but haven't found it yet. What is nagios expecting to find in this file? AND WHY? make failed, mountlist.c: In function `fstype_to_string': mountlist.c:187: error: case label does not reduce to an integer constant mountlist.c:203: error: case label does not reduce to an integer constant mountlist.c:207: error: case label does not reduce to an integer constant mountlist.c:211: error: case label does not reduce to an integer constant mountlist.c:215: error: case label does not reduce to an integer constant mountlist.c:223: error: case label does not reduce to an integer constant mountlist.c:227: error: case label does not reduce to an integer constant mountlist.c:231: error: case label does not reduce to an integer constant mountlist.c:235: error: case label does not reduce to an integer constant mountlist.c:239: error: case label does not reduce to an integer constant mountlist.c:243: error: case label does not reduce to an integer constant mountlist.c:247: error: case label does not reduce to an integer constant mountlist.c:251: error: case label does not reduce to an integer constant mountlist.c:255: error: case label does not reduce to an integer constant mountlist.c:263: error: case label does not reduce to an integer constant mountlist.c: At top level: mountlist.c:274: warning: `struct statfs' declared inside parameter list mountlist.c:274: warning: its scope is only this definition or declaration, which is probably not what you want mountlist.c: In function `fsp_to_string': looking inside mountlist.c at line 187: > case MOUNT_MFS: Robin-David Hammond KB3IEN -------------- next part -------------- bash-3.1# ./configure checking for a BSD-compatible install... /usr/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... powerpc-unknown-netbsd3.0 checking host system type... powerpc-unknown-netbsd3.0 checking for a BSD-compatible install... /usr/bin/install -c checking for style of include used by make... GNU 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 dependency style of gcc... gcc3 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... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for ranlib... ranlib checking whether make sets $(MAKE)... (cached) yes checking for gawk... (cached) awk checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for error_at_line... no checking for getloadavg... yes checking for pstat_getdynamic... no checking for kstat_open in -lkstat... no checking for getloadavg... yes checking whether getloadavg requires setgid... no checking for working strtod... yes checking for python... no checking for sh... /bin/sh checking for perl... /usr/local/bin/perl checking for hostname... /bin/hostname checking for basename... /usr/bin/basename checking for main in -ldce... no checking for main in -lnsl... no checking for socket in -lsocket... no checking for main in -lresolv... yes checking for floor in -lm... yes 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 REQUIREMENTS). 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). configure: WARNING: Skipping mysql plugin configure: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS). checking for unistd.h... (cached) yes checking for IPv6 support... yes checking for library containing getaddrinfo... none required checking krb5.h usability... no checking krb5.h presence... no checking for krb5.h... no checking krb5.h usability... no checking krb5.h presence... no checking for krb5.h... no checking for openssl... /usr/bin/openssl 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 for ANSI C header files... (cached) 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 for strings.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking 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 regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no 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 stdlib.h... (cached) 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 vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for vasprintf... yes checking for C99 vsnprintf... yes checking for memmove... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for strtod... (cached) yes checking for strtol... yes checking for strtoul... yes checking for floor... no checking return type of socket size... int checking for ps... /bin/ps checking for ps syntax... /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args' checking for ping... /sbin/ping checking for ping6... /sbin/ping6 checking for ICMP ping syntax... /sbin/ping -n -c %d %s checking for ICMPv6 ping syntax... /sbin/ping6 -n -c %d %s checking for nslookup... /usr/bin/nslookup checking for nslookup syntax... /usr/bin/nslookup -sil checking for host... /usr/bin/host checking for uptime... /usr/bin/uptime checking for rpcinfo... /usr/bin/rpcinfo checking for ntpdate... /usr/sbin/ntpdate checking for ntpdc... /usr/sbin/ntpdc checking for ntpq... /usr/sbin/ntpq checking for lmstat... no configure: WARNING: Get lmstat from Globetrotter Software to monitor flexlm licenses 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 check_hpjd and check_snmp plugins checking for snmpgetnext... no configure: WARNING: Tried /usr/local/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.html 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_fping plugin checking for ssh... /usr/bin/ssh 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... no 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... yes checking for swaptbl_t... no checking for swapent_t... no checking for struct swapent.se_nblks... yes checking for 2-arg (SVR4) swapctl... no checking for 3-arg (*BSD) swapctl... yes checking for whether swapctl uses blocks or pages... blocks (assuming 512b) checking for /proc/meminfo... no checking for dig... /usr/bin/dig checking for va_list... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... no checking for msgmerge... no checking for library containing strerror... none required checking for inline... inline checking for off_t... yes checking for working alloca.h... no checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... no checking whether integer division by zero raises SIGFPE... no checking for inttypes.h... yes checking for stdint.h... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for feof_unlocked... no checking for fgets_unlocked... no checking for getc_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... no checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... no checking for strcasecmp... yes checking for strdup... (cached) yes checking for strtoul... (cached) yes checking for tsearch... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 2.3, ok checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... no checking for GNU gettext in libintl... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for AFS... no checking for sys/param.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for listmntent... no checking for getmntinfo... yes checking for sys/ucred.h... no checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking sys/mount.h usability... no checking sys/mount.h presence... yes configure: WARNING: sys/mount.h: present but cannot be compiled configure: WARNING: sys/mount.h: check for missing prerequisite headers? configure: WARNING: sys/mount.h: see the Autoconf documentation configure: WARNING: sys/mount.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/mount.h: proceeding with the preprocessor's result configure: WARNING: sys/mount.h: in the future, the compiler will take precedence configure: WARNING: ## ----------------------------------------- ## configure: WARNING: ## Report this to the nagios-plugins lists. ## configure: WARNING: ## ----------------------------------------- ## checking for sys/mount.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 struct fsstat.f_fstypename... no checking for getmntent in -lsun... no checking for getmntent in -lseq... no checking for getmntent in -lgen... no checking for getmntent... no checking for listmntent of Cray/Unicos-9... no checking for mntctl function and struct vmount... no checking for getfsstat function... no checking for FIXME existence of three headers... no checking for getmntinfo function... yes checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking for f_fstypename in struct statfs... no checking for sys/mount.h... (cached) yes checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking for sys/fs_types.h... (cached) no checking how to get filesystem 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... no checking sys/filsys.h presence... no checking for sys/filsys.h... no checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for statfs that truncates block counts... no checking whether clearerr_unlocked is declared... no checking whether feof_unlocked is declared... no checking whether ferror_unlocked is declared... no checking whether fflush_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getc_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking for socklen_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating m4/Makefile config.status: creating plugins/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 intl/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile --with-perl: /usr/local/bin/perl --with-cgiurl: /nagios/cgi-bin --with-nagios-user: nagios --with-nagios-group: nagios --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin --with-ping-command: /sbin/ping -n -c %d %s --with-ping6-command: /sbin/ping6 -n -c %d %s --with-lwres: no --with-ipv6: yes --with-openssl: yes --enable-emulate-getaddrinfo: no bash-3.1# make make all-recursive Making all in intl gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 intl-compat.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 bindtextdom.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dcgettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dgettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 gettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 finddomain.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 loadmsgcat.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 localealias.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 textdomain.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 l10nflist.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 explodename.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dcigettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dcngettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dngettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 ngettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 plural.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 plural-exp.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 localcharset.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 localename.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 osdep.c rm -f libintl.a ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o plural-exp.o localcharset.o localename.o osdep.o ranlib libintl.a cp ./libgnuintl.h libintl.h /bin/sh ./config.charset 'powerpc-unknown-netbsd3.0' > t-charset.alias mv t-charset.alias charset.alias sed -e '/^#/d' -e 's/@''PACKAGE''@/nagios-plugins/g' ref-add.sin > t-ref-add.sed mv t-ref-add.sed ref-add.sed sed -e '/^#/d' -e 's/@''PACKAGE''@/nagios-plugins/g' ref-del.sin > t-ref-del.sed mv t-ref-del.sed ref-del.sed Making all in lib make all-am if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT cloexec.o -MD -MP -MF ".deps/cloexec.Tpo" -c -o cloexec.o cloexec.c; then mv -f ".deps/cloexec.Tpo" ".deps/cloexec.Po"; else rm -f ".deps/cloexec.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT safe-write.o -MD -MP -MF ".deps/safe-write.Tpo" -c -o safe-write.o safe-write.c; then mv -f ".deps/safe-write.Tpo" ".deps/safe-write.Po"; else rm -f ".deps/safe-write.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT xstrdup.o -MD -MP -MF ".deps/xstrdup.Tpo" -c -o xstrdup.o xstrdup.c; then mv -f ".deps/xstrdup.Tpo" ".deps/xstrdup.Po"; else rm -f ".deps/xstrdup.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT mountlist.o -MD -MP -MF ".deps/mountlist.Tpo" -c -o mountlist.o mountlist.c; then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po"; else rm -f ".deps/mountlist.Tpo"; exit 1; fi mountlist.c: In function `fstype_to_string': mountlist.c:187: error: case label does not reduce to an integer constant mountlist.c:203: error: case label does not reduce to an integer constant mountlist.c:207: error: case label does not reduce to an integer constant mountlist.c:211: error: case label does not reduce to an integer constant mountlist.c:215: error: case label does not reduce to an integer constant mountlist.c:223: error: case label does not reduce to an integer constant mountlist.c:227: error: case label does not reduce to an integer constant mountlist.c:231: error: case label does not reduce to an integer constant mountlist.c:235: error: case label does not reduce to an integer constant mountlist.c:239: error: case label does not reduce to an integer constant mountlist.c:243: error: case label does not reduce to an integer constant mountlist.c:247: error: case label does not reduce to an integer constant mountlist.c:251: error: case label does not reduce to an integer constant mountlist.c:255: error: case label does not reduce to an integer constant mountlist.c:263: error: case label does not reduce to an integer constant mountlist.c: At top level: mountlist.c:274: warning: `struct statfs' declared inside parameter list mountlist.c:274: warning: its scope is only this definition or declaration, which is probably not what you want mountlist.c: In function `fsp_to_string': mountlist.c:279: error: dereferencing pointer to incomplete type mountlist.c: In function `read_filesystem_list': mountlist.c:387: warning: passing arg 1 of `getmntinfo' from incompatible pointer type mountlist.c:390: error: increment of pointer to unknown structure mountlist.c:390: error: arithmetic on pointer to an incomplete type mountlist.c:392: warning: passing arg 1 of `fsp_to_string' from incompatible pointer type mountlist.c:395: error: dereferencing pointer to incomplete type mountlist.c:396: error: dereferencing pointer to incomplete type *** Error code 1 Stop. make: stopped in /root/nagios-plugins-1.4.2/lib *** Error code 1 Stop. make: stopped in /root/nagios-plugins-1.4.2/lib *** Error code 1 Stop. make: stopped in /root/nagios-plugins-1.4.2 *** Error code 1 Stop. make: stopped in /root/nagios-plugins-1.4.2 -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 imarks at comcast.net Sun Sep 3 17:46:24 2006 From: imarks at comcast.net (Ian) Date: Sun, 03 Sep 2006 11:46:24 -0400 Subject: (no subject) In-Reply-To: References: Message-ID: <44FAF8D0.2000103@comcast.net> What OS? Make sure you have glibc-kernheaders installed. Robin-David Hammond%KB3IEN wrote: > > > configure+make failed. > > configure succeeded, but generated this warning: > > configure: WARNING: sys/mount.h: present but cannot be compiled > configure: WARNING: sys/mount.h: check for missing prerequisite > headers? > configure: WARNING: sys/mount.h: see the Autoconf documentation > configure: WARNING: sys/mount.h: section "Present But Cannot Be > Compiled" > configure: WARNING: sys/mount.h: proceeding with the preprocessor's > result > configure: WARNING: sys/mount.h: in the future, the compiler will take > precedence > configure: WARNING: ## ----------------------------------------- ## > configure: WARNING: ## Report this to the nagios-plugins lists. ## > configure: WARNING: ## ----------------------------------------- ## > > there is no sys/mount.h in the tarball, so I assume that this is a > reference to one of the following: > /usr/include/sys/mount.h > /usr/src/sys/compat/sys/mount.h > /usr/src/sys/sys/mount.h > > As best I can tell this is an autoconf snafu, and I am looking for a > line like the following in the configure scripts: > > AC_CHECK_HEADERS > > but haven't found it yet. > > > What is nagios expecting to find in this file? AND WHY? > > make failed, > mountlist.c: In function `fstype_to_string': > mountlist.c:187: error: case label does not reduce to an integer constant > mountlist.c:203: error: case label does not reduce to an integer constant > mountlist.c:207: error: case label does not reduce to an integer constant > mountlist.c:211: error: case label does not reduce to an integer constant > mountlist.c:215: error: case label does not reduce to an integer constant > mountlist.c:223: error: case label does not reduce to an integer constant > mountlist.c:227: error: case label does not reduce to an integer constant > mountlist.c:231: error: case label does not reduce to an integer constant > mountlist.c:235: error: case label does not reduce to an integer constant > mountlist.c:239: error: case label does not reduce to an integer constant > mountlist.c:243: error: case label does not reduce to an integer constant > mountlist.c:247: error: case label does not reduce to an integer constant > mountlist.c:251: error: case label does not reduce to an integer constant > mountlist.c:255: error: case label does not reduce to an integer constant > mountlist.c:263: error: case label does not reduce to an integer constant > mountlist.c: At top level: > mountlist.c:274: warning: `struct statfs' declared inside parameter list > mountlist.c:274: warning: its scope is only this definition or > declaration, which is probably not what you want > mountlist.c: In function `fsp_to_string': > > > looking inside mountlist.c at line 187: > >> case MOUNT_MFS: > > > Robin-David Hammond KB3IEN > ------------------------------------------------------------------------ > > bash-3.1# ./configure > checking for a BSD-compatible install... /usr/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... powerpc-unknown-netbsd3.0 > checking host system type... powerpc-unknown-netbsd3.0 > checking for a BSD-compatible install... /usr/bin/install -c > checking for style of include used by make... GNU > 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 dependency style of gcc... gcc3 > 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... yes > checking for unistd.h... yes > checking minix/config.h usability... no > checking minix/config.h presence... no > checking for minix/config.h... no > checking for gcc... (cached) gcc > checking whether we are using the GNU C compiler... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for gcc option to accept ANSI C... (cached) none needed > checking dependency style of gcc... (cached) gcc3 > checking how to run the C preprocessor... gcc -E > checking whether gcc needs -traditional... no > checking for ranlib... ranlib > checking whether make sets $(MAKE)... (cached) yes > checking for gawk... (cached) awk > > > checking for stdlib.h... (cached) yes > checking for GNU libc compatible malloc... yes > checking for stdlib.h... (cached) yes > checking for GNU libc compatible realloc... yes > checking for error_at_line... no > checking for getloadavg... yes > checking for pstat_getdynamic... no > checking for kstat_open in -lkstat... no > checking for getloadavg... yes > checking whether getloadavg requires setgid... no > checking for working strtod... yes > checking for python... no > checking for sh... /bin/sh > checking for perl... /usr/local/bin/perl > checking for hostname... /bin/hostname > checking for basename... /usr/bin/basename > checking for main in -ldce... no > checking for main in -lnsl... no > checking for socket in -lsocket... no > checking for main in -lresolv... yes > checking for floor in -lm... yes > 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 REQUIREMENTS). > 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). > configure: WARNING: Skipping mysql plugin > configure: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS). > checking for unistd.h... (cached) yes > checking for IPv6 support... yes > checking for library containing getaddrinfo... none required > checking krb5.h usability... no > > checking krb5.h presence... no > checking for krb5.h... no > checking krb5.h usability... no > checking krb5.h presence... no > checking for krb5.h... no > checking for openssl... /usr/bin/openssl > 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 for ANSI C header files... (cached) 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 for strings.h... (cached) yes > checking for string.h... (cached) yes > checking syslog.h usability... yes > checking syslog.h presence... yes > checking for syslog.h... yes > checking 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 regex.h usability... yes > checking regex.h presence... yes > checking for regex.h... yes > checking for sys/types.h... (cached) yes > > > > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking sys/loadavg.h usability... no > checking sys/loadavg.h presence... no > checking for sys/loadavg.h... no > > 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 stdlib.h... (cached) 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 vsnprintf... yes > checking for snprintf... yes > > checking for asprintf... yes > checking for vasprintf... yes > checking for C99 vsnprintf... yes > checking for memmove... yes > checking for select... yes > checking for socket... yes > > > checking for strdup... yes > checking for strstr... yes > checking for strtod... (cached) yes > checking for strtol... yes > checking for strtoul... yes > checking for floor... no > checking return type of socket size... int > checking for ps... /bin/ps > checking for ps syntax... /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args' > checking for ping... /sbin/ping > checking for ping6... /sbin/ping6 > checking for ICMP ping syntax... /sbin/ping -n -c %d %s > checking for ICMPv6 ping syntax... /sbin/ping6 -n -c %d %s > checking for nslookup... /usr/bin/nslookup > checking for nslookup syntax... /usr/bin/nslookup -sil > checking for host... /usr/bin/host > checking for uptime... /usr/bin/uptime > checking for rpcinfo... /usr/bin/rpcinfo > checking for ntpdate... /usr/sbin/ntpdate > checking for ntpdc... /usr/sbin/ntpdc > checking for ntpq... /usr/sbin/ntpq > checking for lmstat... no > configure: WARNING: Get lmstat from Globetrotter Software to monitor flexlm licenses > 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 check_hpjd and check_snmp plugins > checking for snmpgetnext... no > configure: WARNING: Tried /usr/local/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.html 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_fping plugin > checking for ssh... /usr/bin/ssh > 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... no > 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... yes > checking for swaptbl_t... no > checking for swapent_t... no > checking for struct swapent.se_nblks... yes > checking for 2-arg (SVR4) swapctl... no > checking for 3-arg (*BSD) swapctl... yes > checking for whether swapctl uses blocks or pages... blocks (assuming 512b) > checking for /proc/meminfo... no > checking for dig... /usr/bin/dig > checking for va_list... yes > checking for msgfmt... /usr/bin/msgfmt > checking for gmsgfmt... /usr/bin/msgfmt > checking for xgettext... no > checking for msgmerge... no > checking for library containing strerror... none required > checking for inline... inline > checking for off_t... yes > checking for working alloca.h... no > checking for alloca... yes > checking for stdlib.h... (cached) yes > > > checking for unistd.h... (cached) yes > checking for getpagesize... yes > checking for working mmap... yes > checking whether we are using the GNU C Library 2.1 or newer... no > checking whether integer division by zero raises SIGFPE... no > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unsigned long long... yes > checking for inttypes.h... yes > > > > checking whether the inttypes.h PRIxNN macros are broken... no > checking for ld used by GCC... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for shared library run path origin... done > checking argz.h usability... no > checking argz.h presence... no > checking for argz.h... no > checking limits.h usability... yes > checking limits.h presence... yes > checking for limits.h... yes > checking locale.h usability... yes > checking locale.h presence... yes > checking for locale.h... yes > checking nl_types.h usability... yes > checking nl_types.h presence... yes > checking for nl_types.h... yes > > checking malloc.h usability... yes > checking malloc.h presence... yes > checking for malloc.h... yes > checking stddef.h usability... yes > checking stddef.h presence... yes > checking for stddef.h... yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking for unistd.h... (cached) yes > checking for sys/param.h... (cached) yes > checking for feof_unlocked... no > checking for fgets_unlocked... no > checking for getc_unlocked... yes > checking for getcwd... yes > checking for getegid... yes > > checking for geteuid... yes > checking for getgid... yes > checking for getuid... yes > checking for mempcpy... no > checking for munmap... yes > checking for putenv... yes > checking for setenv... yes > > > checking for setlocale... yes > checking for stpcpy... no > checking for strcasecmp... yes > checking for strdup... (cached) yes > checking for strtoul... (cached) yes > checking for tsearch... yes > > > checking for __argz_count... no > checking for __argz_stringify... no > checking for __argz_next... no > checking for iconv... yes > checking for iconv declaration... > extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); > checking for nl_langinfo and CODESET... yes > checking for LC_MESSAGES... yes > checking for bison... bison > checking version of bison... 2.3, ok > checking whether NLS is requested... yes > checking whether included gettext is requested... no > checking for GNU gettext in libc... no > checking for GNU gettext in libintl... no > checking for stdbool.h that conforms to C99... yes > checking for _Bool... yes > checking for AFS... no > checking for sys/param.h... (cached) yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking for unistd.h... (cached) yes > checking for listmntent... no > > > checking for getmntinfo... yes > checking for sys/ucred.h... no > checking mntent.h usability... no > checking mntent.h presence... no > checking for mntent.h... no > checking sys/mount.h usability... no > checking sys/mount.h presence... yes > configure: WARNING: sys/mount.h: present but cannot be compiled > configure: WARNING: sys/mount.h: check for missing prerequisite headers? > configure: WARNING: sys/mount.h: see the Autoconf documentation > configure: WARNING: sys/mount.h: section "Present But Cannot Be Compiled" > configure: WARNING: sys/mount.h: proceeding with the preprocessor's result > configure: WARNING: sys/mount.h: in the future, the compiler will take precedence > configure: WARNING: ## ----------------------------------------- ## > configure: WARNING: ## Report this to the nagios-plugins lists. ## > configure: WARNING: ## ----------------------------------------- ## > checking for sys/mount.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 struct fsstat.f_fstypename... no > checking for getmntent in -lsun... no > checking for getmntent in -lseq... no > checking for getmntent in -lgen... no > checking for getmntent... no > checking for listmntent of Cray/Unicos-9... no > checking for mntctl function and struct vmount... no > checking for getfsstat function... no > checking for FIXME existence of three headers... no > checking for getmntinfo function... yes > checking sys/mntent.h usability... no > checking sys/mntent.h presence... no > checking for sys/mntent.h... no > checking for f_fstypename in struct statfs... no > checking for sys/mount.h... (cached) yes > checking sys/vfs.h usability... no > checking sys/vfs.h presence... no > checking for sys/vfs.h... no > checking for sys/fs_types.h... (cached) no > checking how to get filesystem 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... no > checking sys/filsys.h presence... no > checking for sys/filsys.h... no > checking sys/statfs.h usability... no > checking sys/statfs.h presence... no > checking for sys/statfs.h... no > checking sys/statvfs.h usability... yes > checking sys/statvfs.h presence... yes > checking for sys/statvfs.h... yes > checking for statfs that truncates block counts... no > checking whether clearerr_unlocked is declared... no > checking whether feof_unlocked is declared... no > checking whether ferror_unlocked is declared... no > > > checking whether fflush_unlocked is declared... no > checking whether fgets_unlocked is declared... no > checking whether fputc_unlocked is declared... no > checking whether fputs_unlocked is declared... no > checking whether fread_unlocked is declared... no > checking whether fwrite_unlocked is declared... no > checking whether getc_unlocked is declared... yes > checking whether getchar_unlocked is declared... yes > checking whether putc_unlocked is declared... yes > checking whether putchar_unlocked is declared... yes > checking for socklen_t... yes > > > configure: creating ./config.status > config.status: creating Makefile > config.status: creating lib/Makefile > config.status: creating m4/Makefile > config.status: creating plugins/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 intl/Makefile > config.status: creating po/Makefile.in > config.status: creating config.h > config.status: executing depfiles commands > > > config.status: executing default-1 commands > config.status: creating po/POTFILES > config.status: creating po/Makefile > --with-perl: /usr/local/bin/perl > --with-cgiurl: /nagios/cgi-bin > --with-nagios-user: nagios > --with-nagios-group: nagios > --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin > --with-ping-command: /sbin/ping -n -c %d %s > --with-ping6-command: /sbin/ping6 -n -c %d %s > --with-lwres: no > --with-ipv6: yes > --with-openssl: yes > --enable-emulate-getaddrinfo: no > > > > bash-3.1# make > make all-recursive > Making all in intl > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 intl-compat.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 bindtextdom.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dcgettext.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dgettext.c > > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 gettext.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 finddomain.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 loadmsgcat.c > > > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 localealias.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 textdomain.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 l10nflist.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 explodename.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dcigettext.c > > > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dcngettext.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dngettext.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 ngettext.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 plural.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 plural-exp.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 localcharset.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 localename.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 osdep.c > rm -f libintl.a > ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o plural-exp.o localcharset.o localename.o osdep.o > ranlib libintl.a > cp ./libgnuintl.h libintl.h > /bin/sh ./config.charset 'powerpc-unknown-netbsd3.0' > t-charset.alias > mv t-charset.alias charset.alias > sed -e '/^#/d' -e 's/@''PACKAGE''@/nagios-plugins/g' ref-add.sin > t-ref-add.sed > mv t-ref-add.sed ref-add.sed > sed -e '/^#/d' -e 's/@''PACKAGE''@/nagios-plugins/g' ref-del.sin > t-ref-del.sed > mv t-ref-del.sed ref-del.sed > Making all in lib > make all-am > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT cloexec.o -MD -MP -MF ".deps/cloexec.Tpo" -c -o cloexec.o cloexec.c; then mv -f ".deps/cloexec.Tpo" ".deps/cloexec.Po"; else rm -f ".deps/cloexec.Tpo"; exit 1; fi > > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT safe-write.o -MD -MP -MF ".deps/safe-write.Tpo" -c -o safe-write.o safe-write.c; then mv -f ".deps/safe-write.Tpo" ".deps/safe-write.Po"; else rm -f ".deps/safe-write.Tpo"; exit 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT xstrdup.o -MD -MP -MF ".deps/xstrdup.Tpo" -c -o xstrdup.o xstrdup.c; then mv -f ".deps/xstrdup.Tpo" ".deps/xstrdup.Po"; else rm -f ".deps/xstrdup.Tpo"; exit 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT mountlist.o -MD -MP -MF ".deps/mountlist.Tpo" -c -o mountlist.o mountlist.c; then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po"; else rm -f ".deps/mountlist.Tpo"; exit 1; fi > mountlist.c: In function `fstype_to_string': > mountlist.c:187: error: case label does not reduce to an integer constant > mountlist.c:203: error: case label does not reduce to an integer constant > mountlist.c:207: error: case label does not reduce to an integer constant > mountlist.c:211: error: case label does not reduce to an integer constant > mountlist.c:215: error: case label does not reduce to an integer constant > mountlist.c:223: error: case label does not reduce to an integer constant > mountlist.c:227: error: case label does not reduce to an integer constant > mountlist.c:231: error: case label does not reduce to an integer constant > mountlist.c:235: error: case label does not reduce to an integer constant > mountlist.c:239: error: case label does not reduce to an integer constant > mountlist.c:243: error: case label does not reduce to an integer constant > mountlist.c:247: error: case label does not reduce to an integer constant > mountlist.c:251: error: case label does not reduce to an integer constant > mountlist.c:255: error: case label does not reduce to an integer constant > mountlist.c:263: error: case label does not reduce to an integer constant > mountlist.c: At top level: > mountlist.c:274: warning: `struct statfs' declared inside parameter list > mountlist.c:274: warning: its scope is only this definition or declaration, which is probably not what you want > mountlist.c: In function `fsp_to_string': > mountlist.c:279: error: dereferencing pointer to incomplete type > mountlist.c: In function `read_filesystem_list': > mountlist.c:387: warning: passing arg 1 of `getmntinfo' from incompatible pointer type > mountlist.c:390: error: increment of pointer to unknown structure > mountlist.c:390: error: arithmetic on pointer to an incomplete type > mountlist.c:392: warning: passing arg 1 of `fsp_to_string' from incompatible pointer type > mountlist.c:395: error: dereferencing pointer to incomplete type > mountlist.c:396: error: dereferencing pointer to incomplete type > *** Error code 1 > > Stop. > make: stopped in /root/nagios-plugins-1.4.2/lib > *** Error code 1 > > Stop. > make: stopped in /root/nagios-plugins-1.4.2/lib > *** Error code 1 > > Stop. > make: stopped in /root/nagios-plugins-1.4.2 > *** Error code 1 > > Stop. > make: stopped in /root/nagios-plugins-1.4.2 > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Sun Sep 3 19:28:38 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sun, 03 Sep 2006 13:28:38 -0400 Subject: Problem with nagios and Debian In-Reply-To: <44FAE497.7050102@wrackweb.net> References: <44FAE497.7050102@wrackweb.net> Message-ID: <1157304518.7808.1.camel@atari.localhost> Hello Jean, Yes I installed in debian as well, and there is a Readme.DEBIAN somewhere in the package that explains to you the permission alterations that must me implemented in order for the cgi's (web interface) to work. I believe, but am not completely sure that the file is in /usr/share/doc/nagios. Richard On Sun, 2006-09-03 at 16:20 +0200, WrackWeb - Jean Respen wrote: > Hi all, > > I've installed nagios via apt-get. so nagios-text is installed. > > I just have a little problem of right permission. If I run my apache2 > with the www-data user, the web interface of nagios tell me that no > nagios process is runing, but if i run apache2 with the nagios user, > everything is fine... Do you know why? (i have to stay with the www-data > for other reason, so i have to find a fix for this problem) > > Thanks, ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Sun Sep 3 20:07:29 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Sun, 3 Sep 2006 18:07:29 +0000 (UTC) Subject: mount.h revisited. Message-ID: I have determined that the mount.h being read is /usr/include/sys/mount.h The problem is that NGROUP is not defined. This is because configure failed to include wait.h as a temporary patch i added this to mount.h. // added rdh #ifndef _SYS_WAIT_H_ #include // /added rdh now instead of these earlier errors: configure: WARNING: sys/mount.h: present but cannot be compiled configure: WARNING: sys/mount.h: check for missing prerequisite headers? configure: WARNING: sys/mount.h: see the Autoconf documentation configure: WARNING: sys/mount.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/mount.h: proceeding with the preprocessor's result configure: WARNING: sys/mount.h: in the future, the compiler will take precedence configure: WARNING: ## ----------------------------------------- ## configure: WARNING: ## Report this to the nagios-plugins lists. ## configure: WARNING: ## ----------------------------------------- ## i get these even less useful error: checking sys/mount.h usability... no checking sys/mount.h presence... no checking for sys/mount.h... no ... checking for sys/mount.h... (cached) no Why would configure fail to see mount.h now? ls -lu /usr/include/sys/mount.h -r--r--r-- 1 root wheel 14520 Sep 3 17:51 mount.h seems that mount.h is still readable, and still being read, because re-running configure increases the last-read date. this much didn't change: make failed, mountlist.c: In function `fstype_to_string': mountlist.c:187: error: case label does not reduce to an integer constant mountlist.c:203: error: case label does not reduce to an integer constant mountlist.c:207: error: case label does not reduce to an integer constant mountlist.c:211: error: case label does not reduce to an integer constant mountlist.c:215: error: case label does not reduce to an integer constant mountlist.c:223: error: case label does not reduce to an integer constant mountlist.c:227: error: case label does not reduce to an integer constant mountlist.c:231: error: case label does not reduce to an integer constant mountlist.c:235: error: case label does not reduce to an integer constant mountlist.c:239: error: case label does not reduce to an integer constant mountlist.c:243: error: case label does not reduce to an integer constant mountlist.c:247: error: case label does not reduce to an integer constant mountlist.c:251: error: case label does not reduce to an integer constant mountlist.c:255: error: case label does not reduce to an integer constant mountlist.c:263: error: case label does not reduce to an integer constant mountlist.c: At top level: mountlist.c:274: warning: `struct statfs' declared inside parameter list mountlist.c:274: warning: its scope is only this definition or declaration, which is probably not what you want mountlist.c: In function `fsp_to_string': looking inside mountlist.c at line 187: > case MOUNT_MFS: Robin-David Hammond KB3IEN -------------- next part -------------- bash-3.1# ./configure checking for a BSD-compatible install... /usr/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... powerpc-unknown-netbsd3.0 checking host system type... powerpc-unknown-netbsd3.0 checking for a BSD-compatible install... /usr/bin/install -c checking for style of include used by make... GNU 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 dependency style of gcc... gcc3 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... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for ranlib... ranlib checking whether make sets $(MAKE)... (cached) yes checking for gawk... (cached) awk checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for error_at_line... no checking for getloadavg... yes checking for pstat_getdynamic... no checking for kstat_open in -lkstat... no checking for getloadavg... yes checking whether getloadavg requires setgid... no checking for working strtod... yes checking for python... no checking for sh... /bin/sh checking for perl... /usr/local/bin/perl checking for hostname... /bin/hostname checking for basename... /usr/bin/basename checking for main in -ldce... no checking for main in -lnsl... no checking for socket in -lsocket... no checking for main in -lresolv... yes checking for floor in -lm... yes 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 REQUIREMENTS). 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). configure: WARNING: Skipping mysql plugin configure: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS). checking for unistd.h... (cached) yes checking for IPv6 support... yes checking for library containing getaddrinfo... none required checking krb5.h usability... no checking krb5.h presence... no checking for krb5.h... no checking krb5.h usability... no checking krb5.h presence... no checking for krb5.h... no checking for openssl... /usr/bin/openssl 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 for ANSI C header files... (cached) 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 for strings.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking 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 regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no 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 stdlib.h... (cached) 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 vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for vasprintf... yes checking for C99 vsnprintf... yes checking for memmove... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for strtod... (cached) yes checking for strtol... yes checking for strtoul... yes checking for floor... no checking return type of socket size... int checking for ps... /bin/ps checking for ps syntax... /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args' checking for ping... /sbin/ping checking for ping6... /sbin/ping6 checking for ICMP ping syntax... /sbin/ping -n -c %d %s checking for ICMPv6 ping syntax... /sbin/ping6 -n -c %d %s checking for nslookup... /usr/bin/nslookup checking for nslookup syntax... /usr/bin/nslookup -sil checking for host... /usr/bin/host checking for uptime... /usr/bin/uptime checking for rpcinfo... /usr/bin/rpcinfo checking for ntpdate... /usr/sbin/ntpdate checking for ntpdc... /usr/sbin/ntpdc checking for ntpq... /usr/sbin/ntpq checking for lmstat... no configure: WARNING: Get lmstat from Globetrotter Software to monitor flexlm licenses 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 check_hpjd and check_snmp plugins checking for snmpgetnext... no configure: WARNING: Tried /usr/local/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.html 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_fping plugin checking for ssh... /usr/bin/ssh 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... no 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... yes checking for swaptbl_t... no checking for swapent_t... no checking for struct swapent.se_nblks... yes checking for 2-arg (SVR4) swapctl... no checking for 3-arg (*BSD) swapctl... yes checking for whether swapctl uses blocks or pages... blocks (assuming 512b) checking for /proc/meminfo... no checking for dig... /usr/bin/dig checking for va_list... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... no checking for msgmerge... no checking for library containing strerror... none required checking for inline... inline checking for off_t... yes checking for working alloca.h... no checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... no checking whether integer division by zero raises SIGFPE... no checking for inttypes.h... yes checking for stdint.h... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for feof_unlocked... no checking for fgets_unlocked... no checking for getc_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... no checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... no checking for strcasecmp... yes checking for strdup... (cached) yes checking for strtoul... (cached) yes checking for tsearch... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 2.3, ok checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... no checking for GNU gettext in libintl... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for AFS... no checking for sys/param.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for listmntent... no checking for getmntinfo... yes checking for sys/ucred.h... no checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking sys/mount.h usability... no checking sys/mount.h presence... yes configure: WARNING: sys/mount.h: present but cannot be compiled configure: WARNING: sys/mount.h: check for missing prerequisite headers? configure: WARNING: sys/mount.h: see the Autoconf documentation configure: WARNING: sys/mount.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/mount.h: proceeding with the preprocessor's result configure: WARNING: sys/mount.h: in the future, the compiler will take precedence configure: WARNING: ## ----------------------------------------- ## configure: WARNING: ## Report this to the nagios-plugins lists. ## configure: WARNING: ## ----------------------------------------- ## checking for sys/mount.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 struct fsstat.f_fstypename... no checking for getmntent in -lsun... no checking for getmntent in -lseq... no checking for getmntent in -lgen... no checking for getmntent... no checking for listmntent of Cray/Unicos-9... no checking for mntctl function and struct vmount... no checking for getfsstat function... no checking for FIXME existence of three headers... no checking for getmntinfo function... yes checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking for f_fstypename in struct statfs... no checking for sys/mount.h... (cached) yes checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking for sys/fs_types.h... (cached) no checking how to get filesystem 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... no checking sys/filsys.h presence... no checking for sys/filsys.h... no checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for statfs that truncates block counts... no checking whether clearerr_unlocked is declared... no checking whether feof_unlocked is declared... no checking whether ferror_unlocked is declared... no checking whether fflush_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getc_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking for socklen_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating m4/Makefile config.status: creating plugins/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 intl/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile --with-perl: /usr/local/bin/perl --with-cgiurl: /nagios/cgi-bin --with-nagios-user: nagios --with-nagios-group: nagios --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin --with-ping-command: /sbin/ping -n -c %d %s --with-ping6-command: /sbin/ping6 -n -c %d %s --with-lwres: no --with-ipv6: yes --with-openssl: yes --enable-emulate-getaddrinfo: no bash-3.1# make make all-recursive Making all in intl gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 intl-compat.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 bindtextdom.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dcgettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dgettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 gettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 finddomain.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 loadmsgcat.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 localealias.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 textdomain.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 l10nflist.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 explodename.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dcigettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dcngettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dngettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 ngettext.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 plural.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 plural-exp.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 localcharset.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 localename.c gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 osdep.c rm -f libintl.a ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o plural-exp.o localcharset.o localename.o osdep.o ranlib libintl.a cp ./libgnuintl.h libintl.h /bin/sh ./config.charset 'powerpc-unknown-netbsd3.0' > t-charset.alias mv t-charset.alias charset.alias sed -e '/^#/d' -e 's/@''PACKAGE''@/nagios-plugins/g' ref-add.sin > t-ref-add.sed mv t-ref-add.sed ref-add.sed sed -e '/^#/d' -e 's/@''PACKAGE''@/nagios-plugins/g' ref-del.sin > t-ref-del.sed mv t-ref-del.sed ref-del.sed Making all in lib make all-am if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT cloexec.o -MD -MP -MF ".deps/cloexec.Tpo" -c -o cloexec.o cloexec.c; then mv -f ".deps/cloexec.Tpo" ".deps/cloexec.Po"; else rm -f ".deps/cloexec.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT safe-write.o -MD -MP -MF ".deps/safe-write.Tpo" -c -o safe-write.o safe-write.c; then mv -f ".deps/safe-write.Tpo" ".deps/safe-write.Po"; else rm -f ".deps/safe-write.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT xstrdup.o -MD -MP -MF ".deps/xstrdup.Tpo" -c -o xstrdup.o xstrdup.c; then mv -f ".deps/xstrdup.Tpo" ".deps/xstrdup.Po"; else rm -f ".deps/xstrdup.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT mountlist.o -MD -MP -MF ".deps/mountlist.Tpo" -c -o mountlist.o mountlist.c; then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po"; else rm -f ".deps/mountlist.Tpo"; exit 1; fi mountlist.c: In function `fstype_to_string': mountlist.c:187: error: case label does not reduce to an integer constant mountlist.c:203: error: case label does not reduce to an integer constant mountlist.c:207: error: case label does not reduce to an integer constant mountlist.c:211: error: case label does not reduce to an integer constant mountlist.c:215: error: case label does not reduce to an integer constant mountlist.c:223: error: case label does not reduce to an integer constant mountlist.c:227: error: case label does not reduce to an integer constant mountlist.c:231: error: case label does not reduce to an integer constant mountlist.c:235: error: case label does not reduce to an integer constant mountlist.c:239: error: case label does not reduce to an integer constant mountlist.c:243: error: case label does not reduce to an integer constant mountlist.c:247: error: case label does not reduce to an integer constant mountlist.c:251: error: case label does not reduce to an integer constant mountlist.c:255: error: case label does not reduce to an integer constant mountlist.c:263: error: case label does not reduce to an integer constant mountlist.c: At top level: mountlist.c:274: warning: `struct statfs' declared inside parameter list mountlist.c:274: warning: its scope is only this definition or declaration, which is probably not what you want mountlist.c: In function `fsp_to_string': mountlist.c:279: error: dereferencing pointer to incomplete type mountlist.c: In function `read_filesystem_list': mountlist.c:387: warning: passing arg 1 of `getmntinfo' from incompatible pointer type mountlist.c:390: error: increment of pointer to unknown structure mountlist.c:390: error: arithmetic on pointer to an incomplete type mountlist.c:392: warning: passing arg 1 of `fsp_to_string' from incompatible pointer type mountlist.c:395: error: dereferencing pointer to incomplete type mountlist.c:396: error: dereferencing pointer to incomplete type *** Error code 1 Stop. make: stopped in /root/nagios-plugins-1.4.2/lib *** Error code 1 Stop. make: stopped in /root/nagios-plugins-1.4.2/lib *** Error code 1 Stop. make: stopped in /root/nagios-plugins-1.4.2 *** Error code 1 Stop. make: stopped in /root/nagios-plugins-1.4.2 -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 muaddib at databit7.com Sun Sep 3 20:14:48 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Sun, 3 Sep 2006 18:14:48 +0000 (UTC) Subject: libMYSQL Message-ID: Im trying to compile the plugins including the mysql client one REQUIREMENTS tell me that i need check_mysql: - Requires the MySQL libraries available from http://www.mysql.org Lib: libmysql, libmysqlclient Redhat Powertools Source: mysql-3.20.32a-3.i386.rpm, mysql-devel-3.20.32a-3.i386.rpm (these seem to be broken, however) RPMS from www.mysql.org work better bash-3.1# pkg_info |grep sql mysql-client-5.0.22 MySQL 5, a free SQL database (client) mysql-server-5.0.22nb1 MySQL 5, a free SQL database (server) I have : bash-3.1# locate libmysql /usr/local/lib/mysql/libmysqlclient.a /usr/local/lib/mysql/libmysqlclient.la /usr/local/lib/mysql/libmysqlclient.so /usr/local/lib/mysql/libmysqlclient.so.15 /usr/local/lib/mysql/libmysqlclient.so.15.0.0 /usr/local/lib/mysql/libmysqlclient_r.a /usr/local/lib/mysql/libmysqlclient_r.la /usr/local/lib/mysql/libmysqlclient_r.so /usr/local/lib/mysql/libmysqlclient_r.so.15 /usr/local/lib/mysql/libmysqlclient_r.so.15.0.0 Do i need another pkg? Robin-David Hammond KB3IEN ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Sun Sep 3 20:23:07 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sun, 03 Sep 2006 14:23:07 -0400 Subject: libMYSQL In-Reply-To: References: Message-ID: <1157307787.7808.3.camel@atari.localhost> Hi, What distro are you running? On Sun, 2006-09-03 at 18:14 +0000, Robin-David Hammond%KB3IEN wrote: > Im trying to compile the plugins including the mysql client one > > REQUIREMENTS tell me that i need > > check_mysql: > - Requires the MySQL libraries available from > http://www.mysql.org > Lib: libmysql, libmysqlclient > Redhat Powertools Source: mysql-3.20.32a-3.i386.rpm, > mysql-devel-3.20.32a-3.i386.rpm (these seem to be broken, however) > RPMS from www.mysql.org work better > > > bash-3.1# pkg_info |grep sql > mysql-client-5.0.22 MySQL 5, a free SQL database (client) > mysql-server-5.0.22nb1 MySQL 5, a free SQL database (server) > > > I have : > bash-3.1# locate libmysql > /usr/local/lib/mysql/libmysqlclient.a > /usr/local/lib/mysql/libmysqlclient.la > /usr/local/lib/mysql/libmysqlclient.so > /usr/local/lib/mysql/libmysqlclient.so.15 > /usr/local/lib/mysql/libmysqlclient.so.15.0.0 > /usr/local/lib/mysql/libmysqlclient_r.a > /usr/local/lib/mysql/libmysqlclient_r.la > /usr/local/lib/mysql/libmysqlclient_r.so > /usr/local/lib/mysql/libmysqlclient_r.so.15 > /usr/local/lib/mysql/libmysqlclient_r.so.15.0.0 > > Do i need another pkg? > > Robin-David Hammond KB3IEN > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:44fb1ba6137281745514564! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Sun Sep 3 20:51:03 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Sun, 3 Sep 2006 18:51:03 +0000 (UTC) Subject: libMYSQL Message-ID: uname -a NetBSD gw-jfk-0-0 3.0 NetBSD 3.0 (GENERIC) #0: Sat Dec 24 04:40:36 UTC 2005 builds at b3.netbsd.org:/home/builds/ab/netbsd-3/macppc/200512230000Z-obj/home/builds/ab/netbsd-3/src/sys/arch/macppc/compile/GENERIC macppc On Sun, 3 Sep 2006, Richard Galvez wrote: > Date: Sun, 03 Sep 2006 14:23:07 -0400 > From: Richard Galvez > To: Robin-David Hammond%KB3IEN > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] libMYSQL > > Hi, > > What distro are you running? > > On Sun, 2006-09-03 at 18:14 +0000, Robin-David Hammond%KB3IEN wrote: >> Im trying to compile the plugins including the mysql client one >> >> REQUIREMENTS tell me that i need >> >> check_mysql: >> - Requires the MySQL libraries available from >> http://www.mysql.org >> Lib: libmysql, libmysqlclient >> Redhat Powertools Source: mysql-3.20.32a-3.i386.rpm, >> mysql-devel-3.20.32a-3.i386.rpm (these seem to be broken, however) >> RPMS from www.mysql.org work better >> >> >> bash-3.1# pkg_info |grep sql >> mysql-client-5.0.22 MySQL 5, a free SQL database (client) >> mysql-server-5.0.22nb1 MySQL 5, a free SQL database (server) >> >> >> I have : >> bash-3.1# locate libmysql >> /usr/local/lib/mysql/libmysqlclient.a >> /usr/local/lib/mysql/libmysqlclient.la >> /usr/local/lib/mysql/libmysqlclient.so >> /usr/local/lib/mysql/libmysqlclient.so.15 >> /usr/local/lib/mysql/libmysqlclient.so.15.0.0 >> /usr/local/lib/mysql/libmysqlclient_r.a >> /usr/local/lib/mysql/libmysqlclient_r.la >> /usr/local/lib/mysql/libmysqlclient_r.so >> /usr/local/lib/mysql/libmysqlclient_r.so.15 >> /usr/local/lib/mysql/libmysqlclient_r.so.15.0.0 >> >> Do i need another pkg? >> >> Robin-David Hammond KB3IEN >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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:44fb1ba6137281745514564! >> > Robin-David Hammond KB3IEN +1 347 350 34 00 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Mon Sep 4 00:04:49 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sun, 03 Sep 2006 18:04:49 -0400 Subject: libMYSQL In-Reply-To: References: <1157307787.7808.3.camel@atari.localhost> Message-ID: <1157321089.7808.12.camel@atari.localhost> In that case, I would use pkgsrc to install the mysql libs that are needed. That should attempt to resolve any dependencies that you have to fulfill in order to compile nagios*. From the looks of your issue, I would say that the most probable case is missing developer libraries that you may not have installed on your system. Regards, Richard On Sun, 2006-09-03 at 18:47 +0000, Robin-David Hammond %KB3IEN wrote: > uname -a > > NetBSD gw-jfk-0-0 3.0 NetBSD 3.0 (GENERIC) #0: Sat Dec 24 04:40:36 UTC > 2005 > builds at b3.netbsd.org:/home/builds/ab/netbsd-3/macppc/200512230000Z-obj/home/builds/ab/netbsd-3/src/sys/arch/macppc/compile/GENERIC > macppc > > > > On Sun, 3 Sep 2006, Richard Galvez wrote: > > > Date: Sun, 03 Sep 2006 14:23:07 -0400 > > From: Richard Galvez > > To: Robin-David Hammond%KB3IEN > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] libMYSQL > > > > Hi, > > > > What distro are you running? > > > > On Sun, 2006-09-03 at 18:14 +0000, Robin-David Hammond%KB3IEN wrote: > >> Im trying to compile the plugins including the mysql client one > >> > >> REQUIREMENTS tell me that i need > >> > >> check_mysql: > >> - Requires the MySQL libraries available from > >> http://www.mysql.org > >> Lib: libmysql, libmysqlclient > >> Redhat Powertools Source: mysql-3.20.32a-3.i386.rpm, > >> mysql-devel-3.20.32a-3.i386.rpm (these seem to be broken, however) > >> RPMS from www.mysql.org work better > >> > >> > >> bash-3.1# pkg_info |grep sql > >> mysql-client-5.0.22 MySQL 5, a free SQL database (client) > >> mysql-server-5.0.22nb1 MySQL 5, a free SQL database (server) > >> > >> > >> I have : > >> bash-3.1# locate libmysql > >> /usr/local/lib/mysql/libmysqlclient.a > >> /usr/local/lib/mysql/libmysqlclient.la > >> /usr/local/lib/mysql/libmysqlclient.so > >> /usr/local/lib/mysql/libmysqlclient.so.15 > >> /usr/local/lib/mysql/libmysqlclient.so.15.0.0 > >> /usr/local/lib/mysql/libmysqlclient_r.a > >> /usr/local/lib/mysql/libmysqlclient_r.la > >> /usr/local/lib/mysql/libmysqlclient_r.so > >> /usr/local/lib/mysql/libmysqlclient_r.so.15 > >> /usr/local/lib/mysql/libmysqlclient_r.so.15.0.0 > >> > >> Do i need another pkg? > >> > >> Robin-David Hammond KB3IEN > >> > >> > >> ------------------------------------------------------------------------- > >> Using Tomcat but need to do more? Need to support web services, security? > >> Get stuff done quickly with pre-integrated technology to make your job easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >> > > > > > Robin-David Hammond KB3IEN > +1 347 350 34 00 > > > !DSPAM:44fb252f165261207920747! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 4 01:23:30 2006 From: marc at ena.com (Marc Powell) Date: Sun, 3 Sep 2006 18:23:30 -0500 Subject: defining domain for check_http for each host Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Richard Galvez > Sent: Sunday, September 03, 2006 2:13 AM > To: Nagios Users Mailing List > Subject: Re: [Nagios-users] defining domain for check_http for each host > > the solution I seek. The solution I really am seeking is to add another > variable to the host definition. That would be completely, absolutely, > ideal. It will also allow me to add other information to the hosts in > the future. Any ideas as to how to add custom directives to the host > definition block? This is expected for nagios-3.0 but not available with the current version. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Mon Sep 4 02:34:23 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sun, 03 Sep 2006 20:34:23 -0400 Subject: defining domain for check_http for each host In-Reply-To: Your message of "Sun, 03 Sep 2006 03:12:47 EDT." <1157267567.32435.28.camel@atari.localhost> References: <1157267567.32435.28.camel@atari.localhost> Message-ID: <200609040034.k840YNG9015380@mx1.cs.umb.edu> In message <1157267567.32435.28.camel at atari.localhost>, Richard Galvez writes: >Yeah, I follow you, but the issue is that I'm the user, and I care for >the websites that I know are consistent with each machine. If that site >goes down, then so did the machine.. That's my reason behind it. Thanks >for your help though, all of you, I don't want to seem as if I'm not >appreciative. I was thinking, however, in the address of the host >definition I just add the domain (www.yahoo.com) that path should >resolve to the same machine every time. I'm not sure if this is still >the solution I seek. The solution I really am seeking is to add another >variable to the host definition. That would be completely, absolutely, >ideal. It will also allow me to add other information to the hosts in >the future. Any ideas as to how to add custom directives to the host >definition block? Short answer not unles you use nagios 3 which is in alpha. Longer answer see: http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg04904.html and the search results returned by google to: http://www.google.com/search?hs=fJh&hl=en&lr=&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=nagios+rouillard+per+host+custom+macros&btnG=Search -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From redlob+nagios-users at xs4all.nl Mon Sep 4 08:05:03 2006 From: redlob+nagios-users at xs4all.nl (RLB) Date: Mon, 4 Sep 2006 08:05:03 +0200 Subject: Internet explorer hangs when viewing archivedlogs In-Reply-To: References: Message-ID: <20060904060502.GA3251@xs2.xs4all.nl> On 01-09-06 07:07, Marc Powell wrote: > I rotate logs daily, they're between 3M and 5M in size and have no > problems viewing them in either browser. It takes only about 2 minutes > for IE to fully render the pages. IE 6.0.3790.1830. The OP's problem > has the feel of a permissions issue to me. Hi Marc, I checked the permissions, but could not find anything wrong. My archives directory, and the files in it have the same permissions as the current nagios.log But even if it was a permissions problem, my guess would be that firefox wouldn't work either ? Thanks, Dick ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Mon Sep 4 10:50:38 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Mon, 4 Sep 2006 10:50:38 +0200 Subject: Antwort: Re: security & suid/sudo plugins In-Reply-To: <610cb7a00609020906v66660389n78865d92c0fde2f6@mail.gmail.com> References: <610cb7a00609020906v66660389n78865d92c0fde2f6@mail.gmail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 02.09.2006 18:06:47: > To make things clearer, the setup I'm proposing is this: > > 1. # /usr/local/sbin/visudo > ... > nagios ALL=(ALL) NOPASSWD: /usr/local/nagios/libexec/check_logfiles -f > /usr/local/nagios/etc/check_logfiles.cfg > > 2. # vi /usr/local/nagios/etc/nrpe.cfg > ... > command[check_logfiles]=/usr/local/bin/sudo > /usr/local/nagios/libexec/check_logfiles -f > /usr/local/nagios/etc/check_logfiles.cfg > > 3. # grep nagios /etc/passwd > nagios:x:1123:100:Nagios Remote User:/usr/local/nagios:/usr/bin/bash > > Note to Hari: my understanding is that sudo won't work for account that > doesn't have a valid shell. Certainly all my testing led me to that conclusion. > > 4. # passwd -l nagios > > It's not clear to me exactly what the security risk is. The idea is that > someone may gain access to an unprivileged account on the system and then > use this access and this Nagios plugin to cause mailicious damage? Or to > break the root account? In which case, it would all come down to how > secure the code of the plugin is. Is this correct? Looks ok so far, you just have to make sure of one BIG issue. /usr/local/nagios/libexec/check_logfiles MUST NOT be owned by the nagios user/group and the nagios user/group MUST NOT have write permissions. Imagine someone doing: "copy /usr/bin/bash /usr/local/nagios/libexec/check_logfiles" In regard to security of the plugin code itself, you're more or less on the safe side here. Since you "hardcoded" the parameters of the root call, you cannot suffer from buffer overflows caused my malicious parameters and exploiting the plugin via the logfiles itself is both most unlikely and secondly would mean someone already compromised the system - else he couldn't forge syslog entries ;) regards Sascha -- Sascha Runschke Netzwerk Management IT-Services ABIT AG i. Gr. Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Sep 4 12:09:23 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 04 Sep 2006 11:09:23 +0100 Subject: security & suid/sudo plugins In-Reply-To: <610cb7a00609020906v66660389n78865d92c0fde2f6@mail.gmail.com> References: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> <44F756F5.3080606@touche.fr.st> <610cb7a00609020906v66660389n78865d92c0fde2f6@mail.gmail.com> Message-ID: <44FBFB53.90504@googlemail.com> Alexander Harvey wrote: > Note to Hari: my understanding is that sudo won't work for account > that doesn't have a valid shell. Certainly all my testing led me to > that conclusion. Err, I wasn't sure but this didn't sound right to me, I am sure a shell is not required for program execution, so I tested it. After /bin/falseing and locking the nagios account, the service check I have sudo NOPASSWDed still worked, and I cronned a job to get the date which ran every minute and output to a temp file. So it would seem that this is not correct. A valid shell is not required. Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Mon Sep 4 12:23:32 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 4 Sep 2006 12:23:32 +0200 Subject: security & suid/sudo plugins In-Reply-To: <44FBFB53.90504@googlemail.com> References: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> <44F756F5.3080606@touche.fr.st> <610cb7a00609020906v66660389n78865d92c0fde2f6@mail.gmail.com> <44FBFB53.90504@googlemail.com> Message-ID: On 4 Sep, 2006, at 12:09, Hari Sekhon wrote: > Alexander Harvey wrote: >> Note to Hari: my understanding is that sudo won't work for account >> that doesn't have a valid shell. Certainly all my testing led me to >> that conclusion. > > So it would seem that this is not correct. A valid shell is not > required. Actually, to nitpick a little :) I'd think it's entirely possible that sudo requires a valid shell, just like FTP and such. But in that case "valid" would mean "listed in /etc/shells" and not "working like a normal shell"... I'd have to check the man-page to be sure though.. Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rajat at subisu.net.np Mon Sep 4 12:44:15 2006 From: rajat at subisu.net.np (rajat at subisu.net.np) Date: Mon, 4 Sep 2006 16:29:15 +0545 (NPT) Subject: (no subject) Message-ID: <3517.202.63.240.27.1157366655.squirrel@mail.subisu.net.np> hi, well i am having this problem in nagios. i am working in an ISP which uses cable modems and i am using nagios to monitor some of our clients to see how often they go offline. i had added a user in nagios few months back and 2 days ago i had decided to remove him from nagios monitoring. but even after removing the user from hostgroups.cfg hosts.cfg and services.cfg file in nagios and restarting/reloading it, i am still getting the HOST UP and HOST DOWN reply from nagios every time the cable modem is switched on and off. can anyone help me in this ??? thanks, Rajat ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 4 13:11:20 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 04 Sep 2006 12:11:20 +0100 Subject: security & suid/sudo plugins In-Reply-To: References: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> <44F756F5.3080606@touche.fr.st> <610cb7a00609020906v66660389n78865d92c0fde2f6@mail.gmail.com> <44FBFB53.90504@googlemail.com> Message-ID: <44FC09D8.9010403@googlemail.com> Thomas Sluyter wrote: > On 4 Sep, 2006, at 12:09, Hari Sekhon wrote: > > >> Alexander Harvey wrote: >> >>> Note to Hari: my understanding is that sudo won't work for account >>> that doesn't have a valid shell. Certainly all my testing led me to >>> that conclusion. >>> >> So it would seem that this is not correct. A valid shell is not >> required. >> > > Actually, to nitpick a little :) > > I'd think it's entirely possible that sudo requires a valid shell, > just like FTP and such. But in that case "valid" would mean "listed > in /etc/shells" and not "working like a normal shell"... I'd have to > check the man-page to be sure though.. > > Cheers! > > /bin/false isn't listed as a valid shell on my nagios box and this still works. hmm. Also, you could use sudo -s /bin/bash check_command so that you get the shell for that one command. The man page says you can use this to override the system set shell. If you find anything written anywhere about this then let me know. It's entirely possible that different versions have different quirks, this is not unknown in unixland... fyi my sudo -V gives me the version as "Sudo version 1.6.8p9" (lots of extras output omitted) -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Hector.Ortiz at swisscom.com Mon Sep 4 13:55:16 2006 From: Hector.Ortiz at swisscom.com (Hector.Ortiz at swisscom.com) Date: Mon, 4 Sep 2006 13:55:16 +0200 Subject: FreeNAC: Open Source NAC Message-ID: FreeNAC provides easy to use VLAN assignment and LAN access control for Cisco Switches and all kind of network devices (Servers, Workstations, Printers, IP-Phones, Webcams...). FreeNAC can be considered as having two phases. Initially, we have taken OpenVMPS (which provides MAC based access control), added a MySQL back end, a GUI, improved access control algorithms, scalability, redundancy, alerting etc. This tool has been published as OpenSource on FreeNAC.net. Next, we are testing 802.1x support by tying in FreeRadius (802.1x provides better security and is not limited to Cisco switches) and moving the Delphi GUI to a web based user interface. The 'plan' is for the project to move forward to eventually become THE OpenSource Enterprise tool for dynamic VLAN assignment and LAN/WLAN authentication. So, we wish to solicite community opinions, expertise, help and feedback. Are you interested in this tool, would you like to use it or even like to contribute to it (documentation, support, development, promotion, architecture, review...)? Please visit us on www.freenac.net! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ismail at habari.co.tz Mon Sep 4 14:13:25 2006 From: ismail at habari.co.tz (Ismail M. Settenda) Date: Mon, 4 Sep 2006 15:13:25 +0300 Subject: (no subject) In-Reply-To: <3517.202.63.240.27.1157366655.squirrel@mail.subisu.net.np> References: <3517.202.63.240.27.1157366655.squirrel@mail.subisu.net.np> Message-ID: <3c1cf0fd0609040513h4776562bu8aa3772fd3afbdff@mail.gmail.com> It is possible you have two units with the same names and different I.P's and you removed the modem basing on name? Ismail On 9/4/06, rajat at subisu.net.np wrote: > > hi, > > well i am having this problem in nagios. > i am working in an ISP which uses cable modems and i am using nagios to > monitor some of our clients to see how often they go offline. > i had added a user in nagios few months back and 2 days ago i had decided > to remove him from nagios monitoring. but even after removing the user > from > > hostgroups.cfg > hosts.cfg and > services.cfg > > file in nagios and restarting/reloading it, i am still getting the HOST UP > and HOST DOWN reply from nagios every time the cable modem is switched on > and off. > > can anyone help me in this ??? > > thanks, > Rajat > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Ismail M. Settenda NOC/Backbone Supervisor ANM/AFAM Ltd P.o.Box 1215 Arusha. Tel (Off): 255-27-2504220 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 odenbach at uni-paderborn.de Mon Sep 4 14:24:28 2006 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Mon, 4 Sep 2006 14:24:28 +0200 Subject: Trouble with passive checks and freshness In-Reply-To: <44F89EC8.5030809@its-lehmann.de> References: <200609011348.17812.odenbach@uni-paderborn.de> <44F89EC8.5030809@its-lehmann.de> Message-ID: <200609041424.29529.odenbach@uni-paderborn.de> Hi, > > This works fine for nearly every host. But there is one host, which > > is not different from the others, that makes trouble. The data is > > coming in every 5 minutes, but Nagios keeps flipping between active > > and passive mode: > > Perhaps some individual configuration that crept into your system? > I'd recommend to check the objects.cache file and see if this host is > actually set up identical to the others. > > Hope this helps, I just checked the objects.cache file. The host and service entries for rana and another host are completely identical: define host { host_name rana check_command check-host-alive contact_groups No-Alarm notification_period always check_interval 0 max_check_attempts 3 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_host 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 freshness_threshold 0 check_freshness 0 notification_options d,u,r notifications_enabled 1 notification_interval 0 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name rana service_description Local disk check_period always check_command check_disk!-w 15% -c 10% -x /afs -e contact_groups Server notification_period always normal_check_interval 10 retry_check_interval 1 max_check_attempts 1 is_volatile 0 parallelize_check 1 active_checks_enabled 0 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 freshness_threshold 2000 check_freshness 1 notification_options w,c,r,f notifications_enabled 1 notification_interval 0 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } But still all passive checks are flapping. Let me show you the log file: root at giedi3[nagios]# tail -2000 nagios.log | grep rana | naglog.pl [...] (naglog.pl just formats the timestamp readable) Here the passive check results come in - everything ok: [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;4upgrades;1;PKG WARNING - Upgrade: base-config, libc6, libc6-sparc64, libgnutls11, libsasl2, libsasl2-modules, login, passwd, perl, perl-base, perl-doc, perl-modules, perl-suid [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free space:| /=282MB;1297;1374;0;1527 /dev/shm=0MB;427;452;0;503 /var=118MB;205;217;0;242 /boot=10MB;39;42;0;47 /var/log=83MB;630;667;0;742 /var/cache/openafs=32MB;420;445;0;495 /tmp=0MB;398;422;0;469 [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local swap;0;SWAP OK - 100% free (512 MB out of 512 MB) |swap=511MB;102;51;0;511 [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: bosserver;0;PROCS OK: 1 process with command name 'bosserver' [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: cfexecd;0;PROCS OK: 2 processes with args '/usr/sbin/cfexecd' [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: cron;0;PROCS OK: 1 process with args '/usr/sbin/cron' [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: klogd;0;PROCS OK: 1 process with args '/sbin/klogd' [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: ntpd;0;PROCS OK: 1 process with args '/usr/sbin/ntpd' [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: nullmailer-send;0;PROCS OK: 1 process with args '/usr/sbin/nullmailer-send' [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: ptserver;0;PROCS OK: 1 process with command name 'ptserver' [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: syslogd;0;PROCS OK: 1 process with args '/sbin/syslogd' [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: vlserver;0;PROCS OK: 1 process with command name 'vlserver' [04.09. 13:17:16] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;System load;0;OK - load average: 0.33, 0.15, 0.10|load1=0.330;3.000;5.000;0; load5=0.150;9999.000;9999.000;0; load15=0.100;9999.000;9999.000;0; Five seconds later Nagios updates the service states: [04.09. 13:17:21] SERVICE ALERT: rana;4upgrades;WARNING;HARD;1;PKG WARNING - Upgrade: base-config, libc6, libc6-sparc64, libgnutls11, libsasl2, libsasl2-modules, login, passwd, perl, perl-base, perl-doc, perl-modules, perl-suid [04.09. 13:17:21] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - free space: [04.09. 13:17:21] SERVICE ALERT: rana;Proc: cron;OK;HARD;1;PROCS OK: 1 process with args '/usr/sbin/cron' [04.09. 13:17:21] SERVICE ALERT: rana;Proc: klogd;OK;HARD;1;PROCS OK: 1 process with args '/sbin/klogd' [04.09. 13:17:21] SERVICE ALERT: rana;Proc: syslogd;OK;HARD;1;PROCS OK: 1 process with args '/sbin/syslogd' [04.09. 13:17:21] SERVICE ALERT: rana;Proc: vlserver;OK;HARD;1;PROCS OK: 1 process with command name 'vlserver' 20 seconds later some services fall down to unknown state (which is done by switching them to active). This should not happen because there was correct data a few lines above! [04.09. 13:17:41] SERVICE ALERT: rana;Local swap;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? [04.09. 13:18:12] SERVICE ALERT: rana;Proc: ntpd;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? [04.09. 13:20:31] SERVICE ALERT: rana;Proc: nullmailer-send;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? [04.09. 13:20:41] SERVICE ALERT: rana;System load;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? [04.09. 13:20:51] SERVICE ALERT: rana;Proc: bosserver;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? [04.09. 13:21:32] SERVICE ALERT: rana;Proc: ptserver;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? [04.09. 13:21:32] SERVICE ALERT: rana;Proc: cfexecd;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? After five minutes the same thing. Fresh data comes in: [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;4upgrades;1;PKG WARNING - Upgrade: base-config, libc6, libc6-sparc64, libgnutls11, libsasl2, libsasl2-modules, login, passwd, perl, perl-base, perl-doc, perl-modules, perl-suid [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free space:| /=282MB;1297;1374;0;1527 /dev/shm=0MB;427;452;0;503 /var=118MB;205;217;0;242 /boot=10MB;39;42;0;47 /var/log=83MB;630;667;0;742 /var/cache/openafs=32MB;420;445;0;495 /tmp=0MB;398;422;0;469 [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Local swap;0;SWAP OK - 100% free (512 MB out of 512 MB) |swap=511MB;102;51;0;511 [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: bosserver;0;PROCS OK: 1 process with command name 'bosserver' [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: cfexecd;0;PROCS OK: 2 processes with args '/usr/sbin/cfexecd' [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: cron;0;PROCS OK: 1 process with args '/usr/sbin/cron' [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: klogd;0;PROCS OK: 1 process with args '/sbin/klogd' [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: ntpd;0;PROCS OK: 1 process with args '/usr/sbin/ntpd' [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: nullmailer-send;0;PROCS OK: 1 process with args '/usr/sbin/nullmailer-send' [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: ptserver;0;PROCS OK: 1 process with command name 'ptserver' [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: syslogd;0;PROCS OK: 1 process with args '/sbin/syslogd' [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;Proc: vlserver;0;PROCS OK: 1 process with command name 'vlserver' [04.09. 13:22:41] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;rana;System load;0;OK - load average: 0.24, 0.12, 0.10|load1=0.240;3.000;5.000;0; load5=0.120;9999.000;9999.000;0; load15=0.100;9999.000;9999.000;0; The services toggle to OK again: [04.09. 13:22:51] SERVICE ALERT: rana;Local swap;OK;HARD;1;SWAP OK - 100% free (512 MB out of 512 MB) [04.09. 13:22:51] SERVICE ALERT: rana;Proc: bosserver;OK;HARD;1;PROCS OK: 1 process with command name 'bosserver' [04.09. 13:22:51] SERVICE ALERT: rana;Proc: cfexecd;OK;HARD;1;PROCS OK: 2 processes with args '/usr/sbin/cfexecd' [04.09. 13:22:51] SERVICE ALERT: rana;Proc: ntpd;OK;HARD;1;PROCS OK: 1 process with args '/usr/sbin/ntpd' [04.09. 13:22:51] SERVICE ALERT: rana;Proc: nullmailer-send;OK;HARD;1;PROCS OK: 1 process with args '/usr/sbin/nullmailer-send' [04.09. 13:22:51] SERVICE ALERT: rana;Proc: ptserver;OK;HARD;1;PROCS OK: 1 process with command name 'ptserver' [04.09. 13:22:51] SERVICE ALERT: rana;System load;OK;HARD;1;OK - load average: 0.24, 0.12, 0.10 Then the services which should still be ok fall to unknown state: [04.09. 13:24:31] SERVICE ALERT: rana;Proc: cron;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? [04.09. 13:24:41] SERVICE ALERT: rana;Proc: syslogd;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? [04.09. 13:24:41] SERVICE ALERT: rana;4upgrades;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? [04.09. 13:25:41] SERVICE ALERT: rana;Proc: vlserver;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? [04.09. 13:25:41] SERVICE ALERT: rana;Local disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? root at giedi3[nagios]# What is going on here? Thanks, 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 jdaily at apparatus.net Mon Sep 4 14:28:13 2006 From: jdaily at apparatus.net (John Daily) Date: Mon, 4 Sep 2006 08:28:13 -0400 Subject: (no subject) References: <3517.202.63.240.27.1157366655.squirrel@mail.subisu.net.np> Message-ID: Make sure there aren't two or more copies of the Nagios daemon running. An older daemon might be running with the earlier configuration. -John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 alexh19740110 at gmail.com Mon Sep 4 14:40:58 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Mon, 4 Sep 2006 22:40:58 +1000 Subject: security & suid/sudo plugins In-Reply-To: <44FC09D8.9010403@googlemail.com> References: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> <44F756F5.3080606@touche.fr.st> <610cb7a00609020906v66660389n78865d92c0fde2f6@mail.gmail.com> <44FBFB53.90504@googlemail.com> <44FC09D8.9010403@googlemail.com> Message-ID: <610cb7a00609040540h77943b2cye0baa2e6845b5b63@mail.gmail.com> Hi All, I'm using the same version of sudo on my Solaris systems. And by 'valid' I didn't mean merely listed in /etc/shell; I meant a real shell like bash. However, I'm afraid I can't reproduce the problem at the moment, but I can say that I resorted to giving the nagios user a real shell only when I realised I needed to run a shell-script plugin as the root user. Someone explained to me: "It would be a security flaw for sudo to allow anything to run for a user who is not otherwise entitled to a real shell." I make no comment on the reasoning--consider it hearsay--but sure enough, it was the only way I could get my plugin to work. If I get a chance to reproduce the problem, I'll see what I can dig out about it. Alex On 9/4/06, Hari Sekhon wrote: > > Thomas Sluyter wrote: > > On 4 Sep, 2006, at 12:09, Hari Sekhon wrote: > > Alexander Harvey wrote: > > Note to Hari: my understanding is that sudo won't work for account > that doesn't have a valid shell. Certainly all my testing led me to > that conclusion. > > So it would seem that this is not correct. A valid shell is not > required. > > Actually, to nitpick a little :) > > I'd think it's entirely possible that sudo requires a valid shell, > just like FTP and such. But in that case "valid" would mean "listed > in /etc/shells" and not "working like a normal shell"... I'd have to > check the man-page to be sure though.. > > Cheers! > > > > /bin/false isn't listed as a valid shell on my nagios box and this still > works. hmm. > > Also, you could use sudo -s /bin/bash check_command so that you get the > shell for that one command. The man page says you can use this to override > the system set shell. > > If you find anything written anywhere about this then let me know. It's > entirely possible that different versions have different quirks, this is not > unknown in unixland... > > fyi my sudo -V gives me the version as "Sudo version 1.6.8p9" (lots of > extras output omitted) > > > -h > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 ranjeetk at aztecsoft.com Mon Sep 4 15:39:26 2006 From: ranjeetk at aztecsoft.com (Ranjeet Kumar) Date: Mon, 4 Sep 2006 19:09:26 +0530 Subject: How to integrate Nagios & MRTG Message-ID: <93F0E3CFC1ABB646B8808894FC7CDD25068D3D31@azindbaex01.aztec.soft> Hi, Can anyone give me idea how to integrate Nagios & MRTG? Thanks, Ranjeet The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. www.aztecsoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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.cantos at neopost.com Mon Sep 4 16:40:37 2006 From: s.cantos at neopost.com (Sebastien Cantos) Date: Mon, 4 Sep 2006 16:40:37 +0200 Subject: Notify when critical but not unreachable Message-ID: <02b501c6d030$15ffefa0$9100a8c0@rese0001> Hello, Is there a way to make nagios notify when some service has gone critical (e.g: no disk space available) but not when the service could not be checked (e.g: network problem) ? Regards, Neopost Diva 127 avenue Joseph Pierre Boitelet BP50 84302 CAVAILLON Cedex FRANCE S?bastien, Cantos IT Manager s.cantos at neopost.com Phone: + 33 4 90 76 08 08 Fax: + 33 1 40 39 23 23 http://www.neopost.com The information contained in this message or any of its attachments is confidential and is intended for the exclusive use of the addressee. The information may also be legally privileged. The Internet cannot guarantee the integrity of this message. Neopost shall not therefore be liable for the message if modified. The views expressed may not be company policy, but the personal views of the originator. If you are not the addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this message in error, please contact postmaster.diva at neopost.com and then delete this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2315 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 360 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.gif Type: image/gif Size: 227 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Mon Sep 4 17:11:49 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 04 Sep 2006 16:11:49 +0100 Subject: Notify when critical but not unreachable In-Reply-To: <02b501c6d030$15ffefa0$9100a8c0@rese0001> References: <02b501c6d030$15ffefa0$9100a8c0@rese0001> Message-ID: <44FC4235.4070100@googlemail.com> Sebastien Cantos wrote: > > > > Is there a way to make nagios notify when some service has gone > critical (e.g: no disk space available) but not when the service could > not be checked (e.g: network problem) ? > > > Haven't used them myself yet, but sounds like a job for service dependencies... check the docs, I'll do the same. Hari Sekhon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 mkoponick at redhawk.info Mon Sep 4 17:31:31 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Mon, 4 Sep 2006 08:31:31 -0700 Subject: NDO 1.3.1 Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD444027D@raptor.redhawk.info> I tried to upgrade to NDO 1.3.1 and it appears that even though I configured (./configure --with-mysql-lib=/usr/lib/mysql) and compile without errors, I get an error message When I try to start the daemon. ./ndo2db-2x -c /usr/local/nagios/etc/ndo2db.cfg Support for the specified database server is either not yet supported, or was not found on your system. NDO 1.2 works fine as it stands. I didn't see any differences in the configuration file between 1.2 and 1.3.1. Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Sep 4 18:17:27 2006 From: marc at ena.com (Marc Powell) Date: Mon, 4 Sep 2006 11:17:27 -0500 Subject: Notify when critical but not unreachable Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sebastien Cantos > Sent: Monday, September 04, 2006 9:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notify when critical but not unreachable > > Hello, > > > > Is there a way to make nagios notify when some service has gone critical > (e.g: no disk space available) but not when the service could not be > checked (e.g: network problem) ? > Using the 'parents' directives in your host definitions will get you what you're looking for -- http://nagios.sourceforge.net/docs/2_0/networkreachability.html -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Mon Sep 4 20:23:58 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Mon, 4 Sep 2006 18:23:58 +0000 (UTC) Subject: nagios generated email. Message-ID: Where do i configure the FROM address for nagios's outbound emails? bash-3.1# cat qfk8436oNG006748 V8 T1157339509 K1157393302 N31 P2730634 I4/0/122148 MDeferred: Connection timed out with mail.tmail.com. Fwbs $_localhost [IPv6:::1] $rESMTP $sgw-jfk-0-0.kb3ien ${daemon_flags}OO S MDeferred: Connection timed out with mail.example.com. rRFC822; kb3ien at example.com RPFD: H?P?Return-Path: H??Received: from gw-jfk-0-0.kb3ien (localhost [IPv6:::1]) by gw-jfk-0-0.kb3ien (8.13.7/8.13.3) with ESMTP id k8436oNG006748 for ; Mon, 4 Sep 2006 03:11:49 GMT H??Received: (from nagios at localhost) by gw-jfk-0-0.kb3ien (8.13.7/8.13.3) id k7V5Doue012529 for kb3ien at example.com.; Thu, 31 Aug 2006 05:13:50 GMT H??Date: Thu, 31 Aug 2006 05:13:50 GMT H??From: nagios at gw-jfk-0-0.kb3ien H??Message-Id: <200608310513.k7V5Doue012529 at gw-jfk-0-0.kb3ien> H??To: kb3ien at tmail.com H??Subject: ** PROBLEM alert - Andromeda Email/Shell/Web Server/PING6 is CRITICAL ** . yes, these arnt the real addresses, but i want to change, H??From: nagios at gw-jfk-0-0.kb3ien to something else. seems to be pulling the name of the effectiveuserid and the `hostname`. joins them together with a @, and hopes for the best. Robin-David Hammond KB3IEN ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 4 20:50:17 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 4 Sep 2006 14:50:17 -0400 Subject: nagios generated email. In-Reply-To: References: Message-ID: > Where do i configure the FROM address for nagios's outbound emails? It will go out from the user Nagios runs as. The rest is handled by your mailer. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Mon Sep 4 21:02:27 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Mon, 4 Sep 2006 19:02:27 +0000 (UTC) Subject: nagios generated email. In-Reply-To: References: Message-ID: In that case, my question becomes: from where does nagios invoke the mailer? For it needs more arguments than it is using. On Mon, 4 Sep 2006, Morris, Patrick wrote: > Date: Mon, 4 Sep 2006 14:50:17 -0400 > From: "Morris, Patrick" > To: Robin-David Hammond%KB3IEN , > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios generated email. > >> Where do i configure the FROM address for nagios's outbound emails? > > It will go out from the user Nagios runs as. The rest is handled by > your mailer. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Robin-David Hammond KB3IEN ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter at berghold.net Mon Sep 4 21:12:20 2006 From: Peter at berghold.net (Peter L. Berghold) Date: Mon, 04 Sep 2006 15:12:20 -0400 Subject: Ghosts in the system... Message-ID: <44FC7A94.20809@Berghold.Net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi folks, I recently consolidated web sites onto one machine. For that good reason I have eliminated all the host checks for the machine that hosted the web site that was consolidated. In other words I have no reason to monitor machineA since I have moved all my websites on to machineB. In spite of removing all the checks, I still get pages about machineA being down. Where in the world is that coming from? - -- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Peter L. Berghold Peter at Berghold.Net "Those who fail to learn from history are condemned to repeat it." AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFE/HqTUM9/01RIhaARAg1QAKCm9n91ns1I+gBmqpD2pbt/hOazEwCfbUk5 A+4EBnFWWh5LXMCn5fsHaIQ= =wS0f -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: Peter.vcf Type: text/x-vcard Size: 239 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Sep 4 21:14:21 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 4 Sep 2006 15:14:21 -0400 Subject: nagios generated email. In-Reply-To: References: Message-ID: > In that case, my question becomes: from where does nagios > invoke the mailer? For it needs more arguments than it is using. > > > On Mon, 4 Sep 2006, Morris, Patrick wrote: > > > Date: Mon, 4 Sep 2006 14:50:17 -0400 > > From: "Morris, Patrick" > > To: Robin-David Hammond%KB3IEN , > > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] nagios generated email. > > > >> Where do i configure the FROM address for nagios's outbound emails? > > > > It will go out from the user Nagios runs as. The rest is handled by > > your mailer. >From your notification command definitions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 4 21:56:24 2006 From: marc at ena.com (Marc Powell) Date: Mon, 4 Sep 2006 14:56:24 -0500 Subject: Ghosts in the system... Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Peter L. Berghold > Sent: Monday, September 04, 2006 2:12 PM > To: Nagios Users Mailing List > Subject: [Nagios-users] Ghosts in the system... > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi folks, > > I recently consolidated web sites onto one machine. For that good reason > I have eliminated all the host checks for the machine that hosted the > web site that was consolidated. In other words I have no reason to > monitor machineA since I have moved all my websites on to machineB. > > In spite of removing all the checks, I still get pages about machineA > being down. Where in the world is that coming from? Sounds like you either didn't reload nagios after your configuration changes _or_ you have an old nagios daemon still running. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 4 21:57:12 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 04 Sep 2006 21:57:12 +0200 Subject: Trouble with passive checks and freshness In-Reply-To: <200609041424.29529.odenbach@uni-paderborn.de> References: <200609011348.17812.odenbach@uni-paderborn.de> <44F89EC8.5030809@its-lehmann.de> <200609041424.29529.odenbach@uni-paderborn.de> Message-ID: <44FC8518.2050703@its-lehmann.de> Hi, On 9/4/2006 2:24 PM, Christopher Odenbach wrote: > Hi, > > >>>This works fine for nearly every host. But there is one host, which >>>is not different from the others, that makes trouble. The data is >>>coming in every 5 minutes, but Nagios keeps flipping between active >>>and passive mode: >> >>Perhaps some individual configuration that crept into your system? >>I'd recommend to check the objects.cache file and see if this host is >>actually set up identical to the others. >> >>Hope this helps, > > > I just checked the objects.cache file. The host and service entries for > rana and another host are completely identical: > > define host { > host_name rana > check_command check-host-alive > contact_groups No-Alarm > notification_period always > check_interval 0 > max_check_attempts 3 > active_checks_enabled 1 Try disabling active checks in the configuration > passive_checks_enabled 1 > obsess_over_host 1 > event_handler_enabled 1 > low_flap_threshold 0.000000 > high_flap_threshold 0.000000 > flap_detection_enabled 1 > freshness_threshold 0 > check_freshness 0 > notification_options d,u,r > notifications_enabled 1 > notification_interval 0 > stalking_options n > process_perf_data 1 > failure_prediction_enabled 1 > retain_status_information 1 > retain_nonstatus_information 1 > } > > define service { > host_name rana > service_description Local disk > check_period always > check_command check_disk!-w 15% -c 10% -x /afs -e > contact_groups Server > notification_period always > normal_check_interval 10 > retry_check_interval 1 > max_check_attempts 1 > is_volatile 0 > parallelize_check 1 > active_checks_enabled 0 Or rather, in the web front-end... I guess you overlooked this difference :-) Arno > passive_checks_enabled 1 > obsess_over_service 1 > event_handler_enabled 1 > low_flap_threshold 0.000000 > high_flap_threshold 0.000000 > flap_detection_enabled 1 > freshness_threshold 2000 > check_freshness 1 > notification_options w,c,r,f > notifications_enabled 1 > notification_interval 0 > stalking_options n > process_perf_data 1 > failure_prediction_enabled 1 > retain_status_information 1 > retain_nonstatus_information 1 > } > > But still all passive checks are flapping. Let me show you the log file: > > root at giedi3[nagios]# tail -2000 nagios.log | grep rana | naglog.pl > [...] (naglog.pl just formats the timestamp readable) > > Here the passive check results come in - everything ok: > > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;4upgrades;1;PKG WARNING - Upgrade: > base-config, libc6, libc6-sparc64, libgnutls11, libsasl2, > libsasl2-modules, login, passwd, perl, perl-base, perl-doc, > perl-modules, perl-suid > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free > space:| /=282MB;1297;1374;0;1527 /dev/shm=0MB;427;452;0;503 /var=118MB;205;217;0;242 /boot=10MB;39;42;0;47 /var/log=83MB;630;667;0;742 /var/cache/openafs=32MB;420;445;0;495 /tmp=0MB;398;422;0;469 > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Local swap;0;SWAP OK - 100% free (512 > MB out of 512 MB) |swap=511MB;102;51;0;511 > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: bosserver;0;PROCS OK: 1 process > with command name 'bosserver' > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: cfexecd;0;PROCS OK: 2 processes > with args '/usr/sbin/cfexecd' > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: cron;0;PROCS OK: 1 process with > args '/usr/sbin/cron' > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: klogd;0;PROCS OK: 1 process > with args '/sbin/klogd' > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: ntpd;0;PROCS OK: 1 process with > args '/usr/sbin/ntpd' > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: nullmailer-send;0;PROCS OK: 1 > process with args '/usr/sbin/nullmailer-send' > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: ptserver;0;PROCS OK: 1 process > with command name 'ptserver' > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: syslogd;0;PROCS OK: 1 process > with args '/sbin/syslogd' > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: vlserver;0;PROCS OK: 1 process > with command name 'vlserver' > [04.09. 13:17:16] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;System load;0;OK - load average: > 0.33, 0.15, 0.10|load1=0.330;3.000;5.000;0; > load5=0.150;9999.000;9999.000;0; load15=0.100;9999.000;9999.000;0; > > Five seconds later Nagios updates the service states: > > [04.09. 13:17:21] SERVICE ALERT: rana;4upgrades;WARNING;HARD;1;PKG > WARNING - Upgrade: base-config, libc6, libc6-sparc64, libgnutls11, > libsasl2, libsasl2-modules, login, passwd, perl, perl-base, perl-doc, > perl-modules, perl-suid > [04.09. 13:17:21] SERVICE ALERT: rana;Local disk;OK;HARD;1;DISK OK - > free space: > [04.09. 13:17:21] SERVICE ALERT: rana;Proc: cron;OK;HARD;1;PROCS OK: 1 > process with args '/usr/sbin/cron' > [04.09. 13:17:21] SERVICE ALERT: rana;Proc: klogd;OK;HARD;1;PROCS OK: 1 > process with args '/sbin/klogd' > [04.09. 13:17:21] SERVICE ALERT: rana;Proc: syslogd;OK;HARD;1;PROCS OK: > 1 process with args '/sbin/syslogd' > [04.09. 13:17:21] SERVICE ALERT: rana;Proc: vlserver;OK;HARD;1;PROCS > OK: 1 process with command name 'vlserver' > > 20 seconds later some services fall down to unknown state (which is done > by switching them to active). This should not happen because there was > correct data a few lines above! > > [04.09. 13:17:41] SERVICE ALERT: rana;Local > swap;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? > [04.09. 13:18:12] SERVICE ALERT: rana;Proc: > ntpd;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? > [04.09. 13:20:31] SERVICE ALERT: rana;Proc: > nullmailer-send;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not > running? > [04.09. 13:20:41] SERVICE ALERT: rana;System > load;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? > [04.09. 13:20:51] SERVICE ALERT: rana;Proc: > bosserver;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? > [04.09. 13:21:32] SERVICE ALERT: rana;Proc: > ptserver;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? > [04.09. 13:21:32] SERVICE ALERT: rana;Proc: > cfexecd;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? > > After five minutes the same thing. Fresh data comes in: > > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;4upgrades;1;PKG WARNING - Upgrade: > base-config, libc6, libc6-sparc64, libgnutls11, libsasl2, > libsasl2-modules, login, passwd, perl, perl-base, perl-doc, > perl-modules, perl-suid > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Local disk;0;DISK OK - free > space:| /=282MB;1297;1374;0;1527 /dev/shm=0MB;427;452;0;503 /var=118MB;205;217;0;242 /boot=10MB;39;42;0;47 /var/log=83MB;630;667;0;742 /var/cache/openafs=32MB;420;445;0;495 /tmp=0MB;398;422;0;469 > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Local swap;0;SWAP OK - 100% free (512 > MB out of 512 MB) |swap=511MB;102;51;0;511 > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: bosserver;0;PROCS OK: 1 process > with command name 'bosserver' > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: cfexecd;0;PROCS OK: 2 processes > with args '/usr/sbin/cfexecd' > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: cron;0;PROCS OK: 1 process with > args '/usr/sbin/cron' > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: klogd;0;PROCS OK: 1 process > with args '/sbin/klogd' > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: ntpd;0;PROCS OK: 1 process with > args '/usr/sbin/ntpd' > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: nullmailer-send;0;PROCS OK: 1 > process with args '/usr/sbin/nullmailer-send' > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: ptserver;0;PROCS OK: 1 process > with command name 'ptserver' > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: syslogd;0;PROCS OK: 1 process > with args '/sbin/syslogd' > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;Proc: vlserver;0;PROCS OK: 1 process > with command name 'vlserver' > [04.09. 13:22:41] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;rana;System load;0;OK - load average: > 0.24, 0.12, 0.10|load1=0.240;3.000;5.000;0; > load5=0.120;9999.000;9999.000;0; load15=0.100;9999.000;9999.000;0; > > The services toggle to OK again: > > [04.09. 13:22:51] SERVICE ALERT: rana;Local swap;OK;HARD;1;SWAP OK - > 100% free (512 MB out of 512 MB) > [04.09. 13:22:51] SERVICE ALERT: rana;Proc: bosserver;OK;HARD;1;PROCS > OK: 1 process with command name 'bosserver' > [04.09. 13:22:51] SERVICE ALERT: rana;Proc: cfexecd;OK;HARD;1;PROCS OK: > 2 processes with args '/usr/sbin/cfexecd' > [04.09. 13:22:51] SERVICE ALERT: rana;Proc: ntpd;OK;HARD;1;PROCS OK: 1 > process with args '/usr/sbin/ntpd' > [04.09. 13:22:51] SERVICE ALERT: rana;Proc: > nullmailer-send;OK;HARD;1;PROCS OK: 1 process with args > '/usr/sbin/nullmailer-send' > [04.09. 13:22:51] SERVICE ALERT: rana;Proc: ptserver;OK;HARD;1;PROCS > OK: 1 process with command name 'ptserver' > [04.09. 13:22:51] SERVICE ALERT: rana;System load;OK;HARD;1;OK - load > average: 0.24, 0.12, 0.10 > > Then the services which should still be ok fall to unknown state: > > [04.09. 13:24:31] SERVICE ALERT: rana;Proc: > cron;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? > [04.09. 13:24:41] SERVICE ALERT: rana;Proc: > syslogd;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? > [04.09. 13:24:41] SERVICE ALERT: rana;4upgrades;UNKNOWN;HARD;1;UNKNOWN: > No data from host - nsce not running? > [04.09. 13:25:41] SERVICE ALERT: rana;Proc: > vlserver;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? > [04.09. 13:25:41] SERVICE ALERT: rana;Local > disk;UNKNOWN;HARD;1;UNKNOWN: No data from host - nsce not running? > root at giedi3[nagios]# > > What is going on here? > > Thanks, > > Christopher > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Mon Sep 4 22:17:58 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Mon, 4 Sep 2006 13:17:58 -0700 Subject: NDO - Using up RAM? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4440281@raptor.redhawk.info> I notice that NDO2DB (version 1.2) is starting to take up a lot of memory on my system. It starts out using 20% of the 2GB of RAM, now 4 hours later it's now using 40+% of the available RAM. Has anyone else seen this? Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Peter at berghold.net Mon Sep 4 22:27:24 2006 From: Peter at berghold.net (Peter L. Berghold) Date: Mon, 04 Sep 2006 16:27:24 -0400 Subject: Ghosts in the system... In-Reply-To: References: Message-ID: <44FC8C2C.1020100@Berghold.Net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Powell wrote: > > > Sounds like you either didn't reload nagios after your configuration > changes _or_ you have an old nagios daemon still running. > > I had done a reload on nagios... however you were right on the money about the old daemons. After doing a /etc/init.d/nagios stop there were still daemons running. I've killed them off... done another reload and restarted nagios. Time will tell at this point.. - -- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Peter L. Berghold Peter at Berghold.Net "Those who fail to learn from history are condemned to repeat it." AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFE/IwrUM9/01RIhaARAjPDAKCzOBSRJhArZeMsaSMdgp1snIpyfgCghjrZ gxp2hLvhTszWNG6udMb7FwA= =647g -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: Peter.vcf Type: text/x-vcard Size: 239 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Mon Sep 4 22:55:48 2006 From: moshesharon at gmail.com (moshe sharon) Date: Mon, 4 Sep 2006 22:55:48 +0200 Subject: How to integrate Nagios & MRTG In-Reply-To: <93F0E3CFC1ABB646B8808894FC7CDD25068D3D31@azindbaex01.aztec.soft> References: <93F0E3CFC1ABB646B8808894FC7CDD25068D3D31@azindbaex01.aztec.soft> Message-ID: <88ad29240609041355h756a8b0bldf3d166c16d8a17a@mail.gmail.com> Hi you didn't explain what exactly you want to integrate if you want to check mrtg data simply use the plugin check_mrtg from the nagios-plugins it can check values in the mrtg data files. if you want to use mrtg to draw graphs for services. i recommend you to move to RRDtool which is more advanced solution then MRTG and i recommend to use nagiosgraph 0.8.2 pretty simple to install and use -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 rahul_chucks at hotmail.com Tue Sep 5 07:03:17 2006 From: rahul_chucks at hotmail.com (rahul ramasubramanian) Date: Tue, 05 Sep 2006 10:33:17 +0530 Subject: help needed .. newbie Message-ID: hi all i am a newbie to nagios and am trying to install it on my server.. i successfully installed the nagios framework and plugins and got a pre flight check -ok.. a nagios -s command gave the following output Max host check spread: 30 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 5 Total scheduled services: 5 Service inter-check delay method: SMART Average service check interval: 300.00 sec Inter-check delay: 60.00 sec Interleave factor method: SMART Average services per host: 5.00 Service interleave factor: 5 Max service check spread: 30 min First scheduled check: Mon Sep 4 02:34:08 2006 Last scheduled check: Mon Sep 4 02:38:08 2006 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. so i guessed that everything was going on allright... why i tried to use my web interface to access nagios( apache web server ) ... i reach the main nagios screen..( the documentation part ) but on trying to click on any other tab i got the following error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. .... what is happening .... .. some data which might be useful.. no nagios directory is being created in /var/spool.. can anyone shed some light on this... do i need to do something to the permissions of any dir/files..( all the files in the nagios installation directory have been set to 775 ).... Any help will be greatly appriciated..... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grover1711 at gmail.com Tue Sep 5 08:32:53 2006 From: grover1711 at gmail.com (ankush grover) Date: Tue, 5 Sep 2006 12:02:53 +0530 Subject: help needed .. newbie In-Reply-To: References: Message-ID: <5f638b360609042332w3fc5a50dsfa09a9c864988a6d@mail.gmail.com> On 9/5/06, rahul ramasubramanian wrote: > hi all > i am a newbie to nagios and am trying to install it on my server.. > i successfully installed the nagios framework and plugins and got a pre > flight check -ok.. > a nagios -s command gave the following output > Max host check spread: 30 min > First scheduled check: N/A > Last scheduled check: N/A > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 5 > Total scheduled services: 5 > Service inter-check delay method: SMART > Average service check interval: 300.00 sec > Inter-check delay: 60.00 sec > Interleave factor method: SMART > Average services per host: 5.00 > Service interleave factor: 5 > Max service check spread: 30 min > First scheduled check: Mon Sep 4 02:34:08 2006 > Last scheduled check: Mon Sep 4 02:38:08 2006 > > > CHECK PROCESSING INFORMATION > ---------------------------- > Service check reaper interval: 10 sec > Max concurrent service checks: Unlimited > > > PERFORMANCE SUGGESTIONS > ----------------------- > I have no suggestions - things look okay. > > so i guessed that everything was going on allright... > why i tried to use my web interface to access nagios( apache web server ) > ... i reach the main nagios screen..( the documentation part ) > but on trying to click on any other tab i got the following error. > Internal Server Error > The server encountered an internal error or misconfiguration and was unable > to complete your request. > > Please contact the server administrator, root at localhost and inform them of > the time the error occurred, and anything you might have done that may have > caused the error. > > More information about this error may be available in the server error log. > > > .... > what is happening .... > .. > some data which might be useful.. > no nagios directory is being created in /var/spool.. > can anyone shed some light on this... > do i need to do something to the permissions of any dir/files..( all the > files in the nagios installation directory have been set to 775 ).... > > Any help will be greatly appriciated..... hey, Is the nagios service running If you are using redhat linux do this service nagios start (you need to be root to do this) or /etc/init.d/nagios start if Nagios is already running then check cgi.cfg under /etc/nagios directory make use_authentication=0 this means any user can access nagios through the web interface and if use_authentication=1 then you need to assign users who can access nagios. Thanks & Regards Ankush Grover ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlongland at grintek.com Tue Sep 5 08:39:35 2006 From: jlongland at grintek.com (John Longland) Date: Tue, 5 Sep 2006 08:39:35 +0200 Subject: Macro usage when sending SMS Message-ID: <510595ECCFAEFC44941F5EDA4324F275011F9B32@gtmail.grintel.com> Hi all !!! Just started as a Nagios user so I am new on the list. I have nagios running and I also have a basic structure in place for sending SMS'es ( using smstools ). I need to expand it now because I have many people that want to be notified of only selected system information. At this point in time, all contacts are sent ALL information. So , bottom line is, I need to diffrentiate based on $USERNAME$ as defined in my contacts. define command{ command_name notify-by-sms command_line /usr/local/nagios/libexec/send_sms $HOSTNAME$ $HOSTSTATE$ $USERNAME } And then in ../libexec , my "send_sms"-script looks as follows: ( This is how it looks CURRENTLY ) #!/bin/bash HOST = $1 STATE = $2 ../sms/smstools/scripts/sendsms 0821111111 "$HOST $STATE" ../sms/smstools/scripts/sendsms 0822222222 "$HOST $STATE" [ entry for each cell-number ] I would like to make use of $USERNAME$ to control what gets sent to who. But, when I print the contents of $USERNAME$ in the script, it is either blank or it contains "-". I do have all my contacts defined in my ../minimal.cfg file OS = CentOS4.0 Nagios 2.4 smstools 2.2.4 a Pointer would be much appreciated ??? Thanks ! John Longland -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 stalkert at gmail.com Tue Sep 5 08:53:45 2006 From: stalkert at gmail.com (Joost Saanen) Date: Tue, 5 Sep 2006 08:53:45 +0200 Subject: removing 'cache' after restarting Nagios Message-ID: <5aaf39590609042353o583a62ccl622b31b093342b20@mail.gmail.com> Hi there, Is it possible to reset the 'service details' when I restart Nagios? The problem was the path to my plugins /usr/lib/nagios/plugins. At the first time I started nagios the path wasn't right but I have fix it now (changed it to the right path). But when I restart Nagios, all my services are still "Critical".Nagios didn't do any update? Is it possible to remove the 'cache' of nagios? thx in advance Regards, Joost -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 rahul_chucks at hotmail.com Tue Sep 5 09:18:13 2006 From: rahul_chucks at hotmail.com (rahul ramasubramanian) Date: Tue, 05 Sep 2006 12:48:13 +0530 Subject: help needed .. newbie In-Reply-To: <5f638b360609042332w3fc5a50dsfa09a9c864988a6d@mail.gmail.com> References: <5f638b360609042332w3fc5a50dsfa09a9c864988a6d@mail.gmail.com> Message-ID: hi ankush.. thanks for the help... the nagios service is running now but still i get the same error.... the error message that is being writetn in the logs is Warning: Return code of 127 for check of service 'PING' on host 'localhost' wa s out of bounds. Make sure the plugin you're trying to run actually exists. what does this mean... i am using the minimal.cfg file to get nagios up and running first ... in the command prompt services like ./check_ping & ./check_tcp are working fine for the localhost...... thanks rahul >From: "ankush grover" >To: "rahul ramasubramanian" , "Nagios Users >Mailinglist" >Subject: Re: [Nagios-users] help needed .. newbie >Date: Tue, 5 Sep 2006 12:02:53 +0530 > >On 9/5/06, rahul ramasubramanian wrote: >>hi all >>i am a newbie to nagios and am trying to install it on my server.. >>i successfully installed the nagios framework and plugins and got a pre >>flight check -ok.. >>a nagios -s command gave the following output >>Max host check spread: 30 min >>First scheduled check: N/A >>Last scheduled check: N/A > >> >>SERVICE SCHEDULING INFORMATION >>------------------------------- >>Total services: 5 >>Total scheduled services: 5 >>Service inter-check delay method: SMART >>Average service check interval: 300.00 sec >>Inter-check delay: 60.00 sec >>Interleave factor method: SMART >>Average services per host: 5.00 >>Service interleave factor: 5 >>Max service check spread: 30 min >>First scheduled check: Mon Sep 4 02:34:08 2006 >>Last scheduled check: Mon Sep 4 02:38:08 2006 >> >> >>CHECK PROCESSING INFORMATION >>---------------------------- >>Service check reaper interval: 10 sec >>Max concurrent service checks: Unlimited >> >> >>PERFORMANCE SUGGESTIONS >>----------------------- >>I have no suggestions - things look okay. >> >>so i guessed that everything was going on allright... >>why i tried to use my web interface to access nagios( apache web server ) >>... i reach the main nagios screen..( the documentation part ) >>but on trying to click on any other tab i got the following error. >>Internal Server Error >>The server encountered an internal error or misconfiguration and was >>unable > >>to complete your request. >> >>Please contact the server administrator, root at localhost and inform them of >>the time the error occurred, and anything you might have done that may >>have >>caused the error. >> >>More information about this error may be available in the server error >>log. >> >> >>.... >>what is happening .... >>.. >>some data which might be useful.. >>no nagios directory is being created in /var/spool.. >>can anyone shed some light on this... >>do i need to do something to the permissions of any dir/files..( all the >>files in the nagios installation directory have been set to 775 ).... >> >>Any help will be greatly appriciated..... > > >hey, > >Is the nagios service running > >If you are using redhat linux do this > >service nagios start (you need to be root to do this) > >or /etc/init.d/nagios start > >if Nagios is already running then check cgi.cfg under /etc/nagios directory > >make >use_authentication=0 > >this means any user can access nagios through the web interface and if > >use_authentication=1 then you need to assign users who can access nagios. > >Thanks & Regards > >Ankush Grover ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfleige at rhenus.de Tue Sep 5 09:58:03 2006 From: mfleige at rhenus.de (Marcus Fleige) Date: Tue, 5 Sep 2006 09:58:03 +0200 Subject: removing 'cache' after restarting Nagios In-Reply-To: <5aaf39590609042353o583a62ccl622b31b093342b20@mail.gmail.com> References: <5aaf39590609042353o583a62ccl622b31b093342b20@mail.gmail.com> Message-ID: <44FD2E0B.80203@rhenus.de> Hi Joost, Joost Saanen wrote: > Hi there, > > Is it possible to reset the 'service details' when I restart Nagios? > The problem was the path to my plugins /usr/lib/nagios/plugins. At the > first time I started nagios the path wasn't right but I have fix it now > (changed it to the right path). But when I restart Nagios, all my > services are still "Critical".Nagios didn't do any update? Is it > possible to remove the 'cache' of nagios? Sure it is. Stop the Nagios daemon and remove the "status.sav"-File in the Nagios-Log-Folder (/var/log/nagios/ over here :-) ). Startup again and Nagios should show all hosts/services as pending. Regards, Marcus Fleige -- EOF ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Tue Sep 5 10:15:53 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 05 Sep 2006 10:15:53 +0200 Subject: help needed .. newbie In-Reply-To: References: Message-ID: <44FD3239.6020000@its-lehmann.de> Hi, On 9/5/2006 9:18 AM, rahul ramasubramanian wrote: > hi ankush.. > thanks for the help... the nagios service is running now but still i get the > same error.... > the error message that is being writetn in the logs is > > Warning: Return code of 127 for check of service 'PING' on host 'localhost' > wa > s out of bounds. Make sure the plugin you're trying to run actually exists. This is most probably not what you see in the web server error log. The original problems seems to indicate that you did not set up the web server correctly. It's described in the manual, but basically you need to make sure that the nagios cgi-scripts are executed correctly. Permissions, ownership, selinux and AppArmor are some things to check first, then make sure the web server setup is thus that these scripts are actually executed and not simply sent when they are called. > what does this mean... > i am using the minimal.cfg file to get nagios up and running first ... Have you modified the configuration so that it actually uses the plugins you installed? Nagios really needs to be setup by you. > in the command prompt > services like ./check_ping & ./check_tcp are working fine for the > localhost...... As which user? Have you checked the paths? Arno > thanks > rahul > > > > >>From: "ankush grover" >>To: "rahul ramasubramanian" , "Nagios Users >>Mailinglist" >>Subject: Re: [Nagios-users] help needed .. newbie >>Date: Tue, 5 Sep 2006 12:02:53 +0530 >> >>On 9/5/06, rahul ramasubramanian wrote: >> >>>hi all >>>i am a newbie to nagios and am trying to install it on my server.. >>>i successfully installed the nagios framework and plugins and got a pre >>>flight check -ok.. >>>a nagios -s command gave the following output >>>Max host check spread: 30 min >>>First scheduled check: N/A >>>Last scheduled check: N/A >> >>>SERVICE SCHEDULING INFORMATION >>>------------------------------- >>>Total services: 5 >>>Total scheduled services: 5 >>>Service inter-check delay method: SMART >>>Average service check interval: 300.00 sec >>>Inter-check delay: 60.00 sec >>>Interleave factor method: SMART >>>Average services per host: 5.00 >>>Service interleave factor: 5 >>>Max service check spread: 30 min >>>First scheduled check: Mon Sep 4 02:34:08 2006 >>>Last scheduled check: Mon Sep 4 02:38:08 2006 >>> >>> >>>CHECK PROCESSING INFORMATION >>>---------------------------- >>>Service check reaper interval: 10 sec >>>Max concurrent service checks: Unlimited >>> >>> >>>PERFORMANCE SUGGESTIONS >>>----------------------- >>>I have no suggestions - things look okay. >>> >>>so i guessed that everything was going on allright... >>>why i tried to use my web interface to access nagios( apache web server ) >>>... i reach the main nagios screen..( the documentation part ) >>>but on trying to click on any other tab i got the following error. >>>Internal Server Error >>>The server encountered an internal error or misconfiguration and was >>>unable >> >>>to complete your request. >>> >>>Please contact the server administrator, root at localhost and inform them of >>>the time the error occurred, and anything you might have done that may >>>have >>>caused the error. >>> >>>More information about this error may be available in the server error >>>log. >>> >>> >>>.... >>>what is happening .... >>>.. >>>some data which might be useful.. >>>no nagios directory is being created in /var/spool.. >>>can anyone shed some light on this... >>>do i need to do something to the permissions of any dir/files..( all the >>>files in the nagios installation directory have been set to 775 ).... >>> >>>Any help will be greatly appriciated..... >> >> >>hey, >> >>Is the nagios service running >> >>If you are using redhat linux do this >> >>service nagios start (you need to be root to do this) >> >>or /etc/init.d/nagios start >> >>if Nagios is already running then check cgi.cfg under /etc/nagios directory >> >>make >>use_authentication=0 >> >>this means any user can access nagios through the web interface and if >> >>use_authentication=1 then you need to assign users who can access nagios. >> >>Thanks & Regards >> >>Ankush Grover > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 5 10:24:23 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 05 Sep 2006 09:24:23 +0100 Subject: nagios generated email. In-Reply-To: References: Message-ID: <44FD3437.4010603@googlemail.com> Morris, Patrick wrote: >> Where do i configure the FROM address for nagios's outbound emails? >> > > It will go out from the user Nagios runs as. The rest is handled by > your mailer. > > I've found that my emails show the name field as being the comment of the nagios user, so I just renamed that comment to the name that I want on the email so I get My Monitoring Server . where "My Monitoring Server" is the comment field of the nagios user as found in /etc/passwd. Hari Sekhon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 odenbach at uni-paderborn.de Tue Sep 5 10:31:17 2006 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Tue, 5 Sep 2006 10:31:17 +0200 Subject: How to integrate Nagios & MRTG In-Reply-To: <93F0E3CFC1ABB646B8808894FC7CDD25068D3D31@azindbaex01.aztec.soft> References: <93F0E3CFC1ABB646B8808894FC7CDD25068D3D31@azindbaex01.aztec.soft> Message-ID: <200609051031.18720.odenbach@uni-paderborn.de> Hi, > Can anyone give me idea how to integrate Nagios & MRTG? If you are just looking for some funky performance graphs, have a look at PNP: http://www.ederdrom.de/doku.php/nagios/pnp It is simple, but working. 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Tue Sep 5 11:37:01 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 05 Sep 2006 10:37:01 +0100 Subject: help needed .. newbie In-Reply-To: References: Message-ID: <44FD453D.9090109@mailnetwork.co.uk> It's always better to put the full path to the plugins (or check this is so in minimal.cfg.) $USER1$ I believe has the path to the plugins folder (nagios/libexec), so you can use "$USER1$/check_ping -H localhost" in a service definition as the check command to ping the localhost. Return code 127 means either the path to the plugin was invalid, the plugin is missing, or the nagios user doesn't have permissions to execute the plugin. rahul ramasubramanian wrote: > hi ankush.. > thanks for the help... the nagios service is running now but still i get the > same error.... > the error message that is being writetn in the logs is > > Warning: Return code of 127 for check of service 'PING' on host 'localhost' > wa > s out of bounds. Make sure the plugin you're trying to run actually exists. > > what does this mean... > i am using the minimal.cfg file to get nagios up and running first ... > > in the command prompt > services like ./check_ping & ./check_tcp are working fine for the > localhost...... > > thanks > rahul > > > > >> From: "ankush grover" >> To: "rahul ramasubramanian" , "Nagios Users >> Mailinglist" >> Subject: Re: [Nagios-users] help needed .. newbie >> Date: Tue, 5 Sep 2006 12:02:53 +0530 >> >> On 9/5/06, rahul ramasubramanian wrote: >> >>> hi all >>> i am a newbie to nagios and am trying to install it on my server.. >>> i successfully installed the nagios framework and plugins and got a pre >>> flight check -ok.. >>> a nagios -s command gave the following output >>> Max host check spread: 30 min >>> First scheduled check: N/A >>> Last scheduled check: N/A >>> >>> SERVICE SCHEDULING INFORMATION >>> ------------------------------- >>> Total services: 5 >>> Total scheduled services: 5 >>> Service inter-check delay method: SMART >>> Average service check interval: 300.00 sec >>> Inter-check delay: 60.00 sec >>> Interleave factor method: SMART >>> Average services per host: 5.00 >>> Service interleave factor: 5 >>> Max service check spread: 30 min >>> First scheduled check: Mon Sep 4 02:34:08 2006 >>> Last scheduled check: Mon Sep 4 02:38:08 2006 >>> >>> >>> CHECK PROCESSING INFORMATION >>> ---------------------------- >>> Service check reaper interval: 10 sec >>> Max concurrent service checks: Unlimited >>> >>> >>> PERFORMANCE SUGGESTIONS >>> ----------------------- >>> I have no suggestions - things look okay. >>> >>> so i guessed that everything was going on allright... >>> why i tried to use my web interface to access nagios( apache web server ) >>> ... i reach the main nagios screen..( the documentation part ) >>> but on trying to click on any other tab i got the following error. >>> Internal Server Error >>> The server encountered an internal error or misconfiguration and was >>> unable >>> >>> to complete your request. >>> >>> Please contact the server administrator, root at localhost and inform them of >>> the time the error occurred, and anything you might have done that may >>> have >>> caused the error. >>> >>> More information about this error may be available in the server error >>> log. >>> >>> >>> .... >>> what is happening .... >>> .. >>> some data which might be useful.. >>> no nagios directory is being created in /var/spool.. >>> can anyone shed some light on this... >>> do i need to do something to the permissions of any dir/files..( all the >>> files in the nagios installation directory have been set to 775 ).... >>> >>> Any help will be greatly appriciated..... >>> >> hey, >> >> Is the nagios service running >> >> If you are using redhat linux do this >> >> service nagios start (you need to be root to do this) >> >> or /etc/init.d/nagios start >> >> if Nagios is already running then check cgi.cfg under /etc/nagios directory >> >> make >> use_authentication=0 >> >> this means any user can access nagios through the web interface and if >> >> use_authentication=1 then you need to assign users who can access nagios. >> >> Thanks & Regards >> >> Ankush Grover >> > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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,44fd24d9143291462088831! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Tue Sep 5 11:47:10 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Tue, 5 Sep 2006 10:47:10 +0100 Subject: nagios generated email. In-Reply-To: References: Message-ID: Sorry about top posting, but i'm using Notes and it sucks Nagios just uses /bin/mailx which also relies on local sendmail/qmail/whatever to be configured properly.. I built my own perl emailer to connect directly to a configured mail server, use a configured FROM address and send TO an address passed to it by Nagios. This script also formats the alert output so it's reasonably easy to change to suit your purposes.. I have just uploaded it to Nagios Exchange here: http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=698 Enjoy! Rob Moss / mossko |------------------------------------------> | Internet | | muaddib at databit7.com | | | | | | Sent by: | | nagios-users-bounces at lists.sourc| | eforge.net | | | | 04/09/2006 19:23 | |------------------------------------------> >---------------------------------------------------------------------------------------------------------------| | | | | | To| | nagios-users | | cc| | | | Subject| | [Nagios-users] nagios generated email. | | | | | | | | | | | | | >---------------------------------------------------------------------------------------------------------------| Where do i configure the FROM address for nagios's outbound emails? bash-3.1# cat qfk8436oNG006748 V8 T1157339509 K1157393302 N31 P2730634 I4/0/122148 MDeferred: Connection timed out with mail.tmail.com. Fwbs $_localhost [IPv6:::1] $rESMTP $sgw-jfk-0-0.kb3ien ${daemon_flags}OO S MDeferred: Connection timed out with mail.example.com. rRFC822; kb3ien at example.com RPFD: H?P?Return-Path: H??Received: from gw-jfk-0-0.kb3ien (localhost [IPv6:::1]) by gw-jfk-0-0.kb3ien (8.13.7/8.13.3) with ESMTP id k8436oNG006748 for ; Mon, 4 Sep 2006 03:11:49 GMT H??Received: (from nagios at localhost) by gw-jfk-0-0.kb3ien (8.13.7/8.13.3) id k7V5Doue012529 for kb3ien at example.com.; Thu, 31 Aug 2006 05:13:50 GMT H??Date: Thu, 31 Aug 2006 05:13:50 GMT H??From: nagios at gw-jfk-0-0.kb3ien H??Message-Id: <200608310513.k7V5Doue012529 at gw-jfk-0-0.kb3ien> H??To: kb3ien at tmail.com H??Subject: ** PROBLEM alert - Andromeda Email/Shell/Web Server/PING6 is CRITICAL ** .. yes, these arnt the real addresses, but i want to change, H??From: nagios at gw-jfk-0-0.kb3ien to something else. seems to be pulling the name of the effectiveuserid and the `hostname`. joins them together with a @, and hopes for the best. Robin-David Hammond KB3IEN ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 5 11:56:50 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 05 Sep 2006 10:56:50 +0100 Subject: nagios generated email. In-Reply-To: References: Message-ID: <44FD49E2.2090506@googlemail.com> rob.moss at uk.bnpparibas.com wrote: > Sorry about top posting, but i'm using Notes and it sucks > > Nagios just uses /bin/mailx which also relies on local > sendmail/qmail/whatever to be configured properly.. I built my own perl > emailer to connect directly to a configured mail server, use a configured > FROM address and send TO an address passed to it by Nagios. This script > also formats the alert output so it's reasonably easy to change to suit > your purposes.. > > I have just uploaded it to Nagios Exchange here: > > http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=698 > > Enjoy! > Rob Moss / mossko > Sorry to tell you this now but there is a much easier way, just install ssmtp and then make sure the line in ssmtp.conf which defines your mail server points to which ever mail server you want to use. Simple as that. You can then mailx all you like. If you have a decent distro like Gentoo this is the default, very simple. I use mailx and it works very simply, no fuss. Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Tue Sep 5 13:22:43 2006 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Tue, 5 Sep 2006 16:52:43 +0530 Subject: Nagios 2.5 Message-ID: <6b16fb4c0609050422p7027ce5fi29360f6817bc9333@mail.gmail.com> Hi All I did followed http://nagios.sourceforge.net/docs/2_0/configmain.html and did configured nagios.cfg step by step by following the URL [root at e ~]# nagios -v /etc/nagios/nagios.cfg Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Reading configuration data... Error: Command 'check-host-alive' has already been defined Error: Could not register command (config file '/etc/nagios/minimal.cfg', starti ng on line 76) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [root at e ~]# Thanks and Regards Kaushal ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 5 13:31:08 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 05 Sep 2006 12:31:08 +0100 Subject: Nagios 2.5 In-Reply-To: <6b16fb4c0609050422p7027ce5fi29360f6817bc9333@mail.gmail.com> References: <6b16fb4c0609050422p7027ce5fi29360f6817bc9333@mail.gmail.com> Message-ID: <44FD5FFC.8010803@mailnetwork.co.uk> Error: Command 'check-host-alive' has already been defined It's exactly what it says, the command "check-host-alive" has either been defined twice in the same configuration file, or it's defined in 2 config files. What are the settings for "object configuration files" in your nagios.cfg (the top section, directives called cfg_file and cfg_dir?) It sounds like you've got the same file included twice, or you've written your own object configuration and not commented out the minimal.cfg file. Andy. Kaushal Shriyan wrote: > Hi All > > I did followed http://nagios.sourceforge.net/docs/2_0/configmain.html and > did configured nagios.cfg step by step by following the URL > > [root at e ~]# nagios -v /etc/nagios/nagios.cfg > > Nagios 2.5 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 07-13-2006 > License: GPL > > Reading configuration data... > > Error: Command 'check-host-alive' has already been defined > Error: Could not register command (config file > '/etc/nagios/minimal.cfg', starti > ng on line 76) > > ***> One or more problems was encountered while processing the config files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > [root at e ~]# > > Thanks and Regards > > Kaushal > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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,44fd5e1f143291463517754! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlongland at grintek.com Tue Sep 5 13:34:12 2006 From: jlongland at grintek.com (John Longland) Date: Tue, 5 Sep 2006 13:34:12 +0200 Subject: Nagios 2.5 Message-ID: <510595ECCFAEFC44941F5EDA4324F275011F9B3C@gtmail.grintel.com> Reading configuration data... Error: Command 'check-host-alive' has already been defined Error: Could not register command (config file '/etc/nagios/minimal.cfg', starti ng on line 76) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [root at e ~]# Thanks and Regards Kaushal Hi Chek that you don't have both "minimal.cfg" AND "checkcommands.cfg" uncommented. Both these contain command definitions. Best ! John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Tue Sep 5 13:58:25 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 05 Sep 2006 12:58:25 +0100 Subject: Nagios 2.5 In-Reply-To: <6b16fb4c0609050436x14634e40u3d19d91e56eedddd@mail.gmail.com> References: <6b16fb4c0609050422p7027ce5fi29360f6817bc9333@mail.gmail.com> <44FD5FFC.8010803@mailnetwork.co.uk> <6b16fb4c0609050436x14634e40u3d19d91e56eedddd@mail.gmail.com> Message-ID: <44FD6661.1030700@mailnetwork.co.uk> Hi Kaushal, As John said, you've got 3 config files which all contain (some of the same) commands. When I started out with Nagios I found it easier to start writing your own config files from scratch. In /etc/nagios, I created another directory called "nagios_cfg." In nagios_cfg, I created files named "services.cfg", "hosts.cfg", "commands.cfg", "contacts.cfg", "time.cfg" and defined all my own object definitions in the relevant files. Then, my nagios.cfg file (/etc/nagios/nagios.cfg) simply lists # OBJECT CONFIGURATION FILES cfg_dir=/etc/nagios/nagios_cfg with *all* cfg_file directives commented out. This way you avoid duplicates from the sample configuration data, and you know the layouts of the config files. Plus if you later add a configuration file (extension .cfg) in the nagios_cfg directory, you don't need to do anything but HUP the Nagios daemon to use it. You generally need to define: - hosts (host groups optional but useful) - services (service groups optional but useful) - commands - contacts - time periods (at minimum create a 24*7 time-period) It sounds difficult, but it isn't really - just look through the documentation at creating different objects, and you're done :) Andy. >> > Hi Andy > > Below is the output of command which you asked for > > [root at e nagios]# grep cfg_file nagios.cfg > # different config files by using multiple cfg_file statements here. > cfg_file=/etc/nagios/checkcommands.cfg > cfg_file=/etc/nagios/misccommands.cfg > cfg_file=/etc/nagios/minimal.cfg > > Kaushal > > !DSPAM:37,44fd6139143294224513357! > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 5 14:34:15 2006 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Tue, 5 Sep 2006 14:34:15 +0200 Subject: Trouble with passive checks and freshness In-Reply-To: <44FC8518.2050703@its-lehmann.de> References: <200609011348.17812.odenbach@uni-paderborn.de> <200609041424.29529.odenbach@uni-paderborn.de> <44FC8518.2050703@its-lehmann.de> Message-ID: <200609051434.28491.odenbach@uni-paderborn.de> Hi, > > I just checked the objects.cache file. The host and service entries > > for rana and another host are completely identical: > > > > define host { > > host_name rana > > check_command check-host-alive > > contact_groups No-Alarm > > notification_period always > > check_interval 0 > > max_check_attempts 3 > > active_checks_enabled 1 > > Try disabling active checks in the configuration Did not change anything - this was the host definition, not the service. > > define service { > > host_name rana > > service_description Local disk > > check_period always > > check_command check_disk!-w 15% -c 10% -x /afs -e > > contact_groups Server > > notification_period always > > normal_check_interval 10 > > retry_check_interval 1 > > max_check_attempts 1 > > is_volatile 0 > > parallelize_check 1 > > active_checks_enabled 0 > > Or rather, in the web front-end... I guess you overlooked this > difference :-) This was an idea! Someone must have activated the active checks for this service, which is rubbish of course. I just had to deactivate them in the web front-end and that was it. Thanks a lot, 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 odenbach at uni-paderborn.de Tue Sep 5 14:43:12 2006 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Tue, 5 Sep 2006 14:43:12 +0200 Subject: Notification commands Message-ID: <200609051443.13184.odenbach@uni-paderborn.de> Hi, we have two notification methods: by email and by SMS. I would like to specify different methods for different services, e.g. just send an email if service X is critical, but send an email and an SMS if service Y is critical. The problem is that the notification command has to be configured on a per user basis, not on services. Do I really have to configure each administrator twice, once for email and once for SMS, and then create two contact groups, one admin-email and one admin-sms to achieve my goal? 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Tue Sep 5 15:09:43 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 05 Sep 2006 14:09:43 +0100 Subject: Notification commands In-Reply-To: <200609051443.13184.odenbach@uni-paderborn.de> References: <200609051443.13184.odenbach@uni-paderborn.de> Message-ID: <44FD7717.40207@googlemail.com> Christopher Odenbach wrote: > Hi, > > we have two notification methods: by email and by SMS. I would like to > specify different methods for different services, e.g. just send an > email if service X is critical, but send an email and an SMS if service > Y is critical. > > The problem is that the notification command has to be configured on a > per user basis, not on services. > > Do I really have to configure each administrator twice, once for email > and once for SMS, and then create two contact groups, one admin-email > and one admin-sms to achieve my goal? > > Christopher > certainly not. just put both in the same contact definition, see http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact and see the Directive Description for host-notification-commands which says "...Multiple notification commands should be separated by commas...". Just make sure you have both notification commands defined in misccommand.cfg since this uses the short command names which should be defined there. hope that helps. Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 5 15:20:38 2006 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Tue, 5 Sep 2006 15:20:38 +0200 Subject: Notification commands In-Reply-To: <44FD7717.40207@googlemail.com> References: <200609051443.13184.odenbach@uni-paderborn.de> <44FD7717.40207@googlemail.com> Message-ID: <200609051520.39706.odenbach@uni-paderborn.de> Hi, > certainly not. > > just put both in the same contact definition, see > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact and > see the Directive Description for host-notification-commands which > says "...Multiple notification commands should be separated by > commas...". Just make sure you have both notification commands > defined in misccommand.cfg since this uses the short command names > which should be defined there. But in exact this paragraph it says: Multiple notification commands should be separated by commas. All notification commands are executed when the contact needs to be notified. So when I put this contact into a service, always both commands will be executed. But I want some services only to send email and not SMS. Got my idea? 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Tue Sep 5 15:25:21 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 05 Sep 2006 14:25:21 +0100 Subject: Notification commands In-Reply-To: <200609051520.39706.odenbach@uni-paderborn.de> References: <200609051443.13184.odenbach@uni-paderborn.de> <44FD7717.40207@googlemail.com> <200609051520.39706.odenbach@uni-paderborn.de> Message-ID: <44FD7AC1.1010003@googlemail.com> Christopher Odenbach wrote: > Hi, > > >> certainly not. >> >> just put both in the same contact definition, see >> http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact and >> see the Directive Description for host-notification-commands which >> says "...Multiple notification commands should be separated by >> commas...". Just make sure you have both notification commands >> defined in misccommand.cfg since this uses the short command names >> which should be defined there. >> > > But in exact this paragraph it says: Multiple notification commands > should be separated by commas. All notification commands are executed > when the contact needs to be notified. > > So when I put this contact into a service, always both commands will be > executed. But I want some services only to send email and not SMS. > > Got my idea? > > Christopher > > ah, sorry, in my haste I misread, ok then you do need 2 contact definitions and 2 contactgroup definitions, one email, and one both, then just assign the contact group to the service definitions according to which notifications you want. If anybody else has a better way of doing this I'd like to hear it... Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 ampranti at gmail.com Tue Sep 5 16:39:14 2006 From: ampranti at gmail.com (Andreas Brandino) Date: Tue, 5 Sep 2006 17:39:14 +0300 Subject: Suse 10.0 - perl plugin return "No outpput" Message-ID: Hi list, i am using Suse 10.0 with nagios 1.2.x All perl plugins i try to use return "No output" message. However, all other plugins work just fine. When i run the plugins from command line (as "root" or "daemon") work without problem. Using perl full path in front of the plugin (checkcommands.cfg) still doesnt make any difference. I think this has to do with perl on my system. Any idea? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 djoseph at nabancard.com Tue Sep 5 16:44:24 2006 From: djoseph at nabancard.com (Dan Joseph) Date: Tue, 05 Sep 2006 10:44:24 -0400 Subject: Suse 10.0 - perl plugin return "No outpput" In-Reply-To: References: Message-ID: <44FD8D48.1090902@nabancard.com> Andreas Brandino wrote: > i am using Suse 10.0 with nagios 1.2.x > All perl plugins i try to use return "No output" message. However, all > other plugins work just fine. I had a problem with one of my recent plugins I made. I was outputting a blank line without realizing it before I echo'd out my actual message. You may want to check for that. -- -Dan Joseph System Administrator ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blakekrone at gmail.com Tue Sep 5 17:13:56 2006 From: blakekrone at gmail.com (Blake Krone) Date: Tue, 5 Sep 2006 09:13:56 -0600 Subject: How to integrate Nagios & MRTG In-Reply-To: <200609051031.18720.odenbach@uni-paderborn.de> References: <93F0E3CFC1ABB646B8808894FC7CDD25068D3D31@azindbaex01.aztec.soft> <200609051031.18720.odenbach@uni-paderborn.de> Message-ID: That looks promising, however I get the following in my nagios log: *ePN failed to compile /usr/nagios/libexec/process_perfdata.pl: "Subroutine print_log redefined at (eval 15) line 236," at /usr/nagios/bin/p1.pl line 155. Any thoughts on that? On 9/5/06, Christopher Odenbach wrote: > > > Hi, > > > Can anyone give me idea how to integrate Nagios & MRTG? > > If you are just looking for some funky performance graphs, have a look > at PNP: > > http://www.ederdrom.de/doku.php/nagios/pnp > > It is simple, but working. > > 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 > ====================================================== > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 me at renux.de Tue Sep 5 17:44:38 2006 From: me at renux.de (Rene Fertig) Date: Tue, 5 Sep 2006 17:44:38 +0200 Subject: Suse 10.0 - perl plugin return "No outpput" In-Reply-To: References: Message-ID: <200609051744.38801.me@renux.de> Hi Andreas. Am Dienstag, 5. September 2006 16:39 schrieb Andreas Brandino: > i am using Suse 10.0 with nagios 1.2.x > All perl plugins i try to use return "No output" message. However, all > other plugins work just fine. > When i run the plugins from command line (as "root" or "daemon") work > without problem. > Using perl full path in front of the plugin (checkcommands.cfg) still > doesnt make any difference. > > I think this has to do with perl on my system. > Any idea? Please check wether all plugings have execution rights for everyone (0755). As far as I remember the SuSE installation didn't set these properly. Rene -- -- Tipps & Tricks f?r Linux, MySQL & Webdesign -> http://home.telebel.de/~referti/blog/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sdemarco at saxotech.com Tue Sep 5 18:06:48 2006 From: sdemarco at saxotech.com (Scott DeMarco) Date: Tue, 5 Sep 2006 12:06:48 -0400 Subject: Suse 10.0 - perl plugin return "No outpput" Message-ID: Or, make sure that your nagios user is in the same group that owns the plugins currently Best Regards, Scott DeMarco Network Systems Monitoring Engineer Cell: +1 (813) 464-9565 Email: sdemarco at us.saxotech.com Office: +1 (813) 221-1600 ? Fax: +1 (813) 221-1604 www.saxotech.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rene Fertig Sent: Tuesday, September 05, 2006 11:45 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Suse 10.0 - perl plugin return "No outpput" Hi Andreas. Am Dienstag, 5. September 2006 16:39 schrieb Andreas Brandino: > i am using Suse 10.0 with nagios 1.2.x All perl plugins i try to use > return "No output" message. However, all other plugins work just > fine. > When i run the plugins from command line (as "root" or "daemon") work > without problem. > Using perl full path in front of the plugin (checkcommands.cfg) still > doesnt make any difference. > > I think this has to do with perl on my system. > Any idea? Please check wether all plugings have execution rights for everyone (0755). As far as I remember the SuSE installation didn't set these properly. Rene -- -- Tipps & Tricks f?r Linux, MySQL & Webdesign -> http://home.telebel.de/~referti/blog/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Tue Sep 5 18:37:16 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 5 Sep 2006 18:37:16 +0200 Subject: How to integrate Nagios & MRTG In-Reply-To: References: <93F0E3CFC1ABB646B8808894FC7CDD25068D3D31@azindbaex01.aztec.soft> <200609051031.18720.odenbach@uni-paderborn.de> Message-ID: <200609051837.16127.pitchfork@ederdrom.de> Am Dienstag, 5. September 2006 17:13 schrieb Blake Krone: > That looks promising, however I get the following in my nagios log: > *ePN failed to compile /usr/nagios/libexec/process_perfdata.pl: "Subroutine > print_log redefined at (eval 15) line 236," at /usr/nagios/bin/p1.pl line > 155. > > Any thoughts on that? process_perfdata.pl uses the $NAGIOS_ ENV Variables. So it is not possible to run it under controll of ePN. Please try the following command definition. define command{ command_name process-service-perfdata command_line /bin/sh -c /usr/local/nagios/libexec/process_perfdata.pl } J?rg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 5 18:44:33 2006 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 5 Sep 2006 08:44:33 -0800 Subject: How to integrate Nagios & MRTG In-Reply-To: <93F0E3CFC1ABB646B8808894FC7CDD25068D3D31@azindbaex01.aztec.soft> References: <93F0E3CFC1ABB646B8808894FC7CDD25068D3D31@azindbaex01.aztec.soft> Message-ID: <4A85D0F8-AF2D-4EFF-B983-08C4C329BDC4@frontierflying.com> On Sep 4, 2006, at 5:39 AM, Ranjeet Kumar wrote: > Hi, > > > Can anyone give me idea how to integrate Nagios & MRTG? > > > > Thanks, > > Ranjeet > > > > The information contained in, or attached to, this e-mail, contains > confidential information and is intended solely for the use of the > individual or entity to whom they are addressed and is subject to > legal privilege. If you have received this e-mail in error you > should notify the sender immediately by reply e-mail, delete the > message from your system and notify your system manager. Please do > not copy it for any purpose, or disclose its contents to any other > person. The views or opinions presented in this e-mail are solely > those of the author and do not necessarily represent those of the > company. The recipient should check this e-mail and any attachments > for the presence of viruses. The company accepts no liability for > any damage caused, directly or indirectly, by any virus transmitted > in this email. > > www.aztecsoft.com > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642______________________________ > _________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null I did the following, after setting up both nagios and MRTG separately. First, for each host that MRTG is monitoring, define one or more services in nagios (for example, if MRTG is monitoring the traffic on three ports of a router, you will need three services in Nagios). These services are then set up to use the check_mrtgtraf plugin. This plugin gives a result based on the traffic that MRTG is seeing. My check command for this is defined as follows: define command{ command_name check_mrtgtraf command_line $USER1$/check_mrtgtraf -F /usr/local/mrtg-2/ share/mrtg2/$ARG1$.log -w $ARG2$ -c $ARG3$ } where the arguments are the name of the log file MRTG creates for the device being monitored, the traffic level at which to give a warning status, and the traffic level at which to give a critical status (see check_mrtgtraf --help for more info). Depending on how you have this set up, you should be able to simplify the command somewhat by using the $HOSTADDRESS$ macro. The path to the log files will, of course, depend on your MRTG setup. To link the MRTG graphs in to the services, I simply used a serviceextinfo declaration for each service, and defined the notes_url property as the webpage that MRTG creates with the graph for the device. In my case, I put in a separate definition for each port pointing to the detail webpage for that port, you could, of course, choose to simply make one definition pointing to the summary webpage. This may not be the most "integrated" approach possible, but it does give me the ability to have nagios send me notifications (or whatever) based on the traffic information gathered by MRTG, as well as giving me easy access to the MRTG graphs from within nagios. You could take a similar approach using the check_mrtg plugin instead, if you wanted nagios to pay attention to information other than what the check_mrtgtraf plugin returns, but I haven't looked into this. A couple of caveats: 1) the version of the check_mrtgtraf plugin I had, for some reason, wasn't coded to ever set the output status to 'OK'. I don't know if that was a bug in the source code in general, or just the version I got, but I had to add code to set the output to OK and recompile before it would work for me. Simple enough (at least if you know basic C programing). 2) The plug in, as written, reports and sets warning states based on the incoming and outgoing traffic separately, with independent warning/critical thresholds for each. This may well be what you want. In our case, however, I was more interested in the TOTAL traffic- if the traffic in is 128 kb/s and the traffic out is also 128 kb/s, then our 256 kb/s link is saturated, and I wanted nagios to return critical, even though neither the inbound or the outbound traffic is by itself enough to warrant a critical state. Again, I was easily able to modify the plugin source to do this, but this may not be desirable in other situations. ------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service, Inc. 5245 Airport industrial Rd. Fairbanks, AK 99709 -------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 lennart.kvam at softronic.se Tue Sep 5 19:42:58 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Tue, 5 Sep 2006 19:42:58 +0200 Subject: Number of Notifications!? Message-ID: <308D3417BAD2104895AE72D879B815B6029891C9@stsstomail01.softronic.se> Thanks Marc...works like charm now:-) //Lelle -----Ursprungligt meddelande----- Fr?n: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] F?r Marc Powell Skickat: den 31 augusti 2006 20:57 Till: nagios-users at lists.sourceforge.net ?mne: Re: [Nagios-users] Number of Notifications!? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of lennart.kvam at softronic.se > Sent: Thursday, August 31, 2006 6:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Number of Notifications!? > > Hello all Nagios gurus! > > I have a irritating problem, when a service goes down/critical i get a > notification every second minute! Thats irritating:) > > I`w also read the docs on notifications but still ? havent solved it! > Can anyone help me please?:) Here are som of my config: snip [chop] > define service { > use generic-service ; check_ping > host_name STSSTOSIG > service_description PING > is_volatile 1 Here you're telling nagios to notify for every check received that is not OK. Your normal_check_interval is 1 so you receive a notification every minute when the service is not OK. Remove this line or set it to 0. http://nagios.sourceforge.net/docs/2_0/volatileservices.html -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Tue Sep 5 21:19:08 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 05 Sep 2006 21:19:08 +0200 Subject: Notification commands In-Reply-To: <44FD7AC1.1010003@googlemail.com> References: <200609051443.13184.odenbach@uni-paderborn.de> <44FD7717.40207@googlemail.com> <200609051520.39706.odenbach@uni-paderborn.de> <44FD7AC1.1010003@googlemail.com> Message-ID: <44FDCDAC.1000906@its-lehmann.de> Hi, On 9/5/2006 3:25 PM, Hari Sekhon wrote: > Christopher Odenbach wrote: > >>Hi, >> >> >> >>>certainly not. >>> >>>just put both in the same contact definition, see >>>http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact and >>>see the Directive Description for host-notification-commands which >>>says "...Multiple notification commands should be separated by >>>commas...". Just make sure you have both notification commands >>>defined in misccommand.cfg since this uses the short command names >>>which should be defined there. >>> >>> >>But in exact this paragraph it says: Multiple notification commands >>should be separated by commas. All notification commands are executed >>when the contact needs to be notified. >> >>So when I put this contact into a service, always both commands will be >>executed. But I want some services only to send email and not SMS. >> >>Got my idea? Yes... what I do: I don't use the supplied example commands but rather created my own notification system. The notification command, when invoked, calls the way how to notify the contact from an LDAP backend. It's been lots of work (and is not yet finished or even documented) but it allows more flexibility. The simple solution would be shell script which, by checking the parameters for contact name, service name and whatever you like determines how to notify. A database backend is useful for easier configuration but not extacly necessary. Arno >>Christopher >> >> >> > ah, sorry, in my haste I misread, ok then you do need 2 contact > definitions and 2 contactgroup definitions, one email, and one both, > then just assign the contact group to the service definitions according > to which notifications you want. > > If anybody else has a better way of doing this I'd like to hear it... > > > Hari > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From timp at crossthread.com Tue Sep 5 22:53:10 2006 From: timp at crossthread.com (Tim Pushor) Date: Tue, 05 Sep 2006 14:53:10 -0600 Subject: Service Configuration Message-ID: <44FDE3B6.9070207@crossthread.com> Hi All, Newb question alert. I've used other systems in the past and am trying to wrap my head around configuring Nagios. I have an array of application servers that I'd like to monitor. To begin with, a simple HTTP check to each will do. I have the hosts configured (they do nothing, I now know why), and want to configure the services. Now in my mind, I'd define one service (tim_http for example) and 'apply' it to each of the servers. Now looking at the service configuration, there is a place in there for 'host'. Does this mean that I have to define one service per host? So if I add 10 appservers I'd have 10 defined services all doing the same thing? I must be wrong - can someone please provide a clue-by-four? Thanks! Tim ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From derek.olsen at qsent.com Wed Sep 6 01:20:51 2006 From: derek.olsen at qsent.com (Derek Olsen) Date: Tue, 05 Sep 2006 16:20:51 -0700 Subject: Service Configuration In-Reply-To: <44FDE3B6.9070207@crossthread.com> References: <44FDE3B6.9070207@crossthread.com> Message-ID: <44FE0653.8010408@qsent.com> Tim. Let's say you have 20 application servers and you want to monitor the tim_http service on each one. The nagios way is to include each of the 20 application servers into what's referred to as a hostgroup and then when you define your service instead of referencing a host reference a hostgroup. For this example we'll assume all 20 applications servers have been setup and have host names that start with tim (ie: tim01, tim02, tim03, etc). In your hostgroups file you would have this entry define hostgroup { hostgroup_name tim-servers # Name is arbitrary and up to you alias The Tim servers # Ditto on alias members tim.* # Now we have an hostgroup which contains all the timXX hosts } In my services file I would have this entry (I'm assuming you'll have a service template called service-template define service { use service-template hostgroup_name tim-servers # Name of hostgroup from above example service_description Http Services on the Tim Farm contact_groups tim check_command check_tim_servers # This command is defined in the checkcommands.cfg file } So for situations where you have more than 1 host which needs to have a service checked hostgroups are the simple way to manage the services so you dont have to repeat the service over and over for each host. Once you setup a few the light bulb will go off. Anyhoo hope this helps. Deet. Tim Pushor wrote: >Hi All, > >Newb question alert. > >I've used other systems in the past and am trying to wrap my head around >configuring Nagios. > >I have an array of application servers that I'd like to monitor. To >begin with, a simple HTTP check to each will do. I have the hosts >configured (they do nothing, I now know why), and want to configure the >services. Now in my mind, I'd define one service (tim_http for example) >and 'apply' it to each of the servers. > >Now looking at the service configuration, there is a place in there for >'host'. Does this mean that I have to define one service per host? So if >I add 10 appservers I'd have 10 defined services all doing the same thing? > >I must be wrong - can someone please provide a clue-by-four? > >Thanks! >Tim > > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nicole.haehnel at gmx.net Wed Sep 6 09:52:40 2006 From: nicole.haehnel at gmx.net (=?ISO-8859-15?Q?Nicole_H=E4hnel?=) Date: Wed, 06 Sep 2006 09:52:40 +0200 Subject: Monitoring disk state on Dell servers with Netware Message-ID: <44FE7E48.3030806@gmx.net> Hi, I'm monitoring all disk states on our Redhat ES 4 servers with check_arraydiskstate.sh from NagiosExchange. Now I have to check the disks from our Netware 6.5 serves too, but with this script I get only "End of MIB". Is there a possibility to check the disk states on Netware servers? Thanks! Nicole ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nicole.haehnel at gmx.net Wed Sep 6 11:11:10 2006 From: nicole.haehnel at gmx.net (=?ISO-8859-1?Q?Nicole_H=E4hnel?=) Date: Wed, 06 Sep 2006 11:11:10 +0200 Subject: Monitoring disk state on Dell servers with Netware In-Reply-To: <97B21E709D62C643AF853C9543C488A10910B0@FLEX3.tney.northy.nhs.uk> References: <97B21E709D62C643AF853C9543C488A10910B0@FLEX3.tney.northy.nhs.uk> Message-ID: <44FE90AE.1020600@gmx.net> Hi, yes, we check free disk space with check_nwstat. But I'm looking for a scpecial dell openmanage solution to check the hardware disk state. Thanks! Nicole Mark Duffy schrieb: > Have you tried the check_nwstat plug-in? > > http://nagios.org/faqs/viewfaq.php?faq_id=31 > > > Mark > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Nicole H?hnel >> Sent: 06 September 2006 08:53 >> To: Nagios Users List >> Subject: [Nagios-users] Monitoring disk state on Dell servers with Netware >> >> Hi, >> >> I'm monitoring all disk states on our Redhat ES 4 servers with >> check_arraydiskstate.sh from NagiosExchange. >> Now I have to check the disks from our Netware 6.5 serves too, but with >> this script I get only "End of MIB". >> >> Is there a possibility to check the disk states on Netware servers? >> >> Thanks! >> >> Nicole >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please 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 may contain confidential information and may be read, > copied and used only by the intended recipient. > > The information in this email transmission may not be legally revealed > and is intended only for the use of the individual(s) named above. If > you are not the intended recipient you are hereby notified that any use, > dissemination, distribution or copying of this email message or its > information is strictly prohibited. > > > If you have received this email in error please notify the sender by reply > or by telephoning +44 (0)1642 283949. > Delete this message from your email system(s) and do not disclose its > contents to any person. > > > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From piotr.jedrusik at ista.pl Wed Sep 6 11:21:10 2006 From: piotr.jedrusik at ista.pl (=?ISO-8859-2?Q?Piotr_J=EAdrusik?=) Date: Wed, 06 Sep 2006 11:21:10 +0200 Subject: [nagios-user] Problem with SNMP and check UPS. Message-ID: <44FE9306.7030506@ista.pl> Hello, i use SNMP to check UPS but it doesn't work. When i try use plugin - check_apc xx.xx.xx.xx 161 public 50 30 85 i receives answer: Timeout: No Response from xx.xx.xx.xx Empty SNMP result received, maybe timed out. On other NAGIOS server it work ok. Can anyone help me in this ??? thanks, Piotrek ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 6 12:09:34 2006 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Wed, 6 Sep 2006 11:09:34 +0100 Subject: Archive logs Message-ID: What do people do about their archive logs ? I am running a configuration on Scientific Linux with nearly 600 hosts and 13000+ services which generates quite large log files. As far as I can tell the logs are moved to the archive and retained there indefinitely; my /var partition is now getting quite full. I have tried using logrotate, but the log file names do not seem to allow logrotate to work correctly. A browse through the mailing list archives does not show anyone else asking about this problem. Any suggestions ? Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 6 12:15:54 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 06 Sep 2006 11:15:54 +0100 Subject: Archive logs In-Reply-To: References: Message-ID: <44FE9FDA.6050402@googlemail.com> Wheeler, JF (Jonathan) wrote: > What do people do about their archive logs ? I am running a > configuration on Scientific Linux with nearly 600 hosts and 13000+ > services which generates quite large log files. As far as I can tell > the logs are moved to the archive and retained there indefinitely; my > /var partition is now getting quite full. I have tried using logrotate, > but the log file names do not seem to allow logrotate to work correctly. > A browse through the mailing list archives does not show anyone else > asking about this problem. Any suggestions ? > > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 would do a simple script cronned nightly to remove files? Best to remove all but the latest x number of logs which amounts to x days of history. I expect that the history interface to nagios relies on these though so you might just want to move them to another location and then burn them off or something. -h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adawkins at skynet.co.uk Wed Sep 6 12:16:00 2006 From: adawkins at skynet.co.uk (Ashley Dawkins) Date: Wed, 06 Sep 2006 11:16:00 +0100 Subject: No output! In-Reply-To: References: Message-ID: <20060906104914.3162.ADAWKINS@skynet.co.uk> Problem Solved! The query it should be running is "select count(ProductName) from Products where ProductID=1;" however, nagios does not seem to like the ";" at the end of the mysql query, so when I look at the config I see the following: $USER1$/check_mysql_query -q 'select count(ProductName) from Products where ProductID=1 instead of the full check command which is : $USER1$/check_mysql_query -q 'select count(ProductName) from Products where ProductID=1;' -w 1 -d skynet -H web02.skynet.co.uk -u skynet -p tail3dog By simply omitting the ";" from the query, the check seems to work and return the correct result. ==================================================================== Ashley Dawkins (Technical Support Engineer) -= Skynet Internet Services a: 8 Premier Court Boarden Close Moulton Park Northampton NN3 6LF -= t: 0845 1 20 65 90 (General) t: 0845 1 24 44 00 (Sales) f: 0845 1 20 65 91 e: jhammond at sky.net.uk w: http://www.sky.net.uk/ -= D I S C L A I M E R Statements and opinions expressed in this e-mail may not represent those of the company. The information transmitted is intended only for the person 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 in error, please contact the sender immediately and delete the material from any computer. ==================================================================== ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From proddan at higgs.co.uk Wed Sep 6 12:21:54 2006 From: proddan at higgs.co.uk (Peter Roddan) Date: Wed, 6 Sep 2006 11:21:54 +0100 Subject: NPRE Socket Timeout Message-ID: <1532101D3A74B5479A8CF45472E308D5476FAC@hq-exch2.higgs.co.uk> Hi Everyone, I'm running Nagios 2.5 on SLES 10 and it seems to be working fine. I have NRPE (0.8.0.2) running on two Windows 2003 Servers (SP2). I am using the check filecount script that I downloaded from Nagios Exchange to check various mail folders to see if there are files in them. This seems to work fine, although at least once a day each of the service checks that use NRPE give me an error "CHECK_NRPE: Socket timeout after 10 seconds." After a couple of hours this seems to clear itself, but it's very annoying. I can also clear it by restarting the NRPE service on the Windows Server (although the service does appear to be running when the problem occurs) Checking the event log on the windows server, I get messages like... NRPE_NT: Bad return code for [The check didn't respond within the timeout period!]: 5 I also get the same message in the NRPE_NT logfile. I've tried upping the timeout in the nrpe.cfg file (command_timeout=90) but this doesn't seem to have made any difference. Finally, there are normall no files in any of these directories when the checks are run - even when there are files present, there are no more than 20-30. It also doesn't seem to occur during a period of high activity on the servers (e.g. not during the backups...) Do I need to up a timeout on the nagios server? If so , where. Any suggestions that anyone has would be great. Alternatively if anyone has another method for monitoring particular directories for files using Nagios I'd like to hear it. Thanks, Peter. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.clearswift.com ********************************************************************** ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From w2kask at yahoo.com Wed Sep 6 13:42:08 2006 From: w2kask at yahoo.com (richard martin) Date: Wed, 6 Sep 2006 04:42:08 -0700 (PDT) Subject: what is the -t in the nagios cfg check_nt command ? In-Reply-To: <1532101D3A74B5479A8CF45472E308D5476FAC@hq-exch2.higgs.co.uk> References: <1532101D3A74B5479A8CF45472E308D5476FAC@hq-exch2.higgs.co.uk> Message-ID: <20060906114208.59649.qmail@web53212.mail.yahoo.com> Hi.. I got the following check_nt command, may I know what is the -t 50 ??? Check_command "/usr/lib/nagios/plugins/check_nt -H 10.100.5.112 -p 1248 -v COUNTER -l "\\PhysicalDisk(_Total)\\Avg. Disk Write Queue Length","Disk Time:" -w 80 -c 90 -t 50" Besides, what is the normal warning and critical value for Disk Write Queue Length , Disk time ? what is the unit here? Thanks a lot... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Sep 6 13:46:53 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Wed, 06 Sep 2006 12:46:53 +0100 Subject: what is the -t in the nagios cfg check_nt command ? In-Reply-To: <20060906114208.59649.qmail@web53212.mail.yahoo.com> References: <20060906114208.59649.qmail@web53212.mail.yahoo.com> Message-ID: <44FEB52D.7050100@mailnetwork.co.uk> Hi Richard, Run "/usr/lib/nagios/plugins/check_nt --help" - that should give you a list of parameters and what they mean. I suspect, based on the rest of the Nagios official plugins, it's a timeout value of 50 seconds. Regards Andy richard martin wrote: > Hi.. I got the following check_nt command, may I know what is the -t 50 ??? > > Check_command "/usr/lib/nagios/plugins/check_nt -H 10.100.5.112 -p 1248 -v > COUNTER -l "\\PhysicalDisk(_Total)\\Avg. Disk Write Queue Length","Disk Time:" -w 80 -c 90 -t 50" > > Besides, what is the normal warning and critical value for Disk Write Queue Length , Disk time ? > what is the unit here? > > Thanks a lot... > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,44feb441143291504419905! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 6 13:47:20 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 06 Sep 2006 12:47:20 +0100 Subject: what is the -t in the nagios cfg check_nt command ? In-Reply-To: <20060906114208.59649.qmail@web53212.mail.yahoo.com> References: <20060906114208.59649.qmail@web53212.mail.yahoo.com> Message-ID: <44FEB548.8050704@googlemail.com> richard martin wrote: > Hi.. I got the following check_nt command, may I know what is the -t 50 ??? > > Check_command "/usr/lib/nagios/plugins/check_nt -H 10.100.5.112 -p 1248 -v > COUNTER -l "\\PhysicalDisk(_Total)\\Avg. Disk Write Queue Length","Disk Time:" -w 80 -c 90 -t 50" > > Besides, what is the normal warning and critical value for Disk Write Queue Length , Disk time ? > what is the unit here? > > Thanks a lot... > > -t is the timeout in seconds, (a standard switch among nagios plugins) If you need to know something like that you should use check_nt --help (another one of those standard switches). Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nemir at hotmail.com Wed Sep 6 14:12:28 2006 From: nemir at hotmail.com (nemir nemiria) Date: Wed, 06 Sep 2006 12:12:28 +0000 Subject: Monitoring disk state on Dell servers withNetware In-Reply-To: <44FE90AE.1020600@gmx.net> References: <44FE90AE.1020600@gmx.net> Message-ID: Hi, >yes, we check free disk space with check_nwstat. >But I'm looking for a scpecial dell openmanage solution to check the >hardware disk state. If you want that level of information you will need to implement SNMP and either hope that there's a MIB available for the disks you've got or perhaps write one yourself. It isn't as hard as it sounds. :-) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 6 14:19:02 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 06 Sep 2006 13:19:02 +0100 Subject: Rsync server test Message-ID: <44FEBCB6.5000409@googlemail.com> I am testing an Rsync server by doing ./check_tcp -H $HOSTADDRESS$ -p 873 but I have noticed that this causes the Rsync server to spew the following into the logs: rsyncd[10422]: rsync: writefd_unbuffered failed to write 74 bytes [receiver]: Broken pipe (32) rsyncd[10422]: rsync error: error in rsync protocol data stream (code 12) at io.c(1121) [receiver=2.6.8] every single time a check is performed. This is obviously because of the tcp connection and then abrupt disconnection. I'd really like to get rid of all this noise from the logs. Is there a better way of doing this? Does anybody else monitor a Rsync server with nagios and if so how? Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Wed Sep 6 14:29:06 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Wed, 6 Sep 2006 12:29:06 +0000 (UTC) Subject: Rsync server test In-Reply-To: <44FEBCB6.5000409@googlemail.com> References: <44FEBCB6.5000409@googlemail.com> Message-ID: I only ever use rsync in conjunction with sshd. short of generating errors with the check_tcp you could nmap the port (might that generate more/less noise). or you could have a test that retreives a file from rsync, thereby creating an access entry in the log, but no error. A more advanced solution would be to run lsof on the monitored host, and see if rsync is running, is not zombie, and is listening on TCP 873. On Wed, 6 Sep 2006, Hari Sekhon wrote: > Date: Wed, 06 Sep 2006 13:19:02 +0100 > From: Hari Sekhon > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Rsync server test > > I am testing an Rsync server by doing > > ./check_tcp -H $HOSTADDRESS$ -p 873 > > > but I have noticed that this causes the Rsync server to spew the > following into the logs: > > rsyncd[10422]: rsync: writefd_unbuffered failed to write 74 bytes > [receiver]: Broken pipe (32) > rsyncd[10422]: rsync error: error in rsync protocol data stream (code > 12) at io.c(1121) [receiver=2.6.8] > > > every single time a check is performed. This is obviously because of the > tcp connection and then abrupt disconnection. I'd really like to get rid > of all this noise from the logs. > > Is there a better way of doing this? Does anybody else monitor a Rsync > server with nagios and if so how? > > > Hari Sekhon > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Robin-David Hammond KB3IEN +1 347 350 34 00 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Wed Sep 6 15:09:01 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Wed, 6 Sep 2006 10:09:01 -0300 Subject: A machine behind a modem... Message-ID: <27acffb00609060609h6f7d2975l6902d03f44cbaf57@mail.gmail.com> Hello, I have a machine, with a false IP, and with Internet access by a modem adsl. I would like to know how I get check the disk space, the total process, for example, of this machine with a real IP (modem) and a false IP (machine). Could anyone help me? Thanks, Rodrigo. PS: Sorry by my english... :/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 GilesC at CarmenMedia.com Wed Sep 6 15:29:04 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Wed, 6 Sep 2006 15:29:04 +0200 Subject: A machine behind a modem... Message-ID: <28919ADDC3E2C44BAD07B1EB44818493D7B6C1@cmgexcdc01.CMG.local> You will need to forward a port of some form (SNMP for instance) from the modem to the system. Check the modems documentation on port forwarding and work out which port you want to forward, which will depend on how you want to check these services. If you're forwarding a port you may want to use a check plugin that has both encryption and authentication. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rodrigo Maceno Sent: 06 September 2006 15:09 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] A machine behind a modem... Hello, I have a machine, with a false IP, and with Internet access by a modem adsl. I would like to know how I get check the disk space, the total process, for example, of this machine with a real IP (modem) and a false IP (machine). Could anyone help me? Thanks, Rodrigo. PS: Sorry by my english... :/ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 tgenessay at aliadis.fr Wed Sep 6 15:39:47 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Wed, 06 Sep 2006 15:39:47 +0200 Subject: A machine behind a modem... In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493D7B6C1@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493D7B6C1@cmgexcdc01.CMG.local> Message-ID: <44FECFA3.5020305@aliadis.fr> >> *Rodrigo Maceno >> Hello, >> I have a machine, with a false IP, and with Internet access by a >> modem adsl. I would like to know how I get check the disk space, the >> total process, for example, of this machine with a real IP (modem) >> and a false IP (machine). Could anyone help me? >> >> Thanks, >> Rodrigo. >> >> PS: Sorry by my english... :/ Giles Coochey top posted: > You will need to forward a port of some form (SNMP for instance) from > the modem to the system. > > Check the modems documentation on port forwarding and work out which > port you want to forward, which will depend on how you want to check > these services. > > If you're forwarding a port you may want to use a check plugin that has > both encryption and authentication. > You can also configure it the other way around: have your machine tell your nagios system how well it behaves with passive checks. This is especially interesting if your dsl modem does not have a static IP adress. You can schedule the check with cron (linux) or the task scheduler (windows) and send your results to your Nagios server with send_nsca (which is part of NC_Net under windows; I don't recall where it can be found under linux though). Indeed, this means that your Nagios server is accessible from the outside (that is, behind - or being - a configurable firewall) so Giles' security recommendations still apply. -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. +33 4 72 13 90 40 Fax +33 4 74 22 00 09 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jedrzej at man.poznan.pl Wed Sep 6 16:03:40 2006 From: jedrzej at man.poznan.pl (Jedrzej Jajor) Date: Wed, 06 Sep 2006 16:03:40 +0200 Subject: [nagios-user] Problem with SNMP and check UPS. In-Reply-To: <44FE9306.7030506@ista.pl> References: <44FE9306.7030506@ista.pl> Message-ID: <44FED53C.90106@man.poznan.pl> Piotr Jedrusik wrote: > Hello, > > i use SNMP to check UPS but it doesn't work. > > When i try use plugin - check_apc xx.xx.xx.xx 161 public 50 30 85 > > i receives answer: > Timeout: No Response from xx.xx.xx.xx > Empty SNMP result received, maybe timed out. > > On other NAGIOS server it work ok. > > Can anyone help me in this ??? Hi, did you try snmpget or snmpwalk to communicate with the UPS? It seems more like firewall/filter problem. I'd suggest checking if the community string is OK, UPS is configured to reply to snmp requests sent from your nagios box IP and firewalls and configured to accept this snmp traffic. -- Regards, Jedrzej Jajor Network Services Department Poznan Supercomputing and Networking Center 10 Noskowskiego Str., 61-704 Poznan, Poland tel. +48 61 858 20 36 fax. +48 61 855 13 68 e-mail: jedrzej at man.poznan.pl ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 6 16:29:23 2006 From: marc at ena.com (Marc Powell) Date: Wed, 6 Sep 2006 09:29:23 -0500 Subject: Archive logs Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon > Sent: Wednesday, September 06, 2006 5:16 AM > To: Wheeler, JF (Jonathan) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Archive logs > > Wheeler, JF (Jonathan) wrote: > > What do people do about their archive logs ? I am running a > > configuration on Scientific Linux with nearly 600 hosts and 13000+ > > services which generates quite large log files. As far as I can tell > > the logs are moved to the archive and retained there indefinitely; my > > /var partition is now getting quite full. I have tried using logrotate, > > but the log file names do not seem to allow logrotate to work correctly. > > A browse through the mailing list archives does not show anyone else > > asking about this problem. Any suggestions ? > > > > I would do a simple script cronned nightly to remove files? Best to I concur and use the same here -- # remove archive log files over 2 years old. find /usr/local/nagios/var/archives -mtime +730 | xargs rm -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Wed Sep 6 17:15:29 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Wed, 6 Sep 2006 16:15:29 +0100 Subject: Rsync server test In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 06/09/2006 13:29:06: > I only ever use rsync in conjunction with sshd. > > short of generating errors with the check_tcp you could nmap the port > (might that generate more/less noise). > > or you could have a test that retreives a file from rsync, thereby > creating an access entry in the log, but no error. > > A more advanced solution would be to run lsof on the monitored host, and > see if rsync is running, is not zombie, and is listening on TCP 873. > > > On Wed, 6 Sep 2006, Hari Sekhon wrote: > > > Date: Wed, 06 Sep 2006 13:19:02 +0100 > > From: Hari Sekhon > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Rsync server test > > > > I am testing an Rsync server by doing > > > > ./check_tcp -H $HOSTADDRESS$ -p 873 > > > > > > but I have noticed that this causes the Rsync server to spew the > > following into the logs: > > > > rsyncd[10422]: rsync: writefd_unbuffered failed to write 74 bytes > > [receiver]: Broken pipe (32) > > rsyncd[10422]: rsync error: error in rsync protocol data stream (code > > 12) at io.c(1121) [receiver=2.6.8] > > > > > > every single time a check is performed. This is obviously because of the > > tcp connection and then abrupt disconnection. I'd really like to get rid > > of all this noise from the logs. > > > > Is there a better way of doing this? Does anybody else monitor a Rsync > > server with nagios and if so how? The problem is coming from misusing the rsync protocol and the rsync daemon complaining about receiving garbage. You could for example rsync a working file, thus running an end to end test, or find the RFC for rsync and send it some kind of "quit and leave cleanly" command which will stop it from complaining. This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 6 19:02:11 2006 From: moshesharon at gmail.com (moshe sharon) Date: Wed, 6 Sep 2006 19:02:11 +0200 Subject: Archive logs In-Reply-To: References: Message-ID: <88ad29240609061002s45b836bbuea342c934a38c4fe@mail.gmail.com> Hello Remember that if you remove the logs historical data for reports is gone. -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 pblajev at ucsd.edu Thu Sep 7 00:10:29 2006 From: pblajev at ucsd.edu (Peter Blajev) Date: Wed, 6 Sep 2006 15:10:29 -0700 Subject: Read-only access to Nagios Message-ID: <200609061510.29675.pblajev@ucsd.edu> Hi, our department decided to give some kind of publicity for Nagios in the company. I'm doing a research to find out what can be done and any help or suggestions are highly appreciated. An ideal situation will be if we can give users a single URL that will allow read-only, no login/password access to Nagios graphs. By read-only I mean they won't be able to acknowledge problems, restart services and so on. If this can't be done then can we create accounts with restricted permissions and have them login to the main Nagios site? Anyone "been there, done that"? :-) Thanks Peter ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 7 00:33:11 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 6 Sep 2006 18:33:11 -0400 Subject: Read-only access to Nagios In-Reply-To: <200609061510.29675.pblajev@ucsd.edu> References: <200609061510.29675.pblajev@ucsd.edu> Message-ID: <302ce8b50609061533o6f319b0ct83863e43814af1b1@mail.gmail.com> On 9/6/06, Peter Blajev wrote: > Hi, > > our department decided to give some kind of publicity for Nagios in the > company. I'm doing a research to find out what can be done and any help or > suggestions are highly appreciated. > > An ideal situation will be if we can give users a single URL that will allow > read-only, no login/password access to Nagios graphs. By read-only I mean > they won't be able to acknowledge problems, restart services and so on. > > If this can't be done then can we create accounts with restricted permissions > and have them login to the main Nagios site? > > Anyone "been there, done that"? :-) You can do this with a patch from Ton Voon and Altinity. It allows you to set certain users who are allowed to issue commands, and others who cannot. See http://altinity.blogs.com/dotorg/2006/02/index.html for details. It defaults to allowing users to make changes for compatibility, but it's easy to reverse if you want to lock everyone out and explicitly allow them. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cmoody at qualcomm.com Thu Sep 7 02:10:07 2006 From: cmoody at qualcomm.com (Chris Moody) Date: Wed, 06 Sep 2006 17:10:07 -0700 Subject: Read-only access to Nagios In-Reply-To: <302ce8b50609061533o6f319b0ct83863e43814af1b1@mail.gmail.com> References: <200609061510.29675.pblajev@ucsd.edu> <302ce8b50609061533o6f319b0ct83863e43814af1b1@mail.gmail.com> Message-ID: <44FF635F.2040706@qualcomm.com> If all you want is view only... set the following value: cgi.cfg: use_authentication=0 This will cause the maps/dashboard to be visible...but nobody can modify anything. Cheers, -Chris Jim Perrin wrote: > On 9/6/06, Peter Blajev wrote: >> Hi, >> >> our department decided to give some kind of publicity for Nagios in the >> company. I'm doing a research to find out what can be done and any help or >> suggestions are highly appreciated. >> >> An ideal situation will be if we can give users a single URL that will allow >> read-only, no login/password access to Nagios graphs. By read-only I mean >> they won't be able to acknowledge problems, restart services and so on. >> >> If this can't be done then can we create accounts with restricted permissions >> and have them login to the main Nagios site? >> >> Anyone "been there, done that"? :-) > > You can do this with a patch from Ton Voon and Altinity. It allows you > to set certain users who are allowed to issue commands, and others who > cannot. See http://altinity.blogs.com/dotorg/2006/02/index.html for > details. It defaults to allowing users to make changes for > compatibility, but it's easy to reverse if you want to lock everyone > out and explicitly allow them. > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Thu Sep 7 14:32:11 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Thu, 7 Sep 2006 08:32:11 -0400 Subject: unique computers in a hostgroup Message-ID: Moshe Sharon, OH. MY. GOODNESS. I had NO idea you could do that! Do you know how much of my sanity you have saved me?!?! Thank you SO much for sharing this bit of information! :-) Janet Post ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of moshe sharon Sent: September 1, 2006 8:55 AM To: Nagios Users Mailing List Subject: Re: [Nagios-users] unique computers in a hostgroup Hello you can set in the service hostgroup_name: you-group and then add host_name: !host1 this will exclude the service check from the specific host but all other hosts in the group will be checked -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 tom at ng23.net Thu Sep 7 20:35:40 2006 From: tom at ng23.net (Tom Brown) Date: Thu, 07 Sep 2006 19:35:40 +0100 Subject: Dell PE2950 - Perc5 - check_om_storage Message-ID: <4500667C.3020005@ng23.net> Hi I install Open Manage onto our Dell kit and use the check_om_storage and check_om_chassis checks from Nagios Exchange to get the raid and chassis info using nrpe - This has worked fine for 'years' The new Dells we have use Perc5 RAID controllers and i see that the check_om_storage check no-longer reports a failed RAID. Does anyone know of an update or another check that i can use? thanks ps the check_om_chassis still works on the 19xx series ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Thu Sep 7 20:42:17 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 7 Sep 2006 20:42:17 +0200 Subject: Dell PE2950 - Perc5 - check_om_storage In-Reply-To: <4500667C.3020005@ng23.net> References: <4500667C.3020005@ng23.net> Message-ID: <200609072042.17716.pitchfork@ederdrom.de> Am Donnerstag, 7. September 2006 20:35 schrieb Tom Brown: > Hi > > I install Open Manage onto our Dell kit and use the check_om_storage and > check_om_chassis checks from Nagios Exchange to get the raid and chassis > info using nrpe - This has worked fine for 'years' > > The new Dells we have use Perc5 RAID controllers and i see that the > check_om_storage check no-longer reports a failed RAID. > > Does anyone know of an update or another check that i can use? I use check_perc.pl from NagiosExchange on pe2959 with perc5/i http://www.nagiosexchange.org/Hardware.56.0.html?&tx_netnagext_pi1[p_view]=629 J?rg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu Sep 7 20:55:43 2006 From: tom at ng23.net (Tom Brown) Date: Thu, 07 Sep 2006 19:55:43 +0100 Subject: Dell PE2950 - Perc5 - check_om_storage In-Reply-To: <200609072042.17716.pitchfork@ederdrom.de> References: <4500667C.3020005@ng23.net> <200609072042.17716.pitchfork@ederdrom.de> Message-ID: <45006B2F.3020403@ng23.net> > I use check_perc.pl from NagiosExchange on pe2959 with perc5/i > > http://www.nagiosexchange.org/Hardware.56.0.html?&tx_netnagext_pi1[p_view]=629 thanks for this - works a treat. Do you know if there is a similar plugin available for the chassis status? thanks ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Thu Sep 7 20:59:44 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 7 Sep 2006 20:59:44 +0200 Subject: Dell PE2950 - Perc5 - check_om_storage In-Reply-To: <45006B2F.3020403@ng23.net> References: <4500667C.3020005@ng23.net> <200609072042.17716.pitchfork@ederdrom.de> <45006B2F.3020403@ng23.net> Message-ID: <200609072059.44825.pitchfork@ederdrom.de> Am Donnerstag, 7. September 2006 20:55 schrieb Tom Brown: > > I use check_perc.pl from NagiosExchange on pe2959 with perc5/i > > > > http://www.nagiosexchange.org/Hardware.56.0.html?&tx_netnagext_pi1[p_view > >]=629 > > thanks for this - works a treat. Do you know if there is a similar > plugin available for the chassis status? I just wait for SNMP Traps from the OM Agents ;-) J?rg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 6 07:01:51 2006 From: ampranti at gmail.com (Brandino Andreas) Date: Wed, 6 Sep 2006 08:01:51 +0300 Subject: Suse 10.0 - perl plugin return "No outpput" In-Reply-To: <44FD8D48.1090902@nabancard.com> References: <44FD8D48.1090902@nabancard.com> Message-ID: <166793347.20060906080151@gmail.com> Hi Dan, The plugins i am using are these: http://www.manubulon.com/nagios/index_snmp.html So i think that i dont face this problem. Tuesday, September 5, 2006, 5:44:24 PM, you wrote: > Andreas Brandino wrote: >> i am using Suse 10.0 with nagios 1.2.x >> All perl plugins i try to use return "No output" message. However, all >> other plugins work just fine. > I had a problem with one of my recent plugins I made. I was outputting > a blank line without realizing it before I echo'd out my actual message. > You may want to check for that. <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Wed Sep 6 06:58:44 2006 From: ampranti at gmail.com (Brandino Andreas) Date: Wed, 6 Sep 2006 07:58:44 +0300 Subject: Suse 10.0 - perl plugin return "No outpput" In-Reply-To: <200609051744.38801.me@renux.de> References: <200609051744.38801.me@renux.de> Message-ID: <3010580009.20060906075844@gmail.com> Hi Rene, yes all plugins have 755 permissions. The plugins have the same permissions (owned by the root and 755) as the working one's. Tuesday, September 5, 2006, 6:44:38 PM, you wrote: > Hi Andreas. > Am Dienstag, 5. September 2006 16:39 schrieb Andreas Brandino: >> i am using Suse 10.0 with nagios 1.2.x >> All perl plugins i try to use return "No output" message. However, all >> other plugins work just fine. >> When i run the plugins from command line (as "root" or "daemon") work >> without problem. >> Using perl full path in front of the plugin (checkcommands.cfg) still >> doesnt make any difference. >> >> I think this has to do with perl on my system. >> Any idea? > Please check wether all plugings have execution rights for everyone (0755). > As far as I remember the SuSE installation didn't set these properly. > Rene <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Thu Sep 7 23:05:06 2006 From: moshesharon at gmail.com (moshe sharon) Date: Thu, 7 Sep 2006 23:05:06 +0200 Subject: unique computers in a hostgroup In-Reply-To: References: Message-ID: <88ad29240609071405v5d7c7008hd02eef9b96431a65@mail.gmail.com> Glad i could helped :-) -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 rgr at sdf.lonestar.org Fri Sep 8 03:11:18 2006 From: rgr at sdf.lonestar.org (Rob Ristroph) Date: Thu, 07 Sep 2006 20:11:18 -0500 Subject: "Logged in as ?" -- http auth not working ? Message-ID: <873bb3b1s9.fsf@rgristroph-austin.ath.cx> Hi, When I visit my nagios from the web, it asks me for the user/pass and I log in successfully, except when I do "show host details" it says: "It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." It also says "Logged in as ?" near the top of the page. However, if I run these commands as root: export REMOTE_USER="nagiosadmin" export REQUEST_METHOD="GET" export QUERY_STRING="hostgroup=all" ./status.cgi It prints to standard out a correct html page that says "Logged in as nagiosadmin". I can't find any useful information in the apache or nagios logs. Any suggestions on how this can be debugged ? I realize that it may be more of an apache problem than a nagios problem, but I am desparate for any suggestions and willing to try anything. --Rob -- http://rgr.freeshell.org/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 8 05:53:08 2006 From: marc at ena.com (Marc Powell) Date: Thu, 7 Sep 2006 22:53:08 -0500 Subject: "Logged in as ?" -- http auth not working ? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rob Ristroph > Sent: Thursday, September 07, 2006 8:11 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] "Logged in as ?" -- http auth not working ? > > > Hi, > When I visit my nagios from the web, it asks me for the > user/pass and I log in successfully, except when I do "show > host details" it says: > > "It appears as though you do not have permission to view information > for any of the hosts you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI and check the authorization > options in your CGI configuration file." > > It also says "Logged in as ?" near the top of the page. > > It prints to standard out a correct html page that says > "Logged in as nagiosadmin". > > I can't find any useful information in the apache or nagios > logs. > > Any suggestions on how this can be debugged ? I realize that Make sure that you have the correct htaccess information for the _sbin_ directory, not (just) the share directory. Depending on how you configured it it's either in httpd.conf or an .htaccess file in ~nagios/sbin. It's the configuration for the sbin directory that's important. http://nagios.sourceforge.net/docs/2_0/installweb.html If you made the changes to httpd.conf, be sure you restarted apache after doing so. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron at tvnz.co.nz Fri Sep 8 07:28:31 2006 From: ron at tvnz.co.nz (Ron Wilson) Date: Fri, 8 Sep 2006 17:28:31 +1200 Subject: Monitor Windows Program Message-ID: How can I use Nagios to monitor a windows program that does not run as a service. I can use snmp plugin to check on services but if it's a program that starts from an executable, how can I tell if its running or not -- Ron Wilson Phone 7560 Mobile 021-728-703 God is not dead, he just moved to a better neighborhood. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-user at proy.org Fri Sep 8 08:39:33 2006 From: nagios-user at proy.org (Patrick Proy) Date: Fri, 8 Sep 2006 08:39:33 +0200 Subject: Monitor Windows Program In-Reply-To: References: Message-ID: <20060908063933.3AF5C1953BD@mail.proy.org> You can use the MIBII process table with snmp using check_snmp_process.pl : http://www.manubulon.com/nagios/snmp_process.html Patrick http://www.manubulon.com/nagios/ https://sourceforge.net/projects/nagios-snmp/ -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Ron Wilson Envoy? : vendredi 8 septembre 2006 07:29 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Monitor Windows Program How can I use Nagios to monitor a windows program that does not run as a service. I can use snmp plugin to check on services but if it's a program that starts from an executable, how can I tell if its running or not -- Ron Wilson Phone 7560 Mobile 021-728-703 God is not dead, he just moved to a better neighborhood. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin.conway at uksolutions.co.uk Fri Sep 8 12:03:26 2006 From: gavin.conway at uksolutions.co.uk (Gavin Conway) Date: Fri, 08 Sep 2006 11:03:26 +0100 Subject: Virtual Nagios servers Message-ID: <45013FEE.9020008@uksolutions.co.uk> Hi All, We're looking at deploying a virtual nagios system using Debian Sarge 3.1 and Vservers. I'd like to know if anyone has experienced any problems running multiple vservers with Nagios before we announce this to customers. Obviously we're paying attention to what ports objects are binding to to ensure that they don't attempt to list on all IP addresses but I was curious what experience people have had with this. Cheers, Gavin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 8 13:36:55 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 08 Sep 2006 12:36:55 +0100 Subject: Suse 10.0 - perl plugin return "No outpput" In-Reply-To: <3010580009.20060906075844@gmail.com> References: <200609051744.38801.me@renux.de> <3010580009.20060906075844@gmail.com> Message-ID: <450155D7.2090503@googlemail.com> Brandino Andreas wrote: > Hi Rene, > yes all plugins have 755 permissions. > The plugins have the same permissions (owned by the root and 755) as > the working one's. > > > Tuesday, September 5, 2006, 6:44:38 PM, you wrote: > > >> Hi Andreas. >> > > >> Am Dienstag, 5. September 2006 16:39 schrieb Andreas Brandino: >> >>> i am using Suse 10.0 with nagios 1.2.x >>> All perl plugins i try to use return "No output" message. However, all >>> other plugins work just fine. >>> When i run the plugins from command line (as "root" or "daemon") work >>> without problem. >>> Using perl full path in front of the plugin (checkcommands.cfg) still >>> doesnt make any difference. >>> >>> I think this has to do with perl on my system. >>> Any idea? >>> > > >> Please check wether all plugings have execution rights for everyone (0755). >> As far as I remember the SuSE installation didn't set these properly. >> > > >> Rene >> > > > > <> --- - - - --- <> > Brandino Andreas > ampranti at gmail.com > <> --- - - - --- <> > Are you by any change using webinject? On the off chance that you are, read on: I had this problem at the exact time that you first posted the issue. My fix was to cd dir && ./webinject.pl ....... which worked fine. Otherwise I kept getting this no output in the web interface which was really bugging me. webinject doesn't handle the full path for the config or test file. In fact it exits 0 which looks like a success but really it fails to open the file(s). You'll see that if you use normal report type. hope that helps. -- Hari Sekhon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 jmarcus at mvalent.com Fri Sep 8 15:20:49 2006 From: jmarcus at mvalent.com (James Marcus) Date: Fri, 08 Sep 2006 09:20:49 -0400 Subject: Result from smbclient not suitable Message-ID: Hi, I'm running the check_smb_client from the CLI and can't get seem to get it right, or it isn't compatible with SNAP appliance's implementation of SMB? Here is what I'm doing: ./check_disk_smb -H fileserver -W DOMAIN -u testaccount -p changeme -s Documents Can't exec "//fileserver/Documents": No such file or directory at ./check_disk_smb line 126. Use of uninitialized value in split at ./check_disk_smb line 135. Use of uninitialized value in pattern match (m//) at ./check_disk_smb line 143. Result from smbclient not suitable ./check_disk_smb -H myDesktop -W DOMAIN -u testaccount -p changeme -s MP3 Can't exec "//myDesktop/MP3": No such file or directory at ./check_disk_smb line 126. Use of uninitialized value in split at ./check_disk_smb line 135. Use of uninitialized value in pattern match (m//) at ./check_disk_smb line 143. Result from smbclient not suitable ./check_disk_smb -V check_disk_smb (nagios-plugins 1.4.2) 1.12 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. I also tried it against my desktop without any luck? [root at moveit /usr/nagios/libexec] 65# smbclient -V Version 3.0.22 Thanks, James ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarcus at mvalent.com Fri Sep 8 15:32:21 2006 From: jmarcus at mvalent.com (James Marcus) Date: Fri, 08 Sep 2006 09:32:21 -0400 Subject: Result from smbclient not suitable In-Reply-To: References: Message-ID: I had to set the full path to my SMBCLIENT in line 61. James On 9/8/06 9:20 AM, "James Marcus" wrote: > Hi, > I'm running the check_smb_client from the CLI and can't get seem to get it > right, or it isn't compatible with SNAP appliance's implementation of SMB? > > Here is what I'm doing: > ./check_disk_smb -H fileserver -W DOMAIN -u testaccount -p changeme -s > Documents > Can't exec "//fileserver/Documents": No such file or directory at > ./check_disk_smb line 126. > Use of uninitialized value in split at ./check_disk_smb line 135. > Use of uninitialized value in pattern match (m//) at ./check_disk_smb line > 143. > Result from smbclient not suitable > > ./check_disk_smb -H myDesktop -W DOMAIN -u testaccount -p changeme -s MP3 > Can't exec "//myDesktop/MP3": No such file or directory at ./check_disk_smb > line 126. > Use of uninitialized value in split at ./check_disk_smb line 135. > Use of uninitialized value in pattern match (m//) at ./check_disk_smb line > 143. > Result from smbclient not suitable > > > ./check_disk_smb -V > check_disk_smb (nagios-plugins 1.4.2) 1.12 > The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute > copies of the plugins under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING. > > I also tried it against my desktop without any luck? > > [root at moveit /usr/nagios/libexec] 65# smbclient -V > Version 3.0.22 > > > Thanks, > James > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.standbridge at atosorigin.com Fri Sep 8 15:28:29 2006 From: robert.standbridge at atosorigin.com (Robert STANDBRIDGE) Date: Fri, 08 Sep 2006 15:28:29 +0200 Subject: CRITICAL - 0 processes running with (NULL)UID = 3211 (stsadm), command name ora_pmon_SDS Message-ID: <45016FFD.20107@atosorigin.com> CRITICAL - 0 processes running with (NULL)UID = 3211 (stsadm), command name ora_pmon_SDS I'm having trouble with processes oracle that are not seen by nagios, where as all the other processes are ok. I'm running nagios 2.0 sur un serveur linux (redhat 2.4) with a clients running on HP-UX, Solaris, linux et windows and use NRPE to check the state of filesystems, disques, services & processes. Has anyone else had problems like this ? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 8 16:23:51 2006 From: ampranti at gmail.com (Andreas Brandino) Date: Fri, 8 Sep 2006 17:23:51 +0300 Subject: Suse 10.0 - perl plugin return "No outpput" In-Reply-To: <450155D7.2090503@googlemail.com> References: <200609051744.38801.me@renux.de> <3010580009.20060906075844@gmail.com> <450155D7.2090503@googlemail.com> Message-ID: Hello Hari, i am not using webinject. While googling i found that a specific version of nagios on suse had problem with the embedded perl. To problem was fixed using a patch. However,my nagios version is different. Anyone else facing the same or similar problem? 2006/9/8, Hari Sekhon : > > Brandino Andreas wrote: > > Hi Rene, > yes all plugins have 755 permissions. > The plugins have the same permissions (owned by the root and 755) as > the working one's. > > > Tuesday, September 5, 2006, 6:44:38 PM, you wrote: > > Hi Andreas. > > Am Dienstag, 5. September 2006 16:39 schrieb Andreas Brandino: > > i am using Suse 10.0 with nagios 1.2.x > All perl plugins i try to use return "No output" message. However, all > other plugins work just fine. > When i run the plugins from command line (as "root" or "daemon") work > without problem. > Using perl full path in front of the plugin (checkcommands.cfg) still > doesnt make any difference. > > I think this has to do with perl on my system. > Any idea? > > Please check wether all plugings have execution rights for everyone (0755). > As far as I remember the SuSE installation didn't set these properly. > > Rene > > > <> --- - - - --- <> > Brandino Andreas > ampranti at gmail.com > <> --- - - - --- <> > > > > Are you by any change using webinject? On the off chance that you are, > read on: > > I had this problem at the exact time that you first posted the issue. My > fix was to cd dir && ./webinject.pl ....... which worked fine. Otherwise I > kept getting this no output in the web interface which was really bugging > me. > > webinject doesn't handle the full path for the config or test file. In > fact it exits 0 which looks like a success but really it fails to open the > file(s). You'll see that if you use normal report type. > > > hope that helps. > > -- > Hari Sekhon > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Sep 8 19:12:18 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 08 Sep 2006 18:12:18 +0100 Subject: Nagios process not running? It is running! In-Reply-To: <450188BC.1010400@sparks.net> References: 44DCC414.8040306@googlemail.com <44F742CD.5060808@sparks.net> <44F80D11.5050108@googlemail.com> <450188BC.1010400@sparks.net> Message-ID: <4501A472.1090701@googlemail.com> David Miller wrote: > I found one problem on my system. I think it was due to having grsec > compiled into the kernel, though there may have been a "secure ps" > package installed somewhere. > > The difference between "identical" systems where one worked and one > didn't is that running "ps" on the one that didn't work would only > show processes for that user, and it would take the real uid, not the > euid. So a "ps" never showed a nagios process. I've noticed this myself when installing hardened servers with grsec but the ps output should limit you to seeing processes that your user owns, right? So in that case if the check is run by the nagios user then it should be able to it's own process of nagios, so I don't think this is the issue. Root can of course see all procs. -- Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goldbeck at e-trend.de Fri Sep 8 18:48:52 2006 From: goldbeck at e-trend.de (Dietmar Goldbeck) Date: Fri, 8 Sep 2006 18:48:52 +0200 Subject: Virtual Nagios servers In-Reply-To: <45013FEE.9020008@uksolutions.co.uk> References: <45013FEE.9020008@uksolutions.co.uk> Message-ID: <20060908164851.GA9351@tin-lizzy.bi.devcon.net> On Fri, Sep 08, 2006 at 11:03:26AM +0100, Gavin Conway wrote: > Hi All, > > We're looking at deploying a virtual nagios system using Debian Sarge > 3.1 and Vservers. I'd like to know if anyone has experienced any > problems running multiple vservers with Nagios before we announce this > to customers. > > Obviously we're paying attention to what ports objects are binding to to > ensure that they don't attempt to list on all IP addresses but I was > curious what experience people have had with this. > Hello, No problems here running nagios 2.5 inside a Debian Etch Vserver. Processes inside a vserver cannot listen to other ip adresses anyway. The only exeption to this are _ping_ requests on _multihomed_ machines. I cannot ping from inside a vserver with several network interfaces. (my firewall at home has the DMZ as vservers.) You need to be careful on the outer machine and should put "listen only" directives on all network services, and also limit services to the bare minimum on the outer machine. -- Alles Gute / best wishes Dietmar Goldbeck E-Mail: dietmar.goldbeck at schotterweg.de Reporter (to Mahatma Gandhi): Mr Gandhi, what do you think of Western Civilization? Gandhi: I think it would be a good idea. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 8 19:38:25 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 08 Sep 2006 18:38:25 +0100 Subject: Nagios process not running? It is running! In-Reply-To: <4501A741.7040902@sparks.net> References: 44DCC414.8040306@googlemail.com <44F742CD.5060808@sparks.net> <44F80D11.5050108@googlemail.com> <450188BC.1010400@sparks.net> <4501A472.1090701@googlemail.com> <4501A741.7040902@sparks.net> Message-ID: <4501AA91.30904@googlemail.com> David Miller wrote: > Hari Sekhon wrote: >> David Miller wrote: >>> I found one problem on my system. I think it was due to having >>> grsec compiled into the kernel, though there may have been a "secure >>> ps" package installed somewhere. >>> >>> The difference between "identical" systems where one worked and one >>> didn't is that running "ps" on the one that didn't work would only >>> show processes for that user, and it would take the real uid, not >>> the euid. So a "ps" never showed a nagios process. >> >> I've noticed this myself when installing hardened servers with grsec >> but the ps output should limit you to seeing processes that your user >> owns, right? > > Ah, then you are running grsec too? > >> So in that case if the check is run by the nagios user then it should >> be able to it's own process of nagios, so I don't think this is the >> issue. Root can of course see all procs. > > I found this by changing the nagios_check_command to be > /tmp/some_shell_script > > the shell script looked like this: > > #!/bin/sh > /usr/bin/id >> /tmp/check > /usr/lib/nagios/plugins/check_nagios /var/log/nagios/status.log 5 > '/usr/sbin/nagios' >> /tmp/check > /usr/lib/nagios/plugins/check_nagios /var/log/nagios/status.log 5 > '/usr/sbin/nagios' > > > And it would work. check_nagios would run fine and put the right > output in /tmp/check, and echo it back to the calling CGI. It just > wouldn't work if the cgi called check_nagios directly. > > But the id showed that the script was running as ruid www-data and > euid nagios; it could then run check_nagios which is a little weird. > But check_nagios itself, I'm sure, was still running as www-data and > thus unable to see nagios in a ps command. > > I'm assuming that sh would fork itself and exec() check_nagios, but > that when it did the fork it used the euid, not the ruid. I don't > have any other explanation for how it would work after and not before. > > If you've got things setup differently as far as ID's goes then none > of this applies, of course. I used the default ID's for both apache > (www-data) and nagios (nagios). > > > --- David > well in that case I may as well not bother with it at all since I've already written a shell script to test nagios and email me if it's not running and that works via cron which is a much better test since it doesn't need nagios to tell me that nagios isn't working! I'm happy enough that it isn't complaining. I may change my mind at some point since downtime scheduling still doesn't work even though everything else does. I found that when I disabled the nagios_check_command line I was suddenly able to do comments which previously never worked, so it's highly possible that the scheduling is in some way connected to the nagios self check before it'll let you do it. Of course the error is completely bogus, a perms thing when I know that to be correct, I made no change to perms at all, just this check command when the error for comments suddenly changed from perms error to working and I am 100% positive I made no changes to anything else at that time. anyway, glad you got yours working the way you want. -h -- Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lennart.kvam at softronic.se Sat Sep 9 00:29:00 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Sat, 9 Sep 2006 00:29:00 +0200 Subject: UFS - Performance Data? Message-ID: <308D3417BAD2104895AE72D879B815B6029891EF@stsstomail01.softronic.se> Hello! How can i get some Performance Data with check_disk on a ufs filesystem(solaris8)? Do i need another plugin or what? I dont want to use snmp! Hope someone can help me!? Regards Lelle __\/__ . / ^ ^ \ . |\| (o)(o) |/| #---------------------.OOOo----O0----oOOO.-------------------# # Lennart Kvam # # Softronic AB, Ringv?gen 100, 118 60 Stockholm # # Tel: 0708-813279 Vx:08-51909000 # # lennart.kvam at softronic.se # #______________________Oooo._______________# .oooO ( ) ( ) ) / \ ( (_/ \_) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 pitchfork at ederdrom.de Sat Sep 9 11:38:14 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Sat, 9 Sep 2006 11:38:14 +0200 Subject: Monitoring disk state on Dell servers with Netware In-Reply-To: <44FE7E48.3030806@gmx.net> References: <44FE7E48.3030806@gmx.net> Message-ID: <200609091138.14272.pitchfork@ederdrom.de> Am Mittwoch, 6. September 2006 09:52 schrieb Nicole H?hnel: > Hi, Hi Nicole > I'm monitoring all disk states on our Redhat ES 4 servers with > check_arraydiskstate.sh from NagiosExchange. > Now I have to check the disks from our Netware 6.5 serves too, but with > this script I get only "End of MIB". You must install the Dell Perc Agents on Netware to expand the Netware SNMP Agents. Currently only Netware 6.5+ is supportet by Dell. J?rg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Sun Sep 10 08:39:35 2006 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Sun, 10 Sep 2006 12:09:35 +0530 Subject: nagios 2.5 Message-ID: <6b16fb4c0609092339o40cc7fdma079f1a7355e9583@mail.gmail.com> Hi ALL I get # nagios -v /etc/nagios/nagios.cfg Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 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 6 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... Error: Global host event handler command 'log-host-event-to-db' is not defined anywhere! Error: Global service event handler command 'log-service-event-to-db' is not defined anywhere! Checking obsessive compulsive processor commands... Error: Obsessive compulsive service processor command 'obsessive_service_handler' is not defined anywhere! Error: Obsessive compulsive host processor command 'obsessive_host_handler' is not defined anywhere! Checking misc settings... Total Warnings: 0 Total Errors: 9 ***> 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. You have new mail in /var/spool/mail/root Thanks and Regards Kaushal ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 10 09:53:21 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 10 Sep 2006 09:53:21 +0200 (CEST) Subject: nagios 2.5 In-Reply-To: <6b16fb4c0609092339o40cc7fdma079f1a7355e9583@mail.gmail.com> References: <6b16fb4c0609092339o40cc7fdma079f1a7355e9583@mail.gmail.com> Message-ID: On Sun, 10 Sep 2006, Kaushal Shriyan wrote: ..... > Error: Global host event handler command 'log-host-event-to-db' is not > defined anywhere! > Error: Global service event handler command 'log-service-event-to-db' > is not defined anywhere! > Checking obsessive compulsive processor commands... > Error: Obsessive compulsive service processor command > 'obsessive_service_handler' is not defined anywhere! > Error: Obsessive compulsive host processor command > 'obsessive_host_handler' is not defined anywhere! > Checking misc settings... > > Total Warnings: 0 > Total Errors: 9 And what might be the question? I think it is rather obvious that you have not configured anything. Nagios will not automagically work after installation. So please go over the manual and start building a config matching your needs. If you have issues after reading the manual and building your config you may run into specific issues and you can ask specific questions on the mailinglist that people may be able to answer. Don 't forget to include relevant sections from config files where needed to explain what you tried to setup. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dstewardson at btinternet.com Sun Sep 10 12:27:09 2006 From: dstewardson at btinternet.com (Daniel) Date: Sun, 10 Sep 2006 11:27:09 +0100 Subject: recurring CRITICAL alerts Message-ID: <002801c6d4c3$aebef820$0e00000a@v137600059> I am running nagios 1.2 and have a passive check that is sent results every 5 minutes from a monitored server. The check is also configured to only send out notifications between 04:00 and 22:30 as the service being monitored is not actually running outside those hours. As expected, the service goes into a CRITICAL state during the non-notification period and then resumes an OK state when the service is running again. But then there is a strange situation where it toggles between the previous CRITICAL state and an OK state. Here is an example of what I mean (reading from bottom up). Notice how the CRITICAL alert saying "last updated 2006/09/06 22:21:09" keeps recurring, even though there has been a valid (OK) in between : -------------------------------------------------------------------------- September 07, 2006 05:00 -------------------------------------------------------------------------- [07-09-2006 05:26:04] Nagios 1.2 starting... (PID=3385) [07-09-2006 05:22:28] Caught SIGTERM, shutting down... [07-09-2006 05:20:21] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;CRITICAL;HARD;1;QAT File last updated 2006/09/06 22:21:09 -------------------------------------------------------------------- September 07, 2006 04:00 -------------------------------------------------------------------- [07-09-2006 04:55:19] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;OK;HARD;1;QAT File last updated 2006/09/07 04:38:26 [07-09-2006 04:36:38] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;CRITICAL;HARD;1;QAT File last updated 2006/09/06 22:21:09 [07-09-2006 04:35:13] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;OK;HARD;1;QAT File last updated 2006/09/07 04:29:20 [07-09-2006 04:34:07] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;CRITICAL;HARD;1;QAT File last updated 2006/09/06 22:21:09 [07-09-2006 04:19:49] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;OK;HARD;1;QAT File last updated 2006/09/07 04:14:04 -------------------------------------------------------------------- September 06, 2006 22:00 -------------------------------------------------------------------- [06-09-2006 22:58:58] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;CRITICAL;HARD;1;QAT File last updated 2006/09/06 22:21:09 Not sure if this has anything to do with supressing notifications...if something in the nagios logic isn't getting cleared down? Has anyone any ideas what may be causing this? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 andrew at thaller.net.au Sun Sep 10 15:02:27 2006 From: andrew at thaller.net.au (Andrew Thaller) Date: Sun, 10 Sep 2006 23:02:27 +1000 Subject: Suse 10.0 - perl plugin return "No outpput" In-Reply-To: References: Message-ID: <45040CE3.5010404@thaller.net.au> Hi I've seen this problem on a few perl based plugins. On the occasions I've seen this, theres a line in the script similar as the one below "use lib "/usr/local/nagios/libexec"" Change that so it points to the directory in which the perl script resides. Cheers Andrew Andreas Brandino wrote: > Hi list, > > i am using Suse 10.0 with nagios 1.2.x > All perl plugins i try to use return "No output" message. However, all > other plugins work just fine. > When i run the plugins from command line (as "root" or "daemon") work > without problem. > Using perl full path in front of the plugin (checkcommands.cfg) still > doesnt make any difference. > > I think this has to do with perl on my system. > Any idea? > > Regards > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Sun Sep 10 16:14:27 2006 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Sun, 10 Sep 2006 19:44:27 +0530 Subject: Nagios 2.5 Error Message-ID: <6b16fb4c0609100714y366428et863726ca2b237dc0@mail.gmail.com> Hi ALL nagios -v /etc/nagios/nagios.cfg Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 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 6 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... Error: Global host event handler command 'log-host-event-to-db' is not defined anywhere! Error: Global service event handler command 'log-service-event-to-db' is not defined anywhere! Checking obsessive compulsive processor commands... Error: Obsessive compulsive service processor command 'obsessive_service_handler' is not defined anywhere! Error: Obsessive compulsive host processor command 'obsessive_host_handler' is not defined anywhere! Checking misc settings... Total Warnings: 0 Total Errors: 9 ***> 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. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Sep 10 16:19:34 2006 From: jperrin at gmail.com (Jim Perrin) Date: Sun, 10 Sep 2006 10:19:34 -0400 Subject: Nagios 2.5 Error In-Reply-To: <6b16fb4c0609100714y366428et863726ca2b237dc0@mail.gmail.com> References: <6b16fb4c0609100714y366428et863726ca2b237dc0@mail.gmail.com> Message-ID: <302ce8b50609100719q382034bapab32d054bea44878@mail.gmail.com> Top posting because there's no actual question here. What's your point? Read the docs. Configure nagios to taste. You haven't defined anything. On 9/10/06, Kaushal Shriyan wrote: > Hi ALL > > nagios -v /etc/nagios/nagios.cfg > > Nagios 2.5 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 07-13-2006 > 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 6 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... > Error: Global host event handler command 'log-host-event-to-db' is not > defined anywhere! > Error: Global service event handler command 'log-service-event-to-db' > is not defined anywhere! > Checking obsessive compulsive processor commands... > Error: Obsessive compulsive service processor command > 'obsessive_service_handler' is not defined anywhere! > Error: Obsessive compulsive host processor command > 'obsessive_host_handler' is not defined anywhere! > Checking misc settings... > > Total Warnings: 0 > Total Errors: 9 > > ***> 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. > -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Sun Sep 10 16:22:51 2006 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Sun, 10 Sep 2006 19:52:51 +0530 Subject: Nagios 2.5 Error In-Reply-To: <302ce8b50609100719q382034bapab32d054bea44878@mail.gmail.com> References: <6b16fb4c0609100714y366428et863726ca2b237dc0@mail.gmail.com> <302ce8b50609100719q382034bapab32d054bea44878@mail.gmail.com> Message-ID: <6b16fb4c0609100722y3220aed5v524f91e6948da753@mail.gmail.com> On 9/10/06, Jim Perrin wrote: > Top posting because there's no actual question here. > What's your point? > Read the docs. Configure nagios to taste. You haven't defined anything. > > On 9/10/06, Kaushal Shriyan wrote: > > Hi ALL > > > > nagios -v /etc/nagios/nagios.cfg > > > > Nagios 2.5 > > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > > Last Modified: 07-13-2006 > > 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 6 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... > > Error: Global host event handler command 'log-host-event-to-db' is not > > defined anywhere! > > Error: Global service event handler command 'log-service-event-to-db' > > is not defined anywhere! > > Checking obsessive compulsive processor commands... > > Error: Obsessive compulsive service processor command > > 'obsessive_service_handler' is not defined anywhere! > > Error: Obsessive compulsive host processor command > > 'obsessive_host_handler' is not defined anywhere! > > Checking misc settings... > > > > Total Warnings: 0 > > Total Errors: 9 > > > > ***> 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. > > > > -- > During times of universal deceit, telling the truth becomes a revolutionary act. > George Orwell > Hi Jim Thanks for the quick turnaround ,pardon I didnot understand. I configured nagios.cfg by referring http://nagios.sourceforge.net/docs/2_0/configmain.html as you said You havent defined anything, where do i set it Thanks and Regards Kaushal ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Sep 10 16:39:03 2006 From: jperrin at gmail.com (Jim Perrin) Date: Sun, 10 Sep 2006 10:39:03 -0400 Subject: Nagios 2.5 Error In-Reply-To: <6b16fb4c0609100722y3220aed5v524f91e6948da753@mail.gmail.com> References: <6b16fb4c0609100714y366428et863726ca2b237dc0@mail.gmail.com> <302ce8b50609100719q382034bapab32d054bea44878@mail.gmail.com> <6b16fb4c0609100722y3220aed5v524f91e6948da753@mail.gmail.com> Message-ID: <302ce8b50609100739k7bca5f08hc4895960764ffbb5@mail.gmail.com> > Hi Jim > > Thanks for the quick turnaround ,pardon I didnot understand. I > configured nagios.cfg by referring > http://nagios.sourceforge.net/docs/2_0/configmain.html > > as you said You havent defined anything, where do i set it You set the file locations in your nagios.cfg using the cfg_file or cfg_dir nagios needs to be able to read the files. All this is covered in the documentation that you say you followed. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Sun Sep 10 20:30:43 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sun, 10 Sep 2006 14:30:43 -0400 Subject: nsca how-to Message-ID: <1157913043.8487.1.camel@atari.localhost> Hello everyone, I was wondering if anyone knew a good doc that showed how to set up nsca and use it. many thanks, richard ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Sun Sep 10 22:09:42 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sun, 10 Sep 2006 16:09:42 -0400 Subject: check_http on image Message-ID: <1157918982.10270.5.camel@atari.localhost> Hello again everyone, On a few servers I'm running tux web servers that only serve images (speeds up the process dramatically), and I'm trying to check this with nagios. I essentially need to do a check_http -H somedomain.com/someimage.jpg -w # -c ## .... I try doing this in nagios and I get a 'HTTP WARNING: HTTP/1.1 400 Bad Request' warning. If i check the url in firefox I see the image I expected to see. Any ideas? Richard ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 10 22:20:08 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 10 Sep 2006 22:20:08 +0200 (CEST) Subject: Nagios 2.5 Error In-Reply-To: <302ce8b50609100719q382034bapab32d054bea44878@mail.gmail.com> References: <6b16fb4c0609100714y366428et863726ca2b237dc0@mail.gmail.com> <302ce8b50609100719q382034bapab32d054bea44878@mail.gmail.com> Message-ID: On Sun, 10 Sep 2006, Jim Perrin wrote: > Top posting because there's no actual question here. > What's your point? > Read the docs. Configure nagios to taste. You haven't defined anything. In fact the answer is a duplicate either ;-) But it seems Kaushal Shriyan reads the mailinglist as well as the manual. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Sep 10 22:23:11 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 10 Sep 2006 22:23:11 +0200 (CEST) Subject: check_http on image In-Reply-To: <1157918982.10270.5.camel@atari.localhost> References: <1157918982.10270.5.camel@atari.localhost> Message-ID: On Sun, 10 Sep 2006, Richard Galvez wrote: > On a few servers I'm running tux web servers that only serve images > (speeds up the process dramatically), and I'm trying to check this with > nagios. I essentially need to do a check_http -H > somedomain.com/someimage.jpg -w # -c ## .... I try doing this in nagios > and I get a 'HTTP WARNING: HTTP/1.1 400 Bad Request' warning. If i check > the url in firefox I see the image I expected to see. Any ideas? You can't put a path in the -H option. -H, --hostname=ADDRESS Host name argument for servers using host headers (virtual host) Append a port to include it in the header (eg: example.com:5000) Use the proper option for your path. -u, --url=PATH URL to GET or POST (default: /) Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Mon Sep 11 00:00:08 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Mon, 11 Sep 2006 08:00:08 +1000 Subject: Suse 10.0 - perl plugin return "No outpput" In-Reply-To: References: <200609051744.38801.me@renux.de> <3010580009.20060906075844@gmail.com> <450155D7.2090503@googlemail.com> Message-ID: Dear Sir, I am writing to thank you for your letter and say, On 09/09/06, Andreas Brandino wrote: > Hello Hari, > > i am not using webinject. > While googling i found that a specific version of nagios on suse had problem > with the embedded perl. To problem was fixed using a patch. > However,my nagios version is different. > > Anyone else facing the same or similar problem? > Your problem may well be with embedded Perl because embedded Perl does not change nearly as fast as Nagios. Please would you send me or the list links to the Suse problem with embedded Perl ? Pretty well the only system dependency I can think of with embedded Perl is the Perl path and this should be dealt with my autoconf and friends. Are you using embedded Perl ? (strings References: Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2203994@UXCHANGE3.UoA.auckland.ac.nz> > How can I use Nagios to monitor a windows program that does > not run as a > service. I can use snmp plugin to check on services but if it's a > program that starts from an executable, how can I tell if its > running or not If you are using the pNSclient agent (as we are) then this includes a test for a named executable running, as well as a test for a particular service name. I believe NC_Net and nsclient++ also both have this functionality. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Mon Sep 11 00:55:20 2006 From: jdaily at apparatus.net (John Daily) Date: Sun, 10 Sep 2006 18:55:20 -0400 Subject: Suse 10.0 - perl plugin return "No outpput" References: <200609051744.38801.me@renux.de> <3010580009.20060906075844@gmail.com><450155D7.2090503@googlemail.com> Message-ID: > If you don't want to do that, write a C or shell wrapper that calls > the plugin - you will have to rename the plugin so the wrapper can > pretend to Nagios that it is the real plugin. Perhaps an easier way would be to specify the full path to Perl before any Perl plugin call: define command { command_name check_ntp command_line /usr/bin/perl $USER1$/check_ntp -H $HOSTADDRESS$ } You could, of course, define the path to Perl in a macro, or even the path to Perl plus the path to the standard plugin dir in one macro, like: $USER2$=/usr/bin/perl /usr/lib/nagios/plugins # in resource.cfg define command { command_name check_ntp command_line $USER2$/check_ntp -H $HOSTADDRESS$ } We need more intelligible macro names, like $USER_PERL$. -John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 thesource at ldb-jab.org Mon Sep 11 02:09:55 2006 From: thesource at ldb-jab.org (LDB) Date: Sun, 10 Sep 2006 20:09:55 -0400 Subject: nrpe_check!check_disk1 Message-ID: <4504A953.8070702@ldb-jab.org> My disk checks from the clients are executing via NRPE but they are NOT reporting back to the server as critical or warning. What could be the problem? I am using 1.x of nagios. Thanks, LDB ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 11 02:26:31 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 10 Sep 2006 20:26:31 -0400 Subject: nrpe_check!check_disk1 In-Reply-To: <4504A953.8070702@ldb-jab.org> References: <4504A953.8070702@ldb-jab.org> Message-ID: > My disk checks from the clients are executing via NRPE but > they are NOT reporting back to the server as critical or > warning. What could be the problem? > > I am using 1.x of nagios. Pretty impossible to say without any details about your check command, or the results you do get back. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thesource at ldb-jab.org Mon Sep 11 02:46:36 2006 From: thesource at ldb-jab.org (LDB) Date: Sun, 10 Sep 2006 20:46:36 -0400 Subject: nrpe_check!check_disk1 In-Reply-To: References: Message-ID: <4504B1EC.2070900@ldb-jab.org> Morris, Patrick wrote: >>My disk checks from the clients are executing via NRPE but >>they are NOT reporting back to the server as critical or >>warning. What could be the problem? >> >>I am using 1.x of nagios. > > > Pretty impossible to say without any details about your check command, > or the results you do get back. > > When I do it by hand I get .. # /usr/lib/nagios/plugins/check_nrpe -H 192.168.0.132 -c check_test DISK WARNING - free space: /test 51 MB (5%);| /test=957MB;906;956;0;1007 check_test on the client in nrpe.cfg is, command[check_test]=/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /test Now, when nagios monitors .. /var/log/nagios/nagios.log: [1157919221] SERVICE NOTIFICATION: daemon;ibackup;/test Free Space;OK;notify-by-epager;NRPE v2.0 [1157919221] SERVICE NOTIFICATION: daemon;ibackup;/test Free Space;OK;notify-by-email;NRPE v2.0 /etc/nagios/services.cfg: define service{ use generic-service host_name ibackup service_description /test Free Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups fsg-admins notification_interval 60 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_test } /etc/nagios/checkcommand.cfg: # 'check_nrpe' command definition define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ } Everyhing is seemingly fine ... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Sep 11 02:50:18 2006 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Mon, 11 Sep 2006 01:50:18 +0100 Subject: NRPE :- (Return code of 126 is out of bounds - plugin may be missing) Message-ID: <418B502A3861E242AFDED453F3D5B89C0F9C5F6E@i2km99-ukbr.domain1.systemhost.net> I am having a problem getting NRPE and checks to work with Nagios Nagios Version 2.5 Nagios Plugins 1.4.3 NRPE 2.5.2 I realise I have missed something, but having looked at this now for almost 2 hours and having ran through the faq and mailing lists I have resorted to posting to the mailing list. I believe NRPE is configured correctly and that my commands are working fine as attested to below. However, when Nagios executes the NRPE checks it fails the test and causes the following error to be displayed. "(Return code of 126 is out of bounds - plugin may be missing) " I know the files exist and that Nagios can see them Nagios Monitoring host: usel nagios at usel:~> ll /usr/local/nagios/libexec/check_nrpe -rwxr-xr-x 1 Nagios nagios 56426 2006-09-07 15:48 /usr/local/nagios/libexec/check_nrpe Nagios Monitored host h4oiap nagios at h4oiap:/> ll /usr/local/nagios/libexec/check_disk -rwxr-xr-x 1 root root 104473 2006-09-10 22:32 /usr/local/nagios/libexec/check_disk nagios at h4oiap:/> ll /usr/local/sbin/nrpe -rwxr-xr-x 1 nagios nagios 113380 2006-09-07 14:58 /usr/local/sbin/nrpe I have external command checking configured in my nagios.cfg file and Nagios is working fine doing the ping tests to remote machines. It also behaves correctly allowing me to handle comments, re-schedule tests, add scheduled down time so I know the permissions on the nagios.cmd file are ok nagios at usel:~> ll /usr/local/nagios/var/rw/nagios.cmd prw-rw---- 1 nagios nagcmd 0 2006-09-11 01:25 /usr/local/nagios/var/rw/nagios.cmd I'm hoping someone will spot my mistake and says its nice and easy to fix :) But I am willing to take hard answers as well ############################ START OFF CONFIGS ############################ >From checkcommand.cfg define command{ command_name check_nrpe command_line $USER1$ /check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } >From services.cfg # check number off users logged in define service{ use generic-service host_name h4oiap service_description Logged In Users is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups vsu-p notification_interval 120 notification_period 24x7 notification_options w,c,r check_command check_nrpe!check_users } # Free Space on / define service{ use generic-service host_name h4oiap service_description Free Disk Space / is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups vsu-p notification_interval 120 notification_period 24x7 notification_options w,c,r check_command check_nrpe!check_disk1 >From nrpe.cfg on monitored host h4oiap pid_file=/var/run/nrpe.pid server_port=5666 nrpe_user=nagios nrpe_group=nagios dont_blame_nrpe=0 debug=1 command_timeout=60 # The following examples use hard coded command arguments... command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_disk1]=/usr/local/nagios/libexec/check_disk -e -l -X iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / ############################ END OFF CONFIGS ############################ ######## START OFF Commands executed on h4oiap monitored host ############ Running above commands locally on monitored host h4oiap produces the following CHECK DISK nagios at h4oiap:/usr/local/nagios/libexec> /usr/local/nagios/libexec/check_disk -l -X iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / DISK OK - free space: / 3041 MB (27% inode=nan%);| /=8222MB;9010;10136;-9223372036854775808;11263 CHECK USER nagios at h4oiap:/usr/local/nagios/libexec> /usr/local/nagios/libexec/check_users -w 5 -c 10 USERS OK - 1 users currently logged in |users=1;5;10;0 ############ END OFF Commands executed on h4oiap monitored host ############## ###### START OFF Commands executed on USEL, The NAGIOS MONITORING host ###### Running the above commands via check_nrpe from the MONITORING host usel produces the following nagios at usel:~> /usr/local/nagios/libexec/check_nrpe -H 132.146.185.13 -p 5666 -c check_disk1 DISK OK - free space:| /=8222MB;9010;10136;-9223372036854775808;11263 Debug syslog output from h4oiap Sep 11 00:57:51 h4oiap nrpe[6620]: Added command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 Sep 11 00:57:51 h4oiap nrpe[6620]: Added command[check_disk1]=/usr/local/nagios/libexec/check_disk -e -l -X iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / Sep 11 00:57:51 h4oiap nrpe[6620]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Sep 11 00:57:51 h4oiap nrpe[6620]: Handling the connection... Sep 11 00:57:51 h4oiap nrpe[6620]: Host is asking for command 'check_disk1' to be run... Sep 11 00:57:51 h4oiap nrpe[6620]: Running command: /usr/local/nagios/libexec/check_disk -e -l -X iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / Sep 11 00:57:51 h4oiap nrpe[6620]: Command completed with return code 0 and output: DISK OK - free space:| /=8222MB;9010;10136;-9223372036854775808;11263 Sep 11 00:57:51 h4oiap nrpe[6620]: Return Code: 0, Output: DISK OK - free space:| /=8222MB;9010;10136;-9223372036854775808;11263 nagios at usel:~> /usr/local/nagios/libexec/check_nrpe -H 132.146.185.13 -p 5666 -c check_users USERS OK - 1 users currently logged in |users=1;5;10;0 debug syslog output from h4oiap Sep 11 00:59:25 h4oiap nrpe[6661]: Added command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 Sep 11 00:59:25 h4oiap nrpe[6661]: Added command[check_disk1]=/usr/local/nagios/libexec/check_disk -e -l -X iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / Sep 11 00:59:25 h4oiap nrpe[6661]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Sep 11 00:59:25 h4oiap nrpe[6661]: Handling the connection... Sep 11 00:59:25 h4oiap nrpe[6661]: Host is asking for command 'check_users' to be run... Sep 11 00:59:25 h4oiap nrpe[6661]: Running command: /usr/local/nagios/libexec/check_users -w 5 -c 10 Sep 11 00:59:25 h4oiap nrpe[6661]: Command completed with return code 0 and output: USERS OK - 1 users currently logged in |users=1;5;10;0 Sep 11 00:59:25 h4oiap nrpe[6661]: Return Code: 0, Output: USERS OK - 1 users currently logged in |users=1;5;10;0 ####### END OFF Commands executed on USEL, The NAGIOS MONITORING host ####### ################ OUTPUT from /usr/local/nagios/var/nagios.log ################ [1157934304] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;h4oiap;Free Disk Space /;1157934301 [1157934312] Warning: Return code of 126 for check of service 'Free Disk Space / ' on host 'h4oiap' was out of bounds. Make sure the plugin you're trying to run actually exists. [1157934492] Warning: Return code of 126 for check of service 'Logged In Users' on host 'h4oiap' was out of bounds. Make sure the plugin you're trying to run ac tually exists. [1157934612] Warning: Return code of 126 for check of service 'Free Disk Space / ' on host 'h4oiap' was out of bounds. Make sure the plugin you're trying to run actually exists. ################ OUTPUT from /usr/local/nagios/var/nagios.log ################ Thanks in advance for your help Tom Welsh ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thesource at ldb-jab.org Mon Sep 11 02:55:27 2006 From: thesource at ldb-jab.org (LDB) Date: Sun, 10 Sep 2006 20:55:27 -0400 Subject: nrpe_check!check_disk1 In-Reply-To: <4504B1EC.2070900@ldb-jab.org> References: <4504B1EC.2070900@ldb-jab.org> Message-ID: <4504B3FF.2000101@ldb-jab.org> LDB wrote: > Morris, Patrick wrote: > >>>My disk checks from the clients are executing via NRPE but >>>they are NOT reporting back to the server as critical or >>>warning. What could be the problem? >>> >>>I am using 1.x of nagios. >> >> >>Pretty impossible to say without any details about your check command, >>or the results you do get back. >> >> > > > When I do it by hand I get .. > > # /usr/lib/nagios/plugins/check_nrpe -H 192.168.0.132 -c check_test > DISK WARNING - free space: /test 51 MB (5%);| /test=957MB;906;956;0;1007 > > check_test on the client in nrpe.cfg is, > > command[check_test]=/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /test > > > Now, when nagios monitors .. > > /var/log/nagios/nagios.log: > > [1157919221] SERVICE NOTIFICATION: daemon;ibackup;/test Free > Space;OK;notify-by-epager;NRPE v2.0 > [1157919221] SERVICE NOTIFICATION: daemon;ibackup;/test Free > Space;OK;notify-by-email;NRPE v2.0 > > > > /etc/nagios/services.cfg: > > define service{ > use generic-service > host_name ibackup > service_description /test Free Space > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups fsg-admins > notification_interval 60 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nrpe!check_test > } > > > /etc/nagios/checkcommand.cfg: > > # 'check_nrpe' command definition > define command{ > command_name check_nrpe > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ > } > > Everyhing is seemingly fine ... > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 just noticed somesthing ... When execute the below locally on the client .. ibackup:/test # /usr/lib/nagios/plugins/check_disk -w 10 -c 5 -p /test DISK OK - free space: /test 51 MB (5%);| /test=957MB;997;1002;0;1007 It says it is OK .. THis is wierd .. LDB ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thesource at ldb-jab.org Mon Sep 11 03:18:32 2006 From: thesource at ldb-jab.org (LDB) Date: Sun, 10 Sep 2006 21:18:32 -0400 Subject: NRPE :- (Return code of 126 is out of bounds - plugin may be missing) In-Reply-To: <418B502A3861E242AFDED453F3D5B89C0F9C5F6E@i2km99-ukbr.domain1.systemhost.net> References: <418B502A3861E242AFDED453F3D5B89C0F9C5F6E@i2km99-ukbr.domain1.systemhost.net> Message-ID: <4504B968.1080407@ldb-jab.org> tom.welsh at bt.com wrote: > I am having a problem getting NRPE and checks to work with Nagios > > Nagios Version 2.5 > Nagios Plugins 1.4.3 > NRPE 2.5.2 > > I realise I have missed something, but having looked at this now for > almost 2 hours and having ran through the faq and mailing lists I have > resorted to posting to the mailing list. > > I believe NRPE is configured correctly and that my commands are working > fine as attested to below. However, when Nagios executes the NRPE checks > it fails the test and causes the following error to be displayed. > > "(Return code of 126 is out of bounds - plugin may be missing) " > > I know the files exist and that Nagios can see them > > Nagios Monitoring host: usel > > nagios at usel:~> ll /usr/local/nagios/libexec/check_nrpe > -rwxr-xr-x 1 Nagios nagios 56426 2006-09-07 15:48 > /usr/local/nagios/libexec/check_nrpe > > Nagios Monitored host h4oiap > > nagios at h4oiap:/> ll /usr/local/nagios/libexec/check_disk > -rwxr-xr-x 1 root root 104473 2006-09-10 22:32 > /usr/local/nagios/libexec/check_disk > > nagios at h4oiap:/> ll /usr/local/sbin/nrpe > -rwxr-xr-x 1 nagios nagios 113380 2006-09-07 14:58 /usr/local/sbin/nrpe > > I have external command checking configured in my nagios.cfg file and > Nagios is working fine doing the ping tests to remote machines. It also > behaves correctly allowing me to handle comments, re-schedule tests, add > scheduled down time so I know the permissions on the nagios.cmd file are > ok > > nagios at usel:~> ll /usr/local/nagios/var/rw/nagios.cmd > prw-rw---- 1 nagios nagcmd 0 2006-09-11 01:25 > /usr/local/nagios/var/rw/nagios.cmd > > I'm hoping someone will spot my mistake and says its nice and easy to > fix :) > But I am willing to take hard answers as well > > > ############################ START OFF CONFIGS > ############################ > >>From checkcommand.cfg > > define command{ > command_name check_nrpe > command_line $USER1$ /check_nrpe -H $HOSTADDRESS$ -c $ARG1$ > } > command_line $USER1$ /check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ and in order to pass arguments you must have compiled with specific "--" flags. > >>From services.cfg > > # check number off users logged in > define service{ > use generic-service > host_name h4oiap > service_description Logged In Users > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups vsu-p > notification_interval 120 > notification_period 24x7 > notification_options w,c,r > check_command check_nrpe!check_users > } > > > # Free Space on / > define service{ > use generic-service > host_name h4oiap > service_description Free Disk Space / > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups vsu-p > notification_interval 120 > notification_period 24x7 > notification_options w,c,r > check_command check_nrpe!check_disk1 > > >>From nrpe.cfg on monitored host h4oiap > > pid_file=/var/run/nrpe.pid > server_port=5666 > nrpe_user=nagios > nrpe_group=nagios > dont_blame_nrpe=0 > debug=1 > command_timeout=60 > > # The following examples use hard coded command arguments... > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > command[check_disk1]=/usr/local/nagios/libexec/check_disk -e -l -X > iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / > > ############################ END OFF CONFIGS > ############################ > > > > ######## START OFF Commands executed on h4oiap monitored host > ############ > > Running above commands locally on monitored host h4oiap produces the > following > > CHECK DISK > > nagios at h4oiap:/usr/local/nagios/libexec> > /usr/local/nagios/libexec/check_disk -l -X iso9660 -X proc -x sysv -X > tempfs -w 20% -c 10% -p / > DISK OK - free space: / 3041 MB (27% inode=nan%);| > /=8222MB;9010;10136;-9223372036854775808;11263 > > CHECK USER > > nagios at h4oiap:/usr/local/nagios/libexec> > /usr/local/nagios/libexec/check_users -w 5 -c 10 > USERS OK - 1 users currently logged in |users=1;5;10;0 > > ############ END OFF Commands executed on h4oiap monitored host > ############## > > > > ###### START OFF Commands executed on USEL, The NAGIOS MONITORING host > ###### > > Running the above commands via check_nrpe from the MONITORING host usel > produces the following > > nagios at usel:~> /usr/local/nagios/libexec/check_nrpe -H 132.146.185.13 -p > 5666 -c check_disk1 > DISK OK - free space:| /=8222MB;9010;10136;-9223372036854775808;11263 > > Debug syslog output from h4oiap > > Sep 11 00:57:51 h4oiap nrpe[6620]: Added > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > Sep 11 00:57:51 h4oiap nrpe[6620]: Added > command[check_disk1]=/usr/local/nagios/libexec/check_disk -e -l -X > iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / > Sep 11 00:57:51 h4oiap nrpe[6620]: INFO: SSL/TLS initialized. All > network traffic will be encrypted. > Sep 11 00:57:51 h4oiap nrpe[6620]: Handling the connection... > Sep 11 00:57:51 h4oiap nrpe[6620]: Host is asking for command > 'check_disk1' to be run... > Sep 11 00:57:51 h4oiap nrpe[6620]: Running command: > /usr/local/nagios/libexec/check_disk -e -l -X iso9660 -X proc -x sysv -X > tempfs -w 20% -c 10% -p / > Sep 11 00:57:51 h4oiap nrpe[6620]: Command completed with return code 0 > and output: DISK OK - free space:| > /=8222MB;9010;10136;-9223372036854775808;11263 > Sep 11 00:57:51 h4oiap nrpe[6620]: Return Code: 0, Output: DISK OK - > free space:| /=8222MB;9010;10136;-9223372036854775808;11263 > > > nagios at usel:~> /usr/local/nagios/libexec/check_nrpe -H 132.146.185.13 -p > 5666 -c check_users > USERS OK - 1 users currently logged in |users=1;5;10;0 > > debug syslog output from h4oiap > Sep 11 00:59:25 h4oiap nrpe[6661]: Added > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > Sep 11 00:59:25 h4oiap nrpe[6661]: Added > command[check_disk1]=/usr/local/nagios/libexec/check_disk -e -l -X > iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / > Sep 11 00:59:25 h4oiap nrpe[6661]: INFO: SSL/TLS initialized. All > network traffic will be encrypted. > Sep 11 00:59:25 h4oiap nrpe[6661]: Handling the connection... > Sep 11 00:59:25 h4oiap nrpe[6661]: Host is asking for command > 'check_users' to be run... > Sep 11 00:59:25 h4oiap nrpe[6661]: Running command: > /usr/local/nagios/libexec/check_users -w 5 -c 10 > Sep 11 00:59:25 h4oiap nrpe[6661]: Command completed with return code 0 > and output: USERS OK - 1 users currently logged in |users=1;5;10;0 > Sep 11 00:59:25 h4oiap nrpe[6661]: Return Code: 0, Output: USERS OK - 1 > users currently logged in |users=1;5;10;0 > > ####### END OFF Commands executed on USEL, The NAGIOS MONITORING host > ####### > > > > ################ OUTPUT from /usr/local/nagios/var/nagios.log > ################ > > [1157934304] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;h4oiap;Free > Disk Space /;1157934301 > [1157934312] Warning: Return code of 126 for check of service 'Free Disk > Space / ' on host 'h4oiap' > was out of bounds. Make sure the plugin you're trying to run > actually exists. > [1157934492] Warning: Return code of 126 for check of service 'Logged In > Users' on host 'h4oiap' was > out of bounds. Make sure the plugin you're trying to run ac > tually exists. > [1157934612] Warning: Return code of 126 for check of service 'Free Disk > Space / ' on host 'h4oiap' > was out of bounds. Make sure the plugin you're trying to run > actually exists. > > ################ OUTPUT from /usr/local/nagios/var/nagios.log > ################ > > > Thanks in advance for your help > > Tom Welsh > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Sep 11 03:25:54 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 10 Sep 2006 21:25:54 -0400 Subject: nrpe_check!check_disk1 In-Reply-To: <4504B3FF.2000101@ldb-jab.org> References: <4504B3FF.2000101@ldb-jab.org> Message-ID: > I just noticed somesthing ... > > When execute the below locally on the client .. > > > ibackup:/test # /usr/lib/nagios/plugins/check_disk -w 10 -c 5 > -p /test DISK OK - free space: /test 51 MB (5%);| > /test=957MB;997;1002;0;1007 I'm assuming you're looking for percentages. If that's the case, you should be using "-w 10% -c 5%". Otherise, you're looking for megabytes free. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thesource at ldb-jab.org Mon Sep 11 03:38:09 2006 From: thesource at ldb-jab.org (LDB) Date: Sun, 10 Sep 2006 21:38:09 -0400 Subject: nrpe_check!check_disk1 In-Reply-To: References: Message-ID: <4504BE01.6030504@ldb-jab.org> Morris, Patrick wrote: >>I just noticed somesthing ... >> >>When execute the below locally on the client .. >> >> >>ibackup:/test # /usr/lib/nagios/plugins/check_disk -w 10 -c 5 >>-p /test DISK OK - free space: /test 51 MB (5%);| >>/test=957MB;997;1002;0;1007 > > > I'm assuming you're looking for percentages. If that's the case, you > should be using "-w 10% -c 5%". Otherise, you're looking for megabytes > free. > > true .. sorry .. but in the conf files it is correct, though. :) ibackup:/test # /usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /test DISK WARNING - free space: /test 51 MB (5%);| /test=957MB;906;956;0;1007 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Mon Sep 11 03:46:14 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 11 Sep 2006 03:46:14 +0200 Subject: Nagios 2.5 Error In-Reply-To: References: <6b16fb4c0609100714y366428et863726ca2b237dc0@mail.gmail.com> <302ce8b50609100719q382034bapab32d054bea44878@mail.gmail.com> Message-ID: <99825E69-7AD0-4816-AEA2-CC0CC97A3842@kilala.nl> On 10 Sep, 2006, at 22:20, Hugo van der Kooij wrote: > On Sun, 10 Sep 2006, Jim Perrin wrote: > >> Top posting because there's no actual question here. >> What's your point? >> Read the docs. Configure nagios to taste. You haven't defined >> anything. > > In fact the answer is a duplicate either ;-) But it seems Kaushal > Shriyan > reads the mailinglist as well as the manual. Zing! Yes ladies and gentlemen, yet another beautiful piece of flaming sarcasm, fired onto the web by Hugo! What will he come up with next?! How will Kaushal respond? And more importantly: what will we have with for tea tomorrow? Sorry... At 03:38AM I felt the need to relax a -little- bit... Next time, I'll post something useful :) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thesource at ldb-jab.org Mon Sep 11 03:47:07 2006 From: thesource at ldb-jab.org (LDB) Date: Sun, 10 Sep 2006 21:47:07 -0400 Subject: nrpe_check!check_disk1 In-Reply-To: <4504BE01.6030504@ldb-jab.org> References: <4504BE01.6030504@ldb-jab.org> Message-ID: <4504C01B.9060000@ldb-jab.org> LDB wrote: > Morris, Patrick wrote: > >>>I just noticed somesthing ... >>> >>>When execute the below locally on the client .. >>> >>> >>>ibackup:/test # /usr/lib/nagios/plugins/check_disk -w 10 -c 5 >>>-p /test DISK OK - free space: /test 51 MB (5%);| >>>/test=957MB;997;1002;0;1007 >> >> >>I'm assuming you're looking for percentages. If that's the case, you >>should be using "-w 10% -c 5%". Otherise, you're looking for megabytes >>free. >> >> > > > > true .. sorry .. but in the conf files it is correct, though. :) > > ibackup:/test # /usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /test > DISK WARNING - free space: /test 51 MB (5%);| /test=957MB;906;956;0;1007 > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Do I HAVE to use NSCA when using NRPE? Thanks, LDB ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Mon Sep 11 03:48:02 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 11 Sep 2006 03:48:02 +0200 Subject: Nagios 2.5 Error In-Reply-To: <99825E69-7AD0-4816-AEA2-CC0CC97A3842@kilala.nl> References: <6b16fb4c0609100714y366428et863726ca2b237dc0@mail.gmail.com> <302ce8b50609100719q382034bapab32d054bea44878@mail.gmail.com> <99825E69-7AD0-4816-AEA2-CC0CC97A3842@kilala.nl> Message-ID: <33A31232-2FCC-43DE-BF80-9CA44FE72280@kilala.nl> Sorry for the dupe... My mail app crashed while editing another message. Restarting cause this message to be resent, leading to the dupe... On 11 Sep, 2006, at 3:46, Thomas Sluyter wrote: > On 10 Sep, 2006, at 22:20, Hugo van der Kooij wrote: > >> On Sun, 10 Sep 2006, Jim Perrin wrote: >> >>> Top posting because there's no actual question here. >>> What's your point? >>> Read the docs. Configure nagios to taste. You haven't defined >>> anything. >> >> In fact the answer is a duplicate either ;-) But it seems Kaushal >> Shriyan >> reads the mailinglist as well as the manual. > > Zing! > > Yes ladies and gentlemen, yet another beautiful piece of flaming > sarcasm, fired onto the web by Hugo! What will he come up with next?! > How will Kaushal respond? And more importantly: what will we have > with for tea tomorrow? > > Sorry... At 03:38AM I felt the need to relax a -little- bit... > > Next time, I'll post something useful :) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Mon Sep 11 03:52:38 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 11 Sep 2006 03:52:38 +0200 Subject: nsca how-to In-Reply-To: <1157913043.8487.1.camel@atari.localhost> References: <1157913043.8487.1.camel@atari.localhost> Message-ID: <2BD24388-8EAE-40DE-B814-5240B4F8A0D0@kilala.nl> On 10 Sep, 2006, at 20:30, Richard Galvez wrote: > Hello everyone, I was wondering if anyone knew a good doc that showed > how to set up nsca and use it. Well, there's the Nagios documentation which is available in both HTML and PDF. It provides a basic overview of how NSCA works and how it ties into Nagios. The configuration files for NSCA also contain loads of comments, detailing the use of each parameter. Here's the general idea though. You can setup NSCA on your Nagios server to receive status updates for passive checks. These results are sent in using the send_nsca binary. Both processes have their own config files, respectively nsca.cfg and send_nsca.cfg (who'd'a thunk?)... NSCA is commonly used in two situations. 1) A distributed Nagios environment, where multiple servers perform bunches of checks. Each sends its results to a central Nagios server that gathers all the information for display in the GUI and such. 2) Your clients may use send_nsca to send in the results for locally run checks. This mechanism takes the load of your Nagios servers, which can forego the use of active checks. Local checks can be scheduled using either a local Nagios installation, or a wrapper script run through cron (which is the solution I chose to implement). Good luck! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Mon Sep 11 03:55:18 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 11 Sep 2006 03:55:18 +0200 Subject: nrpe_check!check_disk1 In-Reply-To: <4504C01B.9060000@ldb-jab.org> References: <4504BE01.6030504@ldb-jab.org> <4504C01B.9060000@ldb-jab.org> Message-ID: <64F0337F-03F2-49D0-8720-8E79F79750AE@kilala.nl> On 11 Sep, 2006, at 3:47, LDB wrote: > Do I HAVE to use NSCA when using NRPE? Nice way of hiding a completely new question at the bottom of your previous discussion :) And no. The two are completely unrelated. NRPE is used to actively run check scripts on a remote client. NSCA is used to send in status updates for passive checks, to a Nagios server. It could still be that you need NSCA (e.g. in a distributed environment), but you won't need it simply because you're using NRPE. One does not lead to the other. Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thesource at ldb-jab.org Mon Sep 11 04:06:27 2006 From: thesource at ldb-jab.org (LDB) Date: Sun, 10 Sep 2006 22:06:27 -0400 Subject: nrpe_check!check_disk1 In-Reply-To: <64F0337F-03F2-49D0-8720-8E79F79750AE@kilala.nl> References: <4504BE01.6030504@ldb-jab.org> <4504C01B.9060000@ldb-jab.org> <64F0337F-03F2-49D0-8720-8E79F79750AE@kilala.nl> Message-ID: <4504C4A3.5060509@ldb-jab.org> Thomas Sluyter wrote: > On 11 Sep, 2006, at 3:47, LDB wrote: > > >>Do I HAVE to use NSCA when using NRPE? > > > Nice way of hiding a completely new question at the bottom of your > previous discussion :) > > And no. The two are completely unrelated. > > NRPE is used to actively run check scripts on a remote client. > NSCA is used to send in status updates for passive checks, to a > Nagios server. > > It could still be that you need NSCA (e.g. in a distributed > environment), but you won't need it simply because you're using NRPE. > One does not lead to the other. > > Cheers! > > > Thomas > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Then with that said, I am not sure what the problem is then. Do you use NRPE successfully? Thanks, LDB ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Mon Sep 11 04:41:53 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 11 Sep 2006 04:41:53 +0200 Subject: NRPE :- (Return code of 126 is out of bounds - plugin may be missing) In-Reply-To: <4504B968.1080407@ldb-jab.org> References: <418B502A3861E242AFDED453F3D5B89C0F9C5F6E@i2km99-ukbr.domain1.systemhost.net> <4504B968.1080407@ldb-jab.org> Message-ID: On 11 Sep, 2006, at 3:18, LDB wrote: > tom.welsh at bt.com wrote: >> I am having a problem getting NRPE and checks to work with Nagios >> ... >> "(Return code of 126 is out of bounds - plugin may be missing) " >> ... >> define command{ >> command_name check_nrpe >> command_line $USER1$ /check_nrpe -H $HOSTADDRESS$ -c >> $ARG1$ >> } > > command_line $USER1$ /check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a > $ARG2$ > You are incorrect. To my knowledge check_nrpe has no option "-a". The command definition posted by Tom is correct for his purposes. > and in order to pass arguments you must have compiled with specific > "--" flags. Pardon? What do you mean by this? In neither of Tom's examples is he trying to pass parameters to check_nrpe, except for the name of the script in question. TOM: As odd as it may seem, we have always "solved" problems like these by removing the service check definition from the server config. Followed by a restart, followed by re-adding the service definition, followed by yet another restart. It sounds like a crappy, windows- like solution, but oddly enough it has worked for us in the past. Can't say that I understand why though. Cheers, Thomkas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Mon Sep 11 04:44:35 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 11 Sep 2006 04:44:35 +0200 Subject: nrpe_check!check_disk1 In-Reply-To: <5CC9B258-21F8-4D1C-B974-EF0E93464102@kilala.nl> References: <4504BE01.6030504@ldb-jab.org> <4504C01B.9060000@ldb-jab.org> <64F0337F-03F2-49D0-8720-8E79F79750AE@kilala.nl> <4504C4A3.5060509@ldb-jab.org> <5CC9B258-21F8-4D1C-B974-EF0E93464102@kilala.nl> Message-ID: <22F0C822-2249-4A6A-82FD-EAC5AE8213F9@kilala.nl> On 11 Sep, 2006, at 4:44, Thomas Sluyter wrote: > On 11 Sep, 2006, at 4:06, LDB wrote: > >> Thomas Sluyter wrote: >>> NRPE is used to actively run check scripts on a remote client. >>> NSCA is used to send in status updates for passive checks, to a >>> Nagios server. >>> >> Then with that said, I am not sure what the problem is then. >> Do you use NRPE successfully? > > Of course I do. And so do hundreds, if not thousands of other people. > > As I told Tom, for some reason problems like yours are sometimes > "solved" by removing and re-adding the service definition to > Nagios. We usually only got the "127 - out of bounds" error though. > But it's still worth a shot. Wouldn't know why this happens though... > > Cheers, > > > Thomas > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thesource at ldb-jab.org Mon Sep 11 04:45:07 2006 From: thesource at ldb-jab.org (LDB) Date: Sun, 10 Sep 2006 22:45:07 -0400 Subject: nrpe_check!check_disk1 In-Reply-To: <4504B1EC.2070900@ldb-jab.org> References: <4504B1EC.2070900@ldb-jab.org> Message-ID: <4504CDB3.3020306@ldb-jab.org> LDB wrote: > Morris, Patrick wrote: > >>>My disk checks from the clients are executing via NRPE but >>>they are NOT reporting back to the server as critical or >>>warning. What could be the problem? >>> >>>I am using 1.x of nagios. >> >> >>Pretty impossible to say without any details about your check command, >>or the results you do get back. >> >> > > > When I do it by hand I get .. > > # /usr/lib/nagios/plugins/check_nrpe -H 192.168.0.132 -c check_test > DISK WARNING - free space: /test 51 MB (5%);| /test=957MB;906;956;0;1007 > > check_test on the client in nrpe.cfg is, > > command[check_test]=/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /test > > > Now, when nagios monitors .. > > /var/log/nagios/nagios.log: > > [1157919221] SERVICE NOTIFICATION: daemon;ibackup;/test Free > Space;OK;notify-by-epager;NRPE v2.0 > [1157919221] SERVICE NOTIFICATION: daemon;ibackup;/test Free > Space;OK;notify-by-email;NRPE v2.0 > > > > /etc/nagios/services.cfg: > > define service{ > use generic-service > host_name ibackup > service_description /test Free Space > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups fsg-admins > notification_interval 60 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nrpe!check_test > } > > > /etc/nagios/checkcommand.cfg: > > # 'check_nrpe' command definition > define command{ > command_name check_nrpe > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ > } command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ was the missing component ... > > Everyhing is seemingly fine ... > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Sep 11 04:47:52 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 11 Sep 2006 04:47:52 +0200 Subject: nrpe_check!check_disk1 In-Reply-To: <4504CDB3.3020306@ldb-jab.org> References: <4504B1EC.2070900@ldb-jab.org> <4504CDB3.3020306@ldb-jab.org> Message-ID: On 11 Sep, 2006, at 4:45, LDB wrote: > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ > > was the missing component ... Doh! I noticed that while reading your e-mail and it even made a small warning light flicker on. I've no clue why it didn't register with me as being -the- problem. Must be the lack of sleep on my side :) Happy you found it though! Good luck with the rest of Nagios... Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thesource at ldb-jab.org Mon Sep 11 04:56:16 2006 From: thesource at ldb-jab.org (LDB) Date: Sun, 10 Sep 2006 22:56:16 -0400 Subject: NRPE :- (Return code of 126 is out of bounds - plugin may be missing) In-Reply-To: References: <418B502A3861E242AFDED453F3D5B89C0F9C5F6E@i2km99-ukbr.domain1.systemhost.net> <4504B968.1080407@ldb-jab.org> Message-ID: <4504D050.2030006@ldb-jab.org> Thomas Sluyter wrote: > On 11 Sep, 2006, at 3:18, LDB wrote: > > >>tom.welsh at bt.com wrote: >> >>>I am having a problem getting NRPE and checks to work with Nagios >>>... >>>"(Return code of 126 is out of bounds - plugin may be missing) " >>>... >>>define command{ >>> command_name check_nrpe >>> command_line $USER1$ /check_nrpe -H $HOSTADDRESS$ -c >>>$ARG1$ >>> } >> >>command_line $USER1$ /check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a >>$ARG2$ >> > > You are incorrect. To my knowledge check_nrpe has no option "-a". The > command definition posted by Tom is correct for his purposes. Come again! :) utility:/etc/nagios # /usr/lib/nagios/plugins/check_nrpe -h NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0 Last Modified: 09-08-2003 License: GPL with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required Usage: check_nrpe -H [-p ] [-t ] [-c ] [-a ] Options: = The address of the host running the NRPE daemon [port] = The port on which the daemon is running (default=5666) [timeout] = Number of seconds before connection times out (default=10) [command] = The name of the command that the remote daemon should run [arglist] = Optional arguments that should be passed to the command. Multiple arguments should be separated by a space. If provided, this must be the last option supplied on the command line. If he wants to use arguments to his command. he MUST add the -a flag. :) > > >>and in order to pass arguments you must have compiled with specific >>"--" flags. > > Pardon? What do you mean by this? In neither of Tom's examples is he > trying to pass parameters to check_nrpe, except for the name of the > script in question. > > TOM: > As odd as it may seem, we have always "solved" problems like these by > removing the service check definition from the server config. > Followed by a restart, followed by re-adding the service definition, > followed by yet another restart. It sounds like a crappy, windows- > like solution, but oddly enough it has worked for us in the past. > Can't say that I understand why though. > > Cheers, > > > Thomkas > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Sep 11 05:08:46 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 11 Sep 2006 05:08:46 +0200 Subject: NRPE :- (Return code of 126 is out of bounds - plugin may be missing) In-Reply-To: <4504D050.2030006@ldb-jab.org> References: <418B502A3861E242AFDED453F3D5B89C0F9C5F6E@i2km99-ukbr.domain1.systemhost.net> <4504B968.1080407@ldb-jab.org> <4504D050.2030006@ldb-jab.org> Message-ID: >> You are incorrect. To my knowledge check_nrpe has no option "-a". The >> command definition posted by Tom is correct for his purposes. > > Come again! :) > ... > Usage: check_nrpe -H [-p ] [-t ] [-c > ] [-a > ] Great :) I was looking at an older version of check_nrpe. My bad :) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Mon Sep 11 08:00:58 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 11 Sep 2006 08:00:58 +0200 Subject: Nagios 2.5 Error In-Reply-To: References: <6b16fb4c0609100714y366428et863726ca2b237dc0@mail.gmail.com> <302ce8b50609100719q382034bapab32d054bea44878@mail.gmail.com> <99825E69-7AD0-4816-AEA2-CC0CC97A3842@kilala.nl> Message-ID: <9C1164AB-E9A8-4B54-A0EE-BF730C1C781D@kilala.nl> On 11 Sep, 2006, at 7:47, Hugo van der Kooij wrote: > On Mon, 11 Sep 2006, Thomas Sluyter wrote: > >> Zing! >> >> Yes ladies and gentlemen, yet another beautiful piece of flaming >> sarcasm, fired onto the web by Hugo! What will he come up with next?! >> How will Kaushal respond? And more importantly: what will we have >> with for tea tomorrow? >> >> Sorry... At 03:38AM I felt the need to relax a -little- bit... >> >> Next time, I'll post something useful :) > > Always nice to know people who are so much better at this. > < off topic > Actually, I wasn't trying to be snide towards you :) I was sincerely applauding you for a well-placed comment. I was just trying to wrap it in such a way that it would continue the tone you had already set for the rest of the conversation. I love the snide comeback you wrote though, even though it wasn't necessary :) < /off topic > We now return you to our regularly scheduled programme. Thank you for your patience... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Mon Sep 11 09:10:24 2006 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Mon, 11 Sep 2006 12:40:24 +0530 Subject: Nagios 2.5 (RHEL4 AS U2) Message-ID: <6b16fb4c0609110010g41e2c980r4b2c5fda8d4ef51b@mail.gmail.com> Hi ALL I have installed Nagios 2.5 (nagios-2.5-1.el4.rf) from http://dag.wieers.com/packages/nagios/ on Red Hat Enterprise Linux AS release 4 (Nahant Update 2) After going through http://nagios.sourceforge.net/docs/2_0/configmain.html#cfg_file Object Configuration File Format: cfg_file= Example: cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/commands.cfg I find that the files hosts.cfg,services.cfg and commands.cfg are not present in my installed folder under /etc/nagios/ instead my contents under /etc/nagios are as below bigger.cfg command-plugins.cfg misccommands.cfg resource.cfg cgi.cfg minimal.cfg nagios.cfg checkcommands.cfg I have configured nagios.cfg by referring http://nagios.sourceforge.net/docs/2_0/configmain.html I am stuck with template-based object configuration by referring http://nagios.sourceforge.net/docs/2_0/xodtemplate.html since I dont have hosts.cfg,services.cfg and commands.cfg files under /etc/nagios. Please let me know if you need more information Thanks and Regards Kaushal ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Mon Sep 11 09:12:12 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 11 Sep 2006 09:12:12 +0200 Subject: Suse 10.0 - perl plugin return "No outpput" In-Reply-To: References: Message-ID: <200609110912.12369.pitchfork@ederdrom.de> Am Montag, 11. September 2006 00:55 schrieb John Daily: > > If you don't want to do that, write a C or shell wrapper that calls > > the plugin - you will have to rename the plugin so the wrapper can > > pretend to Nagios that it is the real plugin. > > Perhaps an easier way would be to specify the full path to Perl before any > Perl plugin call: > > define command { > command_name check_ntp > command_line /usr/bin/perl $USER1$/check_ntp -H $HOSTADDRESS$ > } > > > You could, of course, define the path to Perl in a macro, or even the path > to Perl plus the path to the standard plugin dir in one macro, like: Hi John, thist is a very good tip thanks ! There are many perl plugins on NagiosExchange.org which are not testet to work with ePN I think Plugins should be tagged by the developer. For example: # EPN_TESTED in Line 2 So nagios uses ePN only for tagged plugins. What do you think ? J?rg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Voigt at netkom.de Mon Sep 11 09:46:07 2006 From: Thomas.Voigt at netkom.de (Voigt Thomas) Date: Mon, 11 Sep 2006 09:46:07 +0200 Subject: Monitor Windows Program In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A2203994@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A2203994@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <43373B7717A9AE47939A5DF427B9FB75F26563@SME0019.o.eon-energie.net> Hi all! Ron Wilson wrote: > > How can I use Nagios to monitor a windows program that does > > not run as a > > service. You may do an snmp walk of HrSwRunName (OID .1.3.6.1.2.1.25.4.2.1.2.x). This delivers a table of all processes running actually at a windows machine. -- Kind regards Thomas Voigt ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Mon Sep 11 12:32:07 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Mon, 11 Sep 2006 07:32:07 -0300 Subject: "Logged in as ?" -- http auth not working ? In-Reply-To: References: Message-ID: <27acffb00609110332k68e9e47v37f13f7b2305102b@mail.gmail.com> Ok, I had this same problem some time ago... First, you must to retire the default_user_name at the cgi.cfg archive. You must define a valid contact at the minimal.cfg (or another archive that you have your contacts). This contact must be in htpasswd archive... Try to do it... []'s 2006/9/8, Marc Powell : > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Rob Ristroph > > Sent: Thursday, September 07, 2006 8:11 PM > > To: Nagios Users Mailinglist > > Subject: [Nagios-users] "Logged in as ?" -- http auth not working ? > > > > > > Hi, > > When I visit my nagios from the web, it asks me for the > > user/pass and I log in successfully, except when I do "show > > host details" it says: > > > > "It appears as though you do not have permission to view information > > for any of the hosts you requested... > > > > If you believe this is an error, check the HTTP server authentication > > requirements for accessing this CGI and check the authorization > > options in your CGI configuration file." > > > > It also says "Logged in as ?" near the top of the page. > > > > > > It prints to standard out a correct html page that says > > "Logged in as nagiosadmin". > > > > I can't find any useful information in the apache or nagios > > logs. > > > > Any suggestions on how this can be debugged ? I realize that > > Make sure that you have the correct htaccess information for the _sbin_ > directory, not (just) the share directory. Depending on how you > configured it it's either in httpd.conf or an .htaccess file in > ~nagios/sbin. It's the configuration for the sbin directory that's > important. > > http://nagios.sourceforge.net/docs/2_0/installweb.html > > If you made the changes to httpd.conf, be sure you restarted apache > after doing so. > > -- > Marc > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 vasiliy at linuxspecial.com Mon Sep 11 15:47:15 2006 From: vasiliy at linuxspecial.com (Vasiliy Boulytchev) Date: Mon, 11 Sep 2006 09:47:15 -0400 Subject: IBM DS400 nagios client In-Reply-To: <44EF1DDF.7050004@pantek.com> References: <44EF1DDF.7050004@pantek.com> Message-ID: <450568E3.3070606@linuxspecial.com> Gents, Looking for a IBM DS400 Storage Nagios client. Greatly appreciate your help! Vasiliy Boulytchev vasiliy at linuxspecial.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Sep 11 16:15:40 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 11 Sep 2006 16:15:40 +0200 Subject: IBM DS400 nagios client In-Reply-To: <450568E3.3070606@linuxspecial.com> References: <44EF1DDF.7050004@pantek.com> <450568E3.3070606@linuxspecial.com> Message-ID: On 11 Sep, 2006, at 15:47, Vasiliy Boulytchev wrote: > Looking for a IBM DS400 Storage Nagios client. Nice of you to tell us :) But I'm assuming that you would like help with that. I've quickly checked and I don't think there are any plugins that pertain specifically to the DS400. So depending on what it is exactly that you would like to check, you're going to have to write it yourself or use a more generic check script. Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spentboy at gmail.com Mon Sep 11 16:22:18 2006 From: spentboy at gmail.com (SpEnT) Date: Mon, 11 Sep 2006 08:22:18 -0600 Subject: IBM DS400 nagios client In-Reply-To: References: <44EF1DDF.7050004@pantek.com> <450568E3.3070606@linuxspecial.com> Message-ID: <48ab9e0f0609110722o5589de76h852f4935404574ce@mail.gmail.com> I may be working on something in the not too distant future but I'm swamped right now :) .... we currently have a few DS4300's and a whack of FastT but so far, are only using the limited included monitoring from the HMC -- Lonny On 9/11/06, Thomas Sluyter wrote: > On 11 Sep, 2006, at 15:47, Vasiliy Boulytchev wrote: > > > Looking for a IBM DS400 Storage Nagios client. > > Nice of you to tell us :) > > But I'm assuming that you would like help with that. I've quickly > checked and I don't think there are any plugins that pertain > specifically to the DS400. So depending on what it is exactly that > you would like to check, you're going to have to write it yourself or > use a more generic check script. > > Cheers! > > > Thomas > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vasiliy at linuxspecial.com Mon Sep 11 17:22:25 2006 From: vasiliy at linuxspecial.com (Vasiliy Boulytchev) Date: Mon, 11 Sep 2006 11:22:25 -0400 Subject: IBM DS4300 nagios client In-Reply-To: <48ab9e0f0609110722o5589de76h852f4935404574ce@mail.gmail.com> References: <44EF1DDF.7050004@pantek.com> <450568E3.3070606@linuxspecial.com> <48ab9e0f0609110722o5589de76h852f4935404574ce@mail.gmail.com> Message-ID: <45057F31.6040009@linuxspecial.com> Gents, 1.) Changing the subject to DS4300 :) 2.) I would love to help as much as I can. I will definitely stay in touch. I would imaging a SNMP trap would be the most appropriate way to monitor these devices... do you agree? Vasiliy Boulytchev vasiliy at linuxspecial.com SpEnT wrote: > I may be working on something in the not too distant future but I'm > swamped right now :) .... we currently have a few DS4300's and a > whack of FastT but so far, are only using the limited included > monitoring from the HMC > > -- > Lonny > > On 9/11/06, Thomas Sluyter wrote: > >> On 11 Sep, 2006, at 15:47, Vasiliy Boulytchev wrote: >> >> >>> Looking for a IBM DS400 Storage Nagios client. >>> >> Nice of you to tell us :) >> >> But I'm assuming that you would like help with that. I've quickly >> checked and I don't think there are any plugins that pertain >> specifically to the DS400. So depending on what it is exactly that >> you would like to check, you're going to have to write it yourself or >> use a more generic check script. >> >> Cheers! >> >> >> Thomas >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Mon Sep 11 18:24:19 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 11 Sep 2006 18:24:19 +0200 Subject: IBM DS4300 nagios client In-Reply-To: <45057F31.6040009@linuxspecial.com> References: <48ab9e0f0609110722o5589de76h852f4935404574ce@mail.gmail.com> <45057F31.6040009@linuxspecial.com> Message-ID: <200609111824.19266.pitchfork@ederdrom.de> Am Montag, 11. September 2006 17:22 schrieb Vasiliy Boulytchev: > Gents, > 1.) Changing the subject to DS4300 :) > 2.) I would love to help as much as I can. I will definitely stay > in touch. I would imaging a SNMP trap would be the most appropriate way > to monitor these devices... I Think this ist the only possible way. I have an DS4700 running in our Envirionment. But the traps are not send by the DS4700 ! Alerts are sent by the SMClient Software. There is only one Trap defined in the MIB. Everything is CRITICAL ;-) J?rg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Sep 11 20:17:40 2006 From: teng at dataway.com (Tedman Eng) Date: Mon, 11 Sep 2006 11:17:40 -0700 Subject: Nagios 2.5 (RHEL4 AS U2) Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E94@dw-mail.dataway.com> I think if you look inside bigger.cfg and minimal.cfg, you should see that they contain sample object configuration directives as described in the documentation. The files do not have to be named hosts.cfg, services.cfg, etc. as in the documentation's examples. They can be any file referenced by the cfg_file directive, or can be any .cfg file in an entire directory if the cfg_dir directive is used. The cfg_file/cfg_dir directives are configured in nagios.cfg. examples for your case: cfg_file=/etc/nagios/minimal.cfg cfg_dir=/etc/nagios/hosts/ (this dir can contain multiple .cfg files) > -----Original Message----- > From: Kaushal Shriyan [mailto:kaushalshriyan at gmail.com] > Sent: Monday, September 11, 2006 12:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 2.5 (RHEL4 AS U2) > > > Hi ALL > > I have installed Nagios 2.5 (nagios-2.5-1.el4.rf) from > http://dag.wieers.com/packages/nagios/ on > Red Hat Enterprise Linux AS release 4 (Nahant Update 2) > > After going through > http://nagios.sourceforge.net/docs/2_0/configmain.html#cfg_file > > Object Configuration File > Format: cfg_file= > Example: cfg_file=/usr/local/nagios/etc/hosts.cfg > cfg_file=/usr/local/nagios/etc/services.cfg > cfg_file=/usr/local/nagios/etc/commands.cfg > > I find that the files hosts.cfg,services.cfg and commands.cfg > are not present in > my installed folder under /etc/nagios/ instead my contents under > /etc/nagios are as below > > bigger.cfg > command-plugins.cfg > misccommands.cfg > resource.cfg > cgi.cfg > minimal.cfg > nagios.cfg > checkcommands.cfg > > I have configured nagios.cfg by referring > http://nagios.sourceforge.net/docs/2_0/configmain.html > > I am stuck with template-based object configuration by referring > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html since I dont > have hosts.cfg,services.cfg and commands.cfg files under /etc/nagios. > > Please let me know if you need more information > > Thanks and Regards > > Kaushal > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Sep 11 20:32:42 2006 From: teng at dataway.com (Tedman Eng) Date: Mon, 11 Sep 2006 11:32:42 -0700 Subject: nsca how-to Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E95@dw-mail.dataway.com> Some relevant scripts and configuration for NSCA is covered in the section discussing distributed monitoring: http://nagios.sourceforge.net/docs/2_0/distributed.html Nagios server: runs the nsca daemon, listens for send_nsca Remote host(s): runs "send_nsca", sends to nagios server The "send_nsca" side is responsible for formating everything correctly. The nsca daemon will happily accept anything, but will simply toss out anything without proper formatting and matching hosts/services. > -----Original Message----- > From: Richard Galvez [mailto:richy at daviesinc.com] > Sent: Sunday, September 10, 2006 11:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nsca how-to > > > Hello everyone, I was wondering if anyone knew a good doc that showed > how to set up nsca and use it. > > many thanks, > richard > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Tue Sep 12 00:05:21 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Mon, 11 Sep 2006 16:05:21 -0600 Subject: snmptrap notifications Message-ID: <2D0245E43DEC724F81592D697F05689904C43076@SIDHQEXCHMB1.Cabelas.Corp> I know this isn't necessarily the best place to post this, but nagios-users is the only list I'm on, and this has got to be 10 times more interesting than "I ran 'nagios -v' and it don't work!", so here goes... Has anyone here ever used snmptrap to send notifications from nagios? Anyone have any tips on doing such a thing? Such as, which OID(s) should I use to send a custom trap containing standard nagios notification information? Am I going to have to define my own MIB? Nagiosexchange is void of such a thing as far as I can tell... I'm completely capable of reading pertinent documentation, as well, if someone can point me to something relevant. I've been unable to google my way to enlightenment thus far. Flame on. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 mardin at comcast.net Tue Sep 12 00:18:52 2006 From: mardin at comcast.net (mardin at comcast.net) Date: Mon, 11 Sep 2006 22:18:52 +0000 Subject: check_disk_smb problems Message-ID: <091120062218.2706.4505E0CC000B656F00000A92221357533302070B9D0E03@comcast.net> Hi, I am using the latest nagios-2.5-1.el4.rf.i386.rpm and nagios-plugins-1.4.2-1.2.el4.rf.i386.rpm. I can run check_disk_smb on the command lline: # /usr/lib/nagios/plugins/check_disk_smb -H 192.15.2.3 -s c$ -u nagios -p 1234 -w 50 -c 60 Domain=[NTDOMAIN] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] WARNING: Only 16.72G (44%) free on \\192.15.x.x\c$ # /usr/lib/nagios/plugins/check_disk_smb -H 192.15.2.3 -s c$ -u nagios -p 1234 -w 50 -c 55 Domain=[NTDOMAIN] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] CRITICAL: Only 16.72G (44%) free on \\192.15.x.x\c$ Then I change the configure files: # vi checkcommands.cfg # 'check_disk_smb' command definition define command{ command_name check_disk_smb command_line $USER1$/check_disk_smb -H $ARG1$ -s $ARG2$ -u $ARG3$ -p $ARG4$ -w $ARG5$ -c $ARG6$ } # vi service.cfg # Service check_disk_smb definition define service{ use generic-service ; Name of service template to use host_name 192.15.2.3 service_description C: Free Space ...... notification_options w,u,c,r check_command check_disk_smb!192.15.2.3!C$!nagios!1234!80!90 } Since I set "-w=80%" and "-c=90%" in service.cfg. I should not get any warning message. But I still received the problem e-mail from Nagios: Subject: ** PROBLEM alert - Windows Workstations, 192.15.2.3 - C: Free Space CRITICAL ** Notification Type: PROBLEM State: CRITICAL Additional Info: Invalid share name z.15.2.3\C -- It looked that check_disk_smb didn't work with service.cfg. Why I got "Invalid share name z.15.2.3\C"? Does anyone knows how to resolve this problem and set up the check_disk_smb correctly on nagios 2.5-1 with nagios-plugins1.4.2-1.2? Thanks for your help! Mardin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 12 00:21:51 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Mon, 11 Sep 2006 16:21:51 -0600 Subject: snmptrap notifications Message-ID: <2D0245E43DEC724F81592D697F05689904C43077@SIDHQEXCHMB1.Cabelas.Corp> Oops... http://nagios.org/faqs/viewfaq.php?faq_id=28 :-) ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Aaron Segura Sent: Monday, September 11, 2006 4:05 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] snmptrap notifications I know this isn't necessarily the best place to post this, but nagios-users is the only list I'm on, and this has got to be 10 times more interesting than "I ran 'nagios -v' and it don't work!", so here goes... Has anyone here ever used snmptrap to send notifications from nagios? Anyone have any tips on doing such a thing? Such as, which OID(s) should I use to send a custom trap containing standard nagios notification information? Am I going to have to define my own MIB? Nagiosexchange is void of such a thing as far as I can tell... I'm completely capable of reading pertinent documentation, as well, if someone can point me to something relevant. I've been unable to google my way to enlightenment thus far. Flame on. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Sep 12 00:26:14 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 11 Sep 2006 15:26:14 -0700 Subject: check_disk_smb problems In-Reply-To: <091120062218.2706.4505E0CC000B656F00000A92221357533302070B9D0E03@comcast.net> References: <091120062218.2706.4505E0CC000B656F00000A92221357533302070B9D0E03@comcast.net> Message-ID: <20060911222614.GF29903@pmorris.usa.hp.com> See the docs here: http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#command Specifically, the last sentence of the "command definition" section. You need to escape the dollar sign with a second one. On Mon, 11 Sep 2006, mardin at comcast.net wrote: > It looked that check_disk_smb didn't work with service.cfg. Why I got "Invalid share name z.15.2.3\C"? Does anyone knows how to resolve this problem and set up the check_disk_smb correctly on nagios 2.5-1 with nagios-plugins1.4.2-1.2? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Tue Sep 12 10:14:47 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 12 Sep 2006 10:14:47 +0200 Subject: snmptrap notifications In-Reply-To: <2D0245E43DEC724F81592D697F05689904C43076@SIDHQEXCHMB1.Cabelas.Corp> References: <2D0245E43DEC724F81592D697F05689904C43076@SIDHQEXCHMB1.Cabelas.Corp> Message-ID: <200609121014.47478.pitchfork@ederdrom.de> Am Dienstag, 12. September 2006 00:05 schrieb Aaron Segura: [...] > Has anyone here ever used snmptrap to send notifications from nagios? Yes and no ;-) > Anyone have any tips on doing such a thing? Such as, which OID(s) > should I use to send a custom trap containing standard nagios > notification information? Am I going to have to define my own MIB? You can find the nagios-noitify MIB on http://sourceforge.net/project/showfiles.php?group_id=29880 This is an SNMP v2c MIB so traps must be send in this format. I think its possible to create an eventhandler or notification command to send Traps from Nagios. J?rg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg.cope at e-dba.net Tue Sep 12 18:03:47 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Tue, 12 Sep 2006 17:03:47 +0100 Subject: Obsessive Compulsive Service Processor Command Not working? Message-ID: <1158077027.2673.76.camel@dl.e-dba.net> Hi All, I have double checked this - but for some reason I cannot get my distributed monitoring to work with blastwave packaged nagios. send_nsca and submit_check_result work fine - I get sensible data in my main nagios.log file. Some snippets of my config files; In nagios.cfg; cfg_file=/opt/csw/nagios/etc/minimal.cfg ocsp_timeout=5 obsess_over_services=1 ocsp_command=submit_check_result In minial.cfg; define service{ name generic-service obsess_over_service 1 } In checkcommands I have; define command{ command_name submit_check_result command_line $USER1$/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPU T$' } I have added an echo to a file in submit_check_result as well as send_nsca - but nothing ..... Any ideas? Greg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rgr at sdf.lonestar.org Tue Sep 12 18:18:38 2006 From: rgr at sdf.lonestar.org (Rob Ristroph) Date: Tue, 12 Sep 2006 11:18:38 -0500 Subject: "Logged in as ?" -- http auth not working ? In-Reply-To: <27acffb00609110332k68e9e47v37f13f7b2305102b@mail.gmail.com> (Rodrigo Maceno's message of "Mon, 11 Sep 2006 07:32:07 -0300") References: <27acffb00609110332k68e9e47v37f13f7b2305102b@mail.gmail.com> Message-ID: <87pse1xdlt.fsf@rgristroph-austin.ath.cx> This is not the problem, I already had the htpasswd user be a valid contact, and the default_user_name was already commented out. I am not sure what it is, except that I suspect it is something in my apache configs. --Rob >>>>> "Rodrigo" == Rodrigo Maceno writes: Rodrigo> Rodrigo> Ok, I had this same problem some time ago... Rodrigo> First, you must to retire the default_user_name at the cgi.cfg archive. You Rodrigo> must define a valid contact at the minimal.cfg (or another archive that you Rodrigo> have your contacts). This contact must be in htpasswd archive... Rodrigo> Rodrigo> Try to do it... Rodrigo> Rodrigo> []'s Rodrigo> Rodrigo> 2006/9/8, Marc Powell : >> >> >> >> > -----Original Message----- >> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> > bounces at lists.sourceforge.net] On Behalf Of Rob Ristroph >> > Sent: Thursday, September 07, 2006 8:11 PM >> > To: Nagios Users Mailinglist >> > Subject: [Nagios-users] "Logged in as ?" -- http auth not working ? >> > >> > >> > Hi, >> > When I visit my nagios from the web, it asks me for the >> > user/pass and I log in successfully, except when I do "show >> > host details" it says: >> > >> > "It appears as though you do not have permission to view information >> > for any of the hosts you requested... >> > >> > If you believe this is an error, check the HTTP server authentication >> > requirements for accessing this CGI and check the authorization >> > options in your CGI configuration file." >> > >> > It also says "Logged in as ?" near the top of the page. >> >> >> > >> > It prints to standard out a correct html page that says >> > "Logged in as nagiosadmin". >> > >> > I can't find any useful information in the apache or nagios >> > logs. >> > >> > Any suggestions on how this can be debugged ? I realize that >> >> Make sure that you have the correct htaccess information for the _sbin_ >> directory, not (just) the share directory. Depending on how you >> configured it it's either in httpd.conf or an .htaccess file in >> ~nagios/sbin. It's the configuration for the sbin directory that's >> important. >> >> http://nagios.sourceforge.net/docs/2_0/installweb.html >> >> If you made the changes to httpd.conf, be sure you restarted apache >> after doing so. >> >> -- >> Marc >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> Rodrigo> ------------------------------------------------------------------------- Rodrigo> Using Tomcat but need to do more? Need to support web services, security? Rodrigo> Get stuff done quickly with pre-integrated technology to make your job easier Rodrigo> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo Rodrigo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ Rodrigo> Nagios-users mailing list Rodrigo> Nagios-users at lists.sourceforge.net Rodrigo> https://lists.sourceforge.net/lists/listinfo/nagios-users Rodrigo> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. Rodrigo> ::: Messages without supporting info will risk being sent to /dev/null -- http://rgr.freeshell.org/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ebb at ncen.net Tue Sep 12 18:21:38 2006 From: ebb at ncen.net (ebb at ncen.net) Date: Tue, 12 Sep 2006 12:21:38 -0400 (EDT) Subject: Host notifications and parents Message-ID: <4368.207.136.64.205.1158078098.mail@ncen.net> I'm in the process of migrating to nagios from netsaint. My only issue is that parents don't seem to behave the same way as they do in netsaint. In netsaint if host1 is a parent for host2 and host3 then I do not get host notifications for host2 and host3 when host1 is down. In Nagios, with the same parent configuration I get notifications for host2 and host3 when host1 is down. I have unreachable notifications disabled in my host definitions as well as my contact definitions. I'm not sure if I'm missing something but if this is how parents behave now, what's the point of defining them? At the moment I'm getting around this by using hostdependency definitions. Thanks. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias.eble at mailing.kaufland-informationssysteme.com Tue Sep 12 18:28:19 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Tue, 12 Sep 2006 18:28:19 +0200 Subject: multiple checks for one service -> on demand Macro problem Message-ID: <4506E023.7030402@mailing.kaufland-informationssysteme.com> Hi all, i've got to monitor a service with multiple checks. The process needs to be restarted if one of the check fails. So I thought about using check_cluster and an event handler on the cluster service. But now I got to a limit of the configuration (or my knowledge of it). On demand macros are needed for check_cluster2: check_svc_cluster!label!1!1! $SERVICESTATEID:hostname1:Server Log Fileage$, $SERVICESTATEID:hostname1:Server Port 10000$, $SERVICESTATEID:hostname1:http Webgui$ But the service runs on 20 hosts so defining a seperate service check for each server wouldn't be that cool. is there a possibility to define sth like $SERVICESTATEID:$HOSTNAME$:Server Log Fileage$ ? I found discussions about parsing from inside to outside in the archives. Has there been a patch? my workaround is to write a plugin-wrapper-script which stores the returncode in a textfile. Another plugin can implement the check_cluster functionality on the textfiles How do you think about that? thanks in advance. matthias ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Sep 12 19:04:20 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 12 Sep 2006 18:04:20 +0100 Subject: Notification commands In-Reply-To: <200609051520.39706.odenbach@uni-paderborn.de> References: <200609051443.13184.odenbach@uni-paderborn.de> <44FD7717.40207@googlemail.com> <200609051520.39706.odenbach@uni-paderborn.de> Message-ID: <4f45772d0609121004o124fcb8bs898071a95e6f42dd@mail.gmail.com> Ironically, I now also want to do the same and find my way of doing it somewhat lacking. I will go ahead and create two contact groups with 2 contact definitions but I am interested if anybody has a better way of doing this. I am a bit resistant to trying Arno Lehmann's idea because it seems like too much work and I don't have a thorough enough understanding of how to do that, (AD has hidden ldap from me, damn it). If anybody has a nice way of doing this, then now is the time! I can't believe that we are the first few people to want to do this, it's actually quite an obvious thing to want to do... -h On 05/09/06, Christopher Odenbach wrote: > > Hi, > > > certainly not. > > > > just put both in the same contact definition, see > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact and > > see the Directive Description for host-notification-commands which > > says "...Multiple notification commands should be separated by > > commas...". Just make sure you have both notification commands > > defined in misccommand.cfg since this uses the short command names > > which should be defined there. > > But in exact this paragraph it says: Multiple notification commands > should be separated by commas. All notification commands are executed > when the contact needs to be notified. > > So when I put this contact into a service, always both commands will be > executed. But I want some services only to send email and not SMS. > > Got my idea? > > 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 > ====================================================== > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Tue Sep 12 19:19:57 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Tue, 12 Sep 2006 14:19:57 -0300 Subject: "Logged in as ?" -- http auth not working ? In-Reply-To: <87pse1xdlt.fsf@rgristroph-austin.ath.cx> References: <27acffb00609110332k68e9e47v37f13f7b2305102b@mail.gmail.com> <87pse1xdlt.fsf@rgristroph-austin.ath.cx> Message-ID: <27acffb00609121019t2c396ab6x849435c283a8c58@mail.gmail.com> Did you put the follow lines at your httpd file?? Alias /nagios "/usr/local/nagios/share" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user 2006/9/12, Rob Ristroph : > > > This is not the problem, I already had the htpasswd user be a valid > contact, and the default_user_name was already commented out. > > I am not sure what it is, except that I suspect it is something in my > apache configs. > > --Rob > > >>>>> "Rodrigo" == Rodrigo Maceno writes: > Rodrigo> > Rodrigo> Ok, I had this same problem some time ago... > Rodrigo> First, you must to retire the default_user_name at the cgi.cfgarchive. You > Rodrigo> must define a valid contact at the minimal.cfg (or another > archive that you > Rodrigo> have your contacts). This contact must be in htpasswd archive... > Rodrigo> > Rodrigo> Try to do it... > Rodrigo> > Rodrigo> []'s > Rodrigo> > Rodrigo> 2006/9/8, Marc Powell : > >> > >> > >> > >> > -----Original Message----- > >> > From: nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users- > >> > bounces at lists.sourceforge.net] On Behalf Of Rob Ristroph > >> > Sent: Thursday, September 07, 2006 8:11 PM > >> > To: Nagios Users Mailinglist > >> > Subject: [Nagios-users] "Logged in as ?" -- http auth not working ? > >> > > >> > > >> > Hi, > >> > When I visit my nagios from the web, it asks me for the > >> > user/pass and I log in successfully, except when I do "show > >> > host details" it says: > >> > > >> > "It appears as though you do not have permission to view information > >> > for any of the hosts you requested... > >> > > >> > If you believe this is an error, check the HTTP server authentication > >> > requirements for accessing this CGI and check the authorization > >> > options in your CGI configuration file." > >> > > >> > It also says "Logged in as ?" near the top of the page. > >> > >> > >> > > >> > It prints to standard out a correct html page that says > >> > "Logged in as nagiosadmin". > >> > > >> > I can't find any useful information in the apache or nagios > >> > logs. > >> > > >> > Any suggestions on how this can be debugged ? I realize that > >> > >> Make sure that you have the correct htaccess information for the _sbin_ > >> directory, not (just) the share directory. Depending on how you > >> configured it it's either in httpd.conf or an .htaccess file in > >> ~nagios/sbin. It's the configuration for the sbin directory that's > >> important. > >> > >> http://nagios.sourceforge.net/docs/2_0/installweb.html > >> > >> If you made the changes to httpd.conf, be sure you restarted apache > >> after doing so. > >> > >> -- > >> Marc > >> > >> > ------------------------------------------------------------------------- > >> Using Tomcat but need to do more? Need to support web services, > security? > >> Get stuff done quickly with pre-integrated technology to make your job > >> easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > Rodrigo> > ------------------------------------------------------------------------- > Rodrigo> Using Tomcat but need to do more? Need to support web services, > security? > Rodrigo> Get stuff done quickly with pre-integrated technology to make > your job easier > Rodrigo> Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > Rodrigo> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ > Rodrigo> Nagios-users mailing list > Rodrigo> Nagios-users at lists.sourceforge.net > Rodrigo> https://lists.sourceforge.net/lists/listinfo/nagios-users > Rodrigo> ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > Rodrigo> ::: Messages without supporting info will risk being sent to > /dev/null > > -- > http://rgr.freeshell.org/ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 tom.welsh at bt.com Tue Sep 12 19:29:47 2006 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Tue, 12 Sep 2006 18:29:47 +0100 Subject: "Logged in as ?" -- http auth not working ? Message-ID: <418B502A3861E242AFDED453F3D5B89C0FA8F0C1@i2km99-ukbr.domain1.systemhost.net> Hi Rob, Take a look at "Authentication and authorisation in the CGI's" section off the docs, or alternatively jump to it from faq F0048. this solved a similar problem for me a few years ago. -- tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rob Ristroph Sent: 12 September 2006 17:19 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] "Logged in as ?" -- http auth not working ? This is not the problem, I already had the htpasswd user be a valid contact, and the default_user_name was already commented out. I am not sure what it is, except that I suspect it is something in my apache configs. --Rob >>>>> "Rodrigo" == Rodrigo Maceno writes: Rodrigo> Rodrigo> Ok, I had this same problem some time ago... Rodrigo> First, you must to retire the default_user_name at the cgi.cfg Rodrigo> archive. You must define a valid contact at the minimal.cfg (or Rodrigo> another archive that you have your contacts). This contact must be in htpasswd archive... Rodrigo> Rodrigo> Try to do it... Rodrigo> Rodrigo> []'s Rodrigo> Rodrigo> 2006/9/8, Marc Powell : >> >> >> >> > -----Original Message----- >> > From: nagios-users-bounces at lists.sourceforge.net >> > [mailto:nagios-users- bounces at lists.sourceforge.net] On Behalf Of >> > Rob Ristroph >> > Sent: Thursday, September 07, 2006 8:11 PM >> > To: Nagios Users Mailinglist >> > Subject: [Nagios-users] "Logged in as ?" -- http auth not working ? >> > >> > >> > Hi, >> > When I visit my nagios from the web, it asks me for the >> > user/pass and I log in successfully, except when I do "show >> > host details" it says: >> > >> > "It appears as though you do not have permission to view >> > information for any of the hosts you requested... >> > >> > If you believe this is an error, check the HTTP server >> > authentication requirements for accessing this CGI and check the >> > authorization options in your CGI configuration file." >> > >> > It also says "Logged in as ?" near the top of the page. >> >> >> > >> > It prints to standard out a correct html page that says >> > "Logged in as nagiosadmin". >> > >> > I can't find any useful information in the apache or nagios >> > logs. >> > >> > Any suggestions on how this can be debugged ? I realize >> > that >> >> Make sure that you have the correct htaccess information for the >> _sbin_ directory, not (just) the share directory. Depending on how >> you configured it it's either in httpd.conf or an .htaccess file in >> ~nagios/sbin. It's the configuration for the sbin directory that's >> important. >> >> http://nagios.sourceforge.net/docs/2_0/installweb.html >> >> If you made the changes to httpd.conf, be sure you restarted apache >> after doing so. >> >> -- >> Marc >> >> --------------------------------------------------------------------- >> ---- Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier Download IBM WebSphere Application Server v.1.0.1 based on >> Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121 >> 642 _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null >> Rodrigo> --------------------------------------------------------------- Rodrigo> ---------- Using Tomcat but need to do more? Need to support Rodrigo> web services, security? Rodrigo> Get stuff done quickly with pre-integrated technology to make Rodrigo> your job easier Download IBM WebSphere Application Server Rodrigo> v.1.0.1 based on Apache Geronimo Rodrigo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&d Rodrigo> at=121642_______________________________________________ Rodrigo> Nagios-users mailing list Rodrigo> Nagios-users at lists.sourceforge.net Rodrigo> https://lists.sourceforge.net/lists/listinfo/nagios-users Rodrigo> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. Rodrigo> ::: Messages without supporting info will risk being sent to Rodrigo> /dev/null -- http://rgr.freeshell.org/ ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.smith at worldpub.net Tue Sep 12 19:35:34 2006 From: brian.smith at worldpub.net (Brian Smith) Date: Tue, 12 Sep 2006 13:35:34 -0400 Subject: host name problem Message-ID: <4506EFE6.5090204@worldpub.net> Hello all, does anyone know why the following problem occurs: I have some hosts having duplicate name issues when adding the serviceextinfo information for those hosts. Host 1 is called earth, host 2 is called earthquake. Here's the hosts.cfg definition: ----------------------------------------------------------------------------- define host{ name 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 0 register 0 } define host{ use generic-host ; Name of host template to use host_name earth alias earth address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } define host{ use generic-host ; Name of host template to use host_name earthquake alias earthquake address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } ---------------------------------------------------------------------------------------------------------------------- And here is the services.cfg ------------------------------------------------------------------------------------------------------------ define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 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 0 register 0 } define service{ use generic-service ; Name of service template to use host_name earth,earthquake service_description PING is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 60 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } -------------------------------------------------------------------------------------------------------------------------- Everything works great now, until i add some serviceextinfo: serviceextinfo.cfg: ----------------------------------------------------------------------------------------------------------- define serviceextinfo{ host_name earthquake icon_image dot.png' border="0"> Hi Brian, You don't need to specify the service_description in the serviceextinfo file see the docs... Info taken from Extended Service Information Definition Description: Extended service information entries are basically used to make the output from the status and extinfo CGIs look pretty. They have no effect on monitoring and are completely optional. Definition Format: Note: Variables in red are required, while those in black are optional. However, you need to supply at least one optional variable in each definition for it to be of much use. define serviceextinfo{ host_name host_name service_description service_description notes note_string notes_url url action_url url icon_image image_file icon_image_alt alt_string } Example Definition: define serviceextinfo{ host_name linux2 service_description Log Anomalies notes Security-related log anomalies on secondary Linux server notes_url http://webserver.localhost.localdomain/serviceinfo.pl?host=linux2&servic e=Log+Anomalies icon_image security.png icon_image_alt Security-Related Alerts } -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Brian Smith Sent: 12 September 2006 18:36 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] host name problem Hello all, does anyone know why the following problem occurs: I have some hosts having duplicate name issues when adding the serviceextinfo information for those hosts. Host 1 is called earth, host 2 is called earthquake. Here's the hosts.cfg definition: ------------------------------------------------------------------------ ----- define host{ name 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 0 register 0 } define host{ use generic-host ; Name of host template to use host_name earth alias earth address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } define host{ use generic-host ; Name of host template to use host_name earthquake alias earthquake address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } ------------------------------------------------------------------------ ---------------------------------------------- And here is the services.cfg ------------------------------------------------------------------------ ------------------------------------ define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 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 0 register 0 } define service{ use generic-service ; Name of service template to use host_name earth,earthquake service_description PING is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 60 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } ------------------------------------------------------------------------ -------------------------------------------------- Everything works great now, until i add some serviceextinfo: serviceextinfo.cfg: ------------------------------------------------------------------------ ----------------------------------- define serviceextinfo{ host_name earthquake icon_image dot.png' border="0"> (tom welsh's message of "Tue, 12 Sep 2006 18:29:47 +0100") References: <418B502A3861E242AFDED453F3D5B89C0FA8F0C1@i2km99-ukbr.domain1.systemhost.net> Message-ID: <87pse1vsme.fsf@rgristroph-austin.ath.cx> >>>>> "tom" == tom welsh writes: tom> tom> Hi Rob, tom> Take a look at "Authentication and authorisation in the CGI's" section tom> off the docs, or alternatively jump to it from faq F0048. this solved a tom> similar problem for me a few years ago. I don't see anything in there that I haven't already done. My other nagios setups work fine from the web interface. In fact, this one worked fine from the web interface, but has been configured and upgraded since it was last known working. I can't figure out what is different now. One thing I noticed, is that I have seen several places where it was said that the username in the htpasswd.users file had to be the same as the name in of a contact. This is not true in all cases, as I have nagios servers set up which have different web login names and the web interface works. I'm going to have to give up on this for that machine for now, I can't spend this much time tracking down something that isn't even giving me log messages to debug or anything. --Rob -- http://rgr.freeshell.org/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.smith at worldpub.net Tue Sep 12 20:56:54 2006 From: brian.smith at worldpub.net (Brian Smith) Date: Tue, 12 Sep 2006 14:56:54 -0400 Subject: host name problem In-Reply-To: <418B502A3861E242AFDED453F3D5B89C0FA8F0E7@i2km99-ukbr.domain1.systemhost.net> References: <418B502A3861E242AFDED453F3D5B89C0FA8F0E7@i2km99-ukbr.domain1.systemhost.net> Message-ID: <450702F6.7080205@worldpub.net> Tom, Thanks for the response. I am aware that that the service_description definition is optional. But it works fine if I change earth to dev-earth. I think this is a bug in the serviceextinfo regular expression match for the host_name. earth and earthquake should not match, as they are different but nagios is insisting they are the same hostname. I can recreate this error by creating 2 hosts, a service both hosts are in and the serviceextinfo settings for both hosts, 1 host has the name embedded like, storm and sandstorm, earth and earthquake ...... but earth1 and earth2 will work. tom.welsh at bt.com wrote: > Hi Brian, > > You don't need to specify the service_description in the serviceextinfo > file see the docs... > > Info taken from Extended Service Information Definition > > Description: > > Extended service information entries are basically used to make the > output from the status and extinfo CGIs look pretty. They have no effect > on monitoring and are completely optional. > > > Definition Format: > > Note: Variables in red are required, while those in black are optional. > However, you need to supply at least one optional variable in each > definition for it to be of much use. > > define serviceextinfo{ > host_name host_name > service_description service_description > notes note_string > notes_url url > action_url url > icon_image image_file > icon_image_alt alt_string > } > > > > Example Definition: > > > define serviceextinfo{ > host_name linux2 > service_description Log Anomalies > notes Security-related log anomalies on > secondary Linux server > notes_url > http://webserver.localhost.localdomain/serviceinfo.pl?host=linux2&servic > e=Log+Anomalies > icon_image security.png > icon_image_alt Security-Related Alerts > } > > > > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Brian > Smith > Sent: 12 September 2006 18:36 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host name problem > > Hello all, does anyone know why the following problem occurs: > > I have some hosts having duplicate name issues when adding the > serviceextinfo information for those hosts. > Host 1 is called earth, host 2 is called earthquake. > Here's the hosts.cfg definition: > > ------------------------------------------------------------------------ > ----- > define host{ > name 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 0 > register 0 > } > > > define host{ > use generic-host ; Name of host > template to use > host_name earth > alias earth > address 127.0.0.1 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,r > contact_groups admins > } > > define host{ > use generic-host ; Name of host > template to use > host_name earthquake > alias earthquake > address 127.0.0.1 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,r > contact_groups admins > } > ------------------------------------------------------------------------ > ---------------------------------------------- > > And here is the services.cfg > > ------------------------------------------------------------------------ > ------------------------------------ > define service{ > name generic-service > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > 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 0 > register 0 > } > > define service{ > use generic-service ; Name > of service template to use > host_name earth,earthquake > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 2 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_options w,u,c,r > notification_interval 60 > notification_period 24x7 > check_command check_ping!100.0,20%!500.0,60% > } > ------------------------------------------------------------------------ > -------------------------------------------------- > > Everything works great now, until i add some serviceextinfo: > serviceextinfo.cfg: > > ------------------------------------------------------------------------ > ----------------------------------- > define serviceextinfo{ > host_name earthquake > icon_image dot.png' border="0"> TARGET="_blank" HREF="graphs.cgi?host=earthquake&service=PING"> src='/nagios/cgi-bin/rrd2-system.cgi?host=earthquake&service=PING&start= > -5400&title=Actual&width=20&height=20&type=AVERAGE&only-graph=true' > service_description PING > notes_url https://wiki/$HOSTNAME$-$SERVICEDESC$ > } > > define serviceextinfo{ > host_name earth > icon_image dot.png' border="0"> TARGET="_blank" HREF="graphs.cgi?host=earth&service=PING"> src='/nagios/cgi-bin/rrd2-system.cgi?host=earth&service=PING&start=-5400 > &title=Actual&width=20&height=20&type=AVERAGE&only-graph=true' > service_description PING > notes_url https://wiki/$HOSTNAME$-$SERVICEDESC$ > } > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > - > Ok, now when I run ../bin/nagios -v ./nagios.cfg I get the error: > > root at nagios:/opt/nagios/etc# ../bin/nagios -v ./nagios.cfg > > Nagios 2.5 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last > Modified: 07-13-2006 > License: GPL > > Reading configuration data... > > Error: Could not add duplicate serviceextinfo entry for service 'PING' > on host 'earthquake'. > Error: Could not allocate memory for serviceextinfo list to add extended > info for service 'PING' on host 'earthquake'. > Error: Could not register extended service information (config file > '/opt/nagios/etc/checkcommands.cfg', starting on line 135111232) > > Any suggestions on getting the serviceextinfo.cfg entries working for > these 2 hosts? It works if I only have one of the hosts in the cfg > file? > Thanks! > > Brian Smith > > > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Sep 12 22:08:15 2006 From: teng at dataway.com (Tedman Eng) Date: Tue, 12 Sep 2006 13:08:15 -0700 Subject: Host notifications and parents Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E9A@dw-mail.dataway.com> Nagios should normally function as you describe. Starting from an ALL-OK state, when a parent goes down, the children will be marked unreachable and a host down notification is emitted for the parent. However, if a child was already down and notifying (but the parent was up), the child will not stop notifying if the parent later goes down as well. > -----Original Message----- > From: ebb at ncen.net [mailto:ebb at ncen.net] > Sent: Tuesday, September 12, 2006 9:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host notifications and parents > > > I'm in the process of migrating to nagios from netsaint. My > only issue > is that parents don't seem to behave the same way as they do in > netsaint. In netsaint if host1 is a parent for host2 and host3 then I > do not get host notifications for host2 and host3 when host1 is down. > In Nagios, with the same parent configuration I get notifications for > host2 and host3 when host1 is down. I have unreachable notifications > disabled in my host definitions as well as my contact > definitions. I'm > not sure if I'm missing something but if this is how parents > behave now, > what's the point of defining them? At the moment I'm getting around > this by using hostdependency definitions. Thanks. > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 13 01:40:14 2006 From: marc at ena.com (Marc Powell) Date: Tue, 12 Sep 2006 18:40:14 -0500 Subject: "Logged in as ?" -- http auth not working ? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rob Ristroph > Sent: Tuesday, September 12, 2006 1:37 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] "Logged in as ?" -- http auth not working ? > > > > >>>>> "tom" == tom welsh writes: > tom> > tom> Hi Rob, > tom> Take a look at "Authentication and authorisation in the CGI's" > section > tom> off the docs, or alternatively jump to it from faq F0048. this solved > a > tom> similar problem for me a few years ago. > > I don't see anything in there that I haven't already done. > > My other nagios setups work fine from the web interface. In fact, > this one worked fine from the web interface, but has been configured > and upgraded since it was last known working. I can't figure out what > is different now. > > One thing I noticed, is that I have seen several places where it was > said that the username in the htpasswd.users file had to be the same > as the name in of a contact. This is not true in all cases, as I have > nagios servers set up which have different web login names and the web > interface works. > > I'm going to have to give up on this for that machine for now, I can't > spend this much time tracking down something that isn't even giving me > log messages to debug or anything. If there are going to be any, they'll be in your web server logs, not nagios's. It's not a nagios problem. Nagios is depending on your web server to set the REMOTE_USER environment variable via htaccess. Nagios (i.e. the CGI's in the sbin directory) just uses that environment variable to determine who is logged in. If it's not set, you see 'Logged in as ?' It's that simple. Nagios then takes that username and matches it against a contact or an authorized_for_* variable in cgi.cfg to determine what to show. As I mentioned previously, it seems your authentication for the sbin (cgi directory) is misconfigured or otherwise broken. You've not detailed out any of your specific web server configuration information that I've seen so all I can really say is that you've missed or misconfigured something. If I recall correctly, you're being prompted to log in so that means that you likely have mod_access enabled and configured to prompt for at least one of /share or /sbin. I'm going to assume at this point that it's just /share only otherwise you wouldn't be having this problem. You can easily test this with a simple php script. If you have php enabled, create a file named 'user.php' in /usr/local/nagios/share and /usr/local/nagios/sbin. In the file put the following -- Call the file via your browser with the following URLS -- http://your.nagios.server/nagios/user.php http://your.nagios.server/nagios/cgi-bin/user.php You should be prompted to log in and you should see something like 'REMOTE_USER = yourloginname' after successful access. -- marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 13 09:08:33 2006 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Wed, 13 Sep 2006 08:08:33 +0100 Subject: host name problem Message-ID: <418B502A3861E242AFDED453F3D5B89C0FA8F203@i2km99-ukbr.domain1.systemhost.net> Ignore my last, major brain fart -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of tom.welsh at bt.com Sent: 12 September 2006 19:09 To: brian.smith at worldpub.net; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] host name problem Hi Brian, You don't need to specify the service_description in the serviceextinfo file see the docs... Info taken from Extended Service Information Definition Description: Extended service information entries are basically used to make the output from the status and extinfo CGIs look pretty. They have no effect on monitoring and are completely optional. Definition Format: Note: Variables in red are required, while those in black are optional. However, you need to supply at least one optional variable in each definition for it to be of much use. define serviceextinfo{ host_name host_name service_description service_description notes note_string notes_url url action_url url icon_image image_file icon_image_alt alt_string } Example Definition: define serviceextinfo{ host_name linux2 service_description Log Anomalies notes Security-related log anomalies on secondary Linux server notes_url http://webserver.localhost.localdomain/serviceinfo.pl?host=linux2&servic e=Log+Anomalies icon_image security.png icon_image_alt Security-Related Alerts } -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Brian Smith Sent: 12 September 2006 18:36 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] host name problem Hello all, does anyone know why the following problem occurs: I have some hosts having duplicate name issues when adding the serviceextinfo information for those hosts. Host 1 is called earth, host 2 is called earthquake. Here's the hosts.cfg definition: ------------------------------------------------------------------------ ----- define host{ name 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 0 register 0 } define host{ use generic-host ; Name of host template to use host_name earth alias earth address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } define host{ use generic-host ; Name of host template to use host_name earthquake alias earthquake address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } ------------------------------------------------------------------------ ---------------------------------------------- And here is the services.cfg ------------------------------------------------------------------------ ------------------------------------ define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 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 0 register 0 } define service{ use generic-service ; Name of service template to use host_name earth,earthquake service_description PING is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 60 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } ------------------------------------------------------------------------ -------------------------------------------------- Everything works great now, until i add some serviceextinfo: serviceextinfo.cfg: ------------------------------------------------------------------------ ----------------------------------- define serviceextinfo{ host_name earthquake icon_image dot.png' border="0"> Hi, My os is CentOS 4.0, nagios-devel-2.5-1.el4.rf, nagios-2.5-1.el4.rf and nagios-plugins-1.4.2-1.2.el4.rf. I already download check_snmp_cisco_memutil, loadavg and ifstatus from nagiosexchange.org. Adding command at /etc/nagios/checkcommand.cfg and services.cfg. But the error is occur at Status Information: **ePN failed to compile /usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Global symbol "$script" requires explicit package name at (eval 1) line 29. Could anyone help me ? I want to implementation to my office . Best regards, Hendro B __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.duffy at tney.northy.nhs.uk Wed Sep 13 11:11:59 2006 From: mark.duffy at tney.northy.nhs.uk (Mark Duffy) Date: Wed, 13 Sep 2006 10:11:59 +0100 Subject: **ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol "$script" requires explicit package name at (eval 1) line 29 Message-ID: <97B21E709D62C643AF853C9543C488A10910C6@FLEX3.tney.northy.nhs.uk> I got this error when I had the embedded Perl interpreter installed, I'm no programmer so I just recompiled without the embedded Perl interpreter, and if anyone does know a solution to this it would be great as it would speed up my checks no end. Regards, Mark > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of hendro budianto > Sent: 13 September 2006 08:12 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] **ePN failed to > compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol > "$script" requires explicit package name at (eval 1) line 29 > > Hi, > My os is CentOS 4.0, nagios-devel-2.5-1.el4.rf, > nagios-2.5-1.el4.rf and > nagios-plugins-1.4.2-1.2.el4.rf. > I already download check_snmp_cisco_memutil, loadavg > and ifstatus from nagiosexchange.org. Adding command > at /etc/nagios/checkcommand.cfg and services.cfg. But > the error is occur at Status Information: **ePN failed > to compile > /usr/lib/nagios/plugins/check_snmp_cisco_memutil: > "Global symbol "$script" requires explicit package > name at (eval 1) line 29. > > Could anyone help me ? I want to implementation to my > office . > > > Best regards, > > > Hendro B > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------ - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This email may contain confidential information and may be read, copied and used only by the intended recipient. The information in this email transmission may not be legally revealed and is intended only for the use of the individual(s) named above. If you are not the intended recipient you are hereby notified that any use, dissemination, distribution or copying of this email message or its information is strictly prohibited. If you have received this email in error please notify the sender by reply or by telephoning +44 (0)1642 283949. Delete this message from your email system(s) and do not disclose its contents to any person. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Wed Sep 13 11:21:25 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Wed, 13 Sep 2006 10:21:25 +0100 Subject: **ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol "$script" requires explicit package name at (eval 1) line 29 In-Reply-To: <97B21E709D62C643AF853C9543C488A10910C6@FLEX3.tney.northy.nhs.uk> References: <97B21E709D62C643AF853C9543C488A10910C6@FLEX3.tney.northy.nhs.uk> Message-ID: Yeah, it's a basic perl error saying that the script hasn't declared the variable before using it. Edit the script and right up the top where you see other entries similar to my $variable; my $othervaraible = "foo"; add in my $script; You could just turn off warnings, but that is bad practice and causes further problems just like this one. rob |------------------------------------------> | Internet | | mark.duffy at tney.northy.nhs.uk | | | | | | Sent by: | | nagios-users-bounces at lists.sourc| | eforge.net | | | | 13/09/2006 10:11 | |------------------------------------------> >---------------------------------------------------------------------------------------------------------------| | | | | | To| | nagios-users | | cc| | | | Subject| | Re: [Nagios-users] **ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: | | "Globalsymbol "$script" requires explicit package name at (eval 1) line 29 | | | | | | | | | | | | | >---------------------------------------------------------------------------------------------------------------| I got this error when I had the embedded Perl interpreter installed, I'm no programmer so I just recompiled without the embedded Perl interpreter, and if anyone does know a solution to this it would be great as it would speed up my checks no end. Regards, Mark > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of hendro budianto > Sent: 13 September 2006 08:12 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] **ePN failed to > compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol > "$script" requires explicit package name at (eval 1) line 29 > > Hi, > My os is CentOS 4.0, nagios-devel-2.5-1.el4.rf, > nagios-2.5-1.el4.rf and > nagios-plugins-1.4.2-1.2.el4.rf. > I already download check_snmp_cisco_memutil, loadavg > and ifstatus from nagiosexchange.org. Adding command > at /etc/nagios/checkcommand.cfg and services.cfg. But > the error is occur at Status Information: **ePN failed > to compile > /usr/lib/nagios/plugins/check_snmp_cisco_memutil: > "Global symbol "$script" requires explicit package > name at (eval 1) line 29. > > Could anyone help me ? I want to implementation to my > office . > > > Best regards, > > > Hendro B > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------ - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This email may contain confidential information and may be read, copied and used only by the intended recipient. The information in this email transmission may not be legally revealed and is intended only for the use of the individual(s) named above. If you are not the intended recipient you are hereby notified that any use, dissemination, distribution or copying of this email message or its information is strictly prohibited. If you have received this email in error please notify the sender by reply or by telephoning +44 (0)1642 283949. Delete this message from your email system(s) and do not disclose its contents to any person. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin.conway at uksolutions.co.uk Wed Sep 13 12:26:20 2006 From: gavin.conway at uksolutions.co.uk (Gavin Conway) Date: Wed, 13 Sep 2006 11:26:20 +0100 Subject: recurring CRITICAL alerts In-Reply-To: <002801c6d4c3$aebef820$0e00000a@v137600059> References: <002801c6d4c3$aebef820$0e00000a@v137600059> Message-ID: <4507DCCC.7020504@uksolutions.co.uk> I've seen this before when we had issued a restart on Nagios and there were 2 copies of it running at the same time. I'm not saying that's what this is but it's worth checking. Cheers, Gavin -- UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG Tel: 08700 681 333 - Fax: 01527 851 301 - AS: 20547 gavin.conway at uksolutions.co.uk - www.uksolutions.co.uk Daniel wrote: > I am running nagios 1.2 and have a passive check that is sent results every 5 minutes from a monitored server. The check is also configured to only send out notifications between 04:00 and 22:30 as the service being monitored is not actually running outside those hours. > > As expected, the service goes into a CRITICAL state during the non-notification period and then resumes an OK state when the service is running again. But then there is a strange situation where it toggles between the previous CRITICAL state > and an OK state. Here is an example of what I mean (reading from bottom up). Notice how the CRITICAL alert saying "last updated 2006/09/06 22:21:09" keeps recurring, even though there has been a valid (OK) in between : > > > -------------------------------------------------------------------------- > September 07, 2006 05:00 > -------------------------------------------------------------------------- > > > > [07-09-2006 05:26:04] Nagios 1.2 starting... (PID=3385) > [07-09-2006 05:22:28] Caught SIGTERM, shutting down... > [07-09-2006 05:20:21] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;CRITICAL;HARD;1;QAT File last updated 2006/09/06 22:21:09 > > > > -------------------------------------------------------------------- > September 07, 2006 04:00 > -------------------------------------------------------------------- > > > > > [07-09-2006 04:55:19] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;OK;HARD;1;QAT File last updated 2006/09/07 04:38:26 > [07-09-2006 04:36:38] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;CRITICAL;HARD;1;QAT File last updated 2006/09/06 22:21:09 > [07-09-2006 04:35:13] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;OK;HARD;1;QAT File last updated 2006/09/07 04:29:20 > [07-09-2006 04:34:07] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;CRITICAL;HARD;1;QAT File last updated 2006/09/06 22:21:09 > [07-09-2006 04:19:49] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;OK;HARD;1;QAT File last updated 2006/09/07 04:14:04 > > > > -------------------------------------------------------------------- > September 06, 2006 22:00 > -------------------------------------------------------------------- > > > > > [06-09-2006 22:58:58] SERVICE ALERT: BTLT-RADGOLDEN;QAT File Age;CRITICAL;HARD;1;QAT File last updated 2006/09/06 22:21:09 > > > > Not sure if this has anything to do with supressing notifications...if something in the nagios logic isn't getting cleared down? Has anyone any ideas what may be causing this? > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG Tel: 08700 681 333 - Fax: 01527 851 301 - AS: 20547 gavin.conway at uksolutions.co.uk - www.uksolutions.co.uk ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Sep 13 13:14:30 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 13 Sep 2006 12:14:30 +0100 Subject: NRPE vs NCSA Message-ID: <4507E816.7020802@googlemail.com> I want to extend my nagios configuration to cover things like disk space on servers etc so I need to evaluate which is better for this purpose: NRPE or NCSA. I believe that looking at the (very) brief doc that comes with Nagios that NRPE is a server side executor which tells the remote host "go run this plug-in and pass the result back to me", whereas NCSA executes itself on the host side and then sends the result to a listening NCSAd on the monitoring server running Nagios. So it comes down to active server initiated test or passive client initiated test. While NCSA would reduce load slightly (probably not noticeably though I expect), NRPE would allow for a more centralised way of doing things, especially since I keep my entire nagios config under svn and like to be able to redeploy it centrally. Does anybody have any advice as to which I should go with? What have you used and what are your experiences of this? -h -- Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at co.sapo.pt Wed Sep 13 13:25:25 2006 From: mramos at co.sapo.pt (Marco Ramos) Date: Wed, 13 Sep 2006 12:25:25 +0100 Subject: NRPE vs NCSA In-Reply-To: <4507E816.7020802@googlemail.com> References: <4507E816.7020802@googlemail.com> Message-ID: <1158146725.3813.0.camel@localhost.localdomain> Hi, On Wed, 2006-09-13 at 12:14 +0100, Hari Sekhon wrote: > I want to extend my nagios configuration to cover things like disk space > on servers etc so I need to evaluate which is better for this purpose: > NRPE or NCSA. IMHO, you should also consider SNMP. Best regards, Marco Ramos > I believe that looking at the (very) brief doc that comes with Nagios > that NRPE is a server side executor which tells the remote host "go run > this plug-in and pass the result back to me", whereas NCSA executes > itself on the host side and then sends the result to a listening NCSAd > on the monitoring server running Nagios. > > So it comes down to active server initiated test or passive client > initiated test. > > While NCSA would reduce load slightly (probably not noticeably though I > expect), NRPE would allow for a more centralised way of doing things, > especially since I keep my entire nagios config under svn and like to be > able to redeploy it centrally. > > Does anybody have any advice as to which I should go with? What have you > used and what are your experiences of this? > > -h > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 13 13:28:24 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 13 Sep 2006 12:28:24 +0100 Subject: NRPE vs NCSA In-Reply-To: <1158146725.3813.0.camel@localhost.localdomain> References: <4507E816.7020802@googlemail.com> <1158146725.3813.0.camel@localhost.localdomain> Message-ID: <4507EB58.1080608@googlemail.com> Marco Ramos wrote: > Hi, > > On Wed, 2006-09-13 at 12:14 +0100, Hari Sekhon wrote: > >> I want to extend my nagios configuration to cover things like disk space >> on servers etc so I need to evaluate which is better for this purpose: >> NRPE or NCSA. >> > > IMHO, you should also consider SNMP. > > Best regards, > Marco Ramos > > >> I believe that looking at the (very) brief doc that comes with Nagios >> that NRPE is a server side executor which tells the remote host "go run >> this plug-in and pass the result back to me", whereas NCSA executes >> itself on the host side and then sends the result to a listening NCSAd >> on the monitoring server running Nagios. >> >> So it comes down to active server initiated test or passive client >> initiated test. >> >> While NCSA would reduce load slightly (probably not noticeably though I >> expect), NRPE would allow for a more centralised way of doing things, >> especially since I keep my entire nagios config under svn and like to be >> able to redeploy it centrally. >> >> Does anybody have any advice as to which I should go with? What have you >> used and what are your experiences of this? >> >> -h >> >> > > > seeing as I've never used snmp (it's on my todo list) I'd need a bit more of a guideline than that... How would you get check results, what would you run on the client, what would you run on the server? -h -- Hari Sekhon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Wed Sep 13 13:28:20 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 13 Sep 2006 07:28:20 -0400 Subject: NRPE vs NCSA In-Reply-To: <4507E816.7020802@googlemail.com> References: <4507E816.7020802@googlemail.com> Message-ID: <4507EB54.8020104@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hari Sekhon wrote: > > Does anybody have any advice as to which I should go with? What have you > used and what are your experiences of this? For everything I can't check across SNMP, I use NRPE. I just started using it less than a year ago for a few things. I like it because of my distribution though, the repo I use RPMs from has NRPE and Nagios all ready to go. This makes it perfect for my use, so your application of it may vary. Anyways, back to NRPE. I haven't noticed any overhead with processing checks even on older machines. My advice would be load both NCSA and NRPE up on a machine or two and experiment first. That way you can see for yourself which one you prefer to use. Let me know if you run Red Hat or a CentOS flavor and you decide to go with NRPE. I can assist with setting it up. ;) Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFB+tUHoeeepPau2ERAvoFAJ4qS4Ua77zJ/4y3ogRazeE5pISQaACfdeLq Qo2VTjF2TiS85jc/lpVeRX4= =Cbm6 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at co.sapo.pt Wed Sep 13 13:48:09 2006 From: mramos at co.sapo.pt (Marco Ramos) Date: Wed, 13 Sep 2006 12:48:09 +0100 Subject: NRPE vs NCSA In-Reply-To: <4507EB58.1080608@googlemail.com> References: <4507E816.7020802@googlemail.com> <1158146725.3813.0.camel@localhost.localdomain> <4507EB58.1080608@googlemail.com> Message-ID: <1158148089.3813.17.camel@localhost.localdomain> Hi, On Wed, 2006-09-13 at 12:28 +0100, Hari Sekhon wrote: > Marco Ramos wrote: > > Hi, > > > > On Wed, 2006-09-13 at 12:14 +0100, Hari Sekhon wrote: > > > > > I want to extend my nagios configuration to cover things like disk space > > > on servers etc so I need to evaluate which is better for this purpose: > > > NRPE or NCSA. > > > > > > > IMHO, you should also consider SNMP. > > > > Best regards, > > Marco Ramos > > > > > > > I believe that looking at the (very) brief doc that comes with Nagios > > > that NRPE is a server side executor which tells the remote host "go run > > > this plug-in and pass the result back to me", whereas NCSA executes > > > itself on the host side and then sends the result to a listening NCSAd > > > on the monitoring server running Nagios. > > > > > > So it comes down to active server initiated test or passive client > > > initiated test. > > > > > > While NCSA would reduce load slightly (probably not noticeably though I > > > expect), NRPE would allow for a more centralised way of doing things, > > > especially since I keep my entire nagios config under svn and like to be > > > able to redeploy it centrally. > > > > > > Does anybody have any advice as to which I should go with? What have you > > > used and what are your experiences of this? > > > > > > -h > > > > > > > > > seeing as I've never used snmp (it's on my todo list) I'd need a bit > more of a guideline than that... How would you get check results, what > would you run on the client, what would you run on the server? > As I see it, SNMP has a major advantage: it's a industry standard. For instance, if you also monitor routers or other network equipment, you can't install nrpe or nsca on it. There are also other advantages. There are many servers/applications (jabber, squid, etc, etc) that have SNMP built-in support, so that you can use that you can monitor a lot of things with SNMP. Other advantage is the fact that you can use SNMP not only with Nagios, but also with stats application (like Cacti or other rrdtool based application ) which greatly reduces the ammount of software you'll have to install on your servers. It's really simple to start using SNMP. Take a look at Net-SNMP (http://net-snmp.sourceforge.net). After understanding how it works, you just have to identify the OIDs of the things you want to monitor and make some simple scripts to monitor them. For instance, I use perl scripts with the Net::SNMP module on my Nagios server to check disk space, load average and all that kind of stuff on my monitored servers. HTH, Marco Ramos > -h > > -- > Hari Sekhon > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Wed Sep 13 14:10:13 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 13 Sep 2006 14:10:13 +0200 Subject: NRPE vs NCSA In-Reply-To: <4507E816.7020802@googlemail.com> References: <4507E816.7020802@googlemail.com> Message-ID: <74A10FFC-35AF-4011-A46D-8D5CAF8330E1@kilala.nl> On 13 Sep, 2006, at 13:14, Hari Sekhon wrote: > While NCSA would reduce load slightly (probably not noticeably > though I > expect), NRPE would allow for a more centralised way of doing things, > especially since I keep my entire nagios config under svn and like > to be > able to redeploy it centrally. > > Does anybody have any advice as to which I should go with? What > have you > used and what are your experiences of this? A few weeks ago I was stuck with the same question. Back then a fellow by the pseudonym "Jakked Up" (he frequents many Nagios fora) helped my out by discussing the matter over e-mail. One of the most important things to keep in mind is the amount of checks you'll be performing and how things will be scheduled by Nagios. Say that you're running 1000 service checks through NRPE and that you want them all run within 5 minutes. Let's assume that each service check averages at 3 seconds before the results are in (best case scenario). This would mean that Nagios would have a thousand three- second connections open every five minutes. Parallelizing things using the Nagios scheduler will help naturally... But now start thinking big... Around 7000 service checks? Would mean 21.000 seconds worth of network connections crammed into five minutes. That's not going to work nicely. And all of this is still excluding things like retries in the case of a failure. Or assloads of retries in the case of massive failure. Now, if you take NSCA, the server will still be getting 7000 incoming connections every five minutes, but: 1) All incoming data will be dumped in the NSCA queue 2) Nagios will "leisurely" pick through the NSCA queue to grab all the status updates Or, as he originally put it: ===== To make a check on a remote system, via nrpe for example, nagios has to schedule the check every 5 minutes, or whatever. The check is made, which means a plugin runs a script that connects to a daemon running remotely. The script then tells the daemon what check to make. The check is made, the data passed on to the client connection, and now nagios has the data for the check and processes it. All of that is a lifetime, compared to: Periodically nagios reads it's external command file, whenever it has time to do so, depending on your settings. At times, it finds completed results of a service check. All nagios has to do is process that result. So, the check is NOT even really made by the central server. It's already sitting there for it. Of course, that is only achieved via something like a passive check via nsca. ===== Me, I'll be making our new Nagios environment as passive as possible. Most checks will be performed locally (scheduled through a small wrapper script I wrote, run from cron), after which the results are submitted through NSCA. For the remaining active checks I'll be using net-SNMP. Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ranjeetk at aztecsoft.com Wed Sep 13 14:17:26 2006 From: ranjeetk at aztecsoft.com (Ranjeet Kumar) Date: Wed, 13 Sep 2006 17:47:26 +0530 Subject: how to get information from host without using nrpe Message-ID: <93F0E3CFC1ABB646B8808894FC7CDD2506CA1B32@azindbaex01.aztec.soft> Hi, I don't want to use nrpe on client. Is it possible to get information from host without using nrpe. If yes. Can you tell me to do that. Thanks, Ranjeet The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. www.aztecsoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Sep 13 14:25:22 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 13 Sep 2006 13:25:22 +0100 Subject: how to get information from host without using nrpe In-Reply-To: <93F0E3CFC1ABB646B8808894FC7CDD2506CA1B32@azindbaex01.aztec.soft> References: <93F0E3CFC1ABB646B8808894FC7CDD2506CA1B32@azindbaex01.aztec.soft> Message-ID: <4507F8B2.8090500@googlemail.com> Ranjeet Kumar wrote: > > Hi, > > > > I don't want to use nrpe on client. Is it possible to get information > from host without using nrpe. > > If yes. Can you tell me to do that. > > > > Thanks, > > Ranjeet > > > > > The information contained in, or attached to, this e-mail, contains > confidential information and is intended solely for the use of the > individual or entity to whom they are addressed and is subject to > legal privilege. If you have received this e-mail in error you should > notify the sender immediately by reply e-mail, delete the message from > your system and notify your system manager. Please do not copy it for > any purpose, or disclose its contents to any other person. The views > or opinions presented in this e-mail are solely those of the author > and do not necessarily represent those of the company. The recipient > should check this e-mail and any attachments for the presence of > viruses. The company accepts no liability for any damage caused, > directly or indirectly, by any virus transmitted in this email. > > www.aztecsoft.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null you could try check by ssh, you'd have to set up ssh keys. -h -- Hari Sekhon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 kilala.nl Wed Sep 13 14:30:19 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 13 Sep 2006 14:30:19 +0200 Subject: how to get information from host without using nrpe In-Reply-To: <93F0E3CFC1ABB646B8808894FC7CDD2506CA1B32@azindbaex01.aztec.soft> References: <93F0E3CFC1ABB646B8808894FC7CDD2506CA1B32@azindbaex01.aztec.soft> Message-ID: On 13 Sep, 2006, at 14:17, Ranjeet Kumar wrote: > I don't want to use nrpe on client. Is it possible to get information > from host without using nrpe. Yes > If yes. Can you tell me to do that. Do it... Here are a few clues: * ssh -> check_by_ssh * snmp -> check_snmp * nsca -> send_nsca and the NSCA daemon * apple pie -> yum :9 Okay... I threw the last one in, just because I -love- apple pie. SNMP is yummy as well since it'll let you do two things at the same time: 1) you can run the normal check scripts, by binding them to a custom OID 2) read all kinds of interesting OS and hardware information through vendor OIDs Two birds, one stone... Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed Sep 13 14:36:55 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 13 Sep 2006 08:36:55 -0400 Subject: how to get information from host without using nrpe In-Reply-To: <93F0E3CFC1ABB646B8808894FC7CDD2506CA1B32@azindbaex01.aztec.soft> References: <93F0E3CFC1ABB646B8808894FC7CDD2506CA1B32@azindbaex01.aztec.soft> Message-ID: <4507FB67.9060403@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ranjeet Kumar wrote: > Hi, > > > > I don?t want to use nrpe on client. Is it possible to get information > from host without using nrpe. > > If yes. Can you tell me to do that. What kind of checks and information are you looking to get out of the clients? Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFB/tnHoeeepPau2ERAvC/AJ9Kory+KNuzGhLf77ahRQibS47xxACgi04v aI2ms0EMizttaD9xCNYW4XE= =tk5n -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Wed Sep 13 14:45:54 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Wed, 13 Sep 2006 14:45:54 +0200 Subject: NRPE vs NCSA In-Reply-To: <4507E816.7020802@googlemail.com> References: <4507E816.7020802@googlemail.com> Message-ID: <20060913124554.GB20238@torres.l21.ma.zugschlus.de> On Wed, Sep 13, 2006 at 12:14:30PM +0100, Hari Sekhon wrote: > Does anybody have any advice as to which I should go with? What have you > used and what are your experiences of this? I'd take a security-based approach. I do not feel too comfortable with a server holding valueable or vital data is open to connection from the nagios host, which, as a host running a web interface, might be more easily compromised than the actual server. This is a minus for NRPE. With NSCA, the actual server would initiate the connection to the Nagios host which decreases security exposure. otoh, NSCA has a "gap" in data flow as nsca_send wants to see the output in a different format than the plugins put out. There are a bunch of shell scripts around that "translate" between the plugin and nsca_send, but these are like foreign objects in the nagios setup in my feelings. I think that there should be a "glue binary" written in C that calls the plugin and then hands over the results to nsca_send. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twmoore at bea.com Wed Sep 13 17:23:32 2006 From: twmoore at bea.com (Timothy Moore) Date: Wed, 13 Sep 2006 08:23:32 -0700 Subject: nagios reload issues Message-ID: I am running Nagios 2.4 I am seeing an issue with using the "reload" argument of the Nagios init script. I often make configuration changes and then reload the configuration. After an undetermined number of reloads, it becomes un-effective. My changes are no longer updated. At that point, I stop and start Nagios, and the option works again. Also, I looked at the init script. It references a cgi, daemonchk.cgi, which I don't have in my distribution. It uses a variable, $NagiosCGI, that never gets assigned. Timothy Moore, IPRC Operations Architecture Phone: 720.528.6177 Mobile: 303.717.4332 twmoore at bea.com BEA Systems, Inc. Corporate Office, USA 2315 North First Street San Jose, CA 95131 Fax: 408.570.8901 www.bea.com >>Register now for BEA World 2006 --- See http://www.bea.com/beaworld<< _______________________________________________________________________ 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 -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 73 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 73 bytes Desc: image002.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.gif Type: image/gif Size: 22467 bytes Desc: image003.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.gif Type: image/gif Size: 2556 bytes Desc: image004.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.gif Type: image/gif Size: 73 bytes Desc: image005.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.gif Type: image/gif Size: 73 bytes Desc: image006.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.gif Type: image/gif Size: 73 bytes Desc: image007.gif URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 ampranti at gmail.com Wed Sep 13 17:35:59 2006 From: ampranti at gmail.com (Brandino Andreas) Date: Wed, 13 Sep 2006 18:35:59 +0300 Subject: Suse 10.0 - perl plugin return "No outpput" In-Reply-To: <45040CE3.5010404@thaller.net.au> References: <45040CE3.5010404@thaller.net.au> Message-ID: <45994178.20060913183559@gmail.com> Finally this solved my problem. Regards Sunday, September 10, 2006, 4:02:27 PM, you wrote: > Hi > I've seen this problem on a few perl based plugins. > On the occasions I've seen this, theres a line in the script similar as > the one below > "use lib "/usr/local/nagios/libexec"" > Change that so it points to the directory in which the perl script > resides. > Cheers > Andrew > Andreas Brandino wrote: >> Hi list, >> >> i am using Suse 10.0 with nagios 1.2.x >> All perl plugins i try to use return "No output" message. However, all >> other plugins work just fine. >> When i run the plugins from command line (as "root" or "daemon") work >> without problem. >> Using perl full path in front of the plugin (checkcommands.cfg) still >> doesnt make any difference. >> >> I think this has to do with perl on my system. >> Any idea? >> >> Regards >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dererk at madap.com.ar Wed Sep 13 22:03:47 2006 From: dererk at madap.com.ar (Dererk) Date: Wed, 13 Sep 2006 17:03:47 -0300 Subject: About 3dstatusmap and linux Message-ID: <45086423.5090908@madap.com.ar> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings all! Could anyone run successfully the 3dstatusmap on a linux browser ? I heard some ppl talking about using FreeWRL, but didn't succeed yet. Thanks in advance, Dererk - -- Vlady at Melee: ~$ cat /proc/version | grep -i 'power in your hands' Debian GNUine Perception - -FortuneTip- En febrero mete obrero, que pan te comer?, pero buen trabajo te har?. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFCGQjzqYvwbbBjiQRAogfAJ9ON00Q3HPUK4uYbnM8MlB1hmrgegCdFz8h vGLcNuSQvorGI3Nfko5/wVk= =5HHe -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From he_anton at yahoo.com Thu Sep 14 03:17:23 2006 From: he_anton at yahoo.com (hendro budianto) Date: Wed, 13 Sep 2006 18:17:23 -0700 (PDT) Subject: nagiosgraph there no content (graph) Message-ID: <20060914011723.6727.qmail@web52006.mail.yahoo.com> Hi, My os is CentOS 4.0, nagios-devel-2.5-1.el4.rf, nagios-2.5-1.el4.rf, nagios-plugins-1.4.2-1.2.el4.rf with the nagiosgraph-0.8.2 version. The configuration is already set, but when i click the grafik icon the graphics isn't show up. When i check to the nagiosgraph.log the error message is CGI error: RRDs::graph ERR can't make a graph without contents. I give the permissions to the nagiosgraph folder with the full permission. It's still not solve the problem. The location to store graph is /var/local/nagiosgraph/rrd, the other setting at nagios.cfg and serviceextinfo is already done. I looking at the nagiosgraph forum, http://nagiosgraph.sourceforge.net/index.php/Errors_and_trouble_shooting ==> still no answer... Could you help and give me solutions ? Best regards, Hendro B __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Thu Sep 14 03:58:01 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Thu, 14 Sep 2006 01:58:01 +0000 (UTC) Subject: Service Check Execution Time Message-ID: Since upgrading to version 2.5 I have the darndest values in the tactical overview screen: excuse my html, but the decimal values are outlandish, and it might help to see them in this context. Is there a known issue here?
Service Check Execution Time:0.49 / 4508105376629009.00 / 879630317391028.625 sec
Service Check Latency:inf / inf / inf sec
Host Check Execution Time:0.00 / 10.17 / 2.372 sec
Host Check Latency:0.00 / inf / inf sec
# Active Host / Service Checks:29 / 41
# Passive Host / Service Checks:0 / 0
Robin-David Hammond KB3IEN +1 347 350 34 00 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Sep 14 08:11:44 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 14 Sep 2006 08:11:44 +0200 (CEST) Subject: nagiosgraph there no content (graph) In-Reply-To: <20060914011723.6727.qmail@web52006.mail.yahoo.com> References: <20060914011723.6727.qmail@web52006.mail.yahoo.com> Message-ID: On Wed, 13 Sep 2006, hendro budianto wrote: > My os is CentOS 4.0, nagios-devel-2.5-1.el4.rf, > nagios-2.5-1.el4.rf, > nagios-plugins-1.4.2-1.2.el4.rf with the > nagiosgraph-0.8.2 version. > The configuration is already set, but when i click the > grafik icon the graphics isn't show up. When i check > to the nagiosgraph.log the error message is CGI error: > RRDs::graph ERR can't make a graph without contents. I > give the permissions to the nagiosgraph folder with > the full permission. It's still not solve the problem. > The location to store graph is > /var/local/nagiosgraph/rrd, the other setting at > nagios.cfg and serviceextinfo is already done. I > looking at the nagiosgraph forum, > http://nagiosgraph.sourceforge.net/index.php/Errors_and_trouble_shooting > ==> still no answer... You seem to be searching at the wrong end AFAIK. The first step is to check your RRD files are being filled with data correctly. Do they look OK if you export them? Once you know your RRD files are fine then you can look at the next phase. Can your webserver read them? Check the error in google and read the links as this is not the first time I have seen the error: http://www.google.com/search?hs=a1j&hl=en&lr=&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=RRDs+graph+ERR+can%27t+make+a+graph+without+contents&btnG=Search Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matteo.corti at id.ethz.ch Thu Sep 14 09:24:21 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Thu, 14 Sep 2006 09:24:21 +0200 Subject: service dependencies not working Message-ID: <450903A5.9000302@id.ethz.ch> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I tried to configure a service dependency between a couple of HTTP servers and a MySQL server they depend on. In dependencies.cgf I have: define servicedependency{ host_name mysqlweb service_description MYSQL dependent_host_name someserver dependent_service_description HTTPS execution_failure_criteria n notification_failure_criteria w,u,c } where mysqlweb is the server where the MYSQL service is running and someserver is where the HTTP server is running. Tonight the mysql server disappeared but I continued to receive notifications for both services. Any hints or suggestions? Many thanks, Matteo - -- Matteo Corti ETH Zurich matteo.corti at id.ethz.ch -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFCQOlLEG/T0gggJsRAi4FAJ9SOPbeNUGYZwVTJUi+aERIutthTQCeOBnE w9Py/bAEY8Z7h7eovNCqZug= =CDgW -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.bourdeau at dga.defense.gouv.fr Thu Sep 14 11:14:15 2006 From: frank.bourdeau at dga.defense.gouv.fr (frank.bourdeau at dga.defense.gouv.fr) Date: Thu, 14 Sep 2006 11:14:15 +0200 Subject: Compilation errors Message-ID: <20060914091507.BEF7C74187@dgarmsmsg01p.dga.defense.gouv.fr> Hi the list, Here is the error result for nagios compilation. I don't know why this compilation failed. I've upgraded my OS, and perl was also upgraded (5.8.3 -> 5.8.7). Have you encountered this problem and how have you resolved it ? Thanks in advance for replies Best regards make nagios cd ./base && make make[1]: Entering directory `/usr/local/src/nagios-2.5/base' gcc -g -O2 -DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.7/i386-linux/CORE -DHAVE_CONFIG_H -DNSCORE -c -o perlxsi.o perlxsi.c gcc -g -O2 -DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.7/i386-linux/CORE -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o perlxsi.o -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.7/i386-linux/CORE -L/usr/local/lib /usr/lib/perl5/5.8.7/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.7/i386-linux/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lc -lm -lpthread -lltdl checks.o: In function `run_service_check': /usr/local/src/nagios-2.5/base/checks.c:123: undefined reference to `PL_thr_key' utils.o: In function `my_system': /usr/local/src/nagios-2.5/base/utils.c:2585: undefined reference to `PL_thr_key' utils.o: In function `deinit_embedded_perl': /usr/local/src/nagios-2.5/base/utils.c:4602: undefined reference to `PL_op_mutex' /usr/local/src/nagios-2.5/base/utils.c:4606: undefined reference to `Perl_croak_nocontext' collect2: ld returned 1 exit status make[1]: *** [nagios] Erreur 1 make[1]: Leaving directory `/usr/local/src/nagios-2.5/base' make: *** [nagios] Erreur 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 thyes at gmx.net Thu Sep 14 11:32:03 2006 From: thyes at gmx.net (Frank Thyes) Date: Thu, 14 Sep 2006 11:32:03 +0200 Subject: Compilation errors In-Reply-To: <20060914091507.BEF7C74187@dgarmsmsg01p.dga.defense.gouv.fr> References: <20060914091507.BEF7C74187@dgarmsmsg01p.dga.defense.gouv.fr> Message-ID: <20060914093203.GB81291@gator> hi, +++ frank.bourdeau at dga.defense.gouv.fr [Thu, Sep 14, 2006 at 11:14:15AM CEST]: > collect2: ld returned 1 exit status > make[1]: *** [nagios] Erreur 1 > make[1]: Leaving directory `/usr/local/src/nagios-2.5/base' > make: *** [nagios] Erreur 2 Check your perl installation. Frank -- UNIX is simple, but you need a genius to understand that simplicity. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Thu Sep 14 13:22:30 2006 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Thu, 14 Sep 2006 16:52:30 +0530 Subject: Nagios Agents Threat Analysis Message-ID: Hi, Has any one carried out a threat analysis for Nagios Agents ( NSClient and NRPE). Do we have any information regarding them? Thanks and Regards, Narendran Neelamegam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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.moss at uk.bnpparibas.com Thu Sep 14 13:35:18 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 14 Sep 2006 12:35:18 +0100 Subject: Nagios Agents Threat Analysis In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 14/09/2006 12:22:30: > Hi, > > Has any one carried out a threat analysis for Nagios Agents ( > NSClient and NRPE). > > Do we have any information regarding them? Probably, but why would you trust someone else's threat analysis? Their criteria may be wildly different to your infrastructure and policies, not to mention an untrusted source. Why would you base your own security analysis on someone else's security model? Read up a bit and make up your own mind. There is plenty of information regarding them if you do a little searching. http://sourceforge.net/projects/nrpe/ http://nagios.org/docs/ http://nagios.org/faqs/viewfaq.php?faq_id=101 Some things to consider: Access: Encrypted connection, ACLs, TCPWrappers, Allow sending variables rob This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.smith at worldpub.net Thu Sep 14 17:19:04 2006 From: brian.smith at worldpub.net (Brian Smith) Date: Thu, 14 Sep 2006 11:19:04 -0400 Subject: About 3dstatusmap and linux In-Reply-To: <45086423.5090908@madap.com.ar> References: <45086423.5090908@madap.com.ar> Message-ID: <450972E8.5080706@worldpub.net> Dererk, Yes, I am using Ubuntu 6.06/Firefox/FreeWRL and can view the 3D status map. Brian Dererk wrote: > Greetings all! > > Could anyone run successfully the 3dstatusmap on a linux browser ? > > I heard some ppl talking about using FreeWRL, but didn't succeed yet. > > Thanks in advance, > > > Dererk > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Sep 14 18:00:29 2006 From: td3201 at gmail.com (Terry) Date: Thu, 14 Sep 2006 11:00:29 -0500 Subject: SYN attacks from nagios Message-ID: <8ee061010609140900t65465394re3c79999d22ab4e7@mail.gmail.com> Good morning, I have 2 nagios servers. One is running 1.2 and the other is running 2.5. Both are running in parallel while I migrate to the 2.5 machine. Our content switch is detecting that the 2.5 machine is SYN attacking hosts. Both servers have very similar monitoring sets and similar configurations. I have gone through the config and nothing stands out. Obviously, the 2.5 machine is pounding the servers more heavily but I can't figure out why. Below is my config. log_file=/var/log/nagios/nagios.log cfg_file=/etc/nagios/host_templates.cfg cfg_file=/etc/nagios/hosts.cfg cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/contactgroups.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/hostgroups.cfg cfg_file=/etc/nagios/service_templates.cfg cfg_file=/etc/nagios/services.cfg cfg_file=/etc/nagios/servicegroups.cfg resource_file=/etc/nagios/resources.cfg cfg_file=/etc/nagios/hostextinfo.cfg cfg_file=/etc/nagios/serviceextinfo.cfg cfg_file=/etc/nagios/dependencies.cfg log_file=/var/log/nagios/nagios.log temp_file=/var/log/nagios/nagios.tmp status_file=/var/log/nagios/status.dat aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=0 execute_service_checks=1 accept_passive_service_checks=1 enable_event_handlers=1 log_rotation_method=d log_archive_path=/var/log/nagios/archives check_external_commands=1 command_check_interval=-1 command_file=/var/log/nagios/rw/nagios.cmd downtime_file=/var/log/nagios/downtime.dat comment_file=/var/log/nagios/comments.dat lock_file=/var/run/nagios.pid p1_file=/usr/bin/p1.pl retain_state_information=1 state_retention_file=/var/log/nagios/retention.dat retention_update_interval=60 use_retained_program_state=1 use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 sleep_time=1 service_interleave_factor=4 max_concurrent_checks=20 service_reaper_frequency=10 interval_length=60 use_aggressive_host_checking=0 enable_flap_detection=0 low_service_flap_threshold=5 high_service_flap_threshold=20 low_host_flap_threshold=5 high_host_flap_threshold=20 soft_state_dependencies=0 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 obsess_over_services=0 process_performance_data=1 check_for_orphaned_services=0 check_service_freshness=1 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=nagios admin_pager=pagenagios object_cache_file=/var/log/nagios/objects.cache execute_host_checks=1 service_inter_check_delay_method=s use_retained_scheduling_info=0 accept_passive_host_checks=1 max_service_check_spread=30 host_inter_check_delay_method=s max_host_check_spread=30 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 check_host_freshness=0 host_freshness_check_interval=60 service_freshness_check_interval=60 use_regexp_matching=0 use_true_regexp_matching=0 event_broker_options=-1 daemon_dumps_core=0 service_perfdata_command=process-service-perfdata ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Thu Sep 14 18:07:28 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 14 Sep 2006 17:07:28 +0100 Subject: SYN attacks from nagios In-Reply-To: <8ee061010609140900t65465394re3c79999d22ab4e7@mail.gmail.com> References: <8ee061010609140900t65465394re3c79999d22ab4e7@mail.gmail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 14/09/2006 17:00:29: > Good morning, > > I have 2 nagios servers. One is running 1.2 and the other is running > 2.5. Both are running in parallel while I migrate to the 2.5 machine. > Our content switch is detecting that the 2.5 machine is SYN attacking > hosts. Both servers have very similar monitoring sets and similar > configurations. I have gone through the config and nothing stands > out. Obviously, the 2.5 machine is pounding the servers more heavily > but I can't figure out why. Below is my config. > Good evening! What checks are you running against the server that is detecting the SYN attacks? The config you posted is the general nagios config, we would need to see the services.cfg portions for the affected host(s) Cheers This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From donnell.lewis at icoretechnology.com Thu Sep 14 19:41:34 2006 From: donnell.lewis at icoretechnology.com (Donnell Lewis) Date: Thu, 14 Sep 2006 13:41:34 -0400 Subject: SYN attacks from nagios In-Reply-To: References: Message-ID: <1158255694.2100.23.camel@localhost.localdomain> Did the 'ping' command check itself change from the 2 different versions ? Check in checkcommands.cfg, see if the command definition is the same between the two. -DL On Thu, 2006-09-14 at 17:07 +0100, rob.moss at uk.bnpparibas.com wrote: > nagios-users-bounces at lists.sourceforge.net wrote on 14/09/2006 17:00:29: > > > Good morning, > > > > I have 2 nagios servers. One is running 1.2 and the other is running > > 2.5. Both are running in parallel while I migrate to the 2.5 machine. > > Our content switch is detecting that the 2.5 machine is SYN attacking > > hosts. Both servers have very similar monitoring sets and similar > > configurations. I have gone through the config and nothing stands > > out. Obviously, the 2.5 machine is pounding the servers more heavily > > but I can't figure out why. Below is my config. > > > > Good evening! > > > > What checks are you running against the server that is detecting the SYN > attacks? > > The config you posted is the general nagios config, we would need to see > the services.cfg portions for the affected host(s) > > Cheers > > > This message and any attachments (the "message") is > intended solely for the addressees and is confidential. > If you receive this message in error, please delete it and > immediately notify the sender. Any use not in accord with > its purpose, any dissemination or disclosure, either whole > or partial, is prohibited except formal approval. The internet > can not guarantee the integrity of this message. > BNP PARIBAS (and its subsidiaries) shall (will) not > therefore be liable for the message if modified. > > ********************************************************************************************** > > BNP Paribas Private Bank London Branch is authorised > by CECEI & AMF and is regulated by the Financial Services > Authority for the conduct of its investment business in > the United Kingdom. > > BNP Paribas Securities Services London Branch is authorised > by CECEI & AMF and is regulated by the Financial Services > Authority for the conduct of its investment business in > the United Kingdom. > > BNP Paribas Fund Services UK Limited is authorised and > regulated by the Financial Services Authority > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From erobertstad at perimeterusa.com Thu Sep 14 20:04:43 2006 From: erobertstad at perimeterusa.com (Eirik Robertstad) Date: Thu, 14 Sep 2006 14:04:43 -0400 Subject: SNMP checks randomly come back as unknown Message-ID: <450999BB.6040608@perimeterusa.com> I use the SNMP checks from http://www.manubulon.com/nagios/ and I've seen some strange things happen. I'm not sure if this has to do with those checks directly or with Nagios. Checks will just 'stop' for a while. Most of the time it's the Disk check, but not always. Using Nagiosgraph though the disk checks always are missing data here and there. For the most part it seams to be limited to Windows machines, but I've seen it happen with Linux as well. I'll get back an error of: ERROR: Description/Type table : No response from remote host 'xxx.xxx.xxx.xxx'. On this example host, there are 5 other SNMP checks, out of those the Disk check and the Virtual memory check are in Unknown. I've been waiting and waiting, and it's been 16 days now for the Virtual memory check and 3 days now for the Drive C check. Nagios has been restarted many of times and this check has never come out of an 'unknown' status. If I force a check of this service, it will come back fine however and continue to work for a while till it breaks again. It seams to be random on what hosts and checks Nagios decides it no longer can connect to, but it's always the same, it stays in this state till you force a recheck. I've watched Nagios to be sure it's actually running the checks, and I can see in the logs it getting executed. With a tcpdump I can even see it sending data to the host and getting the response back. Yet, I can execute it by hand right before and right after, with perfect results, and again once I force it in Nagios, it will of course go OK and stay that way till it blows up again..... I'm out of ideas. Is there a difference in the way Nagios executes a normally scheduled check and a forced re-check? Thanks in advance. -- The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: http://www.perimeterusa.com/malicious_code_defense_content.html This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarcus at mvalent.com Thu Sep 14 20:14:52 2006 From: jmarcus at mvalent.com (James Marcus) Date: Thu, 14 Sep 2006 14:14:52 -0400 Subject: Still having problems with check_disk_smb Message-ID: Does any know how to deal with these issues in this script? [root at moveit /usr/nagios/libexec] 72# ./check_disk_smb -H fileserver.mvalent.net -s Software -W MVALENT -w 5G -c 2G Use of uninitialized value in concatenation (.) or string at ./check_disk_smb line 61. Argument "2G" isn't numeric in numeric gt (>) at ./check_disk_smb line 97. Argument "5G" isn't numeric in numeric gt (>) at ./check_disk_smb line 97. Domain=[MVALENT] OS=[UNKNOWN] Server=[UNKNOWN] Disk ok - 14.16G (4%) free on \\fileserver.mvalent.net\Software [root at moveit /usr/nagios/libexec] 73# Thanks, James ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Sep 14 20:30:29 2006 From: td3201 at gmail.com (Terry) Date: Thu, 14 Sep 2006 13:30:29 -0500 Subject: SYN attacks from nagios In-Reply-To: <1158255694.2100.23.camel@localhost.localdomain> References: <1158255694.2100.23.camel@localhost.localdomain> Message-ID: <8ee061010609141130t7ca0412ke721a3c5673802f4@mail.gmail.com> The device that is detecting the "attack" is a content switch, which sits in front of all the hosts. There isn't a particular command that is triggering the alert. Here are two that I have seen for sure: define service { name check_nt_cpu check_command check_nt_cpu!1111!foo!10,90,95,60,80,95,1440,80,95 max_check_attempts 3 normal_check_interval 3 retry_check_interval 3 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 0 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 5 notification_period 24x7 notifications_enabled 1 register 0 notification_options w,u,c,r } define service { name pmo-service-24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 3 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 0 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 5 notification_period 24x7 notifications_enabled 1 register 0 notification_options w,u,c,r } These are just templates but contain all the info that is important to this discussion. These are the same as the 1.2 host as well. On 9/14/06, Donnell Lewis wrote: > Did the 'ping' command check itself change from the 2 different > versions ? Check in checkcommands.cfg, see if the command definition is > the same between the two. > > -DL > > On Thu, 2006-09-14 at 17:07 +0100, rob.moss at uk.bnpparibas.com wrote: > > nagios-users-bounces at lists.sourceforge.net wrote on 14/09/2006 17:00:29: > > > > > Good morning, > > > > > > I have 2 nagios servers. One is running 1.2 and the other is running > > > 2.5. Both are running in parallel while I migrate to the 2.5 machine. > > > Our content switch is detecting that the 2.5 machine is SYN attacking > > > hosts. Both servers have very similar monitoring sets and similar > > > configurations. I have gone through the config and nothing stands > > > out. Obviously, the 2.5 machine is pounding the servers more heavily > > > but I can't figure out why. Below is my config. > > > > > > > Good evening! > > > > > > > > What checks are you running against the server that is detecting the SYN > > attacks? > > > > The config you posted is the general nagios config, we would need to see > > the services.cfg portions for the affected host(s) > > > > Cheers > > > > > > This message and any attachments (the "message") is > > intended solely for the addressees and is confidential. > > If you receive this message in error, please delete it and > > immediately notify the sender. Any use not in accord with > > its purpose, any dissemination or disclosure, either whole > > or partial, is prohibited except formal approval. The internet > > can not guarantee the integrity of this message. > > BNP PARIBAS (and its subsidiaries) shall (will) not > > therefore be liable for the message if modified. > > > > ********************************************************************************************** > > > > BNP Paribas Private Bank London Branch is authorised > > by CECEI & AMF and is regulated by the Financial Services > > Authority for the conduct of its investment business in > > the United Kingdom. > > > > BNP Paribas Securities Services London Branch is authorised > > by CECEI & AMF and is regulated by the Financial Services > > Authority for the conduct of its investment business in > > the United Kingdom. > > > > BNP Paribas Fund Services UK Limited is authorised and > > regulated by the Financial Services Authority > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From conigliaro at getproactivenow.com Thu Sep 14 21:10:24 2006 From: conigliaro at getproactivenow.com (mike conigliaro) Date: Thu, 14 Sep 2006 15:10:24 -0400 Subject: [ANNOUNCE]: NagiosPluginsNT 0.3.0 Released! Message-ID: <4509A920.1010106@getproactivenow.com> We are pleased to announce the availability of NagiosPluginsNT 0.3.0. This version features several bugfixes, improvements, and a new check_ping plugin (with "packet loss" and "return trip average" performance output) to replace the old check_alive plugin. See the changelog for complete details. ------ [ CHANGELOG ] ------ http://nagiospluginsnt.getproactivenow.com/doku.php?id=changelog ------ [ DOWNLOAD ] ------ http://nagiospluginsnt.getproactivenow.com/download/releases/NagiosPluginsNT-0.3.0-bin.zip http://nagiospluginsnt.getproactivenow.com/download/releases/NagiosPluginsNT-0.3.0-src.zip -- Mike Conigliaro ProActive Technologies conigliaro at getproactivenow.com 203.239.0440 ext:317 www.getproactivenow.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PShelfo at embrex.com Thu Sep 14 22:25:00 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Thu, 14 Sep 2006 16:25:00 -0400 Subject: NSClient Monitoring Service States with a $ Message-ID: I run NSClient on my windows servers which allows you to check the states of NT services. When a service has a $ in the real name (not the display name) the check_nt_services command can't find it. I already tried enclosing the string in quotes "" but that does not work. Is there any way around this or a better remote windows monitoring tool? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Aaron.Segura at cabelas.com Thu Sep 14 22:26:11 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Thu, 14 Sep 2006 14:26:11 -0600 Subject: NSClient Monitoring Service States with a $ Message-ID: <2D0245E43DEC724F81592D697F05689904C430AD@SIDHQEXCHMB1.Cabelas.Corp> $$ I think. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Pete Shelfo Sent: Thursday, September 14, 2006 2:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient Monitoring Service States with a $ I run NSClient on my windows servers which allows you to check the states of NT services. When a service has a $ in the real name (not the display name) the check_nt_services command can't find it. I already tried enclosing the string in quotes "" but that does not work. Is there any way around this or a better remote windows monitoring tool? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Aaron.Segura at cabelas.com Thu Sep 14 22:40:26 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Thu, 14 Sep 2006 14:40:26 -0600 Subject: NSClient Monitoring Service States with a $ Message-ID: <2D0245E43DEC724F81592D697F05689904C430AF@SIDHQEXCHMB1.Cabelas.Corp> http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command command_line: This directive is used to define what is actually executed by Nagios when the command is used for service or host checks, notifications, or event handlers . Before the command line is executed, all valid macros are replaced with their respective values. See the documentation on macros for determining when you can use different macros. Note that the command line is not surrounded in quotes. Also, if you want to pass a dollar sign ($) on the command line, you have to escape it with another dollar sign So use $$ instead of $. Unless I'm misunderstanding the question...which is entirely possible. I don't feel well currently. ________________________________ From: Pete Shelfo [mailto:PShelfo at embrex.com] Sent: Thursday, September 14, 2006 2:36 PM To: Aaron Segura Subject: RE: [Nagios-users] NSClient Monitoring Service States with a $ Do you mean surround the string with $ or add a $ somewhere in the string? It appears $ tells the string to trunk and go to the next variable. ________________________________ From: Aaron Segura [mailto:Aaron.Segura at cabelas.com] Sent: Thursday, September 14, 2006 4:26 PM To: Pete Shelfo; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSClient Monitoring Service States with a $ $$ I think. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Pete Shelfo Sent: Thursday, September 14, 2006 2:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient Monitoring Service States with a $ I run NSClient on my windows servers which allows you to check the states of NT services. When a service has a $ in the real name (not the display name) the check_nt_services command can't find it. I already tried enclosing the string in quotes "" but that does not work. Is there any way around this or a better remote windows monitoring tool? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 lennart.kvam at softronic.se Fri Sep 15 01:34:07 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Fri, 15 Sep 2006 01:34:07 +0200 Subject: check_http -S Message-ID: <308D3417BAD2104895AE72D879B815B60298923C@stsstomail01.softronic.se> Hello all you gurus! I?m struggling with check_http... i have a webbpage (https) that i want to check and log in to! First, is it possible with check_http? Iv tested and read but dont seems to figure it out! This is what i run from commandline! ./check_http -H www.xnterxxxxxxx .com -u /62 -S -a kalle:kalle But whatever i writ after -a works... still get : OK - HTTP/1.1 302 Object Moved - 0.042 second response time |time=0.042236s;;;0.000000 size=205B;;;0 So how do i make it authenticate? Thanks Lelle __\/__ . / ^ ^ \ . |\| (o)(o) |/| #---------------------.OOOo----O0----oOOO.-------------------# # Lennart Kvam # # Softronic AB, Ringv?gen 100, 118 60 Stockholm # # Tel: 0708-813279 Vx:08-51909000 # # lennart.kvam at softronic.se # #______________________Oooo._______________# .oooO ( ) ( ) ) / \ ( (_/ \_) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 erobertstad at perimeterusa.com Fri Sep 15 01:39:04 2006 From: erobertstad at perimeterusa.com (Eirik Robertstad) Date: Thu, 14 Sep 2006 19:39:04 -0400 Subject: check_http -S In-Reply-To: <308D3417BAD2104895AE72D879B815B60298923C@stsstomail01.softronic.se> References: <308D3417BAD2104895AE72D879B815B60298923C@stsstomail01.softronic.se> Message-ID: <4509E818.9060901@perimeterusa.com> --onredirect=follow -- The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: http://www.perimeterusa.com/malicious_code_defense_content.html This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vkyle at acm.org Fri Sep 15 01:47:36 2006 From: vkyle at acm.org (Vern Kyle) Date: Thu, 14 Sep 2006 16:47:36 -0700 Subject: Bizarre Behavior: Nagios Runs of Redhat Linux, but not Fedora Message-ID: <31dadfbb0609141647h1afbeab3o3f159af76356c2c8@mail.gmail.com> Ran into an interesting issue while running nagios. I've been running nagios successfully on both Redhat Enterprise Linux Versions 3 and 4, and now am trying to migrate this to Fedora Core 4. I'm compiling from source on each of the systems using RPMs (own spec files.) Since I'm using RPM to build, I can guarantee the configuration, permissions, etc are the same on both systems. However, when I try to run this on a Fedora Core System I get the: Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. I know my config is legitimate, and when looking for errors, there is nothing in the nagios logs nor the apache log files. Does anyone know of anywhere else I should look in order to troubleshoot this issue? I've been able to duplicate this on both 2.4 and 2.5. I'd be willing to share portions of my configurations as well. Thanks in advance. Vern ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elias.probst at gmx.de Fri Sep 15 01:50:47 2006 From: elias.probst at gmx.de (Elias Probst) Date: Fri, 15 Sep 2006 01:50:47 +0200 Subject: Bizarre Behavior: Nagios Runs of Redhat Linux, but not Fedora In-Reply-To: <31dadfbb0609141647h1afbeab3o3f159af76356c2c8@mail.gmail.com> References: <31dadfbb0609141647h1afbeab3o3f159af76356c2c8@mail.gmail.com> Message-ID: <200609150150.48966.elias.probst@gmx.de> Are your configuration files readable by the nagios-user? Check the permissions. Regards Elias P. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lennart.kvam at softronic.se Fri Sep 15 02:03:45 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Fri, 15 Sep 2006 02:03:45 +0200 Subject: VB: SV: check_http -S Message-ID: <308D3417BAD2104895AE72D879B815B60298923F@stsstomail01.softronic.se> Okej! Lets make it simple! I have a https site with a log in.... I want to check that the log in works with a user:password That's it! :-) and the problem is...i can writ what I want in the user/passwd...still replyes OK //Lelle -----Ursprungligt meddelande----- Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] Skickat: den 15 september 2006 01:53 Till: Kvam Lennart ?mne: Re: SV: [Nagios-users] check_http -S K... I'm not sure what the problem is here? Your results came back with an 'OK' in your first post expect for the fact that it was a redirect. Everything should be fine now. If I'm missing something, please make it a bit more clear of what the issue at hand is. Regards, Eirik lennart.kvam at softronic.se wrote: > Hi! > Thanx for a fast answer.... > Still the same > > ./check_http -H www.intexxxx.com -u /62 -S -a 7xxxxxx04:Kassantestar > -f=follow > > What i?m I missing here:) > > Reegards > lennart > > -----Ursprungligt meddelande----- > Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] > Skickat: den 15 september 2006 01:39 > Till: Kvam Lennart > Kopia: nagios-users at lists.sourceforge.net > ?mne: Re: [Nagios-users] check_http -S > > --onredirect=follow > > > > -- > The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: > http://www.perimeterusa.com/malicious_code_defense_content.html > > This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. > -- The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: http://www.perimeterusa.com/malicious_code_defense_content.html This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lennart.kvam at softronic.se Fri Sep 15 02:06:17 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Fri, 15 Sep 2006 02:06:17 +0200 Subject: check_http -S Message-ID: <308D3417BAD2104895AE72D879B815B602989240@stsstomail01.softronic.se> okej....so far i?m with you...but how about authentication then? This test just says that the page/site is responding:) -----Ursprungligt meddelande----- Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] Skickat: den 15 september 2006 02:01 Till: Kvam Lennart ?mne: Re: SV: SV: [Nagios-users] check_http -S Yeah I get what your trying to do. The thing is... your ARE doing it. ;) Everything IS working fine. OK = Good! That's all your going to get from any check pretty much. OK WARNING CRITICAL UNKNOWN Your verify first thing worked fine: But whatever i writ after -a works... still get : OK - HTTP/1.1 302 Object Moved - 0.042 second response time |time=0.042236s;;;0.000000 size=205B;;;0 But the only thing you where missing was the --onredirect=follow option so that you got rid of the "Object Moved". No worries man, it's working how it should. ;) Change the password to something else and you'll get back CRITICAL saying the login failed. Regards, Eirik lennart.kvam at softronic.se wrote: > Okej! Lets make it simple! > > I have a https site with a log in.... I want to check that the log in > works with a user:password That's it! :-) and the problem is...i can > writ what I want in the user/passwd...still replyes OK > > //Lelle > > -----Ursprungligt meddelande----- > Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] > Skickat: den 15 september 2006 01:53 > Till: Kvam Lennart > ?mne: Re: SV: [Nagios-users] check_http -S > > K... I'm not sure what the problem is here? Your results came back with an 'OK' in your first post expect for the fact that it was a redirect. > Everything should be fine now. If I'm missing something, please make it a bit more clear of what the issue at hand is. > > Regards, > Eirik > > lennart.kvam at softronic.se wrote: > >> Hi! >> Thanx for a fast answer.... >> Still the same >> >> ./check_http -H www.intexxxx.com -u /62 -S -a 7xxxxxx04:Kassantestar >> -f=follow >> >> What i?m I missing here:) >> >> Reegards >> lennart >> >> -----Ursprungligt meddelande----- >> Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] >> Skickat: den 15 september 2006 01:39 >> Till: Kvam Lennart >> Kopia: nagios-users at lists.sourceforge.net >> ?mne: Re: [Nagios-users] check_http -S >> >> --onredirect=follow >> >> >> >> -- >> The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: >> http://www.perimeterusa.com/malicious_code_defense_content.html >> >> This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. >> >> > > > > > -- > The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: > http://www.perimeterusa.com/malicious_code_defense_content.html > > This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. > -- The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: http://www.perimeterusa.com/malicious_code_defense_content.html This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lennart.kvam at softronic.se Fri Sep 15 02:20:37 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Fri, 15 Sep 2006 02:20:37 +0200 Subject: check_http -S Message-ID: <308D3417BAD2104895AE72D879B815B602989241@stsstomail01.softronic.se> He,he.... Thanks man! The problem is that I can write whatever in user:pass....eg nagios:nagios or muppetplugin:muppet it STILL reports OK:-) That's is not ok:) //Lelle -----Ursprungligt meddelande----- Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] Skickat: den 15 september 2006 02:15 Till: Kvam Lennart ?mne: Re: SV: SV: SV: [Nagios-users] check_http -S the -a is the authentication. Again, it's working fine, everything is "OK". What more do you want from it? You have requested a url (-u), from a host (-H), and have logged in with a username and password (-a user:pass), and have returned a status of "OK" back to Nagios. You even have the response time being returned, so you know how quickly it took. check_http --help :) There isn't a problem here, lol. Read the docs and get some sleep, have you used Nagios before? What am I missing here? lennart.kvam at softronic.se wrote: > okej....so far i?m with you...but how about authentication then? This > test just says that the page/site is responding:) > > -----Ursprungligt meddelande----- > Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] > Skickat: den 15 september 2006 02:01 > Till: Kvam Lennart > ?mne: Re: SV: SV: [Nagios-users] check_http -S > > Yeah I get what your trying to do. The thing is... your ARE doing it. ;) Everything IS working fine. > > OK = Good! > > That's all your going to get from any check pretty much. > OK > WARNING > CRITICAL > UNKNOWN > > Your verify first thing worked fine: > > But whatever i writ after -a works... still get : > OK - HTTP/1.1 302 Object Moved - 0.042 second response time > |time=0.042236s;;;0.000000 size=205B;;;0 > > But the only thing you where missing was the > > --onredirect=follow > > > > option so that you got rid of the "Object Moved". No worries man, it's working how it should. ;) Change the password to something else and you'll get back CRITICAL saying the login failed. > > Regards, > Eirik > > lennart.kvam at softronic.se wrote: > >> Okej! Lets make it simple! >> >> I have a https site with a log in.... I want to check that the log in >> works with a user:password That's it! :-) and the problem is...i can >> writ what I want in the user/passwd...still replyes OK >> >> //Lelle >> >> -----Ursprungligt meddelande----- >> Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] >> Skickat: den 15 september 2006 01:53 >> Till: Kvam Lennart >> ?mne: Re: SV: [Nagios-users] check_http -S >> >> K... I'm not sure what the problem is here? Your results came back with an 'OK' in your first post expect for the fact that it was a redirect. >> Everything should be fine now. If I'm missing something, please make it a bit more clear of what the issue at hand is. >> >> Regards, >> Eirik >> >> lennart.kvam at softronic.se wrote: >> >> >>> Hi! >>> Thanx for a fast answer.... >>> Still the same >>> >>> ./check_http -H www.intexxxx.com -u /62 -S -a 7xxxxxx04:Kassantestar >>> -f=follow >>> >>> What i?m I missing here:) >>> >>> Reegards >>> lennart >>> >>> -----Ursprungligt meddelande----- >>> Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] >>> Skickat: den 15 september 2006 01:39 >>> Till: Kvam Lennart >>> Kopia: nagios-users at lists.sourceforge.net >>> ?mne: Re: [Nagios-users] check_http -S >>> >>> --onredirect=follow >>> >>> >>> >>> -- >>> The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: >>> http://www.perimeterusa.com/malicious_code_defense_content.html >>> >>> This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. >>> >>> >>> >> >> >> -- >> The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: >> http://www.perimeterusa.com/malicious_code_defense_content.html >> >> This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. >> >> > > > > > -- > The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: > http://www.perimeterusa.com/malicious_code_defense_content.html > > This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. > > -- The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: http://www.perimeterusa.com/malicious_code_defense_content.html This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lennart.kvam at softronic.se Fri Sep 15 02:31:35 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Fri, 15 Sep 2006 02:31:35 +0200 Subject: check_http -S Message-ID: <308D3417BAD2104895AE72D879B815B602989242@stsstomail01.softronic.se> Aaahh...and now i`m with you.... One more stupid question:) The webinject thing....do I install it on my nagiosserver or the "client"? I guess nagiosserver!?:) Thanks for your help and time...soon its bedtime...afterall*L* //Lelle -----Ursprungligt meddelande----- Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] Skickat: den 15 september 2006 02:24 Till: Kvam Lennart ?mne: Re: [Nagios-users] check_http -S Ahhh, now see that's different. :) What is it you get exactly as the output? More then likely the website doesn't use the ssl login, maybe it's javascript or such. In that case you will need a different plugin that can read the website, or something like WebInject: http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view]=321 check_http is just returning what ever code the web server will return, so if a failure to login, actually generates a real page instead of an error, check_http will say everything is fine. Sorry I didn't understand you at first, hope this helps. :) Regards. lennart.kvam at softronic.se wrote: > He,he.... Thanks man! > The problem is that I can write whatever in user:pass....eg > nagios:nagios or muppetplugin:muppet it STILL reports OK:-) That's is > not ok:) > > //Lelle > > -----Ursprungligt meddelande----- > Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] > Skickat: den 15 september 2006 02:15 > Till: Kvam Lennart > ?mne: Re: SV: SV: SV: [Nagios-users] check_http -S > > the -a is the authentication. Again, it's working fine, everything is "OK". What more do you want from it? You have requested a url (-u), from a host (-H), and have logged in with a username and password (-a user:pass), and have returned a status of "OK" back to Nagios. You even have the response time being returned, so you know how quickly it took. > > check_http --help > > :) > > There isn't a problem here, lol. Read the docs and get some sleep, have you used Nagios before? > > What am I missing here? > > lennart.kvam at softronic.se wrote: > >> okej....so far i?m with you...but how about authentication then? >> This test just says that the page/site is responding:) >> >> -----Ursprungligt meddelande----- >> Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] >> Skickat: den 15 september 2006 02:01 >> Till: Kvam Lennart >> ?mne: Re: SV: SV: [Nagios-users] check_http -S >> >> Yeah I get what your trying to do. The thing is... your ARE doing it. ;) Everything IS working fine. >> >> OK = Good! >> >> That's all your going to get from any check pretty much. >> OK >> WARNING >> CRITICAL >> UNKNOWN >> >> Your verify first thing worked fine: >> >> But whatever i writ after -a works... still get : >> OK - HTTP/1.1 302 Object Moved - 0.042 second response time >> |time=0.042236s;;;0.000000 size=205B;;;0 >> >> But the only thing you where missing was the >> >> --onredirect=follow >> >> >> >> option so that you got rid of the "Object Moved". No worries man, it's working how it should. ;) Change the password to something else and you'll get back CRITICAL saying the login failed. >> >> Regards, >> Eirik >> >> lennart.kvam at softronic.se wrote: >> >> >>> Okej! Lets make it simple! >>> >>> I have a https site with a log in.... I want to check that the log >>> in works with a user:password That's it! :-) and the problem is...i >>> can writ what I want in the user/passwd...still replyes OK >>> >>> //Lelle >>> >>> -----Ursprungligt meddelande----- >>> Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] >>> Skickat: den 15 september 2006 01:53 >>> Till: Kvam Lennart >>> ?mne: Re: SV: [Nagios-users] check_http -S >>> >>> K... I'm not sure what the problem is here? Your results came back with an 'OK' in your first post expect for the fact that it was a redirect. >>> Everything should be fine now. If I'm missing something, please make it a bit more clear of what the issue at hand is. >>> >>> Regards, >>> Eirik >>> >>> lennart.kvam at softronic.se wrote: >>> >>> >>> >>>> Hi! >>>> Thanx for a fast answer.... >>>> Still the same >>>> >>>> ./check_http -H www.intexxxx.com -u /62 -S -a >>>> 7xxxxxx04:Kassantestar -f=follow >>>> >>>> What i?m I missing here:) >>>> >>>> Reegards >>>> lennart >>>> >>>> -----Ursprungligt meddelande----- >>>> Fr?n: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] >>>> Skickat: den 15 september 2006 01:39 >>>> Till: Kvam Lennart >>>> Kopia: nagios-users at lists.sourceforge.net >>>> ?mne: Re: [Nagios-users] check_http -S >>>> >>>> --onredirect=follow >>>> >>>> >>>> >>>> -- >>>> The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: >>>> http://www.perimeterusa.com/malicious_code_defense_content.html >>>> >>>> This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. >>>> >>>> >>>> >>>> >>> -- >>> The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: >>> http://www.perimeterusa.com/malicious_code_defense_content.html >>> >>> This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. >>> >>> >>> >> >> >> -- >> The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: >> http://www.perimeterusa.com/malicious_code_defense_content.html >> >> This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. >> >> >> > > > > > -- > The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: > http://www.perimeterusa.com/malicious_code_defense_content.html > > This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. > > ---------------------------------------------------------------------- > --- Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > 42 _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: http://www.perimeterusa.com/malicious_code_defense_content.html This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 15 04:03:16 2006 From: he_anton at yahoo.com (hendro budianto) Date: Thu, 14 Sep 2006 19:03:16 -0700 (PDT) Subject: **ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol "$script" requires explicit package name at (eval 1) line 29 In-Reply-To: References: Message-ID: <20060915020316.9850.qmail@web52009.mail.yahoo.com> Thx's Rob, for your help, but if i run the command manual is working fine. I wonder what wrong with my configurations ? After added a new "my $script", the other error is occur "Global symbol "$timeout" or the other that begining with "$". Should i append the variable my $"XXXX" all manual ? Thank you before. Best regards Hendro B --- rob.moss at uk.bnpparibas.com wrote: > Yeah, it's a basic perl error saying that the script > hasn't declared the > variable before using it. > > Edit the script and right up the top where you see > other entries similar to > > my $variable; > my $othervaraible = "foo"; > > add in > > my $script; > > You could just turn off warnings, but that is bad > practice and causes > further problems just like this one. > > rob > > > > |------------------------------------------> > | Internet | > | mark.duffy at tney.northy.nhs.uk | > | | > | | > | Sent by: | > | nagios-users-bounces at lists.sourc| > | eforge.net | > | | > | 13/09/2006 10:11 | > |------------------------------------------> > > >---------------------------------------------------------------------------------------------------------------| > | > > | > | > > | > | > > To| > | nagios-users > > | > | > > cc| > | > > | > | > > Subject| > | Re: [Nagios-users] **ePN failed to > compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: > | > | "Globalsymbol "$script" requires explicit > package name at (eval 1) line 29 > | > | > > | > | > > | > | > > | > | > > | > | > > | > | > > | > > >---------------------------------------------------------------------------------------------------------------| > > > > > I got this error when I had the embedded Perl > interpreter installed, I'm > no programmer so I just recompiled without the > embedded Perl > interpreter, and if anyone does know a solution to > this it would be > great as it would speed up my checks no end. > > Regards, > Mark > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of hendro > budianto > > Sent: 13 September 2006 08:12 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] **ePN failed to > > > compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: > "Globalsymbol > > "$script" requires explicit package name at (eval > 1) line 29 > > > > Hi, > > My os is CentOS 4.0, nagios-devel-2.5-1.el4.rf, > > nagios-2.5-1.el4.rf and > > nagios-plugins-1.4.2-1.2.el4.rf. > > I already download check_snmp_cisco_memutil, > loadavg > > and ifstatus from nagiosexchange.org. Adding > command > > at /etc/nagios/checkcommand.cfg and services.cfg. > But > > the error is occur at Status Information: **ePN > failed > > to compile > > /usr/lib/nagios/plugins/check_snmp_cisco_memutil: > > "Global symbol "$script" requires explicit package > > name at (eval 1) line 29. > > > > Could anyone help me ? I want to implementation to > my > > office . > > > > > > Best regards, > > > > > > Hendro B > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > ------------------------------------------------------------------------ > - > > Using Tomcat but need to do more? Need to support > web services, > security? > > Get stuff done quickly with pre-integrated > technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 > based on Apache > Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > This email may contain confidential information and > may be read, > copied and used only by the intended recipient. > > The information in this email transmission may not > be legally revealed > and is intended only for the use of the > individual(s) named above. If > you are not the intended recipient you are hereby > notified that any use, > dissemination, distribution or copying of this email > message or its > information is strictly prohibited. > > > If you have received this email in error please > notify the sender by reply > or by telephoning +44 (0)1642 283949. > Delete this message from your email system(s) and do > not disclose its > contents to any person. > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 > based === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias.eble at mailing.kaufland-informationssysteme.com Fri Sep 15 06:12:25 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Fri, 15 Sep 2006 06:12:25 +0200 Subject: config file activation after changes Message-ID: <450A2829.8050001@mailing.kaufland-informationssysteme.com> Hi All, my nagios instance showed some strange behaviour a couple of minutes ago. I changed a couple of services to notifications_enabled 0 in the configfiles, but the deamon didn't recognize the changes after reloading and restarting. (yes, i checked for duplicate processes). So I changed the service description, reloaded nagios and the changes were activated. I then changed the description back, reloaded -> everything fine.. notifications disabled. The "View Config" cgi showed everything correctly all the time (I guess it parses the configfiles, not the status files, right?) To me it looks like a bug up to now. Has anyone some ideas? matthias ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From odenbach at uni-paderborn.de Fri Sep 15 09:20:31 2006 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Fri, 15 Sep 2006 09:20:31 +0200 Subject: VB: SV: check_http -S In-Reply-To: <308D3417BAD2104895AE72D879B815B60298923F@stsstomail01.softronic.se> References: <308D3417BAD2104895AE72D879B815B60298923F@stsstomail01.softronic.se> Message-ID: <200609150920.32442.odenbach@uni-paderborn.de> Hi, > I have a https site with a log in.... I want to check that the log in > works with a user:password That's it! :-) and the problem is...i can > writ what I want in the user/passwd...still replyes OK I suppose the website you want to check does not use HTTP Basic Authentication (which the -a switch of check_http uses). Maybe it uses a form where you have to enter username and password and then press the submit button? In this case you need the -P switch for posting your credentials. If you are not sure, just use a browser: Do you get a popup windows from your browser which asks you to enter username and password? Then it's basic auth. Or do you get a form? Then it's application specific and you need to post your data. If the site is publically available, just tell us the URL and we will be able to help you. 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 stanleyhopcroft at gmail.com Fri Sep 15 10:11:01 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Fri, 15 Sep 2006 18:11:01 +1000 Subject: **ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol "$script" requires explicit package name at (eval 1) line 29 In-Reply-To: <20060915020316.9850.qmail@web52009.mail.yahoo.com> References: <20060915020316.9850.qmail@web52009.mail.yahoo.com> Message-ID: Dear Hendro, I am writing to thank you for your letter and say, On 15/09/06, hendro budianto wrote: > Thx's Rob, > for your help, but if i run the command manual is > working fine. Exactly, because what is run by ePN is not what you run. ePN takes the script and turns it into another script in which the original script is wrapped up as a subroutine (see http://nagios.sourceforge.net/docs/2_0/embeddedperl.html for the gory details). This subroutine is compiled only once - compared with every time if a shell was forked to run Perl - and the resulting Perl byte code remains in memory as long as Nagios runs (that is why it is such a memory pig). Also, when its compiled, the strict pragma is used. This means that each and every variable must be declared before use by my $foo = 'bar' ; > I wonder what wrong with my > configurations ? Nothing. This is simply part of the ePN tradeoff: better performance for pickiness about what is run and lots of memory used. > After added a new "my $script", the > other error is occur "Global symbol "$timeout" or the > other that begining with "$". Should i append the > variable my $"XXXX" all manual ? Yes. To know when you are there without having ePN complain each time 1 add 'use strict' to the plugin 2 correct everything that perl -c plugin complains about Either that or don't use ePN. You can not use ePN by 1 changing the command definition (of the plugin) in commands.cfg to add an explict path to Perl before the plugin path eg command_line $USER1$/check_rootport -H $HOSTADDRESS$ -N $HOSTNAME change to command_line /usr/bin/perl $USER1$/check_rootport -H $HOSTADDRESS$ -N $HOSTNAME This was discussed in the last week in this list. 2 calling the plugin from a shell or C wrapper (much harder). > > Thank you before. > > Best regards Good luck. Yours sincerely. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Fri Sep 15 10:51:22 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Fri, 15 Sep 2006 09:51:22 +0100 Subject: **ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol "$script" requires explicit package name at (eval 1) line 29 In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 15/09/2006 09:11:01: > Dear Hendro, > > I am writing to thank you for your letter and say, > > On 15/09/06, hendro budianto wrote: > > Thx's Rob, > > for your help, but if i run the command manual is > > working fine. > > Exactly, because what is run by ePN is not what you run. > > ePN takes the script and turns it into another script in which the > original script is wrapped up as a subroutine (see > http://nagios.sourceforge.net/docs/2_0/embeddedperl.html for the gory > details). > > This subroutine is compiled only once - compared with every time if a > shell was forked to run Perl - and the resulting Perl byte code > remains in memory as long as Nagios runs (that is why it is such a > memory pig). > > Also, when its compiled, the strict pragma is used. This means that > each and every variable must be declared before use by > > my $foo = 'bar' ; Thanks for picking that one up Stanley.. I had to leave work before the reply came in.. The core of the problem is the original coder didn't enable Strict syntax checking, and probably didn't enable warnings. Nagios's ePN plugin does the right thing and uses Strict syntax checking and gives warnings (this is standard perl practice).. You will need to contact the developer of the plugin to tidy up his code, or you can go in yourself and declare the variables yourself like I showed you, adding in the "my $var;" statement, or you could go the lazy route and run the script through an external perl interpereter without warnings or syntax checking, but losing lots of speed from launching an external process to compile + run the script every 5 minutes instead of running the internally compiled script.. There is apparently an ePN commandline util that you may be able to run which should work exactly the same as the embedded perl interpereter, you may need to check this in the docs or source.. And it looks like that Stanley has already said exactly the same thing :-) Cheers > > I wonder what wrong with my > > configurations ? > > Nothing. This is simply part of the ePN tradeoff: better performance > for pickiness about what is run and lots of memory used. > > > After added a new "my $script", the > > other error is occur "Global symbol "$timeout" or the > > other that begining with "$". Should i append the > > variable my $"XXXX" all manual ? > > Yes. > > To know when you are there without having ePN complain each time > > 1 add 'use strict' to the plugin > > 2 correct everything that perl -c plugin complains about > > Either that or don't use ePN. > > You can not use ePN by > > 1 changing the command definition (of the plugin) in commands.cfg to > add an explict path to Perl before the plugin path > > eg command_line $USER1$/check_rootport -H $HOSTADDRESS$ -N $HOSTNAME > > change to > > command_line /usr/bin/perl $USER1$/check_rootport -H $HOSTADDRESS$ > -N $HOSTNAME > > > > This was discussed in the last week in this list. > > 2 calling the plugin from a shell or C wrapper (much harder). > > > > > Thank you before. > > > > Best regards > > Good luck. > > Yours sincerely. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Fri Sep 15 11:27:12 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Fri, 15 Sep 2006 19:27:12 +1000 Subject: **ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol "$script" requires explicit package name at (eval 1) line 29 In-Reply-To: References: Message-ID: Dear Rob, I am writing to thank you for your letter and say, On 15/09/06, rob.moss at uk.bnpparibas.com wrote: > nagios-users-bounces at lists.sourceforge.net wrote on 15/09/2006 09:11:01: > > Thanks for picking that one up Stanley.. I had to leave work before the > reply came in.. > > The core of the problem is the original coder didn't enable Strict syntax > checking, and probably didn't enable warnings. Nagios's ePN plugin does > the right thing and uses Strict syntax checking and gives warnings (this is > standard perl practice).. > > You will need to contact the developer of the plugin to tidy up his code, > or you can go in yourself and declare the variables yourself like I showed > you, adding in the "my $var;" statement, or you could go the lazy route and > run the script through an external perl interpereter without warnings or > syntax checking, but losing lots of speed from launching an external > process to compile + run the script every 5 minutes instead of running the > internally compiled script.. > Yep. > There is apparently an ePN commandline util that you may be able to run > which should work exactly the same as the embedded perl interpereter, you > may need to check this in the docs or source.. > contrib/new_mini_epn.c On the Dag RPM for RHEL systems, it is built (Yay Dag) and installed in /usr/bin [sh1517 at acisf011 sh1517]$ uname -a Linux acisf011.portfolio.base 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:31:57 EDT 2004 i686 athlon i386 GNU/Linux [sh1517 at acisf011 sh1517]$ ls -l /usr/bin/new_mini_epn -rwxrwxr-x 1 root root 16180 Jul 27 16:04 /usr/bin/new_mini_epn [sh1517 at acisf011 sh1517]$ It is a bit hard to use but useful (it supports the Perl Term::ReadLine module so there is command history). Here is how I recommend using it 1 cd to your plugin directory or your dev directory 2 cp the p1.pl into this path 3 cp the new_mini_epn into this path Fire it up. [sh1517 at acisf011 switches]$ cp /usr/bin/p1.pl . [sh1517 at acisf011 switches]$ cp /usr/bin/new_mini_epn . [sh1517 at acisf011 switches]$ ./new_mini_epn plugin command line: check_rootport embedded perl plugin return code and output was: 3 & Must specify non-null value for -H option. Outahere. plugin command line: check_rootport -h embedded perl plugin return code and output was: 0 & check_rootport (nagios-plugins 1.4) 1.8 plugin command line: check_rootport -H 10.0.254.161 embedded perl plugin return code and output was: 0 & Ok. No topology change: root port of 10.0.254.161 has not changed from that expected: 1. See
Current spanning tree graph. plugin command line: check_rootport -H 10.0.254.171 embedded perl plugin return code and output was: 0 & Ok. No topology change: root port of 10.0.254.171 has not changed from that expected: 50. See Current spanning tree graph. plugin command line: check_rootport -H 10.0.254.181 embedded perl plugin return code and output was: 3 & Switch 10.0.254.181 not found in %std_building_switch2root_port. Outahere. plugin command line: check_rootport -H 10.0.254.191 embedded perl plugin return code and output was: 3 & Switch 10.0.254.191 not found in %std_building_switch2root_port. Outahere. plugin command line: That's all folks. [sh1517 at acisf011 switches]$ HTH. Yours sincerely. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Fri Sep 15 11:34:21 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Fri, 15 Sep 2006 10:34:21 +0100 Subject: Still having problems with check_disk_smb In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 14/09/2006 19:14:52: > Does any know how to deal with these issues in this script? > > [root at moveit /usr/nagios/libexec] 72# ./check_disk_smb -H > fileserver.mvalent.net -s Software -W MVALENT -w 5G -c 2G Use of > uninitialized value in concatenation (.) or string at ./check_disk_smb line > 61. Argument "2G" isn't numeric in numeric gt (>) at ./check_disk_smb line > 97. Argument "5G" isn't numeric in numeric gt (>) at ./check_disk_smb line > 97. Domain=[MVALENT] OS=[UNKNOWN] Server=[UNKNOWN] Disk ok - 14.16G (4%) > free on \\fileserver.mvalent.net\Software [root at moveit > /usr/nagios/libexec] 73# The arguments you're giving this script aren't all numeric: 5G is not a number that it can add together with another number. Try 5000000 for 5 Gigabytes etc.. rob This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matteo.corti at id.ethz.ch Fri Sep 15 11:37:59 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Fri, 15 Sep 2006 11:37:59 +0200 Subject: notification_interval (per user) Message-ID: <450A7477.1060107@id.ethz.ch> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I know that it is possible to limit to 1 the number of sent out messages with the notification_interval option but as far as I know this is just possible in the definition of hosts and services. Instead I would like to set it for one contact. In other words I would like that a single contact receives the notifications just once. In my case I have two contacts: corti_sms and corti with different notification periods. It would be nice if I could (for the same service) have regular emails sent to corti and just one sms sent to corti_sms. Any suggestion? Many thanks, Matteo - -- Matteo Corti ETH Zurich matteo.corti at id.ethz.ch -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFCnR3LEG/T0gggJsRAmd7AKDPOPoEFvRqqpC64JMqEaaGeXR9rQCghCYt 1G0mqn8gQyCCfCFV+SdV1/Q= =md/R -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Fri Sep 15 11:59:56 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Fri, 15 Sep 2006 10:59:56 +0100 Subject: SYN attacks from nagios In-Reply-To: <8ee061010609141130t7ca0412ke721a3c5673802f4@mail.gmail.com> References: <8ee061010609141130t7ca0412ke721a3c5673802f4@mail.gmail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 14/09/2006 19:30:29: > The device that is detecting the "attack" is a content switch, which > sits in front of all the hosts. There isn't a particular command that > is triggering the alert. > > Here are two that I have seen for sure: > > define service { > name check_nt_cpu > check_command check_nt_cpu!1111!foo!10,90,95,60,80,95,1440,80,95 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 3 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 0 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 5 > notification_period 24x7 > notifications_enabled 1 > register 0 > notification_options w,u,c,r > } > > define service { > name pmo-service-24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 3 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 0 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 5 > notification_period 24x7 > notifications_enabled 1 > register 0 > notification_options w,u,c,r > } > > > These are just templates but contain all the info that is important to > this discussion. These are the same as the 1.2 host as well. Morning.. Okay.. so the content switch is detecting the SYN attacks on multiple hosts.. Is the check check_nt_cpu running an NRPE_nt / NSClient++ check? These do use TCP.. Not sure what the check_nt_cpu check actually does because you haven't provided it here. it comes from the commands.cfg file.. I would say (without further investigation and no knoweledge of your network archetecture) that the content switch is probably just doing it's job, and is configured with some very low thresholds for SYN Flood protection.. Check out the thresholds, see if they are lower than the amount of checks the Nagios server is running through the server. Here's an equation for you so you can work out the servers polling frequency to match it up to the network switch thresholds Number of Hosts * ( Number of Services per host ( 60 Mins / Check interval for services ) ) = Num of checks per hour I would say these are probably a false alarm and adjust the parameters up a little higher. If you are really concerned, you might want to do some more digging and find exactly which hosts are being SYN Flooded, the amount of packets per second, the TCP ports being opened and the source port(s) of the attack. Two programs which will assist you in this are: tcpdump (cmdline) or ethereal (cmdline and X) Good luck > On 9/14/06, Donnell Lewis wrote: > > Did the 'ping' command check itself change from the 2 different > > versions ? Check in checkcommands.cfg, see if the command definition is > > the same between the two. > > > > -DL > > > > On Thu, 2006-09-14 at 17:07 +0100, rob.moss at uk.bnpparibas.com wrote: > > > nagios-users-bounces at lists.sourceforge.net wrote on 14/09/2006 17:00:29: > > > > > > > Good morning, > > > > > > > > I have 2 nagios servers. One is running 1.2 and the other is running > > > > 2.5. Both are running in parallel while I migrate to the 2.5 machine. > > > > Our content switch is detecting that the 2.5 machine is SYN attacking > > > > hosts. Both servers have very similar monitoring sets and similar > > > > configurations. I have gone through the config and nothing stands > > > > out. Obviously, the 2.5 machine is pounding the servers more heavily > > > > but I can't figure out why. Below is my config. > > > > > > > > > > Good evening! > > > > > > > > > > > > What checks are you running against the server that is detecting the SYN > > > attacks? > > > > > > The config you posted is the general nagios config, we would need to see > > > the services.cfg portions for the affected host(s) > > > > > > Cheers This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Fri Sep 15 12:07:29 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Fri, 15 Sep 2006 11:07:29 +0100 Subject: notification_interval (per user) In-Reply-To: <450A7477.1060107@id.ethz.ch> References: <450A7477.1060107@id.ethz.ch> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 15/09/2006 10:37:59: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I know that it is possible to limit to 1 the number of sent out messages > with the notification_interval option but as far as I know this is just > possible in the definition of hosts and services. > > Instead I would like to set it for one contact. In other words I would > like that a single contact receives the notifications just once. Set the notification_interval to 0 which makes sure that only 1 email or page is sent out It's in the docs if you need further info rob This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 15 12:42:48 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 15 Sep 2006 11:42:48 +0100 Subject: check_http -S In-Reply-To: <308D3417BAD2104895AE72D879B815B602989242@stsstomail01.softronic.se> References: <308D3417BAD2104895AE72D879B815B602989242@stsstomail01.softronic.se> Message-ID: <450A83A8.5060802@googlemail.com> I use webinject on the nagios monitoring server, you will need to create one or two config xml files for it for each login. Get it to parse the redirect result and test you got the right page returned. Also make sure that the report type is set to nagios to supply the correct exit codes and single output line. See the docs, they're ok. -h -- Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matteo.corti at id.ethz.ch Fri Sep 15 15:13:59 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Fri, 15 Sep 2006 15:13:59 +0200 Subject: notification_interval (per user) In-Reply-To: References: Message-ID: <450AA717.2030504@id.ethz.ch> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 rob.moss at uk.bnpparibas.com wrote: > nagios-users-bounces at lists.sourceforge.net wrote on 15/09/2006 10:37:59: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi, >> >> I know that it is possible to limit to 1 the number of sent out messages >> with the notification_interval option but as far as I know this is just >> possible in the definition of hosts and services. >> >> Instead I would like to set it for one contact. In other words I would >> like that a single contact receives the notifications just once. > > Set the notification_interval to 0 which makes sure that only 1 email or > page is sent out > > It's in the docs if you need further info Thanks. I know but this (as far as I understood) can only be set for a given service not a given contact. This means that I should duplicate *every* service and for each service: service1 notify contact_sms once per sms service1 notify contact every 120m per email I have more or less 50 entries that I should duplicate. I would like something like service1 notify contact_sms, contact per sms and email and then in contacs.cfg set globally that corti_sms should receive only one notification. Thanks again Matteo - -- Matteo Corti ETH Zurich matteo.corti at id.ethz.ch -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFCqcXLEG/T0gggJsRAluDAKCtPGsf+oElLQLvYXmcV5Ufk58WtQCeJdKd jKtEY9azL82leHcTQc8ST64= =Bo7X -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From croy+nagios at infiniweb.ca Fri Sep 15 16:45:17 2006 From: croy+nagios at infiniweb.ca (Christian Roy) Date: Fri, 15 Sep 2006 14:45:17 +0000 (UTC) Subject: Warning - running nagios did not exit in time Message-ID: Hello, Server where nagios is located: Red Hat Linux release 7.2 (Enigma) Apache .2.2.3 gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98 ) Server that I want to monitor (nrpe installed): Fedora Core release 2 (Tettnang) Apache .2.2.3 version gcc 3.3.3 20040412 (Red Hat Linux 3.3.3-7) I have been using nagios v1.x for some time now on a different server (and network). I am doing a new installation of the 2.5 release. I am starting fresh, I am not trying to import anything. I installed an RPM version by rebuilding the src rpm. When I start nagios (/etc/init.d/nagios start) I get no errors: Starting network monitor: nagios In the nagios.log I see no errors: [1158259211] Nagios 2.5 starting... (PID=23923) [1158259211] LOG VERSION: 2.0 [1158259211] Finished daemonizing... (New PID=25591) The file /var/log/messages has similar lines. nagios -s reports: Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 1 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 30 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 6 Total scheduled services: 6 Service inter-check delay method: SMART Average service check interval: 300.00 sec Inter-check delay: 50.00 sec Interleave factor method: SMART Average services per host: 6.00 Service interleave factor: 6 Max service check spread: 30 min First scheduled check: Fri Sep 15 16:30:51 2006 Last scheduled check: Fri Sep 15 16:35:01 2006 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. I used the minimal.cfg file, renamed it and simply changed the definitions for the services, hosts, contact, etc.. I also changed the chekc_commands to use the check_nrpe like this : define command{ command_name check_nrpe command_line .../check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } define service { ... check_command check_nrpe!check_disk1 } I have the nrpe deaemon running on the remote host with the IP of where nagios is in the allowed_host config (running as xinet.d) and I have verified it is running by telnet localhost 5666 and getting a connection from both servers (nagios server and the server I want to monitor). At first, I had check external commands disabled. I could use the web interface but all services were PENDING and staying PENDING even after the time went past the next scheduled check. And when I was trying to stop nagios (/etc/init.d/nagios stop) I would get an error (the only error I saw in all this mess): Stopping network monitor: nagios Waiting for nagios to exit . . . . . . . . . . . Warning - running nagios did not exit in time Some left over nagios process is left running and I have to "killall -9 nagios" to stop nagios otherwise I end up having multiple copies running. I've enabled check extern commands and changed the "rw" directory's permission based on the documentation (http://nagios.sourceforge.net/docs/2_0/commandfile.html) and now the web says nagios is not running even though I restarted apache and nagios. Error I get is : "Whoops! Error: Could not read host and service status information!" However nagios IS running. (ps awux | grep nagios shows 3 processes) apache is running as "daemon" so I have added secondary group nagiocmd to nagios and to daemon. the permission of the directory is: drwxrws--- nagios nagiocmd /var/log/nagios/rw/ When I run nagios -v /etc/nagios/nagios.cfg I get no warning and no errors (Things look okay). I have 6 services, one host, one host group, one contact, one contact group, 9 commands and one timeperiod. I've disabled the retention as suggested in this forum for services and hosts left in "PENDING", but no use. I would very much like to force a check using the CGI but I am having trouble there too. The log directory does not contains a status.log file, I do not know if that's relevant. I tried starting the daemon by hand (nagios -d /etc/nagios/nagios.cfg) but I got no error messages there either. I've searched on google to the only error message (in the title of this post) but only found reference to the script. I went over the parts of the documentation that seem related to my problem, I've looked thru the nagios FAQ and the forum. So in summary, nagios cannot be stopped properly, the services are never checked, maybe a log file is missing, there's not really any usefull error messages and I am lossing patience! I think I have done everything I can possibly can but I must be missing something that is too obvious and too simple for me to see, or something related to some information I am not aware of. Any pointers would be appreciated. Thank you Christian Roy ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martoq at tetramid.com Fri Sep 15 17:22:01 2006 From: martoq at tetramid.com (martoq) Date: Fri, 15 Sep 2006 11:22:01 -0400 Subject: 2.5 Host Check not working after upgrade Message-ID: <450AC519.8010001@tetramid.com> Hello All, I have been searching the mailing list and really haven't seen anyone with this problem. I hope you all can help. I recently upgraded from 2.0 to 2.5. After doing so, host checking no longer works. Nagios just reports my hosts down. I do have services on them. It even fails on localhost. I have taken a default install of 2.5 and get the exact same error. Heres what I have as well as the error I see on the webpage. Now I want to point out, whats weird on the webpage is the status, it shows the node as being down and reads: Host Status: DOWN Status Information: /bin/ping -n -U -w 10 -c 1 127.0.0.1 Performance Data: Current Attempt: 1/10 State Type: HARD Last Check Type: ACTIVE Last Check Time: 09-15-2006 11:09:11 Status Data Age: 0d 0h 0m 14s Next Scheduled Active Check: N/A Latency: 0.000 seconds Check Duration: 0.016 seconds Last State Change: 09-15-2006 10:31:14 Current State Duration: 0d 0h 38m 11s Last Host Notification: 09-15-2006 10:31:14 Current Notification Number: 1 Is This Host Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 09-15-2006 11:09:16 Below is my host information and configs: ############################ Host: Mandrake 2006 Relavent Config: define host{ use generic-host host_name localhost alias localhost address 127.0.0.1 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups localhost-admins } # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } ############################## Any help would be GREATLY appreciated. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias.eble at mailing.kaufland-informationssysteme.com Fri Sep 15 17:27:46 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Fri, 15 Sep 2006 17:27:46 +0200 Subject: config file activation after changes In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB7904E44D52@MAILBOXSEVEN.home.ku.edu> References: <9632C3DAB675864EB0A9B7724D85DB7904E44D52@MAILBOXSEVEN.home.ku.edu> Message-ID: <450AC672.50808@mailing.kaufland-informationssysteme.com> Sloane, Robert Raymond schrieb: > You were probably hit by state retention. Take a look at the > documentation for notifications_enabled and you will see a footnote: > > Retention Notes > > It is important to point out that several directives in host and service > definitions may not be picked up by Nagios when you change them. Host > and service directives that can exhibit this behavior are marked with an > asterisk (*). The reason for this behavior is due to the fact that > Nagios chooses to honor values stored in the state retention file over > values found in the config files, assuming you have state retention > enabled on a program-wide basis and the value of the directive is > changed during runtime (by submitting an external command). > > One way to get around this problem is to disable the retention of > non-status information using the retain_nonstatus_information directive > in the host and service definitions. Disabling this directive will cause > Nagios to take the initial values for these directives from your config > files, rather than from the state retention file when it (re)starts. > Using this option is not recommended, as it may result in some > unexpected (from your point of view) results. > > Alternatively, you can issue the appropriate external command or change > the value of the host or service directive via the web interface, so > that it matches what you've changed it to in the config files. This is > usually done by using the extended information CGI. This option takes a > bit more work, but is preferable to disabling the retention of > non-status information (mentioned above). argh.. I guess I flew over this one a bit too fast. I saw the footmark but didn't read it carefully since I expected retention to only contain the service state. thanks a lot. matthias ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrabe at gmail.com Fri Sep 15 17:54:41 2006 From: travisrabe at gmail.com (Travis Rabe) Date: Fri, 15 Sep 2006 08:54:41 -0700 Subject: More meaningful Nagios Map(s) Message-ID: <75082b000609150854n12a67315n5260f09e2c18e36@mail.gmail.com> Hello, I have been trying to see what it is I need to do in order to create more meaningful and descriptive Nagios Maps. I saw this screenshot on the site, http://nagios.sourceforge.net/images/screens/big/statusmap.jpg, and this is more of what I want to accomplish. Right now all I have is everythign coming form the Nagios image. Is this all done with dependencies? I have added some and it seems to have no affect. Any help would be greatly appreciated. -- Regards, Travis Rabe travisrabe at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 matthias.eble at mailing.kaufland-informationssysteme.com Fri Sep 15 17:59:56 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Fri, 15 Sep 2006 17:59:56 +0200 Subject: More meaningful Nagios Map(s) In-Reply-To: <75082b000609150854n12a67315n5260f09e2c18e36@mail.gmail.com> References: <75082b000609150854n12a67315n5260f09e2c18e36@mail.gmail.com> Message-ID: <450ACDFC.7070407@mailing.kaufland-informationssysteme.com> Travis Rabe schrieb: > everythign coming form the Nagios image. Is this all done with > dependencies? I have added some and it seems to have no affect. Hi travis, I haven't tried it with dependencies. Using the parent directive in the host config works for us.. matthias ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frances.cincinattus at gmail.com Fri Sep 15 18:03:09 2006 From: frances.cincinattus at gmail.com (Frances Albemuth) Date: Fri, 15 Sep 2006 09:03:09 -0700 Subject: More meaningful Nagios Map(s) In-Reply-To: <75082b000609150854n12a67315n5260f09e2c18e36@mail.gmail.com> References: <75082b000609150854n12a67315n5260f09e2c18e36@mail.gmail.com> Message-ID: If I understand you correctly, what you're looking for is a parent-child relationship, defined like so: define host{ parents $host } HTH. -FC On 9/15/06, Travis Rabe wrote: > Hello, > > I have been trying to see what it is I need to do in order to create more > meaningful and descriptive Nagios Maps. I saw this screenshot on the site, > http://nagios.sourceforge.net/images/screens/big/statusmap.jpg, > and this is more of what I want to accomplish. Right now all I have is > everythign coming form the Nagios image. Is this all done with > dependencies? I have added some and it seems to have no affect. > > Any help would be greatly appreciated. > > > > -- > Regards, > Travis Rabe > travisrabe at gmail.com > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vkyle at acm.org Fri Sep 15 19:50:13 2006 From: vkyle at acm.org (Vern Kyle) Date: Fri, 15 Sep 2006 10:50:13 -0700 Subject: Bizarre Behavior: Nagios Runs of Redhat Linux, but not Fedora In-Reply-To: <200609150150.48966.elias.probst@gmx.de> References: <31dadfbb0609141647h1afbeab3o3f159af76356c2c8@mail.gmail.com> <200609150150.48966.elias.probst@gmx.de> Message-ID: <31dadfbb0609151050s4434821amaea0108a3c03be3d@mail.gmail.com> I doubt it's a permission issue. All files are owned by the nagios user, and all permissions are readable by the webserver user. I doubled checked this to make sure it is the case. I also tried making all nagios config, plugins, etc readable/writable by user,group and other just to test, still get the same error. On 9/14/06, Elias Probst wrote: > Are your configuration files readable by the nagios-user? Check the > permissions. > > Regards > > Elias P. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From donnell.lewis at icoretechnology.com Fri Sep 15 19:55:10 2006 From: donnell.lewis at icoretechnology.com (Donnell Lewis) Date: Fri, 15 Sep 2006 13:55:10 -0400 Subject: Bizarre Behavior: Nagios Runs of Redhat Linux, but not Fedora In-Reply-To: <31dadfbb0609151050s4434821amaea0108a3c03be3d@mail.gmail.com> References: <31dadfbb0609141647h1afbeab3o3f159af76356c2c8@mail.gmail.com> <200609150150.48966.elias.probst@gmx.de> <31dadfbb0609151050s4434821amaea0108a3c03be3d@mail.gmail.com> Message-ID: <1158342910.2100.32.camel@localhost.localdomain> Well, as for permissions, if I'm not mistaken in the docs somewhere it states to make sure you have SELinux disabled. So you also may want to make sure that is the case on your box as well. -DL On Fri, 2006-09-15 at 10:50 -0700, Vern Kyle wrote: > I doubt it's a permission issue. All files are owned by the nagios > user, and all permissions are readable by the webserver user. I > doubled checked this to make sure it is the case. I also tried making > all nagios config, plugins, etc readable/writable by user,group and > other just to test, still get the same error. > > > On 9/14/06, Elias Probst wrote: > > Are your configuration files readable by the nagios-user? Check the > > permissions. > > > > Regards > > > > Elias P. > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Fri Sep 15 20:11:46 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Fri, 15 Sep 2006 20:11:46 +0200 (CEST) Subject: Want to run 2 nagios on 1 machine Message-ID: <20060915181146.4A1F84F4046@desire.netways.de> Hi All I'm trying to run two instances of Nagios on the same machine using virtual hosts, but I'm having trouble. Has anyone succeeded at this? I've checked over some old posts with suggestions but the CGIs just don't seem to work with two instances. The specifics -- We are monitoring a large network and have 24/7 operators watching the console and pager and e-mail. Nagios is great for alerting them so they can notify the right department/technician. The operators are not allowed to change the status, such as disabling notifications, acknowledgements... This is strictly a read-only interface. Hence, their web login is via a privledged account which allows them to view all hosts and services, but can't change anything. Their e-mail comes from a different account. Now we have developers who want to monitor their test/development machines and I don't want these failures to reach the operators' web interface. Since the operators are viewing a privledged screen, there's no way to prevent them from seeing the test boxes. My current attempt uses a single Nagios install with separate test directories, many linked back to the installed ones. Running the CGI in the test directory shows all the hosts from the production instance. If two instances isn't the best way to solve this, are there any other suggestions? Thanks, - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri Sep 15 20:56:21 2006 From: td3201 at gmail.com (Terry) Date: Fri, 15 Sep 2006 13:56:21 -0500 Subject: SYN attacks from nagios In-Reply-To: References: <8ee061010609141130t7ca0412ke721a3c5673802f4@mail.gmail.com> Message-ID: <8ee061010609151156u733bd7a8hb0d16937cee07c48@mail.gmail.com> They are using nrpe_nt. We never had a problem with the 1.2 machine. It is only the 2.5 machine and they are configured the same as far as check intervals are concerned. On 9/15/06, rob.moss at uk.bnpparibas.com wrote: > nagios-users-bounces at lists.sourceforge.net wrote on 14/09/2006 19:30:29: > > > The device that is detecting the "attack" is a content switch, which > > sits in front of all the hosts. There isn't a particular command that > > is triggering the alert. > > > > Here are two that I have seen for sure: > > > > define service { > > name check_nt_cpu > > check_command check_nt_cpu!1111!foo!10,90,95,60,80,95,1440,80,95 > > max_check_attempts 3 > > normal_check_interval 3 > > retry_check_interval 3 > > active_checks_enabled 1 > > passive_checks_enabled 1 > > check_period 24x7 > > parallelize_check 1 > > obsess_over_service 0 > > check_freshness 0 > > event_handler_enabled 1 > > flap_detection_enabled 1 > > process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > notification_interval 5 > > notification_period 24x7 > > notifications_enabled 1 > > register 0 > > notification_options w,u,c,r > > } > > > > define service { > > name pmo-service-24x7 > > max_check_attempts 3 > > normal_check_interval 3 > > retry_check_interval 3 > > active_checks_enabled 1 > > passive_checks_enabled 1 > > check_period 24x7 > > parallelize_check 1 > > obsess_over_service 0 > > check_freshness 0 > > event_handler_enabled 1 > > flap_detection_enabled 1 > > process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > notification_interval 5 > > notification_period 24x7 > > notifications_enabled 1 > > register 0 > > notification_options w,u,c,r > > } > > > > > > These are just templates but contain all the info that is important to > > this discussion. These are the same as the 1.2 host as well. > > Morning.. > > Okay.. so the content switch is detecting the SYN attacks on multiple > hosts.. > > Is the check check_nt_cpu running an NRPE_nt / NSClient++ check? These do > use TCP.. Not sure what the check_nt_cpu check actually does because you > haven't provided it here. it comes from the commands.cfg file.. > > I would say (without further investigation and no knoweledge of your > network archetecture) that the content switch is probably just doing it's > job, and is configured with some very low thresholds for SYN Flood > protection.. Check out the thresholds, see if they are lower than the > amount of checks the Nagios server is running through the server. Here's > an equation for you so you can work out the servers polling frequency to > match it up to the network switch thresholds > > Number of Hosts * ( Number of Services per host ( 60 Mins / Check interval > for services ) ) = Num of checks per hour > > I would say these are probably a false alarm and adjust the parameters up a > little higher. > > If you are really concerned, you might want to do some more digging and > find exactly which hosts are being SYN Flooded, the amount of packets per > second, the TCP ports being opened and the source port(s) of the attack. > > Two programs which will assist you in this are: tcpdump (cmdline) or > ethereal (cmdline and X) > > Good luck > > > On 9/14/06, Donnell Lewis wrote: > > > Did the 'ping' command check itself change from the 2 different > > > versions ? Check in checkcommands.cfg, see if the command definition > is > > > the same between the two. > > > > > > -DL > > > > > > On Thu, 2006-09-14 at 17:07 +0100, rob.moss at uk.bnpparibas.com wrote: > > > > nagios-users-bounces at lists.sourceforge.net wrote on 14/09/2006 > 17:00:29: > > > > > > > > > Good morning, > > > > > > > > > > I have 2 nagios servers. One is running 1.2 and the other is > running > > > > > 2.5. Both are running in parallel while I migrate to the 2.5 > machine. > > > > > Our content switch is detecting that the 2.5 machine is SYN > attacking > > > > > hosts. Both servers have very similar monitoring sets and similar > > > > > configurations. I have gone through the config and nothing stands > > > > > out. Obviously, the 2.5 machine is pounding the servers more > heavily > > > > > but I can't figure out why. Below is my config. > > > > > > > > > > > > > Good evening! > > > > > > > > > > > > > > > > What checks are you running against the server that is detecting the > SYN > > > > attacks? > > > > > > > > The config you posted is the general nagios config, we would need to > see > > > > the services.cfg portions for the affected host(s) > > > > > > > > Cheers > > > This message and any attachments (the "message") is > intended solely for the addressees and is confidential. > If you receive this message in error, please delete it and > immediately notify the sender. Any use not in accord with > its purpose, any dissemination or disclosure, either whole > or partial, is prohibited except formal approval. The internet > can not guarantee the integrity of this message. > BNP PARIBAS (and its subsidiaries) shall (will) not > therefore be liable for the message if modified. > > ********************************************************************************************** > > BNP Paribas Private Bank London Branch is authorised > by CECEI & AMF and is regulated by the Financial Services > Authority for the conduct of its investment business in > the United Kingdom. > > BNP Paribas Securities Services London Branch is authorised > by CECEI & AMF and is regulated by the Financial Services > Authority for the conduct of its investment business in > the United Kingdom. > > BNP Paribas Fund Services UK Limited is authorised and > regulated by the Financial Services Authority > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Fri Sep 15 22:36:57 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Fri, 15 Sep 2006 22:36:57 +0200 (CEST) Subject: notification_interval (per user) In-Reply-To: <450AA717.2030504@id.ethz.ch> References: <450AA717.2030504@id.ethz.ch> Message-ID: <20060915203657.418694F4046@desire.netways.de> Hi Matteo You can use escalations to change to notifying some on the first notification and others on the second and all subsequent notifications. - David Schlecht (dschl) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=21914 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 15 22:38:59 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 15 Sep 2006 22:38:59 +0200 (CEST) Subject: config file activation after changes In-Reply-To: <450A2829.8050001@mailing.kaufland-informationssysteme.com> References: <450A2829.8050001@mailing.kaufland-informationssysteme.com> Message-ID: On Fri, 15 Sep 2006, Matthias Eble wrote: > my nagios instance showed some strange behaviour a couple of minutes > ago. I changed a couple of services to notifications_enabled 0 in the > configfiles, but the deamon didn't recognize the changes after reloading > and restarting. (yes, i checked for duplicate processes). > > So I changed the service description, reloaded nagios and the changes > were activated. I then changed the description back, reloaded -> > everything fine.. notifications disabled. > > The "View Config" cgi showed everything correctly all the time (I guess > it parses the configfiles, not the status files, right?) > > To me it looks like a bug up to now. Has anyone some ideas? Well. If it is a bug you can propably reproduce it. If you can't reproduce it anymore then it could be just about anything. Your description sounds like a once in a blue moon event type. But if you can reproduce it and describe how you did it then I am sure the developers want to know about it. But please provide enough details so someone else can reproduce it. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From max.clark at gmail.com Sat Sep 16 00:21:08 2006 From: max.clark at gmail.com (Max Clark) Date: Fri, 15 Sep 2006 15:21:08 -0700 Subject: SIP Monitoring Message-ID: <2fa1e1780609151521j7ee453f1l637bb6b066c66001@mail.gmail.com> Hi all, Just curious if anyone out there is using Nagios to monitor their SIP service on SER/Asterisk machines. What's the best way to do this? TIA, Max -- Max Clark http://www.clarksys.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Sat Sep 16 00:31:35 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Fri, 15 Sep 2006 18:31:35 -0400 Subject: SIP Monitoring In-Reply-To: Your message of "Fri, 15 Sep 2006 15:21:08 PDT." <2fa1e1780609151521j7ee453f1l637bb6b066c66001@mail.gmail.com> References: <2fa1e1780609151521j7ee453f1l637bb6b066c66001@mail.gmail.com> Message-ID: <200609152231.k8FMVZNH019661@mx1.cs.umb.edu> In message <2fa1e1780609151521j7ee453f1l637bb6b066c66001 at mail.gmail.com>, "Max Clark" writes: >Just curious if anyone out there is using Nagios to monitor their SIP >service on SER/Asterisk machines. What's the best way to do this? Yup. Using the check_sip plugin from http://www.bashton.com/content/nagiosplugins. Seems to work well. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nbc at aikisoft.com Sat Sep 16 19:44:15 2006 From: nbc at aikisoft.com (Neil B. Cohen) Date: Sat, 16 Sep 2006 13:44:15 -0400 Subject: Newbie question - authorization... Message-ID: <1158428655.20237.10.camel@luna.aikisoft.com> I'm experimenting with Nagios at home - I just joined a company that uses it extensively in the field and I'll need to know how it works. I've managed to install it, and I can get to the home page from my (FireFox) web browser (on systems running FC5). So far, so good. I have verified that I have a working config file. If I start Nagios, things look ok, but I don't have the authorization correct. I have added the entries in the Apache config file, and created the .htaccess entries in the nagios directories. But when I point the web browser at the nagios page, it does not ask for a login/password. Then I get authorization failures when I try to look at the various monitoring pages This is really a browser issue, not nagios I think. But it isn't something I've done before - can someone suggest what I might have set up incorrectly or point me at what needs to be added? thanks very much, nbc NAME: Neil B. Cohen (Aiki Software) PHONE: 703-444-4610 DOMAIN: nbc at aikisoft.com ************************************************************* * Murphy's Philosophy: Smile - tomorrow will be worse... * * * * O'Tooles Commentary: Murphy was an optimist! * ************************************************************* ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 16 19:57:44 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 16 Sep 2006 13:57:44 -0400 Subject: Newbie question - authorization... In-Reply-To: <1158428655.20237.10.camel@luna.aikisoft.com> References: <1158428655.20237.10.camel@luna.aikisoft.com> Message-ID: > If I start Nagios, things look ok, but I don't have the > authorization correct. I have added the entries in the Apache > config file, and created the .htaccess entries in the nagios > directories. But when I point the web browser at the nagios > page, it does not ask for a login/password. > Then I get authorization failures when I try to look at the > various monitoring pages > > This is really a browser issue, not nagios I think. But it > isn't something I've done before - can someone suggest what I > might have set up incorrectly or point me at what needs to be added? If you're not getting prompted for a login, it's not a Nagios or a browser issue -- it's a webserver configuration problem. Assuming your .htaccess files are valid, your webserver is probably configured not to use them. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Sat Sep 16 20:03:33 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sat, 16 Sep 2006 14:03:33 -0400 Subject: SSH, FTP flutter Message-ID: <1158429814.18293.6.camel@atari.localhost> Hello everyone, I have a problem with the sensitivity of the check_ssh and check_ftp services in my Nagios monitoring. I have a medium sized network of 100+ servers all running ssh and ftp (with the exception of some) and the service seems to come in and out, in particular with the ssh service check. I know the problem, it's just that I have scan attacks regularly on my network (no one gets in though) but I would like to suppress these alerts as they don't pose an actual problem, just a scan attack. In particular, the ssh service returns the string "server answer: " when someone is scanning it, and I would like a way of just making that take it to warning level rather than critical. Any ideas? I need to stop this flutter, I get alerted regularly.. Regards, Richard ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Sat Sep 16 20:07:56 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sat, 16 Sep 2006 14:07:56 -0400 Subject: NRPE vs NCSA In-Reply-To: <74A10FFC-35AF-4011-A46D-8D5CAF8330E1@kilala.nl> References: <4507E816.7020802@googlemail.com> <74A10FFC-35AF-4011-A46D-8D5CAF8330E1@kilala.nl> Message-ID: <1158430076.18293.9.camel@atari.localhost> I agree, you should plan for expansion with nagios. No sense in limiting yourself with nrpe when you can just engineer for growth with nsca. I'm implementing the same configuration now, with nsca and I would like to point you to a document on the nagios website in the docs section. Someone wrote a very good howto to setup nsca. Regards, Richard On Wed, 2006-09-13 at 14:10 +0200, Thomas Sluyter wrote: > On 13 Sep, 2006, at 13:14, Hari Sekhon wrote: > > > While NCSA would reduce load slightly (probably not noticeably > > though I > > expect), NRPE would allow for a more centralised way of doing things, > > especially since I keep my entire nagios config under svn and like > > to be > > able to redeploy it centrally. > > > > Does anybody have any advice as to which I should go with? What > > have you > > used and what are your experiences of this? > > A few weeks ago I was stuck with the same question. Back then a > fellow by the pseudonym "Jakked Up" (he frequents many Nagios fora) > helped my out by discussing the matter over e-mail. > > One of the most important things to keep in mind is the amount of > checks you'll be performing and how things will be scheduled by Nagios. > > Say that you're running 1000 service checks through NRPE and that you > want them all run within 5 minutes. Let's assume that each service > check averages at 3 seconds before the results are in (best case > scenario). This would mean that Nagios would have a thousand three- > second connections open every five minutes. Parallelizing things > using the Nagios scheduler will help naturally... > > But now start thinking big... Around 7000 service checks? Would mean > 21.000 seconds worth of network connections crammed into five > minutes. That's not going to work nicely. > > And all of this is still excluding things like retries in the case of > a failure. Or assloads of retries in the case of massive failure. > > Now, if you take NSCA, the server will still be getting 7000 incoming > connections every five minutes, but: > 1) All incoming data will be dumped in the NSCA queue > 2) Nagios will "leisurely" pick through the NSCA queue to grab all > the status updates > > Or, as he originally put it: > > ===== > > To make a check on a remote system, via nrpe for example, nagios has > to schedule the check every 5 minutes, or whatever. > The check is made, which means a plugin runs a script that connects > to a daemon running remotely. The script then tells the daemon what > check to make. The check is made, the data passed on to the client > connection, and now nagios has the data for the check and processes > it. All of that is a lifetime, compared to: > > Periodically nagios reads it's external command file, whenever it has > time to do so, depending on your settings. At times, it finds > completed results of a service check. All nagios has to do is > process that result. So, the check is NOT even really made by the > central server. It's already sitting there for it. Of course, that > is only achieved via something like a passive check via nsca. > > ===== > > Me, I'll be making our new Nagios environment as passive as possible. > Most checks will be performed locally (scheduled through a small > wrapper script I wrote, run from cron), after which the results are > submitted through NSCA. For the remaining active checks I'll be using > net-SNMP. > > Cheers! > > > > Thomas > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:4507f53a60581166019105! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nbc at aikisoft.com Sat Sep 16 20:41:59 2006 From: nbc at aikisoft.com (Neil B. Cohen) Date: Sat, 16 Sep 2006 14:41:59 -0400 Subject: Newbie question - authorization... In-Reply-To: References: Message-ID: <1158432119.20237.13.camel@luna.aikisoft.com> That was sort of the problem - I found a typo in the .htaccess file. So the server was complaining about an invalid file definition.... Thanks for the help, nbc On Sat, 2006-09-16 at 13:57 -0400, Morris, Patrick wrote: > > If I start Nagios, things look ok, but I don't have the > > authorization correct. I have added the entries in the Apache > > config file, and created the .htaccess entries in the nagios > > directories. But when I point the web browser at the nagios > > page, it does not ask for a login/password. > > Then I get authorization failures when I try to look at the > > various monitoring pages > > > > This is really a browser issue, not nagios I think. But it > > isn't something I've done before - can someone suggest what I > > might have set up incorrectly or point me at what needs to be added? > > If you're not getting prompted for a login, it's not a Nagios or a > browser issue -- it's a webserver configuration problem. > > Assuming your .htaccess files are valid, your webserver is probably > configured not to use them. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ellmers at firstgroup.com Sat Sep 16 21:06:46 2006 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Sat, 16 Sep 2006 20:06:46 +0100 Subject: Jason Ellmers is out of the office. Message-ID: I will be Out of the Office Start Date: 16/09/2006. End Date: 02/10/2006. Please be aware that I will be out of the office until Monday the 2nd October. Please contact the helpdesk on 08702415500 it technical assistance is required. ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ********************************************************************** ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Sun Sep 17 22:14:16 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sun, 17 Sep 2006 16:14:16 -0400 Subject: SSH, FTP flutter In-Reply-To: <1158429814.18293.6.camel@atari.localhost> References: <1158429814.18293.6.camel@atari.localhost> Message-ID: <1158524056.29430.1.camel@atari.localhost> To elaborate on the issue and update my current progress: I enabled flap detection and now get a threshold parameter for every host, as well as a percentage that I read about in the doc. My issue is however, that I need to set up the flap detection for the "service" not for the host. Any ideas? Richard On Sat, 2006-09-16 at 14:03 -0400, Richard Galvez wrote: > Hello everyone, > > I have a problem with the sensitivity of the check_ssh and check_ftp > services in my Nagios monitoring. I have a medium sized network of 100+ > servers all running ssh and ftp (with the exception of some) and the > service seems to come in and out, in particular with the ssh service > check. I know the problem, it's just that I have scan attacks regularly > on my network (no one gets in though) but I would like to suppress these > alerts as they don't pose an actual problem, just a scan attack. In > particular, the ssh service returns the string "server answer: " when > someone is scanning it, and I would like a way of just making that take > it to warning level rather than critical. > > Any ideas? I need to stop this flutter, I get alerted regularly.. > > Regards, > Richard > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:450c3c83101876312921047! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Sun Sep 17 22:20:35 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sun, 17 Sep 2006 16:20:35 -0400 Subject: alert options Message-ID: <1158524435.29430.5.camel@atari.localhost> Hello again everyone, I was hoping that someone out there knew of a way to set up alerts in the following fashion: if hard state change: page-by-epager if critical state, and persists for more than 10 minutes: email. Is this possible? Regards, Richard ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Sep 17 22:23:23 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 17 Sep 2006 16:23:23 -0400 Subject: alert options In-Reply-To: <1158524435.29430.5.camel@atari.localhost> References: <1158524435.29430.5.camel@atari.localhost> Message-ID: > Hello again everyone, I was hoping that someone out there > knew of a way to set up alerts in the following fashion: > > if hard state change: page-by-epager > > if critical state, and persists for more than 10 minutes: email. > > Is this possible? Sure -- see Service Escalations in the docs: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#serviceescalatio n ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manaskaul at yahoo.com Mon Sep 18 07:54:45 2006 From: manaskaul at yahoo.com (/\/\@/\/@$ ♪→♥←ü) Date: Sun, 17 Sep 2006 22:54:45 -0700 (PDT) Subject: Netsaint to Nagios Migration In-Reply-To: References: Message-ID: <20060918055445.46036.qmail@web53714.mail.yahoo.com> Hi Dear I am using Netsaint for last 3 years on solaris,now I got a new server based on Solaris wants to use Nagios on it.Is there any way to migrate data from Netsaint to Nagios, i mean to say I have one single .cfg file with all the config, could it be possible to use it after doin some changes in Nagios. --------------------------------- Get your email and more, right on the new Yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 Mon Sep 18 12:14:31 2006 From: moshesharon at gmail.com (moshe sharon) Date: Mon, 18 Sep 2006 12:14:31 +0200 Subject: Want to run 2 nagios on 1 machine In-Reply-To: <20060915181146.4A1F84F4046@desire.netways.de> References: <20060915181146.4A1F84F4046@desire.netways.de> Message-ID: <88ad29240609180314y5c1a2eebv544fd3246b0ca711@mail.gmail.com> Hello from what i understand from your letters there are two ways to do it. 1) install nagios i different directories and set the appropriate permissions in the httpd.conf for each nagios. note that this is actually running nagios on the same machine i also advice to set different users for each installation. but for your needs as for operators and tests i think its much simpler just use the contacts and contactgroups permissions and do not set the privileges in the cgi.cfg . meaning give test operator a user that applied to all hosts / services in the are in charge. and for the rest of hosts / services set the operators this way when they logged in they will see only the services they are allowed -- Moshe Sharon http://www.centerity.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Mon Sep 18 12:58:38 2006 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Mon, 18 Sep 2006 12:58:38 +0200 Subject: Want to run 2 nagios on 1 machine In-Reply-To: <20060915181146.4A1F84F4046@desire.netways.de> References: <20060915181146.4A1F84F4046@desire.netways.de> Message-ID: <002501c6db11$66aeb350$a601000a@int.consol.de> Hi David, i proposed a method some time ago which was successfully adopted by some people: http://people.consol.de/~lausser/nagios/more-than-one-nagios.html Greetings from Munich, Gerhard > -----Urspr?ngliche Nachricht----- > Von: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Im > Auftrag von David Schlecht > Gesendet: Freitag, 15. September 2006 20:12 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Want to run 2 nagios on 1 machine > > Hi All > > > > I'm trying to run two instances of Nagios on the same machine > using virtual hosts, but I'm having trouble. Has anyone > succeeded at this? I've checked over some old posts with > suggestions but the CGIs just don't seem to work with two instances. > > > > The specifics -- > > We are monitoring a large network and have 24/7 operators > watching the console and pager and e-mail. Nagios is great > for alerting them so they can notify the right department/technician. > > > > The operators are not allowed to change the status, such as > disabling notifications, acknowledgements... This is > strictly a read-only interface. Hence, their web login is > via a privledged account which allows them to view all hosts > and services, but can't change anything. > Their e-mail comes from a different account. > > > > Now we have developers who want to monitor their > test/development machines and I don't want these failures to > reach the operators' > web interface. Since the operators are viewing a privledged > screen, there's no way to prevent them from seeing the test boxes. > > > > My current attempt uses a single Nagios install with separate > test directories, many linked back to the installed ones. > Running the CGI in the test directory shows all the hosts > from the production instance. > > > > If two instances isn't the best way to solve this, are there > any other suggestions? > > > > Thanks, > > > > - David Schlecht (dschl) > > > > ----------------------- > > The mailing list archive is found here: > > http://www.nagiosexchange.org/nagios-users.34.0.html > > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier Download IBM WebSphere Application Server > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From w.van.heerde at ic-s.nl Mon Sep 18 13:29:44 2006 From: w.van.heerde at ic-s.nl (Wessel van Heerde) Date: Mon, 18 Sep 2006 13:29:44 +0200 Subject: Host last check time Message-ID: Hi all, I'm managing a small Nagios environment which contains about 30 hosts. The host detail page in the interface shows me that the last check time of these hosts is about 234 days ago. Why is it such a long time ago this host was checked? I recently (some days ago) added some new hosts, but their state is still pending. What is taking Nagios so long to check them. Thanks in advance, Wessel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Mon Sep 18 13:49:12 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Mon, 18 Sep 2006 12:49:12 +0100 Subject: Host last check time In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 18/09/2006 12:29:44: > Hi all, > > I'm managing a small Nagios environment which contains about 30 > hosts. The host detail page in the interface shows me that the last > check time of these hosts is about 234 days ago. Why is it such a > long time ago this host was checked? > > I recently (some days ago) added some new hosts, but their state is > still pending. What is taking Nagios so long to check them. You haven't provided us any information to work with, so it could be anything.. Please provide snippets from the hosts.cfg, services.cfg, your operating system, and maybe some of the relevant entries in the log files And your O/S Cheers This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 18 14:05:21 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 18 Sep 2006 14:05:21 +0200 Subject: Host last check time In-Reply-To: References: Message-ID: <450E8B81.5080103@its-lehmann.de> Hi, On 9/18/2006 1:29 PM, Wessel van Heerde wrote: > Hi all, > > I'm managing a small Nagios environment which contains about 30 > hosts. The host detail page in the interface shows me that the last > check time of these hosts is about 234 days ago. Why is it such a > long time ago this host was checked? Because hosts are only checked when there is a service problem. This is documented. > I recently (some days ago) added some new hosts, but their state is > still pending. What is taking Nagios so long to check them. As long as the services assigned to he hosts are checked everything is fine. If you don't have services at these hosts, assign one - check_ping or check_icmp, for example, are a common choice. Arno > Thanks in advance, > > Wessel > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.scandura at arcor.de Mon Sep 18 14:43:26 2006 From: c.scandura at arcor.de (Camillo Scandura) Date: Mon, 18 Sep 2006 14:43:26 +0200 (CEST) Subject: Check Processes and their CPU and MEM usage Message-ID: <20060918124326.A5D5D4F4046@desire.netways.de> Hi people I'm searching a check-plugin which let me receive all Information about running processes and their CPU and MEM usage. I'm new here and I've already studied all existing NAGIOS Check-plugins. It seems to me, that there doesn't exist such a plugin. But can somebody tell me maybe how to get these information on Unix-Systems? - Camillo Scandura (gordon1981) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.scandura at arcor.de Mon Sep 18 14:46:50 2006 From: c.scandura at arcor.de (Camillo Scandura) Date: Mon, 18 Sep 2006 14:46:50 +0200 (CEST) Subject: Check Processes and their CPU and MEM usage Message-ID: <20060918124650.BF1914F4046@desire.netways.de> Hi people I'm searching a check-plugin which let me receive all Information about running processes and their CPU and MEM usage. I'm new here and I've already studied all existing NAGIOS Check-plugins. It seems to me, that there doesn't exist such a plugin. But can somebody tell me maybe how to get these information on Unix-Systems? - Camillo Scandura (gordon1981) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-user at proy.org Mon Sep 18 14:46:47 2006 From: nagios-user at proy.org (Patrick Proy) Date: Mon, 18 Sep 2006 14:46:47 +0200 Subject: Check Processes and their CPU and MEM usage In-Reply-To: <20060918124326.A5D5D4F4046@desire.netways.de> References: <20060918124326.A5D5D4F4046@desire.netways.de> Message-ID: <20060918124646.769501953BD@mail.proy.org> Hi, If you can use snmp, try http://www.manubulon.com/nagios/snmp_process.html Patrick -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Camillo Scandura Envoy? : lundi 18 septembre 2006 14:43 ? : nagios-users at lists.sourceforge.net; c.scandura at arcor.de Objet : [Nagios-users] Check Processes and their CPU and MEM usage Hi people I'm searching a check-plugin which let me receive all Information about running processes and their CPU and MEM usage. I'm new here and I've already studied all existing NAGIOS Check-plugins. It seems to me, that there doesn't exist such a plugin. But can somebody tell me maybe how to get these information on Unix-Systems? - Camillo Scandura (gordon1981) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-list at dale.us Mon Sep 18 16:47:38 2006 From: nagios-list at dale.us (Dale Blount) Date: Mon, 18 Sep 2006 10:47:38 -0400 Subject: Persistent downtime possible? Message-ID: <1158590858.28019.10.camel@dale.velocity.net> Hi, Every time I restart my nagios process while a host is in a scheduled downtime state, the downtime is lost when the process restarts. The cgi says "Scheduled downtimes are preserved across program shutdowns and restarts.", but I cannot seem to see how to make this true. I've also tried echo'n to the cmdfile and get the same results, the cgi reports both types as Persistent: No. Any ideas on how to make this work? Thanks, Dale ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Mon Sep 18 16:53:39 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Mon, 18 Sep 2006 16:53:39 +0200 Subject: Persistent downtime possible? In-Reply-To: <1158590858.28019.10.camel@dale.velocity.net> References: <1158590858.28019.10.camel@dale.velocity.net> Message-ID: Hi I use the perl skript from Steven Shipway on www.nagiosexchange.org Web-configurable recurring downtime scheduler for Nagios http://www.nagiosexchange.org/Downtimes.38.0.html?&tx_netnagext_pi1[p_view]=363 It works like a charm for me /j?rg Mvh J?rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str?mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http://www.systeam.se Dale Blount Sent by: nagios-users-bounces at lists.sourceforge.net 2006-09-18 16:47 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Persistent downtime possible? Hi, Every time I restart my nagios process while a host is in a scheduled downtime state, the downtime is lost when the process restarts. The cgi says "Scheduled downtimes are preserved across program shutdowns and restarts.", but I cannot seem to see how to make this true. I've also tried echo'n to the cmdfile and get the same results, the cgi reports both types as Persistent: No. Any ideas on how to make this work? Thanks, Dale ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- 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 dschlecht at doit.nv.gov Mon Sep 18 17:15:50 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Mon, 18 Sep 2006 17:15:50 +0200 (CEST) Subject: Want to run 2 nagios on 1 machine In-Reply-To: <88ad29240609180314y5c1a2eebv544fd3246b0ca711@mail.gmail.com> References: <88ad29240609180314y5c1a2eebv544fd3246b0ca711@mail.gmail.com> Message-ID: <20060918151550.37C4B4F4046@desire.netways.de> Hi Moshe Sharon Thank you for your reply. I initially considered the "Operators Contacts" approach but decided against it because I don't want the operators to have the ability to alter/disable Nagios on all the hosts they can view. Is there a way around this? Are you certain that you can run two copies of Nagios on one machine? What instance do the CGIs reference? My current attempt does just that and both sets of CGIs return the same results, even though the config files are different. - David Schlecht (dschl) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=21941 > but for your needs as for operators and tests i think its much simpler > just use the contacts and contactgroups permissions and do not set the > privileges in the cgi.cfg . meaning give test operator a user that > applied to all hosts / services in the are in charge. I already considered the "Operators Contacts" approach but decided and for the rest > of hosts / services set the operators this way when they logged in > they will see only the services they are allowed > > -- > Moshe Sharon > http://www.centerity.com > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-list at dale.us Mon Sep 18 17:56:42 2006 From: nagios-list at dale.us (Dale Blount) Date: Mon, 18 Sep 2006 11:56:42 -0400 Subject: Persistent downtime possible? In-Reply-To: References: Message-ID: <1158595002.28019.18.camel@dale.velocity.net> On Mon, 2006-09-18 at 16:53 +0200, Jorg.Schulz at systeam.se wrote: > > Hi > > I use the perl skript from Steven Shipway on www.nagiosexchange.org > Web-configurable recurring downtime scheduler for Nagios > > > http://www.nagiosexchange.org/Downtimes.38.0.html?&tx_netnagext_pi1[p_view]=363 > > It works like a charm for me > Thanks for the script link. The one I'm using is similar and it does indeed work. My problem is that the downtimes will not persist after restarting nagios during a downtime (when adding new hosts, etc). Dale ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Mon Sep 18 18:08:56 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Mon, 18 Sep 2006 18:08:56 +0200 (CEST) Subject: Want to run 2 nagios on 1 machine In-Reply-To: <002501c6db11$66aeb350$a601000a@int.consol.de> References: <002501c6db11$66aeb350$a601000a@int.consol.de> Message-ID: <20060918160856.7552F4F4046@desire.netways.de> Thanks for your reply, Gerhard, Good article. Yours was one of the first approaches I took, but I found that the two sets of CGIs both returned the same results, regardless of the config files. This leads me to belive that the CGIs might interface with the running nagios process. I am running the CGIs from the command line to avoid any problems with Apache and vHosts. If you're sure this approach still works, then I can pound on my configurations till I get it, but I suspect that it no longer works with one instance and multiple configurations. Does Configure hard code the configuration paths in the CGIs? - David Schlecht (dschl) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=21942 > Hi David, > > i proposed a method some time ago which was successfully adopted by some > people: > http://people.consol.de/~lausser/nagios/more-than-one-nagios.html > > Greetings from Munich, > Gerhard > > > -----Urspr?ngliche Nachricht----- > > Von: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] Im > > Auftrag von David Schlecht > > Gesendet: Freitag, 15. September 2006 20:12 > > An: nagios-users at lists.sourceforge.net > > Betreff: [Nagios-users] Want to run 2 nagios on 1 machine > > > > Hi All > > > > > > > > I'm trying to run two instances of Nagios on the same machine > > using virtual hosts, but I'm having trouble. Has anyone > > succeeded at this? I've checked over some old posts with > > suggestions but the CGIs just don't seem to work with two instances. > > > > > > > > The specifics -- > > > > We are monitoring a large network and have 24/7 operators > > watching the console and pager and e-mail. Nagios is great > > for alerting them so they can notify the right department/technician . > > > > > > > > The operators are not allowed to change the status, such as > > disabling notifications, acknowledgements... This is > > strictly a read-only interface. Hence, their web login is > > via a privledged account which allows them to view all hosts > > and services, but can't change anything. > > Their e-mail comes from a different account. > > > > > > > > Now we have developers who want to monitor their > > test/development machines and I don't want these failures to > > reach the operators' > > web interface. Since the operators are viewing a privledged > > screen, there's no way to prevent them from seeing the test boxes. > > > > > > > > My current attempt uses a single Nagios install with separate > > test directories, many linked back to the installed ones. > > Running the CGI in the test directory shows all the hosts > > from the production instance. > > > > > > > > If two instances isn't the best way to solve this, are there > > any other suggestions? > > > > > > > > Thanks, > > > > > > > > - David Schlecht (dschl) > > > > > > > > ----------------------- > > > > The mailing list archive is found here: > > > > http://www.nagiosexchange.org/nagios-users.34.0.html > > > > > > > > -------------------------------------------------------------- > > ----------- > > Using Tomcat but need to do more? Need to support web > > services, security? > > Get stuff done quickly with pre-integrated technology to make > > your job easier Download IBM WebSphere Application Server > > v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > > dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ----------------------------------------------------------------------- -- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat =121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Sep 18 18:12:42 2006 From: marc at ena.com (Marc Powell) Date: Mon, 18 Sep 2006 11:12:42 -0500 Subject: Persistent downtime possible? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Dale Blount > Sent: Monday, September 18, 2006 10:57 AM > To: Jorg.Schulz at systeam.se > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Persistent downtime possible? > > On Mon, 2006-09-18 at 16:53 +0200, Jorg.Schulz at systeam.se wrote: > > > > Hi > > > > I use the perl skript from Steven Shipway on www.nagiosexchange.org > > Web-configurable recurring downtime scheduler for Nagios > > > > > > > http://www.nagiosexchange.org/Downtimes.38.0.html?&tx_netnagext_pi1[p_vi ew > ]=363 > > > > It works like a charm for me > > > > Thanks for the script link. The one I'm using is similar and it does > indeed work. My problem is that the downtimes will not persist after > restarting nagios during a downtime (when adding new hosts, etc). I don't have that issue here. Have you specified a sane downtime file in nagios.cfg (downtime_file)? Does the file get created/modified when you schedule your downtime? Owned/readable by nagios? -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Mon Sep 18 18:37:41 2006 From: knobdy at gmail.com (Brian Loe) Date: Mon, 18 Sep 2006 11:37:41 -0500 Subject: alert time Message-ID: <3c4611bc0609180937ibe78901u74443abbabfe3dbf@mail.gmail.com> So, for a noob, whats the easiest way to make sure a host alert is sent the FIRST time Nagios doesn't get a response to a ping? Perhaps it should be a service alert - but either way, you get my meaning. I don't want to wait 15 minutes to find out a router went down. Not EXACTLY sure how to fix it though since the service command line has thresholds and I don't necessarily want to get pages the first time a ping takes 300ms. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfeng at stanford.edu Mon Sep 18 19:00:50 2006 From: sfeng at stanford.edu (Xueshan Feng) Date: Mon, 18 Sep 2006 10:00:50 -0700 Subject: Nagios upgrade from 1.x to 2, 5 - how to keep status and retention data? In-Reply-To: References: Message-ID: <1158598850.3047.86.camel@hoss.stanford.edu> Is there any utility to convert status data and retention data from 1.x format or 2.x format? Or do you choose to lose the data when upgrade? Xueshan ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Mon Sep 18 19:23:54 2006 From: knobdy at gmail.com (Brian Loe) Date: Mon, 18 Sep 2006 12:23:54 -0500 Subject: Persistent downtime possible? In-Reply-To: References: Message-ID: <3c4611bc0609181023u7250875et83dfa6316fef73c2@mail.gmail.com> http://www.nagiosexchange.org/Downtimes.38.0.html?&tx_netnagext_pi1[p_view]=363 Does anyone know if you can use templates for this configuration file (schedule.cfg)? If not, how hard would it be to add? On 9/18/06, Marc Powell wrote: > > Thanks for the script link. The one I'm using is similar and it does > > indeed work. My problem is that the downtimes will not persist after > > restarting nagios during a downtime (when adding new hosts, etc). > > I don't have that issue here. Have you specified a sane downtime file in > nagios.cfg (downtime_file)? Does the file get created/modified when you > schedule your downtime? Owned/readable by nagios? > > -- > Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ylee at eqo.com Mon Sep 18 21:01:10 2006 From: ylee at eqo.com (Yong Lee) Date: Mon, 18 Sep 2006 12:01:10 -0700 Subject: selinux ping problems Message-ID: <008d01c6db54$cdbc18b0$aa5a0a0a@yonglaptop> Does anyone know what selinux contexts I need to get rid of the following ping related problem: Sep 18 11:51:16 snmp kernel: audit(1158605476.132:153480): avc: denied { read } for pid=21022 comm="ping" name="nagios.cmd" dev=sda1 ino=38798253 scontext=user_u:system_r:ping_t tcontext=system_u:object_r:httpd_var_run_t tclass=fifo_file my nagios.cmd file currently has context settings of : system_u:object_r:httpd_var_run_t nagios.cmd Many thanks for any light you can shed on this. Yong. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Mon Sep 18 21:06:25 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 18 Sep 2006 21:06:25 +0200 Subject: Want to run 2 nagios on 1 machine In-Reply-To: <20060918160856.7552F4F4046@desire.netways.de> References: <002501c6db11$66aeb350$a601000a@int.consol.de> <20060918160856.7552F4F4046@desire.netways.de> Message-ID: <450EEE31.2060202@its-lehmann.de> Hi, On 9/18/2006 6:08 PM, David Schlecht wrote: > Thanks for your reply, Gerhard, > > > > Good article. > > > > Yours was one of the first approaches I took, but I found that the > two sets of CGIs both returned the same results, regardless of > the config files. This leads me to belive that the CGIs might interface > with the running nagios process. As far as I know the cgis only interface to the files generated by nagios. These file paths are hard-coded in the cgi binaries, which means that you have to compile (at least the cgis) with a different configuration. (You could also try patching them :-) Try a command like 'strings -n 6 /usr/local/nagios2/sbin/tac.cgi | grep status\\.dat' using your local path to the cgis, of course. You'll see the status data file path is compiled into the cgi binary. Arno > > I am running the CGIs from the command line to avoid any problems > with Apache and vHosts. > > > > If you're sure this approach still works, then I can pound on my > configurations till I get it, but I suspect that it no longer works > with one instance and multiple configurations. > > > > Does Configure hard code the configuration paths in the CGIs? > > > > > > - David Schlecht (dschl) > > > > ----------------------- > > This thread is located in the archive at this URL: > > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi > 1[showUid]=21942 > > > > >>Hi David, > > > >>i proposed a method some time ago which was successfully adopted > > by some > > >>people: > > >>http://people.consol.de/~lausser/nagios/more-than-one-nagios.html > > > >>Greetings from Munich, > > >>Gerhard > > > >>>-----Urspr?ngliche Nachricht----- > > >>>Von: nagios-users-bounces at lists.sourceforge.net > > >>>[mailto:nagios-users-bounces at lists.sourceforge.net] Im > > >>>Auftrag von David Schlecht > > >>>Gesendet: Freitag, 15. September 2006 20:12 > > >>>An: nagios-users at lists.sourceforge.net > > >>>Betreff: [Nagios-users] Want to run 2 nagios on 1 machine > > > >>>Hi All > > > > > >>>I'm trying to run two instances of Nagios on the same machine > > >>>using virtual hosts, but I'm having trouble. Has anyone > > >>>succeeded at this? I've checked over some old posts with > > >>>suggestions but the CGIs just don't seem to work with two instances. > > > > > >>>The specifics -- > > > >>>We are monitoring a large network and have 24/7 operators > > >>>watching the console and pager and e-mail. Nagios is great > > >>>for alerting them so they can notify the right department/technician > > . > > > > > >>>The operators are not allowed to change the status, such as > > >>>disabling notifications, acknowledgements... This is > > >>>strictly a read-only interface. Hence, their web login is > > >>>via a privledged account which allows them to view all hosts > > >>>and services, but can't change anything. > > >>> Their e-mail comes from a different account. > > > > > >>>Now we have developers who want to monitor their > > >>>test/development machines and I don't want these failures to > > >>>reach the operators' > > >>> web interface. Since the operators are viewing a privledged > > >>>screen, there's no way to prevent them from seeing the test > > boxes. > > > > > >>>My current attempt uses a single Nagios install with separate > > >>>test directories, many linked back to the installed ones. > > >>>Running the CGI in the test directory shows all the hosts > > >>>from the production instance. > > > > > >>>If two instances isn't the best way to solve this, are there > > >>>any other suggestions? > > > > > >>>Thanks, > > > > > >>>- David Schlecht (dschl) > > > > > >>>----------------------- > > > >>>The mailing list archive is found here: > > > >>>http://www.nagiosexchange.org/nagios-users.34.0.html > > > > > >>>-------------------------------------------------------------- > > >>>----------- > > >>>Using Tomcat but need to do more? Need to support web > > >>>services, security? > > >>>Get stuff done quickly with pre-integrated technology to make > > >>>your job easier Download IBM WebSphere Application Server > > >>>v.1.0.1 based on Apache Geronimo > > >>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > > >>>dat=121642 > > >>>_______________________________________________ > > >>>Nagios-users mailing list > > >>>Nagios-users at lists.sourceforge.net > > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > > >>>::: Please include Nagios version, plugin version (-v) and OS > > >>>when reporting any issue. > > >>>::: Messages without supporting info will risk being sent to > > /dev/null > > > > > >>----------------------------------------------------------------------- > > -- > > >>Using Tomcat but need to do more? Need to support web services, > > security? > > >>Get stuff done quickly with pre-integrated technology to make > > your job easier > > >>Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat > > =121642 > > >>_______________________________________________ > > >>Nagios-users mailing list > > >>Nagios-users at lists.sourceforge.net > > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > > >>::: Please include Nagios version, plugin version (-v) and OS > > when reporting > > >>any issue. > > >>::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ylee at eqo.com Mon Sep 18 21:07:06 2006 From: ylee at eqo.com (Yong Lee) Date: Mon, 18 Sep 2006 12:07:06 -0700 Subject: selinux ping problems In-Reply-To: <008d01c6db54$cdbc18b0$aa5a0a0a@yonglaptop> References: <008d01c6db54$cdbc18b0$aa5a0a0a@yonglaptop> Message-ID: <00b601c6db55$a2373cf0$aa5a0a0a@yonglaptop> sorry, I forgot to mention that I am using a redhat enterprise 4 system. _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Yong Lee Sent: September 18, 2006 12:01 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] selinux ping problems Does anyone know what selinux contexts I need to get rid of the following ping related problem: Sep 18 11:51:16 snmp kernel: audit(1158605476.132:153480): avc: denied { read } for pid=21022 comm="ping" name="nagios.cmd" dev=sda1 ino=38798253 scontext=user_u:system_r:ping_t tcontext=system_u:object_r:httpd_var_run_t tclass=fifo_file my nagios.cmd file currently has context settings of : system_u:object_r:httpd_var_run_t nagios.cmd Many thanks for any light you can shed on this. Yong. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 vladimir.smirnov at military-inc.com Mon Sep 18 21:16:19 2006 From: vladimir.smirnov at military-inc.com (Vladimir Smirnov) Date: Mon, 18 Sep 2006 12:16:19 -0700 Subject: URL Monitoring Message-ID: <6D6559E2F45EED44A9DF53617970FE2B0909C60C@sfpmail-3.military-inc.net> Hi. I have a list of URLs I need to monitor. How can I easily monitor a big list of URLs in nagios ? I can't find a good solution for this unless I add a host for each domain and then specify the rest of the path in the parameter, but that's too much. It has to be something easier there. Thanks All. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Sep 18 21:26:21 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 18 Sep 2006 12:26:21 -0700 Subject: URL Monitoring In-Reply-To: <6D6559E2F45EED44A9DF53617970FE2B0909C60C@sfpmail-3.military-inc.net> References: <6D6559E2F45EED44A9DF53617970FE2B0909C60C@sfpmail-3.military-inc.net> Message-ID: <20060918192621.GM7272@pmorris.usa.hp.com> On Mon, 18 Sep 2006, Vladimir Smirnov wrote: > Hi. I have a list of URLs I need to monitor. > How can I easily monitor a big list of URLs in nagios ? > I can't find a good solution for this unless I add a host for each domain > and then specify the rest of the path in the parameter, but that's too much. > It has to be something easier there. The template format of the configs makes it pretty trivial to do things like convert a text file full of URLs to a Nagios config. I don't know what your environment looks like, but in my case I'll often use something like a dummy host, with all the URL service checks attached to it. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Tue Sep 19 10:15:04 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Tue, 19 Sep 2006 09:15:04 +0100 Subject: Nagios upgrade from 1.x to 2, 5 - how to keep status and retention data? In-Reply-To: <1158598850.3047.86.camel@hoss.stanford.edu> References: <1158598850.3047.86.camel@hoss.stanford.edu> Message-ID: Status and retention data is transient, it's only useful if you're restarting a large install.. I would wipe it but keep it enabled in Nagios 2.x for future restarts. |------------------------------------------> | Internet | | sfeng at stanford.edu | | | | | | Sent by: | | nagios-users-bounces at lists.sourc| | eforge.net | | | | 18/09/2006 18:00 | |------------------------------------------> >---------------------------------------------------------------------------------------------------------------| | | | | | To| | nagios-users | | cc| | | | Subject| | [Nagios-users] Nagios upgrade from 1.x to 2, 5 - how to keep status and retention data? | | | | | | | | | | | | | >---------------------------------------------------------------------------------------------------------------| Is there any utility to convert status data and retention data from 1.x format or 2.x format? Or do you choose to lose the data when upgrade? Xueshan ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Tue Sep 19 10:37:19 2006 From: moshesharon at gmail.com (moshe sharon) Date: Tue, 19 Sep 2006 10:37:19 +0200 Subject: alert time In-Reply-To: <88ad29240609190136qaf5b928ta3d75f7d39a4c8c1@mail.gmail.com> References: <3c4611bc0609180937ibe78901u74443abbabfe3dbf@mail.gmail.com> <88ad29240609190136qaf5b928ta3d75f7d39a4c8c1@mail.gmail.com> Message-ID: <88ad29240609190137g21e4c402u76fc410d727deee0@mail.gmail.com> Hello The best way to do it is to define service PING to this host with check inteval 1 minute this way you will know almost immediatly when the host is down. i would set the notification for few minutes later if you dont want to be notified each time the ping failes. -- Moshe Sharon http://www.centerity.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Tue Sep 19 10:37:55 2006 From: moshesharon at gmail.com (moshe sharon) Date: Tue, 19 Sep 2006 10:37:55 +0200 Subject: alert time In-Reply-To: <88ad29240609190137g21e4c402u76fc410d727deee0@mail.gmail.com> References: <3c4611bc0609180937ibe78901u74443abbabfe3dbf@mail.gmail.com> <88ad29240609190136qaf5b928ta3d75f7d39a4c8c1@mail.gmail.com> <88ad29240609190137g21e4c402u76fc410d727deee0@mail.gmail.com> Message-ID: <88ad29240609190137i51622a35r617d80126a95931c@mail.gmail.com> Hello sorry for the perivous empty post. The best way to do it is to define service PING to this host with check inteval 1 minute this way you will know almost immediatly when the host is down. i would set the notification for few minutes later if you dont want to be notified each time the ping failes. -- Moshe Sharon http://www.centerity.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-list at dale.us Tue Sep 19 14:23:54 2006 From: nagios-list at dale.us (Dale Blount) Date: Tue, 19 Sep 2006 08:23:54 -0400 Subject: Persistent downtime possible? In-Reply-To: References: Message-ID: <1158668634.32240.4.camel@dale.velocity.net> > > > > Thanks for the script link. The one I'm using is similar and it does > > indeed work. My problem is that the downtimes will not persist after > > restarting nagios during a downtime (when adding new hosts, etc). > > I don't have that issue here. Have you specified a sane downtime file in > nagios.cfg (downtime_file)? Does the file get created/modified when you > schedule your downtime? Owned/readable by nagios? Marc, Yes, downtime.dat is created/written to by the nagios process. I think I was possibly misstating the problem. It seems that the downtimes that have not triggered yet are kept, however ones that have already triggered and are in process while nagios is restarted don't re-enter the downtime period after the restart. I'm assuming this happens for everyone, does it not? Thanks, Dale ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From otabari at batelco.jo Tue Sep 19 14:42:16 2006 From: otabari at batelco.jo (Omar Al-Tabari) Date: Tue, 19 Sep 2006 15:42:16 +0300 Subject: sms notification Message-ID: <450FE5A8.4030409@batelco.jo> Hi, I've looked through the mailing list and forum but still cant find a way to send sms notifications with my setup. I've looked at sms_client, gnokii, smsalert but they wont with my setup, or from my country "Jordan, MiddleEast". does anyone have any ideas? I'm currently looking into sending sms using a gsm module " Wavecom Fastrack M1306B" and the "nagiossms" plugin that i found at the nagiosexchange.org site, but I'm still waiting for the module, has anyone here tried it and got it to work? Thanks in advance. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Tue Sep 19 17:12:28 2006 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Tue, 19 Sep 2006 17:12:28 +0200 Subject: Want to run 2 nagios on 1 machine In-Reply-To: <450EEE31.2060202@its-lehmann.de> References: <450EEE31.2060202@its-lehmann.de> Message-ID: <005401c6dbfe$05c28c90$a601000a@int.consol.de> > generated by nagios. These file paths are hard-coded in the > cgi binaries, which means that you have to compile (at least > the cgis) with a different configuration. You can override the hard-coded paths if you set the environment variable NAGIOS_CGI_CONFIG which points tac.cgi to a private cgi.cfg, where you "soft-code" a path to your private nagios.cfg, which finally contains all the paths to config/status/cmdpipe/... files. Gerhard ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creyes at co.ibm.com Tue Sep 19 18:38:36 2006 From: creyes at co.ibm.com (Carlos Mauricio Reyes Sanmiguel) Date: Tue, 19 Sep 2006 11:38:36 -0500 Subject: Problem monitoring windows with NRPE In-Reply-To: <20060918151550.37C4B4F4046@desire.netways.de> References: <20060918151550.37C4B4F4046@desire.netways.de> Message-ID: Hi, I've been monitoring windows servers for a while with NRPE and it worked fine, but couple days ago, i have been having trouble with the information from the Windows server CPU plugging, I'm receiving this.. Current Status: OK Status Information: NOW: Mean:0.000000% Variance: 0.000000% CUMULATIVE: Mean:0.000000% Variance: 0.000000% and this happends to all my windows servers, the thing is that it was working ok before, and all other pluggins, like memory, proccess, etc.. are working ok.. Does anybody knows, waht can it be? Thanks. Creyes. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 jsanchez at americancallcenter.com Tue Sep 19 21:01:16 2006 From: jsanchez at americancallcenter.com (=?iso-8859-1?Q?Carlos_Julio_S=E1nchez_=5BACC-SIS=5D?=) Date: Tue, 19 Sep 2006 14:01:16 -0500 Subject: can not send email with nagios Message-ID: <200609191901.k8JJ1EFg006233@cadet.propagation.net> Hi! I am newbie with nagios, i install nagios 2.5, but nagios don?t send mails when occur an error, I need some packet for to send mails?. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 nbc at aikisoft.com Tue Sep 19 21:33:08 2006 From: nbc at aikisoft.com (Neil B. Cohen) Date: Tue, 19 Sep 2006 15:33:08 -0400 Subject: Another newbie question... Message-ID: <1158694388.7895.13.camel@luna.aikisoft.com> I seem to have gotten Nagios configured and running on a single Linux host. Now I want to try monitoring a second host on the same network (I'm experimenting with a couple of machines at home) and I'm having some problems. I've been looking through the documentation, but either I'm looking in the wrong place or at the wrong docs. I have a number of questions - scattered through the rest of this message. Any help or pointers would be appreciated... On the primary monitoring machine (referred to as 'localhost' or 'host1'), I added host definitions that include the 'remote' machine (referred to as 'host2' in the rest of this message). So my file hosts.cfg includes this: define host{ use generic-host ; Name of host template to use host_name localhost alias localhost address 127.0.0.1 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } define host{ use generic-host ; Name of host template to use host_name host2.aikisoft.com alias host2 address 192.168.130.111 max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } Question #1: In the host definition for 'host2', should I include the check-host-alive command like I have in host 1? Why, or why not - I'm not sure I understand exactly what I'm defining here.... I set up an NSCA daemon process on host 1 to receive status information from host 2. However, I'm not sure how to configure host2 itself. I have Nagios installed there, and I have a basic configuration. I can start nagios running, but I don't see how to get the NSCA client to run the various tests and forward results to host 1. Question #2: Does Nagios need to be running on host 2 or just the NSCA client? Question #3: Is there documentation on NSCA? I found some minimal things, but not enough for me to figure out what is really going on. The way my system is running, host1 thinks it has 2 hosts to monitor, and it is using PING to decide that both are alive - that's the good news. But I would like to also report on CPU utilization, disk space etc from host 2, and that's where I seem to be stuck. Sorry if this is long and confusing - I'm definitely confused :) Thanks in advance for any pointers you can give me. If I need to provide other config info, I'll be happy to do that. nbc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Sep 19 21:38:20 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 19 Sep 2006 21:38:20 +0200 (CEST) Subject: can not send email with nagios In-Reply-To: <200609191901.k8JJ1EFg006233@cadet.propagation.net> References: <200609191901.k8JJ1EFg006233@cadet.propagation.net> Message-ID: On Tue, 19 Sep 2006, [iso-8859-1] Carlos Julio S?nchez [ACC-SIS] wrote: > I am newbie with nagios, i install nagios 2.5, but nagios don?t send mails > when occur an error, I need some packet for to send mails?. Yes. Most Linux distribution come with a scaled down sendmail server or something that is compatible to it in the ways defined by the LSB (Linux Standards Base). So you need to setup a minimal SMTP server on the nagios host. (Please consult the documentations to your OS for guidance.) Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Tue Sep 19 22:00:23 2006 From: nagios at kilala.nl (Thomas Slutyer) Date: Tue, 19 Sep 2006 22:00:23 +0200 Subject: Off to the Nagios Conference Message-ID: <16cb573536d6649d6bb0bb23d975da5d@kilala.nl> Hey lot! In about twelve hours I'll jump in my car and drive for eight hours to N?rnberg, Germania for the first annual Nagios Conference (http://www.nagiosconference.de). I know Ton and Ethan and a bunch of the other, more famous members of the community are going. But I've no clue who else will turn up. Anywho, I'll be there tomorrow (a day early, so I can start the day nice and relaxed). Hope to see some of you at dinner :) Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mstreb at netways.de Tue Sep 19 22:11:46 2006 From: mstreb at netways.de (Michael Streb) Date: Tue, 19 Sep 2006 22:11:46 +0200 Subject: Off to the Nagios Conference In-Reply-To: <16cb573536d6649d6bb0bb23d975da5d@kilala.nl> References: <16cb573536d6649d6bb0bb23d975da5d@kilala.nl> Message-ID: Hey Thomas, nice to meet you there ;) Michael On 19.09.2006 22:00 Uhr, "Thomas Slutyer" wrote: > Hey lot! > > In about twelve hours I'll jump in my car and drive for eight hours to > N?rnberg, Germania for the first annual Nagios Conference > (http://www.nagiosconference.de). I know Ton and Ethan and a bunch of > the other, more famous members of the community are going. But I've no > clue who else will turn up. > > Anywho, I'll be there tomorrow (a day early, so I can start the day > nice and relaxed). Hope to see some of you at dinner :) > > Cheers! > > > Thomas > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Streb NETWAYS GmbH Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-35 mstreb at netways.de http://www.netways.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Tue Sep 19 22:50:09 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Tue, 19 Sep 2006 17:50:09 -0300 Subject: Another newbie question... In-Reply-To: <1158694388.7895.13.camel@luna.aikisoft.com> References: <1158694388.7895.13.camel@luna.aikisoft.com> Message-ID: <1158699009.3414.23.camel@localhost> Hello there... On Tue, 2006-09-19 at 15:33 -0400, Neil B. Cohen wrote: > I seem to have gotten Nagios configured and running on a single Linux > host. Now I want to try monitoring a second host on the same network > (I'm experimenting with a couple of machines at home) and I'm having > some problems. I've been looking through the documentation, but either > I'm looking in the wrong place or at the wrong docs. Fair enough... > I have a number of questions - scattered through the rest of this > message. Any help or pointers would be appreciated... > > > On the primary monitoring machine (referred to as 'localhost' or > 'host1'), I added host definitions that include the 'remote' machine > (referred to as 'host2' in the rest of this message). So my file > hosts.cfg includes this: > > define host{ > use generic-host ; Name of host > template to use > host_name localhost > alias localhost > address 127.0.0.1 > check_command check-host-alive > max_check_attempts 10 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options d,r > contact_groups admins > } > > define host{ > use generic-host ; Name of host > template to use > host_name host2.aikisoft.com > alias host2 > address 192.168.130.111 > max_check_attempts 10 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options d,r > contact_groups admins > } > > Question #1: > In the host definition for 'host2', should I include the > check-host-alive command like I have in host 1? Why, or why not - I'm > not sure I understand exactly what I'm defining here.... The check-host-alive command, defined in localhost's object definitions, is the command that Nagios will issue if any service check returns with any non-OK state. Then, if nagios is running and not complained about missing definitions, you don't need to set a host-check-command. > I set up an NSCA daemon process on host 1 to receive status information > from host 2. However, I'm not sure how to configure host2 itself. I have > Nagios installed there, and I have a basic configuration. I can start > nagios running, but I don't see how to get the NSCA client to run the > various tests and forward results to host 1. Here is where i think you are misunderstanding. As NSCA is able to expect service check results from another Nagios server, we used to use the NSCA daemon in a distributed monitoring environment. So if you are monitoring host2, you don't actually need to run Nagios there, althought you might, but it isn't the "elegant" way to do it. You should think about running NRPE, or any client that will serve as the host2 information server for Nagios to connect to and gather all the info you need. Take a look at the check-by-ssh plugin also. > > Question #2: > Does Nagios need to be running on host 2 or just the NSCA client? Neither. Nagios shoulg run only on the host1, and it will poll the nrpe daemon to run local plugins, or connect to a daemon like netsaint_statd, or running local plugins by connecting through ssh, or whatever. Only if there are security constraints of active polling you should then think about passive monitoring. That also does not need Nagios to be running on all monitored hosts. > Question #3: > Is there documentation on NSCA? I found some minimal things, but not > enough for me to figure out what is really going on. Like i've said, NSCA is used to setup a distributed monitorign environment. > The way my system is running, host1 thinks it has 2 hosts to monitor, > and it is using PING to decide that both are alive - that's the good > news. But I would like to also report on CPU utilization, disk space etc > from host 2, and that's where I seem to be stuck. To monitor other resources, you should use NRPE or check-by-ssh, or any other daemon available to be polled by nagios plugins and gather info that is relevant to you. > Sorry if this is long and confusing - I'm definitely confused :) With time and patience you should get through all the way of understanding all concepts. But you should really read the docs over and over. > Thanks in advance for any pointers you can give me. If I need to provide > other config info, I'll be happy to do that. Hope that helps. > nbc Marcel. AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsanchez at americancallcenter.com Tue Sep 19 22:55:43 2006 From: jsanchez at americancallcenter.com (=?iso-8859-1?Q?Carlos_Julio_S=E1nchez_=5BACC-SIS=5D?=) Date: Tue, 19 Sep 2006 15:55:43 -0500 Subject: can not send email with nagios In-Reply-To: References: Message-ID: <200609192055.k8JKtgYN004276@cadet.propagation.net> Thanks!! What packet do you recommend me for to send mails with nagios? > I am newbie with nagios, i install nagios 2.5, but nagios don?t send mails > when occur an error, I need some packet for to send mails?. Yes. Most Linux distribution come with a scaled down sendmail server or something that is compatible to it in the ways defined by the LSB (Linux Standards Base). So you need to setup a minimal SMTP server on the nagios host. (Please consult the documentations to your OS for guidance.) Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null __________ NOD32 1.1762 (20060919) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Tue Sep 19 22:56:54 2006 From: moshesharon at gmail.com (moshe sharon) Date: Tue, 19 Sep 2006 22:56:54 +0200 Subject: Problem monitoring windows with NRPE In-Reply-To: References: <20060918151550.37C4B4F4046@desire.netways.de> Message-ID: <88ad29240609191356k4d9989ddw906e8203748e76c5@mail.gmail.com> hello You did not specified which windows you are using. i think there is a problem with windows Vista (one of the betas had problem with cpu monitoring). anyway if the plugin works ok this result is when your CPU is idle i recoomand to run task manager and see if the cpu usage is changing. -- Moshe Sharon http://www.centerity.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Tue Sep 19 22:59:40 2006 From: moshesharon at gmail.com (moshe sharon) Date: Tue, 19 Sep 2006 22:59:40 +0200 Subject: sms notification In-Reply-To: <450FE5A8.4030409@batelco.jo> References: <450FE5A8.4030409@batelco.jo> Message-ID: <88ad29240609191359w56885423rd3881bc51623655c@mail.gmail.com> hello you can plug Nokia Phone with USB / SERIAL cable and use gnokii this is the list of supported modules http://www.gnokii.org/faq.shtml#models -- Moshe Sharon http://www.centerity.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Tue Sep 19 23:03:23 2006 From: moshesharon at gmail.com (moshe sharon) Date: Tue, 19 Sep 2006 23:03:23 +0200 Subject: Netsaint to Nagios Migration In-Reply-To: <20060918055445.46036.qmail@web53714.mail.yahoo.com> References: <20060918055445.46036.qmail@web53714.mail.yahoo.com> Message-ID: <88ad29240609191403t1decb3c2rc6330582439bef97@mail.gmail.com> hello This can be done. first nagios 1.x used almost the same configuration with old style templates you can check the contrib dir in the nagios source and use convertcfg.c compile it it will change your old style configuration to new nagios configuration if you want to move from nagios 1.x to nagios 2.x there are also several convert tools -- Moshe Sharon http://www.centerity.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 20 03:25:06 2006 From: he_anton at yahoo.com (hendro budianto) Date: Tue, 19 Sep 2006 18:25:06 -0700 (PDT) Subject: error at nagiosgraph log Message-ID: <20060920012506.15939.qmail@web52012.mail.yahoo.com> Hi, all to Nagios master. I've a problem. After my nagiosgraph is running and the graph is appear, the error message from nagiosgraph.log is below, Wed Sep 20 08:08:10 2006 INSERT error: RRDs::update ERR illegal attempt to update using time 1158714475 when last update time is 1158714475 (minimum one second step) And when i see nagiosgraph.log is size is more 270 MB, it's very large size for log file. So i turn off from the nagiosgraph.conf (debug level) and i using logrotate to. And to the graph have no line, but still running and have the result (rta, etc). Could you give some clue to resolve this problem ? Best regards Hendro B __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Wed Sep 20 04:48:23 2006 From: td3201 at gmail.com (Terry) Date: Tue, 19 Sep 2006 21:48:23 -0500 Subject: can not send email with nagios In-Reply-To: <200609192055.k8JKtgYN004276@cadet.propagation.net> References: <200609192055.k8JKtgYN004276@cadet.propagation.net> Message-ID: <8ee061010609191948s45fd903amb73af056b2124980@mail.gmail.com> Give this a try: http://directory.fsf.org/all/sendEmail.html On 9/19/06, Carlos Julio S?nchez [ACC-SIS] wrote: > Thanks!! > > What packet do you recommend me for to send mails with nagios? > > > > I am newbie with nagios, i install nagios 2.5, but nagios don?t send mails > > when occur an error, I need some packet for to send mails?. > > Yes. > > Most Linux distribution come with a scaled down sendmail server or > something that is compatible to it in the ways defined by the LSB (Linux > Standards Base). > > So you need to setup a minimal SMTP server on the nagios host. (Please > consult the documentations to your OS for guidance.) > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > __________ NOD32 1.1762 (20060919) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Wed Sep 20 07:35:25 2006 From: pitchfork at ederdrom.de (=?iso-8859-1?q?J=F6rg_Linge?=) Date: Wed, 20 Sep 2006 07:35:25 +0200 Subject: Off to the Nagios Conference In-Reply-To: <16cb573536d6649d6bb0bb23d975da5d@kilala.nl> References: <16cb573536d6649d6bb0bb23d975da5d@kilala.nl> Message-ID: <200609200735.25759.pitchfork@ederdrom.de> Am Dienstag, 19. September 2006 22:00 schrieb Thomas Slutyer: > Hey lot! > > In about twelve hours I'll jump in my car and drive for eight hours to > N?rnberg, Germania for the first annual Nagios Conference > (http://www.nagiosconference.de). I know Ton and Ethan and a bunch of > the other, more famous members of the community are going. But I've no > clue who else will turn up. Hi Thomas, nice to meet you ! J?rg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Wed Sep 20 10:35:26 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Wed, 20 Sep 2006 09:35:26 +0100 Subject: can not send email with nagios In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 19/09/2006 20:38:20: > On Tue, 19 Sep 2006, [iso-8859-1] Carlos Julio S?nchez [ACC-SIS] wrote: > > > I am newbie with nagios, i install nagios 2.5, but nagios don?t send mails > > when occur an error, I need some packet for to send mails?. > > Yes. > > Most Linux distribution come with a scaled down sendmail server or > something that is compatible to it in the ways defined by the LSB (Linux > Standards Base). > > So you need to setup a minimal SMTP server on the nagios host. (Please > consult the documentations to your OS for guidance.) I wrote this perl email script to overcome situations just like this, where there is a central mail server that you would like to use and don't have one configured locally (or don't want to use a locally configured mail server) Here's the URL http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=698 Enjoy rob moss / mossko This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asraikhn at gmail.com Wed Sep 20 15:05:44 2006 From: asraikhn at gmail.com (Asrai khn) Date: Wed, 20 Sep 2006 18:05:44 +0500 Subject: sms notification In-Reply-To: <88ad29240609191359w56885423rd3881bc51623655c@mail.gmail.com> References: <450FE5A8.4030409@batelco.jo> <88ad29240609191359w56885423rd3881bc51623655c@mail.gmail.com> Message-ID: <5f0f8dba0609200605l76e7dd2bk9a14dd829d09d90c@mail.gmail.com> On 9/20/06, moshe sharon wrote: > > hello > > you can plug Nokia Phone with USB / SERIAL cable and use gnokii > this is the list of supported modules > http://www.gnokii.org/faq.shtml#models I'm using the setup successfully here, my Nokia gnokii even running on different machine then the nagios. Regards, Askar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 imarks at comcast.net Wed Sep 20 15:34:59 2006 From: imarks at comcast.net (Ian Marks) Date: Wed, 20 Sep 2006 09:34:59 -0400 Subject: selinux ping problems In-Reply-To: <00b601c6db55$a2373cf0$aa5a0a0a@yonglaptop> References: <00b601c6db55$a2373cf0$aa5a0a0a@yonglaptop> Message-ID: <45114383.4030103@comcast.net> I have my nagios.cmd file set with "root:object_r:usr_t". Try setting it to that and see if it works. Otherwise, you can install the "selinux-policy-targeted-sources" package, assuming you are using a targeted policy, and do the following. cd /etc/selinux/$SELINUXTYPE/src/policy echo "allow ping_t httpd_var_run_t:fifo_file read;" >> /domains/misc/local.te make load This may not be the most secure way of doing it but it should allow you what you need. Ian Yong Lee wrote: > > sorry, I forgot to mention that I am using a redhat enterprise 4 system. > > > > ------------------------------------------------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Yong Lee > *Sent:* September 18, 2006 12:01 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] selinux ping problems > > > > Does anyone know what selinux contexts I need to get rid of the > following ping related problem: > > > > > > Sep 18 11:51:16 snmp kernel: audit(1158605476.132:153480): avc: > denied { read } for pid=21022 comm="ping" name="nagios.cmd" dev=sda1 > ino=38798253 scontext=user_u:system_r:ping_t > tcontext=system_u:object_r:httpd_var_run_t tclass=fifo_file > > > > > > my nagios.cmd file currently has context settings of : > > > > system_u:object_r:httpd_var_run_t nagios.cmd > > > > Many thanks for any light you can shed on this. > > > > Yong. > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Wed Sep 20 17:42:09 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Wed, 20 Sep 2006 17:42:09 +0200 (CEST) Subject: Want to run 2 nagios on 1 machine In-Reply-To: <20060915181146.4A1F84F4046@desire.netways.de> References: <20060915181146.4A1F84F4046@desire.netways.de> Message-ID: <20060920154209.6BFFC4F4046@desire.netways.de> Hi All I ended up creating a complete new install for each instance and everything is up and running. My thanks to all for the feedback! - David Schlecht (dschl) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=21924 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 20 19:06:09 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 20 Sep 2006 18:06:09 +0100 Subject: Can plugin inherit $USER$ variable ? Message-ID: <45117501.1010803@googlemail.com> I've written a wrapper for a plugin but would like it to inherit the $USER$ variable for use in the script so I don't have to hard code it. Does anybody know if this can be done without passing it as a parameter to the new plugin? -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From max.clark at gmail.com Wed Sep 20 19:08:02 2006 From: max.clark at gmail.com (Max Clark) Date: Wed, 20 Sep 2006 10:08:02 -0700 Subject: Compare HTTP Page to Saved Copy Message-ID: <2fa1e1780609201008s5a9217a8mf04500c85276fcbc@mail.gmail.com> Hi all, One one of our servers we are serving a custom 404 error page from the application code itself - what's happened is when the page breaks our nagios monitor does not see the error because the error page is being served quickly and properly. Is it possible to compare the results of a page with the previously queried page? Or would it be possible to look for a specific string and alert if the string is present? Thanks in advance, Max -- Max Clark http://www.clarksys.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ylee at eqo.com Wed Sep 20 19:12:13 2006 From: ylee at eqo.com (Yong Lee) Date: Wed, 20 Sep 2006 10:12:13 -0700 Subject: selinux ping problems In-Reply-To: <45114383.4030103@comcast.net> References: <45114383.4030103@comcast.net> Message-ID: <002f01c6dcd7$eab5cc20$aa5a0a0a@yonglaptop> Thanks for the feedback Ian. This seems to be working now. -----Original Message----- From: Ian Marks [mailto:imarks at comcast.net] Sent: September 20, 2006 6:35 AM To: Yong Lee Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] selinux ping problems I have my nagios.cmd file set with "root:object_r:usr_t". Try setting it to that and see if it works. Otherwise, you can install the "selinux-policy-targeted-sources" package, assuming you are using a targeted policy, and do the following. cd /etc/selinux/$SELINUXTYPE/src/policy echo "allow ping_t httpd_var_run_t:fifo_file read;" >> /domains/misc/local.te make load This may not be the most secure way of doing it but it should allow you what you need. Ian Yong Lee wrote: > > sorry, I forgot to mention that I am using a redhat enterprise 4 system. > > > > ------------------------------------------------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Yong Lee > *Sent:* September 18, 2006 12:01 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] selinux ping problems > > > > Does anyone know what selinux contexts I need to get rid of the > following ping related problem: > > > > > > Sep 18 11:51:16 snmp kernel: audit(1158605476.132:153480): avc: > denied { read } for pid=21022 comm="ping" name="nagios.cmd" dev=sda1 > ino=38798253 scontext=user_u:system_r:ping_t > tcontext=system_u:object_r:httpd_var_run_t tclass=fifo_file > > > > > > my nagios.cmd file currently has context settings of : > > > > system_u:object_r:httpd_var_run_t nagios.cmd > > > > Many thanks for any light you can shed on this. > > > > Yong. > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 20 19:15:05 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 20 Sep 2006 18:15:05 +0100 Subject: Compare HTTP Page to Saved Copy In-Reply-To: <2fa1e1780609201008s5a9217a8mf04500c85276fcbc@mail.gmail.com> References: <2fa1e1780609201008s5a9217a8mf04500c85276fcbc@mail.gmail.com> Message-ID: <45117719.3040002@googlemail.com> Max Clark wrote: > Hi all, > > One one of our servers we are serving a custom 404 error page from the > application code itself - what's happened is when the page breaks our > nagios monitor does not see the error because the error page is being > served quickly and properly. > > Is it possible to compare the results of a page with the previously > queried page? Or would it be possible to look for a specific string > and alert if the string is present? > > Thanks in advance, > Max > > try check_http with the -s option and specify that the page fetch must have a certain string or the test will fail. -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sdemarco at saxotech.com Wed Sep 20 19:29:18 2006 From: sdemarco at saxotech.com (Scott DeMarco) Date: Wed, 20 Sep 2006 13:29:18 -0400 Subject: alert options Message-ID: Richard, In order to do this, investigate using escalation groups (even w/ time settings). I have the setup here configured to send emails during alert 1 and 2 of the business day, SMS for alert 1 and 2 after hours and on weekends to our support team, then alerts 3+ go to myself and my team if they aren't' resolved. This is actually about 1 hr before they escalate in my case, but it can be easily tailored. Hope that helps. Best Regards, Scott DeMarco Network Systems Monitoring Engineer Cell: +1 (813) 464-9565 Email: sdemarco at saxotech.com Office: +1 (813) 221-1600 * Fax: +1 (813) 221-1604 www.saxotech.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Richard Galvez Sent: Sunday, September 17, 2006 4:21 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] alert options Hello again everyone, I was hoping that someone out there knew of a way to set up alerts in the following fashion: if hard state change: page-by-epager if critical state, and persists for more than 10 minutes: email. Is this possible? Regards, Richard ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sdemarco at saxotech.com Wed Sep 20 19:31:33 2006 From: sdemarco at saxotech.com (Scott DeMarco) Date: Wed, 20 Sep 2006 13:31:33 -0400 Subject: Host last check time Message-ID: 1. Do you have service checks defined for the new hosts? Hosts are 'pending' if the don't have any service checks defined. 2. A host isn't checked by default unless a service fails... If a service fails, the host is checked as part of the hierarchy. If all services have been ok for 2xx days, the host won't be checked. Hope that helps. Best Regards, Scott DeMarco Network Systems Monitoring Engineer Cell: +1 (813) 464-9565 Email: sdemarco at saxotech.com Office: +1 (813) 221-1600 * Fax: +1 (813) 221-1604 www.saxotech.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Wessel van Heerde Sent: Monday, September 18, 2006 7:30 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host last check time Hi all, I'm managing a small Nagios environment which contains about 30 hosts. The host detail page in the interface shows me that the last check time of these hosts is about 234 days ago. Why is it such a long time ago this host was checked? I recently (some days ago) added some new hosts, but their state is still pending. What is taking Nagios so long to check them. Thanks in advance, Wessel ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 20 19:45:14 2006 From: marc at ena.com (Marc Powell) Date: Wed, 20 Sep 2006 12:45:14 -0500 Subject: Can plugin inherit $USER$ variable ? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon > Sent: Wednesday, September 20, 2006 12:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Can plugin inherit $USER$ variable ? > > I've written a wrapper for a plugin but would like it to inherit the > $USER$ variable for use in the script so I don't have to hard code it. > > Does anybody know if this can be done without passing it as a parameter > to the new plugin? You'll need to pass any $USERx$ variables as parameters to your script or read them directly from resource.cfg within your script. The only other method would have been via environment variable but Nagios specifically does not export that variable set. http://nagios.sourceforge.net/docs/2_0/macros.html Macros as Environment Variables Starting with Nagios 2.0, most macros have been made available as environment variables. This means that scripts that are run from Nagios (i.e. service and host check commands, notification commands, etc.) can reference these macros directly as standard environment variables. For purposes of security and sanity, $USERn$ and "on-demand" host and service macros are not made available as environment variables. Environment variables that contain macros are named the same as their corresponding macro names (listed below), with "NAGIOS_" prepended to their names. For example, the $HOSTNAME$ macro would be available as an environment variable named "NAGIOS_HOSTNAME". -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 20 19:47:26 2006 From: marc at ena.com (Marc Powell) Date: Wed, 20 Sep 2006 12:47:26 -0500 Subject: Compare HTTP Page to Saved Copy Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Max Clark > Sent: Wednesday, September 20, 2006 12:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Compare HTTP Page to Saved Copy > > Hi all, > > One one of our servers we are serving a custom 404 error page from the > application code itself - what's happened is when the page breaks our > nagios monitor does not see the error because the error page is being > served quickly and properly. > > Is it possible to compare the results of a page with the previously > queried page? Or would it be possible to look for a specific string > and alert if the string is present? Run check_http --help. You'll want one of -s, -r or -R. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wrjacqmein at gmail.com Wed Sep 20 20:45:33 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Wed, 20 Sep 2006 14:45:33 -0400 Subject: Compare HTTP Page to Saved Copy In-Reply-To: References: Message-ID: <3c9a5bae0609201145w7e136ba6le03057ea84fac923@mail.gmail.com> -m for the minimum size is also useful for a limited number of checks. I ran into this problem during a LAMP database problem resulted in the error page still being delivered. After all the webserver was still up. :) Bill On 9/20/06, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Max Clark > > Sent: Wednesday, September 20, 2006 12:08 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Compare HTTP Page to Saved Copy > > > > Hi all, > > > > One one of our servers we are serving a custom 404 error page from the > > application code itself - what's happened is when the page breaks our > > nagios monitor does not see the error because the error page is being > > served quickly and properly. > > > > Is it possible to compare the results of a page with the previously > > queried page? Or would it be possible to look for a specific string > > and alert if the string is present? > > Run check_http --help. You'll want one of -s, -r or -R. > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From max.clark at gmail.com Wed Sep 20 22:21:50 2006 From: max.clark at gmail.com (Max Clark) Date: Wed, 20 Sep 2006 13:21:50 -0700 Subject: Compare HTTP Page to Saved Copy In-Reply-To: <3c9a5bae0609201145w7e136ba6le03057ea84fac923@mail.gmail.com> References: <3c9a5bae0609201145w7e136ba6le03057ea84fac923@mail.gmail.com> Message-ID: <2fa1e1780609201321w5885f283nd79152681fa4c22d@mail.gmail.com> I understand about the -s, -r and -R flags. These all look for a specific pattern. Can I look for the absense of a pattern? Thanks, Max On 9/20/06, Bill Jacqmein wrote: > -m for the minimum size is also useful for a limited number of checks. > > I ran into this problem during a LAMP database problem resulted in the > error page still being delivered. After all the webserver was still > up. :) > > Bill > > > On 9/20/06, Marc Powell wrote: > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Max Clark > > > Sent: Wednesday, September 20, 2006 12:08 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Compare HTTP Page to Saved Copy > > > > > > Hi all, > > > > > > One one of our servers we are serving a custom 404 error page from the > > > application code itself - what's happened is when the page breaks our > > > nagios monitor does not see the error because the error page is being > > > served quickly and properly. > > > > > > Is it possible to compare the results of a page with the previously > > > queried page? Or would it be possible to look for a specific string > > > and alert if the string is present? > > > > Run check_http --help. You'll want one of -s, -r or -R. > > > > -- > > Marc > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -- Max Clark http://www.clarksys.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Wed Sep 20 22:46:02 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 20 Sep 2006 17:46:02 -0300 Subject: Compare HTTP Page to Saved Copy In-Reply-To: <2fa1e1780609201321w5885f283nd79152681fa4c22d@mail.gmail.com> References: <3c9a5bae0609201145w7e136ba6le03057ea84fac923@mail.gmail.com> <2fa1e1780609201321w5885f283nd79152681fa4c22d@mail.gmail.com> Message-ID: <1158785162.32536.6.camel@localhost> checkout negate On Wed, 2006-09-20 at 13:21 -0700, Max Clark wrote: > I understand about the -s, -r and -R flags. These all look for a > specific pattern. Can I look for the absense of a pattern? > > Thanks, > Max > > > On 9/20/06, Bill Jacqmein wrote: > > -m for the minimum size is also useful for a limited number of checks. > > > > I ran into this problem during a LAMP database problem resulted in the > > error page still being delivered. After all the webserver was still > > up. :) > > > > Bill > > > > > > On 9/20/06, Marc Powell wrote: > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > > bounces at lists.sourceforge.net] On Behalf Of Max Clark > > > > Sent: Wednesday, September 20, 2006 12:08 PM > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: [Nagios-users] Compare HTTP Page to Saved Copy > > > > > > > > Hi all, > > > > > > > > One one of our servers we are serving a custom 404 error page from the > > > > application code itself - what's happened is when the page breaks our > > > > nagios monitor does not see the error because the error page is being > > > > served quickly and properly. > > > > > > > > Is it possible to compare the results of a page with the previously > > > > queried page? Or would it be possible to look for a specific string > > > > and alert if the string is present? > > > > > > Run check_http --help. You'll want one of -s, -r or -R. > > > > > > -- > > > Marc > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > > opinions on IT & business topics through brief surveys -- and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Wed Sep 20 22:43:12 2006 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 20 Sep 2006 16:43:12 -0400 Subject: Compare HTTP Page to Saved Copy In-Reply-To: <2fa1e1780609201321w5885f283nd79152681fa4c22d@mail.gmail.com> References: <2fa1e1780609201321w5885f283nd79152681fa4c22d@mail.gmail.com> Message-ID: <03ff01c6dcf5$63cbd9c0$3900a8c0@andrew> nagios-users-bounces at lists.sourceforge.net wrote: > I understand about the -s, -r and -R flags. These all look > for a specific pattern. Can I look for the absense of a pattern? So you want it to return critical only if the pattern is found? Check out the negate utility that I believe is still part of the plugins package: negate (nagios-plugins 1.4.0alpha1) 1.13 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 2002-2003 Nagios Plugin Development Team Negates the status of a plugin (returns OK for CRITICAL, and vice-versa). Usage: negate [-t timeout] negate (-h | --help) for detailed help negate (-V | --version) for version information Options: -h, --help Print detailed help screen -V, --version Print version information -t, --timeout=INTEGER Seconds before connection times out (default: 9) [keep timeout than the plugin timeout to retain CRITICAL status] negate "/usr/local/nagios/libexec/check_ping -H host" Run check_ping and invert result. Must use full path to plugin negate "/usr/local/nagios/libexec/check_procs -a 'vi negate.c'" Use single quotes if you need to retain spaces This plugin is a wrapper to take the output of another plugin and invert it. If the wrapped plugin returns STATE_OK, the wrapper will return STATE_CRITICAL. If the wrapped plugin returns STATE_CRITICAL, the wrapper will return STATE_OK. Otherwise, the output state of the wrapped plugin is unchanged. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pr0ncracker at gmail.com Thu Sep 21 02:39:46 2006 From: pr0ncracker at gmail.com (ben) Date: Wed, 20 Sep 2006 17:39:46 -0700 Subject: service_check_timeout not working Message-ID: <7a147d580609201739u12ca5c2ej431e3ccdb8b12ec3@mail.gmail.com> Hi, I'm running Nagios (on FreeBSD) and I'm having a problem with a script running much longer than it should, which is much more time than is set with the service_check_timeout in my configuration. In other words, the offending service check process is not being killed by Nagios as it should. The check script is written in PHP and the situation this problem occurs in is when it connects to a socket but receives no response. Any suggestions as to why this might be occuring or how I might fix it would be much appreciated. Thanks in advance. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frcaen at gmail.com Thu Sep 21 08:24:08 2006 From: frcaen at gmail.com (Francois Caen) Date: Wed, 20 Sep 2006 23:24:08 -0700 Subject: Off to the Nagios Conference In-Reply-To: <16cb573536d6649d6bb0bb23d975da5d@kilala.nl> References: <16cb573536d6649d6bb0bb23d975da5d@kilala.nl> Message-ID: <58cfe2840609202324q2f4eb5acr657982609bd57129@mail.gmail.com> On 9/19/06, Thomas Slutyer wrote: > In about twelve hours I'll jump in my car and drive for eight hours to > N?rnberg, Germania for the first annual Nagios Conference > (http://www.nagiosconference.de). Wow, the schedule looks really interesting. I can't wait for www.nagiosconference.us :-) -- Francois Caen, RHCE, CCNA SpiderMaker, LLC ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at subs.krikkit.nl Thu Sep 21 11:44:31 2006 From: nagios-users at subs.krikkit.nl (Rejo Zenger) Date: Thu, 21 Sep 2006 11:44:31 +0200 Subject: notifications to one group, with small delay to second group Message-ID: <20060921094431.GC16653@zaphod.krikkit.nl> Hi, I am currently running Nagios 2 (2.5-1~bpo.1 from backports) on a Debian Sarge server. It has about 400 hosts and 1.500 services, with service check latency averaging on 9.6 seconds. I am trying to update my setup, but I am not sure if I have the best possible solution. What I need is this: If a service gets critical, a notification must be send out immediatelly to the contactgroupmembers of "Group A". A second notification for that critical service should be send to "Group B" 5 minutes after the service has become critical. Group A, should receive a new notification every 30 minutes the problem persists. Group B should receive a new notification every 15 minutes the problem persists. Additionally, Group B should only be bothered during a specific time period. In an attempt to accomplish this I came up with the following: define service { [...] notification_interval 600 } define serviceescalation { [...] first_notification 1 last_notification 0 notification_interval 1800 contact_groups group_a } define serviceescalation { [...] first_notification 2 last_notification 0 notification_interval 900 contact_groups group_b } The last requirement, Group B receiving notifications only at certain times, can be met in several ways. One way would be by adding the option escalation_period to the above serviceescalation and another way would by limiting service_notification_period for each of the members of Group B. Would there be performance-wise a preference for one of these solutions? The reason I am asking is that, basically, I only want notifications every 15 minutes (*but* for the first notification one of the groups should have a 5 minute delay). I currently have a notification interval in the service definition of 1800. Would there, considering the amount of services that are being checked, a potential performance problem? -- Rejo Zenger https://rejo.zenger.nl -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 einar.indrida at gmail.com Thu Sep 21 12:14:49 2006 From: einar.indrida at gmail.com (Einar Indridason) Date: Thu, 21 Sep 2006 10:14:49 +0000 Subject: Off to the Nagios Conference In-Reply-To: <58cfe2840609202324q2f4eb5acr657982609bd57129@mail.gmail.com> References: <16cb573536d6649d6bb0bb23d975da5d@kilala.nl> <58cfe2840609202324q2f4eb5acr657982609bd57129@mail.gmail.com> Message-ID: <32603e510609210314s338be743jcf6b111604df1032@mail.gmail.com> On 9/21/06, Francois Caen wrote: > > On 9/19/06, Thomas Slutyer wrote: > > In about twelve hours I'll jump in my car and drive for eight hours to > > N?rnberg, Germania for the first annual Nagios Conference > > (http://www.nagiosconference.de). > > Wow, the schedule looks really interesting. I can't wait for > www.nagiosconference.us > :-) Sadly I didn't know about the Nagios conference, until just now. I'm curious... will the presentations be made available afterwards? I would like to know, for example, where Nagios 3.0 is headed, and how the interface will be designed. (Will it be more "Ajax"-like?) Will Nagios 3.0 have a "central information daemon", instead of the big status.dat file it currently has? Will we have a "libnagios" to do the gruntwork? How are the "broker" functions / functionality coming along? Will we have various SQL backends? (MySQL / PostgreSQL / SQLite / ...)? Etc. So... if possible, please make the presentations available to those of us poor souls, that can't make it to the conference. Cheers, -- EinarI -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Thu Sep 21 12:19:39 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 21 Sep 2006 11:19:39 +0100 Subject: check_dhcp doesn't work from server Message-ID: <4512673B.3010108@googlemail.com> I've put a dhcp server on the same host as the nagios server, and it's running but check_dhcp doesn't work from the server. /usr/nagios/libexec/check_dhcp -i eth1 -v DHCP socket: 3 Hardware address: 00095be058c7 DHCPDISCOVER to 255.255.255.255 port 67 DHCPDISCOVER XID: 772340585 (0x2E08FB69) DHCDISCOVER ciaddr: 0.0.0.0 DHCDISCOVER yiaddr: 0.0.0.0 DHCDISCOVER siaddr: 0.0.0.0 DHCDISCOVER giaddr: 0.0.0.0 send_dhcp_packet result: 548 No (more) data received Result=ERROR Total responses seen on the wire: 0 Valid responses for this machine: 0 DHCP problem: No DHCPOFFERs were received. but when I do it from another machine I get a successful result /usr/nagios/libexec/check_dhcp -v DHCP socket: 3 Hardware address: 00e08142504b DHCPDISCOVER to 255.255.255.255 port 67 DHCPDISCOVER XID: 854145870 (0x32E93B4E) DHCDISCOVER ciaddr: 0.0.0.0 DHCDISCOVER yiaddr: 0.0.0.0 DHCDISCOVER siaddr: 0.0.0.0 DHCDISCOVER giaddr: 0.0.0.0 send_dhcp_packet result: 548 recv_result_1: 308 recv_result_2: 308 receive_dhcp_packet() result: 308 receive_dhcp_packet() source: 192.168.1.89 Result=OK DHCPOFFER from IP address 192.168.1.89 DHCPOFFER XID: 854145870 (0x32E93B4E) DHCPOFFER chaddr: 00E08142504B DHCPOFFER ciaddr: 0.0.0.0 DHCPOFFER yiaddr: 192.168.1.242 DHCPOFFER siaddr: 0.0.0.0 DHCPOFFER giaddr: 0.0.0.0 Option: 53 (0x01) Option: 54 (0x04) Option: 51 (0x04) Option: 1 (0x04) Option: 3 (0x04) Option: 6 (0x04) Option: 58 (0x04) Option: 59 (0x04) Lease Time: 3600 seconds Renewal Time: 1800 seconds Rebinding Time: 3150 seconds Added offer from server @ 192.168.1.89 of IP address 192.168.1.242 No (more) data received Result=ERROR Total responses seen on the wire: 1 Valid responses for this machine: 1 DHCP ok: Received 1 DHCPOFFER(s), max lease time = 3600 sec. Why can't I check the dhcp server from the serving machine? -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Thu Sep 21 13:02:30 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 21 Sep 2006 12:02:30 +0100 Subject: check_dhcp doesn't work from server In-Reply-To: <4512673B.3010108@googlemail.com> References: <4512673B.3010108@googlemail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 21/09/2006 11:19:39: > I've put a dhcp server on the same host as the nagios server, and it's > running but check_dhcp doesn't work from the server. > > /usr/nagios/libexec/check_dhcp -i eth1 -v > DHCP socket: 3 > Hardware address: 00095be058c7 > DHCPDISCOVER to 255.255.255.255 port 67 > DHCPDISCOVER XID: 772340585 (0x2E08FB69) > DHCDISCOVER ciaddr: 0.0.0.0 > DHCDISCOVER yiaddr: 0.0.0.0 > DHCDISCOVER siaddr: 0.0.0.0 > DHCDISCOVER giaddr: 0.0.0.0 > send_dhcp_packet result: 548 > > No (more) data received > Result=ERROR > Total responses seen on the wire: 0 > Valid responses for this machine: 0 > DHCP problem: No DHCPOFFERs were received. Have you done a tcpdump to ensure that the packet is actually hitting the eth1 interface, and is not being routed by the kernel to the loopback interface? Something like this should prove useful: tcpdump -lnSi eth1 proto dhcp ( I guessed the proto dhcp flag, it may be bootp or something else, read man page) I imagine that your dhcp daemon is bound to eth1 and not listening on the loopback or eth0.. Run some tcpdumps on the interfaces to see that the requests come in on the right interfaces and are responded to.. > but when I do it from another machine I get a successful result These requests are definitely going out over the wire and hitting the DHCP server's nic, and is being responded to. It may be a different story running the check_dhcp plugin on the DHCP Server.. see above. Cheers rob This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 21 14:15:02 2006 From: marc at ena.com (Marc Powell) Date: Thu, 21 Sep 2006 07:15:02 -0500 Subject: check_dhcp doesn't work from server Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon > Sent: Thursday, September 21, 2006 5:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_dhcp doesn't work from server > > I've put a dhcp server on the same host as the nagios server, and it's > running but check_dhcp doesn't work from the server. > Search the list archives. I know this has been discussed on a couple of occasions. If I remember correctly, the problem is that DHCP is not going to give an address to the same machine it's running on. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 21 14:20:53 2006 From: marc at ena.com (Marc Powell) Date: Thu, 21 Sep 2006 07:20:53 -0500 Subject: Off to the Nagios Conference Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Francois Caen > Sent: Thursday, September 21, 2006 1:24 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Off to the Nagios Conference > > (http://www.nagiosconference.de). > > Wow, the schedule looks really interesting. I can't wait for > www.nagiosconference.us > :-) Hear Hear, or is it Here! Here! -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Thu Sep 21 14:48:33 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 21 Sep 2006 14:48:33 +0200 Subject: Off to the Nagios Conference In-Reply-To: <32603e510609210314s338be743jcf6b111604df1032@mail.gmail.com> References: <16cb573536d6649d6bb0bb23d975da5d@kilala.nl> <58cfe2840609202324q2f4eb5acr657982609bd57129@mail.gmail.com> <32603e510609210314s338be743jcf6b111604df1032@mail.gmail.com> Message-ID: On 21 Sep, 2006, at 12:14, Einar Indridason wrote: > So... if possible, please make the presentations available to those > of us > poor souls, that can't make it to the conference. We've been told repeatedly by the Netway staff that all presentations will be available for download from the Konferenz website, so you're in luck :) I'm also making audio recordings. If any come out "okay", I'll see if I can make them available for download as well. Now I gotta get back to the NagGraph presentation :) Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjsanz4job at hotmail.com Thu Sep 21 22:54:18 2006 From: cjsanz4job at hotmail.com (Carlos Sánchez) Date: Thu, 21 Sep 2006 15:54:18 -0500 Subject: nagios don't send mail Message-ID: Hi! I have configured a host and the sevice, when I lost communication with that host I must to receive a email but I don?t, what am I configuring bad? These are my logs Sep 21 13:19:37 segacc nagios: HOST EVENT HANDLER: prueba;DOWN;HARD;10;notify-by-email Sep 21 13:19:37 segacc nagios: Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: \n\nService: \nHost: prueba\nAddress: 192.168.xxx.xxx\nState: \n\nDate/Time: Thu Sept 21 13:19:37 ECT 2006\n\nAdditional Info:\n\n" | -s "** alert - prueba/ is **" " resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... Sep 21 13:19:37 segacc nagios: SERVICE ALERT: prueba;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 12 seconds These are the files that I create define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled # failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host { use generic-host host_name prueba alias prueba address 192.168.xxx.xxx check_command check-host-alive max_check_attempts 10 check_period 24x7 event_handler notify-by-email notification_interval 480 notification_period 24x7 notification_options d,u,r stalking_options o,d,o hostgroups linux-server contact_groups linux-admin } define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled # failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use generic-service service_description PING is_volatile 0 check_command check_ping!1050.0,30%!1550.0,60% max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 240 notification_period 24x7 host_name prueba notification_options u,c,r contact_groups linux-admin } _________________________________________________________________ Add fun gadgets and colorful themes to express yourself on Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Sep 21 23:18:14 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 21 Sep 2006 23:18:14 +0200 Subject: nagios don't send mail In-Reply-To: References: Message-ID: <45130196.30209@its-lehmann.de> Hi, On 9/21/2006 10:54 PM, Carlos SXnchez wrote: > Hi! > > I have configured a host and the sevice, when I lost communication with > that host I must to receive a email but I don?t, what am I configuring bad? > > These are my logs > > Sep 21 13:19:37 segacc nagios: HOST EVENT HANDLER: > prueba;DOWN;HARD;10;notify-by-email > > Sep 21 13:19:37 segacc nagios: Warning: Attempting to execute the > command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: > \n\nService: \nHost: prueba\nAddress: 192.168.xxx.xxx\nState: > \n\nDate/Time: Thu Sept 21 13:19:37 ECT 2006\n\nAdditional Info:\n\n" | > -s "** alert - prueba/ is **" " resulted in a return code of 127. > Make sure the script or binary you are trying to execute actually exists... Your notification command is not configured correctly. Usually you'd see a mail program like 'mail' between the "|" and "-s" in the command definition. Just insert the mail program you use on your server there, and make sure the -s switch does set the subject. On most common unix(like) systems, the command "mail" should work correctly. Then, make sure your local mail transport program aka mail server is set up correctly :-) Arno > Sep 21 13:19:37 segacc nagios: SERVICE ALERT: > prueba;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 12 seconds > > These are the files that I create > > define host{ > name generic-host ; The name of > this host template > notifications_enabled 1 ; Host notifications are > enabled > event_handler_enabled 1 ; Host event handler is > enabled > flap_detection_enabled 1 ; Flap detection is enabled > # failure_prediction_enabled 1 ; Failure prediction is > enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > define host { > use generic-host > host_name prueba > alias prueba > address 192.168.xxx.xxx > check_command check-host-alive > max_check_attempts 10 > check_period 24x7 > event_handler notify-by-email > notification_interval 480 > notification_period 24x7 > notification_options d,u,r > stalking_options o,d,o > hostgroups linux-server > contact_groups linux-admin > } > > define service{ > name generic-service ; The 'name' of > this service template > active_checks_enabled 1 ; Active service checks > are enabled > passive_checks_enabled 1 ; Passive service checks > are enabled/accepted > parallelize_check 1 ; Active service checks > should be parallelized (disabling this can lead to major performance > problems) > obsess_over_service 1 ; We should obsess over > this service (if necessary) > check_freshness 0 ; Default is to NOT check > service 'freshness' > notifications_enabled 1 ; Service notifications > are enabled > event_handler_enabled 1 ; Service event handler > is enabled > flap_detection_enabled 1 ; Flap detection is enabled > # failure_prediction_enabled 1 ; Failure prediction is > enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > > > define service { > use generic-service > service_description PING > is_volatile 0 > check_command check_ping!1050.0,30%!1550.0,60% > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 240 > notification_period 24x7 > host_name prueba > notification_options u,c,r > contact_groups linux-admin > } > > _________________________________________________________________ > Add fun gadgets and colorful themes to express yourself on Windows Live > Spaces > http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagi0sb0y at yahoo.com Fri Sep 22 07:58:05 2006 From: nagi0sb0y at yahoo.com (jay alvarez) Date: Thu, 21 Sep 2006 22:58:05 -0700 (PDT) Subject: Passing Arguments to checkcommand in hosts.cfg Message-ID: <20060922055805.99845.qmail@web58407.mail.re3.yahoo.com> Hi, I'm trying to use check_cisco_ping for some hosts and aside from the $HOSTADDRESS$ it requires the mpls label. Passing an argument to the check_command using !ARGn! notation doesn't work. I think it has something to do with the ARG definition in the manual: "The nth argument passed to the service check command. Nagios supports up to 32 argument macros ($ARG1$ through $ARG32$)." Arguments are only passed to service checks and not to host checks. There is no service associated with the said hosts. And I think it is not a good idea to just rely on service checks result for those hosts such that hosts can assumed to be up or down because the host checking method will just be a waste to the machine's resource given a huge number of hosts to be checked but the host check commands arent working. Any idea how to handle this? Thanks! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 22 10:05:07 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 22 Sep 2006 10:05:07 +0200 Subject: Passing Arguments to checkcommand in hosts.cfg In-Reply-To: <20060922055805.99845.qmail@web58407.mail.re3.yahoo.com> References: <20060922055805.99845.qmail@web58407.mail.re3.yahoo.com> Message-ID: <45139933.4090101@its-lehmann.de> Hi, On 9/22/2006 7:58 AM, jay alvarez wrote: > Hi, > > I'm trying to use check_cisco_ping for some hosts and > aside from the $HOSTADDRESS$ it requires the mpls > label. Passing an argument to the check_command using > !ARGn! notation doesn't work. I think it has something > to do with the ARG definition in the manual: "The nth > argument passed to the service check command. Nagios > supports up to 32 argument macros ($ARG1$ through > $ARG32$)." > > Arguments are only passed to service checks and not to > host checks. If that's the case you could always either hard-code the necessary arguments in the check command - thereby possibly creating a large number of similar host check commands - or using a wrapper script around the actual check command. You could set up any additional arguments depending on the host name or address, for example. >There is no service associated with the > said hosts. That's a misconfiguration then :-) Hosts are only checked when they have a service problem. So: No services means no host checks. > And I think it is not a good idea to just > rely on service checks result for those hosts such > that hosts can assumed to be up or down because the > host checking method will just be a waste to the > machine's resource given a huge number of hosts to be > checked but the host check commands arent working. But why not simply add a service check doing what you now want to put into the host check? You could even simplify the host check to something like 'check_dummy 1 "Unknown switch state"' if you want to... > Any idea how to handle this? Yup, many ;-) Arno > Thanks! > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Fri Sep 22 10:28:00 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Fri, 22 Sep 2006 09:28:00 +0100 Subject: nagios don't send mail In-Reply-To: <45130196.30209@its-lehmann.de> References: <45130196.30209@its-lehmann.de> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 21/09/2006 22:18:14: [.. snip ..] > Your notification command is not configured correctly. Usually you'd see > a mail program like 'mail' between the "|" and "-s" in the command > definition. I wrote a perl script to send the emails. It's a direct replacement and can be dropped in to your configuration in place. http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=698 Cheers rob / mossko This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 22 13:02:22 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 22 Sep 2006 12:02:22 +0100 Subject: Externals Commands In-Reply-To: References: Message-ID: <4513C2BE.50601@googlemail.com> Just for reference and closure on this, there was nothing wrong with my setup really. I have noticed a couple of quirks though which I should point out. The nagios_check_command I specified in cgi.cfg never worked, despite the fact that it works perfectly from the command line of the nagios user (in fact I put it in a script and use it outside of nagios fine) . For reference see https://sourceforge.net/search/?ml_name=nagios-users&type_of_search=mlists&group_id=26589&words=nagios+process+not+running+it+is+running Once I commented out the nagios_check_command, I could add comments, but I still could not schedule downtime. I have also found that when scheduling downtime, if I put the name of the host in lower case instead of Capitalized as I have defined it, then I get the error regarding you are not authorized etc... even though my nagiosadmin user is authorized for everything everywhere. Therefore the downtime scheduling is case sensitive for hostname. So really this whole problem was nothing to do with permissions or authorisation. -h Deborah Martin wrote: > no idea! i use .htaccess and it works for me! my httpd.conf has the > following which is what i extracted from the docs! > > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > > AllowOverride AuthConfig > order allow,deny > allow from all > Options ExecCGI > > > > Alias /nagios /usr/local/nagios/share > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > > AllowOverride AuthConfig > order allow,deny > allow from all > > > Maybe there is something else that is fundamentally wrong! > > > -----Original Message----- > *From:* Justin Craig [mailto:jrcraig.email at gmail.com] > *Sent:* 01 August 2006 16:22 > *To:* Deborah Martin > *Cc:* Martin J. Green; Hari Sekhon; nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Externals Commands > > okay so here is my output: > > in my httpd.conf file I have: > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > Options ExecCGI > AllowOverride AuthConfig > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > Alias /nagios "/usr/local/nagios/share" > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > # > > Where is my problem for not being able to execute external > commands or schedule downtime for a host? > > On 8/1/06, *Deborah Martin* < Deborah.Martin at kognitio.com > > wrote: > > actually you can use .htaccess or the httpd.conf file it > doesn't matter. If you put in the httpd.conf you have to > restart apache - not always convenient to > do that. But using .htaccess means you don't have to do that > and can simply add this file into the locations required with > immediate effect. > > Also, htpasswd(2) does as you say come with apache but it has > been known to be included with Nagios! > > > -----Original Message----- > *From:* Martin J. Green [mailto:mgreen at altien.com > ] > *Sent:* 01 August 2006 15:36 > *To:* Deborah Martin; Justin Craig > *Cc:* Hari Sekhon; nagios-users at lists.sourceforge.net > > *Subject:* RE: [Nagios-users] Externals Commands > > The .htaccess is only required if you don't have root access > to the server & thus can't add it to the main httpd.conf. If > you have root access, its almost always better to add it > there. In that case you would have no .htaccess file, it would > all be in the server config. > > > > M > > > > ------------------------------------------------------------------------ > > *From:* Deborah Martin [mailto:Deborah.Martin at kognitio.com > ] > *Sent:* 01 August 2006 15:32 > *To:* 'Justin Craig' > *Cc:* Hari Sekhon; Martin J. Green; > nagios-users at lists.sourceforge.net > > *Subject:* RE: [Nagios-users] Externals Commands > > > > ok - somewhere in the nagios docs are the details with regard > to setting up .htaccess but > > > > I think there is a utility in the nagios install directory > under bin called htpasswd or htpasswd2 and you run this util > to generate a htpasswd.users file where > > all the users that have web interface access are stored > including nagiosadmin. I store mine in the etc install directory. > > > > Then in my .htaccess file i have the following > > > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > > > This file resides in the sbin directory (which is also > cgi-bin). Note though - change the AuthUserFile path to > wherever you are storing the htpasswd.users file. > > > > When i was getting the 'return from whence you came error', > this was exactly my problem - i hadn't set up authorisation > correctly and the above was how i fixed it. > > > > hope this helps. > > -----Original Message----- > *From:* Justin Craig [mailto:jrcraig.email at gmail.com > ] > *Sent:* 01 August 2006 15:07 > *To:* Deborah Martin > > > *Cc:* Hari Sekhon; Martin J. Green; > nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] Externals Commands > > so obviously I RTFM or I wouldn't have got this far. One part > that I did have questions of was the .htaccess creation, as > the documentation I read only provided information for > setting up users via htpasswd -c and changing your > authorization functionality in the CGI's to 1. > > > > So I did a find / -name *.htaccess* and that file doesn't > exist. Sounds like I need one? > > > > Sorry, there isn't anything in my /var/www/cgi-bin directory > > > > Is there something missed here? > > > > On 8/1/06, *Deborah Martin* < Deborah.Martin at kognitio.com > > wrote: > > can you forward the contents of the .htaccess file that > resides in the cgi-bin directory ? and a listing of the rest > of the directory including the permissions > > -----Original Message----- > *From:* Justin Craig [mailto: jrcraig.email at gmail.com > ] > *Sent:* 01 August 2006 14:46 > *To:* Deborah Martin > *Cc:* Hari Sekhon; Martin J. Green; > nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] Externals Commands > > i'm logged in as nagiosadmin and i have that username in all > my cgi's. I have the sameissue, can't schedule downtime or > issue external commands with the same error. I'm running > nagios 2.4 > > > > On 8/1/06, *Deborah Martin* < Deborah.Martin at kognitio.com > > wrote: > > look at your /usr/local/nagios/sbin directory and check a) > file permissions are correct and also whether your .htaccess > authrization file is present. > > This error is generally caused by not correctly using > .htaccess and also not configuring apache properly - check > your httpd.conf is correctly configured > > > > -----Original Message----- > *From:* Hari Sekhon [mailto: hpsekhon at googlemail.com > ] > *Sent:* 01 August 2006 14:14 > *To:* Martin J. Green > *Cc:* nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] Externals Commands > > Martin J. Green wrote: > > I can't get external commands to work either (appears it > can't write to the file for some reason), but its so low > on my list of priorities I haven't gotten to it yet. > > ------------------------------------------------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net > [ > mailto:nagios-users-bounces at lists.sourceforge.net] *On > Behalf Of *Hari Sekhon > *Sent:* 01 August 2006 13:48 > *To:* nagios-users at lists.sourceforge.net > > *Subject: *[Nagios-users] Externals Commands > > I am having real difficulty getting external commands to > work and don't full understand what's going wrong, despite > having RTFMing several times. > > As an example, I log in to the web interface as > nagiosadmin via basic apache auth successfully as usual. I > go to "comments" in the left hand pane and enter one for a > host but when I click submit, I get the error: > > "Sorry, but you are not authorized to commit the specified > command. > > Read the section of the documentation that deals with > authentication and authorization in the CGIs for more > information. > > Return from whence you came" > > As far as I can tell, I have all the perms set right > according to the docs: > > cgi.cfg > > use_authentication=1 > authorized_for_system_information=nagiosadmin > authorized_for_configuration_information=nagiosadmin > authorized_for_system_commands=nagiosadmin > authorized_for_all_services=nagiosadmin > authorized_for_all_hosts=nagiosadmin > authorized_for_all_service_commands=nagiosadmin > authorized_for_all_host_commands=nagiosadmin > > nagios.cfg > > command_file=/var/nagios/rw/nagios.cmd > check_external_commands=1 > # NOTE: Setting this value to -1 causes Nagios to check > the external > # command file as often as possible. > command_check_interval=-1 > > ll /var/nagios/ | grep rw/ > drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ > > ll /var/nagios/rw/nagios.cmd > prw-rw---- 1 nagios apache 0 Aug 1 13:28 > /var/nagios/rw/nagios.cmd| > > The apache process is run by the apache user, a member of > the apache group, so has full perms to the directory and > the pipe file nagios.cmd. Nagios is run by nagios who is > also a member of the apache group. > > This all looks as it should be according to the docs as > far as I can see. > > What am I missing? > > > Hari > > > I think quite a lot of people have trouble with this but a > lot give up or are satisfied that the main bit is working > and don't bother with this... > > does anybody have this working and if so could you post > your configs so I can see anything you have different to me? > > are external commands generally broken or is there > something missing in the docs/our configs/our brains? > > I'm using Version 1.4.1 > > Hari > > ************************************************************************ > This email and any files transmitted with it are confidential > and intended solely for the use of the individual or entity to > whom they are addressed. Any unauthorised distribution or > copying is strictly prohibited. Whilst Kognitio Limited takes > steps to prevent the transmission of viruses via e-mail, we > can not guarantee that any email or attachment is free from > computer viruses and you are strongly advised to undertake > your own anti-virus precautions. Kognitio grants no warranties > regarding performance, use or quality of any e-mail or > attachment and undertakes no liability for loss or damage, > howsoever caused. > *********************************************************************** > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance > to share your > opinions on IT & business topics through brief surveys -- and > earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > -- > - Justin > > > > > -- > - Justin > > > > > -- > - Justin > -- Hari Sekhon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 daniel.siegers at bauerverlag.de Fri Sep 22 13:59:49 2006 From: daniel.siegers at bauerverlag.de (daniel.siegers at bauerverlag.de) Date: Fri, 22 Sep 2006 13:59:49 +0200 Subject: nagios hangs randomly after reload Message-ID: <02B1076B2DFE13409815EDC61708EBC58FC192@NTXCHG10.bauer.bauerverlag.de> Hi list, we use nagios 2.4 and have problems with hangs after reloads in about one of four times. We use these configs: main.cfg: [...] retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=10 use_retained_program_state=1 use_retained_scheduling_info=1 and retain_status_information 1 retain_nonstatus_information 1 in every host and service object. This is nagios -s output: [...] HOST SCHEDULING INFORMATION --------------------------- Total hosts: 234 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 30 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2981 Total scheduled services: 2981 Service inter-check delay method: SMART Average service check interval: 285.99 sec Inter-check delay: 0.10 sec Interleave factor method: USER-SUPPLIED VALUE Service interleave factor: 4 Max service check spread: 30 min First scheduled check: Fri Sep 22 13:56:49 2006 Last scheduled check: Fri Sep 22 14:01:35 2006 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 2 sec Max concurrent service checks: 100 PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. Every time the problem occurs nagios is still running and all cgi work just fine, but the checks don't get scheduled anymore. Has anyone an idea about the problem or any suggestions about our config? Mit freundlichen Gr??en / Kind regards Daniel Siegers Bauer Systems KG Systemadministration Brieffach 18000 Burchardstra?e 11 D-20077 Hamburg Telefon +49 (0)40-3019-3936 Fax +49 (0)40-3019-140-3936 E-Mail Daniel.Siegers at Bauerverlag.de -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 ks at mocker.org Fri Sep 22 17:06:15 2006 From: ks at mocker.org (Kyle Sexton) Date: Fri, 22 Sep 2006 10:06:15 -0500 Subject: Service escalations (exclude certain service_descriptions?) Message-ID: I would like to create an escalation group that notifies for all services and hosts except for a few specific ones. I've created a serviceescalation that will do everything, but now I'd like to start excluding a certain service. For example I'd like to not be notified if the service_description is 'C:\', is there an easy way to match all and then exclude specific services? define serviceescalation { host_name * service_description * first_notification 3 last_notification 0 notification_interval 15 contact_groups Tier2 } Thanks! -- Kyle Sexton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 travisrabe at gmail.com Fri Sep 22 17:48:28 2006 From: travisrabe at gmail.com (Travis Rabe) Date: Fri, 22 Sep 2006 08:48:28 -0700 Subject: Web Pagre Frame Disappears in FireFox Message-ID: <75082b000609220848qbb9d63epaf8e26a71b7a539d@mail.gmail.com> Hello All, I have noticed that when using IE 6 and 7 that the left frame stays a part of the page when going through the pages of the nagios web. When I use FireFox, after the homepage, the frame always disappears. Any ideas? Is this a bug? Is there a workaround for it? Travis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 cjsanz4job at hotmail.com Fri Sep 22 18:30:22 2006 From: cjsanz4job at hotmail.com (Carlos Sánchez) Date: Fri, 22 Sep 2006 11:30:22 -0500 Subject: problems nagios Message-ID: Hi!! i have a problem, i do apt-get remove --purge mailx, when i execute that command my packet nagios-mysql was removed. I dont know why, but when i do apt-get install nagios-mysql i have an error DBI connect('dbname=','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/lib/nagios/plugins/check_nagios_db line 71 And when execute that command /etc/init.d/nagios restart Sep 22 11:25:47 ctmon nagios: Caught SIGTERM, shutting down... Sep 22 11:25:47 ctmon nagios: Error: Could not connect to MySQL database '' on host '' using username '' and password 'XXXXXX'. Retention data will not be processed or saved! Sep 22 11:25:50 ctmon nagios: Nagios 1.4 starting... (PID=12631) Sep 22 11:25:50 ctmon nagios: Error: Could not connect to MySQL database '' on host '' using username '' and password 'XXXXXX'. Status data will not be saved! Sep 22 11:25:50 ctmon nagios: Error: Could not connect to MySQL database '' on host '' using username '' and password 'XXXXXX'. Retention data will not be processed or saved! Sep 22 11:25:50 ctmon nagios: Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds... Sep 22 11:25:50 ctmon nagios: Error: Could not connect to MySQL database '' on host '' using username '' and password 'XXXXXX' for comment data! Sep 22 11:25:50 ctmon nagios: Error: Could not connect to MySQL database '' on host '' using username '' and password 'XXXXXX' for downtime data! Anybody help me!!!! _________________________________________________________________ Try the new Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WLMTAG ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cristian.lupu at hostway.ro Fri Sep 22 18:43:08 2006 From: cristian.lupu at hostway.ro (cristian.lupu at hostway.ro) Date: Fri, 22 Sep 2006 19:43:08 +0300 (EEST) Subject: (no subject) Message-ID: <1923.83.166.199.52.1158943388.squirrel@www.hostway.ro> I've just installed nagios for the first time. I have a problem with localhost. It says that localhost is down. In error log i have something like that. [1158925659] HOST ALERT: localhost;DOWN;SOFT;1;/bin/ping -n -U -w 10 -c 1 127.0.0.1 I've checked with check_ping from libexec to see if it's ok and it works. What could be the problem? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 22 20:21:23 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 22 Sep 2006 19:21:23 +0100 Subject: check_route or equivalent? Message-ID: <451429A3.3000808@googlemail.com> I've got a second firewall connected to an adsl modem as a backup and I want to be able to monitor that the second line is actually working and routing properly to the internet. What I would like to do is to send a traceroute to www.google.com but send it via the ip of the backup firewall instead of the default gateway. I just want to check ping using this ip as my local gateway instead of the usual default gateway. Does anybody know of a plugin to do this or have any idea how I can send this ping without changing my routing on the nagios host server? -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 22 21:04:18 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 22 Sep 2006 21:04:18 +0200 (CEST) Subject: check_route or equivalent? In-Reply-To: <451429A3.3000808@googlemail.com> References: <451429A3.3000808@googlemail.com> Message-ID: On Fri, 22 Sep 2006, Hari Sekhon wrote: > I've got a second firewall connected to an adsl modem as a backup and I > want to be able to monitor that the second line is actually working and > routing properly to the internet. > > What I would like to do is to send a traceroute to www.google.com but > send it via the ip of the backup firewall instead of the default gateway. > > I just want to check ping using this ip as my local gateway instead of > the usual default gateway. > > Does anybody know of a plugin to do this or have any idea how I can send > this ping without changing my routing on the nagios host server? Sound like you want the omelet without breaking the eggshells. I think you need to handle this with routing. So I suggest you sacrify some subnet you do not want to reach normally and send that network out via the other link. (Say: 207.68.128.0/18 ;-) And just for good measures. If it is the backup link. How will you do the failover? (Not that is has anything to do with Nagios.) It might be worthwhile digging into the source based routing option of your network equipment. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forrest at dealer.com Fri Sep 22 21:25:55 2006 From: forrest at dealer.com (Forrest England) Date: Fri, 22 Sep 2006 15:25:55 -0400 Subject: weekly availability reports Message-ID: <451438C3.2040606@dealer.com> Hi there, I've been playing with nagios as a replacement/augmentation for BigBrother, which I'm currently using, which allows a weekly availability report to be sent to a specified email address. Is this functionality readily available in Nagios? I'm familiar with the availability reports available on nagios's pages, but is there an easy way to get it to generate a report at a regular interval and send it via email? I could make a cron job to run avail.cgi and send the output, but I thought I'd check to see if anyone can point me to some built in functionality first. Thanks. -- ______________________________ * Forrest England | System Administrator V 802.658.0965 x179 forrest at dealer.com | www.dealer.com * ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 22 21:32:30 2006 From: marc at ena.com (Marc Powell) Date: Fri, 22 Sep 2006 14:32:30 -0500 Subject: Web Pagre Frame Disappears in FireFox Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Travis Rabe > Sent: Friday, September 22, 2006 10:48 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Web Pagre Frame Disappears in FireFox > > Hello All, > > I have noticed that when using IE 6 and 7 that the left frame stays a > part of the page when going through the pages of the nagios web. When I > use FireFox, after the homepage, the frame always disappears. Any ideas? > Is this a bug? Is there a workaround for it? If you haven't modified the source code then it would appear that your firefox is borked. I use FF exclusively and have never seen that problem nor have I seen anyone else report it. All links have a target of 'main'. If you view source on the page, or look at ~nagios/share/index.html, you should see the frameset and a line that looks like -- The FRAME NAME defines the frame window that the links will use and must match the 'target=' used for each link. If it's not 'main' (or at least the same) then FF will either open a new window or replace the current window. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 22 21:33:57 2006 From: marc at ena.com (Marc Powell) Date: Fri, 22 Sep 2006 14:33:57 -0500 Subject: (no subject) Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of cristian.lupu at hostway.ro > Sent: Friday, September 22, 2006 11:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] (no subject) > > I've just installed nagios for the first time. > I have a problem with localhost. It says that localhost is down. > > In error log i have something like that. > [1158925659] HOST ALERT: localhost;DOWN;SOFT;1;/bin/ping -n -U -w 10 -c 1 > 127.0.0.1 > > I've checked with check_ping from libexec to see if it's ok and it works. > What could be the problem? As a guess I would say that /bin/ping is not executable as the nagios user. Try it as you see it above. If you can't run it, 'chmod u+s /bin/ping' -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cshaffer at gmail.com Fri Sep 22 21:35:59 2006 From: cshaffer at gmail.com (Curt Shaffer) Date: Fri, 22 Sep 2006 14:35:59 -0500 Subject: weekly availability reports In-Reply-To: <451438C3.2040606@dealer.com> References: <451438C3.2040606@dealer.com> Message-ID: <004101c6de7e$56793f30$171b10ac@betsy> http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_v iew]=640 That is what I am working with. I am in the midst of changing it a bit to my taste but it works well out of the box. HTH Curt -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Forrest England Sent: Friday, September 22, 2006 2:26 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] weekly availability reports Hi there, I've been playing with nagios as a replacement/augmentation for BigBrother, which I'm currently using, which allows a weekly availability report to be sent to a specified email address. Is this functionality readily available in Nagios? I'm familiar with the availability reports available on nagios's pages, but is there an easy way to get it to generate a report at a regular interval and send it via email? I could make a cron job to run avail.cgi and send the output, but I thought I'd check to see if anyone can point me to some built in functionality first. Thanks. -- ______________________________ * Forrest England | System Administrator V 802.658.0965 x179 forrest at dealer.com | www.dealer.com * ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forrest at dealer.com Fri Sep 22 21:45:43 2006 From: forrest at dealer.com (Forrest England) Date: Fri, 22 Sep 2006 15:45:43 -0400 Subject: weekly availability reports In-Reply-To: <004101c6de7e$56793f30$171b10ac@betsy> References: <004101c6de7e$56793f30$171b10ac@betsy> Message-ID: <45143D67.3080403@dealer.com> looks like a good starting place, thanks. Curt Shaffer wrote: > http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_v > iew]=640 > > That is what I am working with. I am in the midst of changing it a bit to my > taste but it works well out of the box. > > HTH > > Curt > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Forrest > England > Sent: Friday, September 22, 2006 2:26 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] weekly availability reports > > Hi there, I've been playing with nagios as a replacement/augmentation > for BigBrother, which I'm currently using, which allows a weekly > availability report to be sent to a specified email address. Is this > functionality readily available in Nagios? I'm familiar with the > availability reports available on nagios's pages, but is there an easy > way to get it to generate a report at a regular interval and send it via > email? I could make a cron job to run avail.cgi and send the output, > but I thought I'd check to see if anyone can point me to some built in > functionality first. Thanks. > -- ______________________________ * Forrest England | System Administrator V 802.658.0965 x179 forrest at dealer.com | www.dealer.com * ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Fri Sep 22 22:02:34 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Fri, 22 Sep 2006 22:02:34 +0200 Subject: (no subject) Message-ID: I will be out of the office starting 2006-09-20 and will not return until 2006-09-26. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Fri Sep 22 21:37:53 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Fri, 22 Sep 2006 19:37:53 +0000 (UTC) Subject: check_route or equivalent? In-Reply-To: <451429A3.3000808@googlemail.com> References: <451429A3.3000808@googlemail.com> Message-ID: looking at my ping'(ipv4)s man page using -g and the IP of the secondary gateway would work. using ipv6 i tend to run one rtsold advertisement for each pipe for each gateway. Thus a host on a network that is comprised of two interconnected routers with independent access to two shared pipes would have at /least/ 4 IPs, thus src address alone is sufficient in the ip6 world! ('local'* services are by fe80:: or rfc 4193 addressing depending upon segmentation). * as in LAN or corporate-internal. On Fri, 22 Sep 2006, Hari Sekhon wrote: > Date: Fri, 22 Sep 2006 19:21:23 +0100 > From: Hari Sekhon > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_route or equivalent? > > I've got a second firewall connected to an adsl modem as a backup and I > want to be able to monitor that the second line is actually working and > routing properly to the internet. > > What I would like to do is to send a traceroute to www.google.com but > send it via the ip of the backup firewall instead of the default gateway. > > I just want to check ping using this ip as my local gateway instead of > the usual default gateway. > > Does anybody know of a plugin to do this or have any idea how I can send > this ping without changing my routing on the nagios host server? > > -h > > -- > Hari Sekhon > > Robin-David Hammond KB3IEN ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Sun Sep 24 20:33:53 2006 From: richy at daviesinc.com (Richard Galvez) Date: Sun, 24 Sep 2006 14:33:53 -0400 Subject: nsca, where to download Message-ID: <1159122833.25395.11.camel@atari.localhost> I went to the sourceforge website, but I cannot find the nsca source. Any one know what is going on? Richard ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Sep 24 20:39:31 2006 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Sun, 24 Sep 2006 20:39:31 +0200 Subject: nsca, where to download In-Reply-To: <1159122833.25395.11.camel@atari.localhost> References: <1159122833.25395.11.camel@atari.localhost> Message-ID: <20060924183931.GC9493@CIS.FU-Berlin.DE> * Richard Galvez [2006-09-24 14:33]: > I went to the sourceforge website, but I cannot find the nsca source. > Any one know what is going on? http://www.nagios.org/download/ Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Mon Sep 25 20:41:40 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Mon, 25 Sep 2006 14:41:40 -0400 Subject: NRPE dependencies Message-ID: Hi, On most of the hosts I monitor, there are many tests done via NRPE. If network connectivity is down for sometime, I receive notifications for all these checks. I thought about creating a service dependency so that if NRPE is u,c, or w, all the other tests (that depend on NRPE) should not be done (or notifications not sent). I think service dependencies support dependent checks on the same host. What can I do to avoid being flooded by notifications when NRPE is not accessible? Regards, Ugo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Mon Sep 25 20:50:59 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Mon, 25 Sep 2006 20:50:59 +0200 Subject: NRPE dependencies In-Reply-To: References: Message-ID: <45182513.7050108@gmx.net> Hi, just do so... the services dependency feature is just there for such an installation. Read more about it on: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#servicedependency Best wishes Hendrik Ugo Bellavance schrieb: > Hi, > > On most of the hosts I monitor, there are many tests done via NRPE. If > network connectivity is down for sometime, I receive notifications for > all these checks. > > I thought about creating a service dependency so that if NRPE is u,c, > or w, all the other tests (that depend on NRPE) should not be done (or > notifications not sent). > > I think service dependencies support dependent checks on the same host. > What can I do to avoid being flooded by notifications when NRPE is not > accessible? > > Regards, > > Ugo > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Mon Sep 25 22:03:29 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Mon, 25 Sep 2006 16:03:29 -0400 Subject: NRPE dependencies In-Reply-To: <45182513.7050108@gmx.net> References: <45182513.7050108@gmx.net> Message-ID: Hendrik Baecker wrote: > Hi, > > just do so... the services dependency feature is just there for such an > installation. > > Read more about it on: > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#servicedependency Ok, it works. Maybe I went too quickly. What dit not work is that I would like to use a group for the service description. I want to be able to say that for every server in my config, if NRPE is not returning OK on one server, don't do checks that depend on NRPE. The ideal solution would be only one servicedependency definition, but I don't think it is possible, so here is what I tried: - Defined a servicegroup: define servicegroup{ servicegroup_name NRPE_dep alias NRPE-dependant checks } - I added members through the "servicegroups" directive in the service descriptions. Now I'm trying that: define servicedependency{ dependent_servicegroup_name NRPE_dep host_name server1 service_description NRPE execution_failure_criteria n notification_failure_criteria w,u,c } I always get this error: Error: NULL service description/host name in service dependency definition Any ideas? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Mon Sep 25 22:27:11 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Mon, 25 Sep 2006 16:27:11 -0400 Subject: Distributed setup, NSCA, not working Message-ID: Hi, I'm trying to make a failover system, so I have added, on the master server, to: nagios.cfg: obsess_over_services=1 ocsp_command=send_service_check ( don't check for hosts) I've defined send_service_check like this: # send_service_check command definition define command{ command_name send_service_check command_line /usr/sbin/send_nsca -H 10.0.0.2 -c /etc/nagios/send_nsca.cfg -d "," $HOSTNAME$,'$SERVICEDESC$',$SERVICESTATEID$,'$SERVICEOUTPUT$' } It does not work. 10.0.0.2 never gets anything, but I don't have any errors either. I tried running manually: /usr/sbin/send_nsca -H 10.0.0.2 -c /etc/nagios/send_nsca.cfg -d "," gateway2,SWAP,0,Caution It leads to help, as if I made a mistake. I've tried encrypting, and I decided to try without encryption to be sure this wasn't the problem. Still nothing. Telnetting to port 5667 connects, outputs garbage. I tried enabling debug on the nsca server (10.0.0.2), nothing more. Any ideas? Regards, Ugo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naim.abu.darwish at gmail.com Mon Sep 25 22:39:15 2006 From: naim.abu.darwish at gmail.com (naim abu darwish) Date: Mon, 25 Sep 2006 23:39:15 +0300 Subject: httping through proxy Message-ID: <3f8ec11c0609251339j6b0ca236r95ad02f399bd8e5e@mail.gmail.com> hello. I'm trying to monitor browsing performance through proxies. httping ( http://www.vanheusden.com/httping/ )is like ping but for http-requests. check command example is something like :: httping -h www.google.com -x 192.168.20.24:8080 -c 1 -t 2 where the variables are :: 1) 192.168.20.24 is the ip address of the proxy, corresponding to $$HOSTADDRESS$$ 2) 8080 is the port number that the squid proxy is running on, this could be corresponding to $ARG1$ Could anyone please tell me how to put this in a way nagios understands. Its something close to what i did below, but i cant quiet figure it out yet. the mistake is somewhere with the colon ( : ), i think. ### from the file /etc/nagios/checkcommands.cfg define command{ command_name check_httping command_line /usr/bin/httping -x $HOSTADDRESS$ : $ARG1$ -c 1 -h www.google.com } ### Many thanks -Naim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Mon Sep 25 23:16:07 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Mon, 25 Sep 2006 23:16:07 +0200 (CEST) Subject: Nagios Crashes on Downtime Message-ID: <20060925211607.729CE4F4046@desire.netways.de> Hi list I've been fighting this beast forever and really am pleading for some expertise. I'm running Nagios on SUSe linux, 8.x, sles 9.3 and have been having this trouble since Nagios 1.1. Currently using v2.5. I'm currently using plugins v1.4.2, but the version doesn't seem to matter. The OS also doesn't seem to matter. We're running on an old 486, a new 64-bit Intel blade, and a z/Os mainframe virtual host and it bombs the same on all. Nagios crashes occassionally when entering or exiting from scheduled down time. I've seen the problem once or twice from other commands, but it seems the easiest to reproduce by scheduling downtime. In all earlier versions, the crash wrote a segfault to the logs, but v2.5 just dies quietly. The problem comes around once every 200-300 commands, but there isn't a magic number. It doesn't die on the same host name, either. We are currently showing around 11 critical items in the monitoring interface, and all the statuses and notifications are valid. We are using only active checks. The performance numbers look suspicious (90% over one minute) but with performance data monitoring disabled in nagios.cfg, I don't place much confidence in these numbers. Please help! - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 25 23:20:19 2006 From: marc at ena.com (Marc Powell) Date: Mon, 25 Sep 2006 16:20:19 -0500 Subject: httping through proxy Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of naim abu darwish > Sent: Monday, September 25, 2006 3:39 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] httping through proxy > > hello. > I'm trying to monitor browsing performance through proxies. httping ( > http://www.vanheusden.com/httping/ )is like ping but for > http-requests. > check command example is something like :: > > httping -h www.google.com -x 192.168.20.24:8080 -c 1 -t 2 > > where the variables are :: > 1) 192.168.20.24 is the ip address of the proxy, corresponding to > $$HOSTADDRESS$$ > 2) 8080 is the port number that the squid proxy is running on, this > could be corresponding to $ARG1$ > > Could anyone please tell me how to put this in a way nagios > understands. Its something close to what i did below, but i cant quiet > figure it out yet. > the mistake is somewhere with the colon ( : ), i think. > > ### from the file /etc/nagios/checkcommands.cfg > > > define command{ > command_name check_httping > command_line /usr/bin/httping -x $HOSTADDRESS$ : $ARG1$ > -c 1 -h www.google.com > } The spaces around the : are likely to be your current problem. You were probably trying for something like -- command_line /usr/bin/httping -x $HOSTADDRESS$:$ARG1$ -c 1 -h www.google.com That would at least get httping running _BUT_ unless httping exits with the standard nagios exit codes to denote state and follows the nagios output guidelines (in the Developer Docs at http://nagiosplug.sf.net), you'll need to create a wrapper script for it so that it does. This is almost certainly going to be necessary. Essentially you'll need to look at the output of httping and determine if it's OK, WARNING, CRITICAL or UNKNOWN and tell nagios appropriately. At the minimum you'll need to follow the 'Print only one line of output' and 'Plugin Return Codes' section of that documentation. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naim.abu.darwish at gmail.com Mon Sep 25 23:49:49 2006 From: naim.abu.darwish at gmail.com (naim abu darwish) Date: Tue, 26 Sep 2006 00:49:49 +0300 Subject: httping through proxy In-Reply-To: References: Message-ID: <3f8ec11c0609251449lde86f61w19b757096d8d221a@mail.gmail.com> Hello Thnx for the quick reply Mark, httping actaully has a -N switch :: httping:: -N x Nagios mode 2: return 0 when all fine, 'x' i could add to that a time limit, say -t 2, standing for time limit is 2 seconds, and i sound the alarm when the value goes above that. but thats not what i really want, i want the actuall httping value, i want to make a graph out of it, with nagiosgrapher or pnp. This is very important, we must know when perfomance is better, when we must upgrade, etc etc.. oh, and running without the spaces before and after the : did not help, i got this message: (Return code of 127 is out of bounds - plugin may be missing) Any ideas? Greets -Naim On 9/26/06, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of naim abu darwish > > Sent: Monday, September 25, 2006 3:39 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] httping through proxy > > > > hello. > > I'm trying to monitor browsing performance through proxies. httping ( > > http://www.vanheusden.com/httping/ )is like ping but for > > http-requests. > > check command example is something like :: > > > > httping -h www.google.com -x 192.168.20.24:8080 -c 1 -t 2 > > > > where the variables are :: > > 1) 192.168.20.24 is the ip address of the proxy, corresponding to > > $$HOSTADDRESS$$ > > 2) 8080 is the port number that the squid proxy is running on, this > > could be corresponding to $ARG1$ > > > > Could anyone please tell me how to put this in a way nagios > > understands. Its something close to what i did below, but i cant quiet > > figure it out yet. > > the mistake is somewhere with the colon ( : ), i think. > > > > ### from the file /etc/nagios/checkcommands.cfg > > > > > > define command{ > > command_name check_httping > > command_line /usr/bin/httping -x $HOSTADDRESS$ : $ARG1$ > > -c 1 -h www.google.com > > } > > The spaces around the : are likely to be your current problem. You were > probably trying for something like -- > > command_line /usr/bin/httping -x $HOSTADDRESS$:$ARG1$ -c 1 -h > www.google.com > > That would at least get httping running _BUT_ unless httping exits with > the standard nagios exit codes to denote state and follows the nagios > output guidelines (in the Developer Docs at http://nagiosplug.sf.net), > you'll need to create a wrapper script for it so that it does. This is > almost certainly going to be necessary. Essentially you'll need to look > at the output of httping and determine if it's OK, WARNING, CRITICAL or > UNKNOWN and tell nagios appropriately. At the minimum you'll need to > follow the 'Print only one line of output' and 'Plugin Return Codes' > section of that documentation. > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Tue Sep 26 00:04:05 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Mon, 25 Sep 2006 18:04:05 -0400 Subject: NRPE dependencies In-Reply-To: Your message of "Mon, 25 Sep 2006 16:03:29 EDT." References: Message-ID: <200609252204.k8PM453A026460@mx1.cs.umb.edu> In message , Ugo Bellavance writes: >Hendrik Baecker wrote: >> Hi, >> >> just do so... the services dependency feature is just there for such an >> installation. >> >> Read more about it on: >> >> http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#servicedependency > >Ok, it works. Maybe I went too quickly. > >What dit not work is that I would like to use a group for the service >description. > >I want to be able to say that for every server in my config, if NRPE is >not returning OK on one server, don't do checks that depend on NRPE. > >The ideal solution would be only one servicedependency definition, but I >don't think it is possible, so here is what I tried: > >- Defined a servicegroup: > >define servicegroup{ > servicegroup_name NRPE_dep > alias NRPE-dependant checks > } > >- I added members through the "servicegroups" directive in the service >descriptions. > >Now I'm trying that: > >define servicedependency{ > dependent_servicegroup_name NRPE_dep > host_name server1 > service_description NRPE > execution_failure_criteria n > notification_failure_criteria w,u,c > } > >I always get this error: > >Error: NULL service description/host name in service dependency definition Apply the patch mentioned in: http://thread.gmane.org/gmane.network.nagios.user/19511/focus=19511 and see if: define servicedependency { use defaults dependent_servicegroup_name NRPE_dep service_description NRPE host_name SELF } Don't know it it will work, but it seems like it should from the description. Alternatively do what I do. Create a servicedependency.cfg file that is created by a script that parses the objects.cache file. so to update: clear/empty servicedependency.cfg reload nagios wait until objects.cache is updated parse objects.cache for all the host/service pairs in the NRPE_dep servicegroup generate: define servicedependency{ dependent_host_name example dependent_service_description (all services from NRPE_dep for host example) host_name example service_description NRPE ... } and put them into servicedependency.cfg reload nagios to load the now non-empty servicedependency.cfg file. Definitely a pain. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RNathan at baxglobal.com Tue Sep 26 01:29:25 2006 From: RNathan at baxglobal.com (Ranga Nathan) Date: Mon, 25 Sep 2006 16:29:25 -0700 Subject: Monitoring windows servers Message-ID: I have been asked to investigate how our Nagios server can monitor Windows servers in our network. I have been monitoring only linux boxes so far. We would like to monitor processes, disk, memory, network etc. I would like to hear about your experiences. Any guidance welcome __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 ugob at camo-route.com Tue Sep 26 01:44:02 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Mon, 25 Sep 2006 19:44:02 -0400 Subject: Monitoring windows servers In-Reply-To: References: Message-ID: Ranga Nathan wrote: > > I have been asked to investigate how our Nagios server can monitor > Windows servers in our network. I have been monitoring only linux boxes > so far. > > We would like to monitor processes, disk, memory, network etc. > > I would like to hear about your experiences. Any guidance welcome It works nicely with nrpe. http://sourceforge.net/projects/nscplus. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl.kornel at mindspeed.com Tue Sep 26 02:21:49 2006 From: karl.kornel at mindspeed.com (karl.kornel at mindspeed.com) Date: Mon, 25 Sep 2006 17:21:49 -0700 Subject: Nagios Crashes on Downtime In-Reply-To: <20060925211607.729CE4F4046@desire.netways.de> References: <20060925211607.729CE4F4046@desire.netways.de> Message-ID: David, I have also been experiencing crashes when I have many (>5) downtimes scheduled in a day. I've posted about it previously under the subject "BUG? Segfault & coredump with scheduled downtime, downtime scheduled horked", sent on the 17th of August. Does what I describe in that message seem similar to your situation? Also, in my case, Nagios' account on my system is configured to not save coredumps by default. When I want a coredump, I run `ulimit -c unlimited` before starting Nagios. Could you be in the same situation? -- A. Karl Kornel, Mindspeed Technologies, Inc. karl.kornel at mindspeed.com -- (949) 579-3503 "Remember the Rules: Separation & Optimization" David Schlecht Sent by: nagios-users-bounces at lists.sourceforge.net 09/25/2006 02:16 PM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Nagios Crashes on Downtime Hi list I've been fighting this beast forever and really am pleading for some expertise. I'm running Nagios on SUSe linux, 8.x, sles 9.3 and have been having this trouble since Nagios 1.1. Currently using v2.5. I'm currently using plugins v1.4.2, but the version doesn't seem to matter. The OS also doesn't seem to matter. We're running on an old 486, a new 64-bit Intel blade, and a z/Os mainframe virtual host and it bombs the same on all. Nagios crashes occassionally when entering or exiting from scheduled down time. I've seen the problem once or twice from other commands, but it seems the easiest to reproduce by scheduling downtime. In all earlier versions, the crash wrote a segfault to the logs, but v2.5 just dies quietly. The problem comes around once every 200-300 commands, but there isn't a magic number. It doesn't die on the same host name, either. We are currently showing around 11 critical items in the monitoring interface, and all the statuses and notifications are valid. We are using only active checks. The performance numbers look suspicious (90% over one minute) but with performance data monitoring disabled in nagios.cfg, I don't place much confidence in these numbers. Please help! - David Schlecht (dschl) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Roland.Sorgenfrei at spb.de Tue Sep 26 06:14:01 2006 From: Roland.Sorgenfrei at spb.de (Roland.Sorgenfrei at spb.de) Date: Tue, 26 Sep 2006 06:14:01 +0200 Subject: Antwort: Monitoring windows servers [Virengeprueft] In-Reply-To: References: Message-ID: Hi, you can use nc_net or nsclient : NC_Net V1_x LAST UPDATE 7/16/05 NC_Net is a drop in replacement for Ns_Client, that can do both Active and Passive checks. Some of the other enhancements: EVENT Log Checks, WMI Query, Enumeration commands, as well as remote configuration of passive checks. NsClient This addon has been developed to get vital information from Windows NT/2000/XP servers (CPU load, memory usage, disk usage, service states, processes, and performance data). Have a look on : http://www.nagiosexchange.org Regards, Roland Ranga Nathan An Gesendet von: nagios nagios-users-boun orge.net Kopie Thema 26.09.2006 01:29 [Nagios-users] Monitoring windows servers [Virengeprueft] I have been asked to investigate how our Nagios server can monitor Windows servers in our network. I have been monitoring only linux boxes so far. We would like to monitor processes, disk, memory, network etc. I would like to hear about your experiences. Any guidance welcome __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Tue Sep 26 11:56:32 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Tue, 26 Sep 2006 10:56:32 +0100 Subject: weekly availability reports In-Reply-To: <45143D67.3080403@dealer.com> References: <45143D67.3080403@dealer.com> Message-ID: Hi.. nagios-users-bounces at lists.sourceforge.net wrote on 22/09/2006 20:45:43: > looks like a good starting place, thanks. > > Curt Shaffer wrote: > > http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_v > > iew]=640 > > > > That is what I am working with. I am in the midst of changing it abit to my > > taste but it works well out of the box. Please let me know what features you would like added and i'll try include it in a next version :-) rob/mossko This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 26 14:12:14 2006 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 26 Sep 2006 08:12:14 -0400 Subject: Antwort: Monitoring windows servers [Virengeprueft] In-Reply-To: References: Message-ID: The newest version of NC_NEt requires DOt Net Framework 2.0 and is on SourceForge: http://sourceforge.net/projects/nc-net I have had some setbacks this past month that have prevented me from merging in some tested upgrades to NC_NEt. version 1.X and 2.X of NC_NEt uses the Do Net Framework 1.1 Good Luck TOny -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 jlongland at grintek.com Tue Sep 26 14:51:50 2006 From: jlongland at grintek.com (John Longland) Date: Tue, 26 Sep 2006 14:51:50 +0200 Subject: Slave nagios Message-ID: <510595ECCFAEFC44941F5EDA4324F275011F9B83@gtmail.Grintel.com> Hi all !!! I have a love-triangle-situation here and wherever there's a love-triangle, things gets messy !!!! I have 3 sites, lets call then A,B and C A has my Nagios monitor , monitoring machines on both the B & C networks. Some of the machines on network C I cannot monitor. ( Lets just say its politics and leave it at that !!! ) I can however see the unmonitored machines from my B-network. And I can see my B-netywork from my A network that has my Nagios. I was thinking to put up a "slave" nagios at B. This slave will then monitor to outstanding machines on C and this info can then be passed to the "main" nagios system at A. ( Hope that makes sense !!! ) Can this be done ????? Thanks !!! John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 kilala.nl Tue Sep 26 15:04:38 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Tue, 26 Sep 2006 15:04:38 +0200 Subject: Slave nagios In-Reply-To: <510595ECCFAEFC44941F5EDA4324F275011F9B83@gtmail.Grintel.com> References: <510595ECCFAEFC44941F5EDA4324F275011F9B83@gtmail.Grintel.com> Message-ID: On 26 Sep, 2006, at 14:51, John Longland wrote: > I have a love-triangle-situation here and wherever there's a love- > triangle, > things gets messy !!!! > ... > ( Hope that makes sense !!! ) > Can this be done ????? Heck yeah, you can do this! That's what "distributed monitoring" is for... Sometimes, just sometimes, a triangle works out very nicely :) Cheers! o/ Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hariharan_wan at yahoo.com Tue Sep 26 15:48:37 2006 From: hariharan_wan at yahoo.com (Hariharan Sankararaman) Date: Tue, 26 Sep 2006 06:48:37 -0700 (PDT) Subject: Fwd: Welcome to the "Nagios-users" mailing list (Digest mode) Message-ID: <20060926134837.1686.qmail@web55806.mail.re3.yahoo.com> Note: forwarded message attached. --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded message was scrubbed... From: nagios-users-request at lists.sourceforge.net Subject: Welcome to the "Nagios-users" mailing list (Digest mode) Date: Tue, 26 Sep 2006 06:27:21 -0700 Size: 2447 URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 hariharan_wan at yahoo.com Tue Sep 26 15:53:57 2006 From: hariharan_wan at yahoo.com (Hariharan Sankararaman) Date: Tue, 26 Sep 2006 06:53:57 -0700 (PDT) Subject: Error: Template 'passive-check-template' Message-ID: <20060926135357.93449.qmail@web55807.mail.re3.yahoo.com> Dear all, I am using Fedore core 5 and i have install nagios for Network monitoring. Version Details: OS - Linux Fedora Core 5 Application : Nagios 2.5 SNMP 5.3.1 CISCO MIB file using V1 My Setup description: 1 .SNMP trap daemon will receive SNMP traps 2 . SNMP trap daemon will handle traps to /var/spool/snmptt 3. SNMPTT will get the traps from /var/spool/snmptt directory 4. SNMPTT translate the mibs and handover to syslog (/var/log/message) 5 . I have called SEC to correlate the events from syslog and sec will in turn use the python script to correlate the event to handover to nagios cmd. I am verifying the documents form sysadmin site. I have copied the same service templates from the site for my configuration. iam using minimal.cfg as object configuartion file. when i execute nagios it says error message as given below Error: Template 'passive-check-template' specified in service definition could not be not found (config file '/etc/nagios/minimal.cfg', starting on line 307) Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'snmp_trap_handling_Critical' on host 'router1' Error: Could not register service (config file '/etc/nagios/minimal.cfg', starting on line 330) Pls find my configuration files with this . Pls help me in this regard With Regards Hariharan --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 naim.abu.darwish at gmail.com Tue Sep 26 16:38:02 2006 From: naim.abu.darwish at gmail.com (naim abu darwish) Date: Tue, 26 Sep 2006 17:38:02 +0300 Subject: httping through proxy In-Reply-To: <3f8ec11c0609251449lde86f61w19b757096d8d221a@mail.gmail.com> References: <3f8ec11c0609251449lde86f61w19b757096d8d221a@mail.gmail.com> Message-ID: <3f8ec11c0609260738if175d1fj593beff295233290@mail.gmail.com> i think i found an alternative:: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ -u http://www.google.com } Im not sure its the same thing, tcpdump should show. On 9/26/06, naim abu darwish wrote: > Hello > Thnx for the quick reply Mark, httping actaully has a -N switch :: > httping:: -N x Nagios mode 2: return 0 when all fine, 'x' > i could add to that a time limit, say -t 2, standing for time limit is > 2 seconds, and i sound the alarm when the value goes above that. > but thats not what i really want, i want the actuall httping value, i > want to make a graph out of it, with nagiosgrapher or pnp. This is > very important, we must know when perfomance is better, when we must > upgrade, etc etc.. > > oh, and running without the spaces before and after the : did not > help, i got this message: > (Return code of 127 is out of bounds - plugin may be missing) > Any ideas? > > Greets > -Naim > > On 9/26/06, Marc Powell wrote: > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of naim abu darwish > > > Sent: Monday, September 25, 2006 3:39 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] httping through proxy > > > > > > hello. > > > I'm trying to monitor browsing performance through proxies. httping ( > > > http://www.vanheusden.com/httping/ )is like ping but for > > > http-requests. > > > check command example is something like :: > > > > > > httping -h www.google.com -x 192.168.20.24:8080 -c 1 -t 2 > > > > > > where the variables are :: > > > 1) 192.168.20.24 is the ip address of the proxy, corresponding to > > > $$HOSTADDRESS$$ > > > 2) 8080 is the port number that the squid proxy is running on, this > > > could be corresponding to $ARG1$ > > > > > > Could anyone please tell me how to put this in a way nagios > > > understands. Its something close to what i did below, but i cant quiet > > > figure it out yet. > > > the mistake is somewhere with the colon ( : ), i think. > > > > > > ### from the file /etc/nagios/checkcommands.cfg > > > > > > > > > define command{ > > > command_name check_httping > > > command_line /usr/bin/httping -x $HOSTADDRESS$ : $ARG1$ > > > -c 1 -h www.google.com > > > } > > > > The spaces around the : are likely to be your current problem. You were > > probably trying for something like -- > > > > command_line /usr/bin/httping -x $HOSTADDRESS$:$ARG1$ -c 1 -h > > www.google.com > > > > That would at least get httping running _BUT_ unless httping exits with > > the standard nagios exit codes to denote state and follows the nagios > > output guidelines (in the Developer Docs at http://nagiosplug.sf.net), > > you'll need to create a wrapper script for it so that it does. This is > > almost certainly going to be necessary. Essentially you'll need to look > > at the output of httping and determine if it's OK, WARNING, CRITICAL or > > UNKNOWN and tell nagios appropriately. At the minimum you'll need to > > follow the 'Print only one line of output' and 'Plugin Return Codes' > > section of that documentation. > > > > -- > > Marc > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue Sep 26 19:21:49 2006 From: td3201 at gmail.com (Terry) Date: Tue, 26 Sep 2006 12:21:49 -0500 Subject: check/notification intervals Message-ID: <8ee061010609261021y3d3b045cr130b135a530ac66d@mail.gmail.com> I am migrating to 2.5 and am going through my config. Something caught my eye. 1) When would you want normal_check_interval to ever be different than notification_interval? 2) what happens when you set max_check_attempts to 0 (zero)? Will it then always stick to the retry_check_interval? Thanks! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 26 20:08:26 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 26 Sep 2006 11:08:26 -0700 Subject: check/notification intervals In-Reply-To: <8ee061010609261021y3d3b045cr130b135a530ac66d@mail.gmail.com> References: <8ee061010609261021y3d3b045cr130b135a530ac66d@mail.gmail.com> Message-ID: <20060926180826.GH10188@pmorris.usa.hp.com> On Tue, 26 Sep 2006, Terry wrote: > I am migrating to 2.5 and am going through my config. Something caught my eye. > > 1) When would you want normal_check_interval to ever be different than > notification_interval? There are plenty of reasons you might want these to be different. You may, for example, have a chack you want to run every 60 seconds. Getting notifications that often would be annoying. The inverse might apply for services that are checked infrequently. > 2) what happens when you set max_check_attempts to 0 (zero)? Will it > then always stick to the retry_check_interval? I haven't tried it, but I would guess that it's either invalid, or will cause state to never change. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From geoffrey.walton at midwich.com Tue Sep 26 21:06:13 2006 From: geoffrey.walton at midwich.com (Geoffrey Walton) Date: Tue, 26 Sep 2006 21:06:13 +0200 (CEST) Subject: Monitoring windows servers In-Reply-To: References: Message-ID: <20060926190613.73FF44F4046@desire.netways.de> Hi Ranga Like everything it can be done but is "fun" to configure and get working. Here is an extract of some notes I made when setting up a test system, so it only makes 97% sense, there a a couple of "odd" sentences. Remember it is still work in progress so if anything doesn't work plese let me know. It assumes you have Nagios working with the plugins ahd NRPE installed. G Monitoring a Windows Server Download the file for NRPE-NT onto the windows box, http://www.nagiosexch ange.org/NRPE.77.0.html?&tx_netnagext_pi1[p_view]=139, and unzip it. Rename the bin directory as Nagios and move it to the root directory on the c drive. Open a DOS cmd window cd /nagios nrpe_nt -i Now go and start the Nagios Remote service or reboot this client server. If you have a firewall on the client server open port 5666. Download the file for Basic NRPE_NT Plugins onto the windows box, http://www.nagiosexchange.org/NRPE_Plugins.66.0.htm l?&tx_netnagext_pi1[p_view]=62, and unzip it. Copy all the exe files in the bin directory to c:\Nagios. In the Nagios directory edit nrpe.cfg and set the allowed host to the ip of your nagios server. allowed_hosts=192.168.0.1 Then at the bottom, add configuration lines for the checks we can run. command[nt_cpuload]=C:\nagios\cpuload_nrpe_nt.exe 50 80 command[nt_check_disk_c]=C:\nagios\diskspace_nrpe_nt.exe c: 70 90 command[nt_check_disk_d]=C:\nagios\diskspace_nrpe_nt.exe d: 70 90 command[nt_check_disk_e]=C:\nagios\diskspace_nrpe_nt.exe e: 70 90 command[nt_eventlog]=C:\nagios\eventlog_nrpe_nt.exe 7200 "Service Control Manager" command[nt_memload]=C:\nagios\memload_nrpe_nt.exe 70 90 command[nt_service]=C:\nagios\service_nrpe_nt.exe "Event Log,DNS Client" These commands all have fixed values which once you are familiar with what you are doing you might want to change them. If you want to use parameters in the commands read the comments in the config file. Now on the host server we have to set up a new host in the host.cfg file, why not copy the entries for the first server and change the name, alias and address to those relating to your windows server. Copy this to checkcommands.cfg define command{ command_name nt_check_disk_c command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c nt_check_disk_c } define command{ command_name nt_check_disk_d command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c nt_check_disk_d } define command{ command_name nt_check_disk_e command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c nt_check_disk_e } define command{ command_name nt_cpuload command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c nt_cpuload } define command{ command_name nt_memload command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c nt_memload } define command{ command_name nt_service command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c nt_service } define command{ command_name nt_eventlog command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c nt_eventlog } Copy this to the service.cfg replacing xxxxxxxxxx with the host name you used in the hosts.cfg file. define service{ use generic-service ; Name of service template to use host_name xxxxxxxxxx service_description NT_DISK_C is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command nt_check_disk_c } Validate the configuration, and as a small exercise, correct the deliberate error, validate again and restart Nagios. By copying the nagios directory onto other windows server and setting up the service to run as described above you can monitor them as well. You will also need to define them in the hosts.cfg and add them to the host_name on service entry defined above in the service.cfg file. - Geoffrey Walton (geoffrey) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=22073 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From geoffrey.walton at midwich.com Tue Sep 26 21:18:07 2006 From: geoffrey.walton at midwich.com (Geoffrey Walton) Date: Tue, 26 Sep 2006 21:18:07 +0200 (CEST) Subject: Eventhandlers Message-ID: <20060926191807.CB8054F4046@desire.netways.de> Does anyone know where I can see some more samples of eventhandlers scripts. The documentation points to a non-existant directory on my installation which was compiled from source. Nagios 2.5 Redhat EL4 Extract from 2.5 documentation The scripts should examine the values of the arguments passed in and take any necessary action based upon those values. The best way to understand how event handlers should work is to see and example. Lucky for you, one is provided below. There are also some sample event handler scripts included in the eventhandlers/ subdirectory of the Nagios distribution. Some of these sample scripts demonstrate the use of external commands to implement redundant monitoring hosts. Examples showing re-starting various services on remote linux and windows boxes would be appreciated. Cheers Geoffrey ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 26 21:28:42 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 26 Sep 2006 12:28:42 -0700 Subject: Eventhandlers In-Reply-To: <20060926191807.CB8054F4046@desire.netways.de> References: <20060926191807.CB8054F4046@desire.netways.de> Message-ID: <20060926192842.GM10188@pmorris.usa.hp.com> On Tue, 26 Sep 2006, Geoffrey Walton wrote: > Does anyone know where I can see some more samples of eventhandlers > scripts. The documentation points to a non-existant directory on > my installation which was compiled from source. Have you looked at the docs on the Nagios website? http://nagios.sourceforge.net/docs/2_0/eventhandlers.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From geoffrey.walton at midwich.com Tue Sep 26 22:02:06 2006 From: geoffrey.walton at midwich.com (Geoffrey Walton) Date: Tue, 26 Sep 2006 22:02:06 +0200 (CEST) Subject: Eventhandlers In-Reply-To: <20060926192842.GM10188@pmorris.usa.hp.com> References: <20060926192842.GM10188@pmorris.usa.hp.com> Message-ID: <20060926200206.B01EA4F4046@desire.netways.de> Yes, that is where the extract in my orig post came from. Thanks for the thought. Cheers G ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=22091 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From geoffrey.walton at midwich.com Tue Sep 26 22:02:43 2006 From: geoffrey.walton at midwich.com (Geoffrey Walton) Date: Tue, 26 Sep 2006 22:02:43 +0200 (CEST) Subject: Eventhandlers In-Reply-To: <20060926192842.GM10188@pmorris.usa.hp.com> References: <20060926192842.GM10188@pmorris.usa.hp.com> Message-ID: <20060926200243.752174F4046@desire.netways.de> Yes, that is where the extract in my orig post came from. Thanks for the thought. Cheers G ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=22091 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From geoffrey.walton at midwich.com Tue Sep 26 22:49:55 2006 From: geoffrey.walton at midwich.com (Geoffrey Walton) Date: Tue, 26 Sep 2006 22:49:55 +0200 (CEST) Subject: More meaningful Nagios Map(s) In-Reply-To: <75082b000609150854n12a67315n5260f09e2c18e36@mail.gmail.com> References: <75082b000609150854n12a67315n5260f09e2c18e36@mail.gmail.com> Message-ID: <20060926204955.DB5F84F4046@desire.netways.de> Here is something I did when trying to improve the user defined status map Nagios 2.5 Redhat EL4 Setting Up Your Status Map On your host server go to http://www.nagiosexchange.org/Image_Packs.75.0. html?&tx_netnagext_pi1[p_view]=107 and download inmagepak_cook.tar.gz. Put the contents in /usr/local/nagios/share/images/logos. >From http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[ p_view]=166 download nagiosmap.pl to your desktop. If you can see it or the program will not run chmod 744 ~/Desktop/nagiosmap.pl The current download (12/9/2004) will work if you edit the code slightly as the entries in hostextinfo.cfg file and the location of directories have changed in this release. So open nagiosmap.pl in an editor and on line 36 & 52 ... my $imgpath="/usr/local/nagios/share/images/logos/"; my $cfgpath="/usr/local/share/nagios/etc/"; Replace gd2_image with statusmap_image in 2 places e.g. print SAVE " gd2_image ".$object{$obj}{"GD2"}."\n"; print SAVE " statusmap_image ".$object{$obj}{"GD2"}."\n"; } elsif ($line =~ /^\s+statusmap_image\s+([\w\d\-\_\.]+)\s*(\;?.*|)$/) { If you are really picky you could also change Enable to Unable in all the error messages. There does seem to be some work being done at http://cvs.orion.education. fr/viewcvs/racvision/src/nagiosmap/ . apt-get install perl-Tk apt-get install perl-Locale-gettext Now you can run the script. (You might need to get some other perl modules but I am sure the erro messages witll be extremly clear and easy to decipher :-) ~/Desktop/nagiosmap.pl Click on File and Open, open and open. There are no lines on the map because the hosts file does not have any parent info. But once you put a hub in your hosts.cfg you can put a parent line in the definitions for your servers and then you start to get a "map". So exit the program and update your hosts.cfg. When you restart the program you can drag and drop the images. Assign an image to every host by right clicking on the questionmarks and selecting from the drop down. File, save,save,Yes,Yes Go and look at the hostextinfo.cfg file it created for you. The fields it can contain are shown below. define hostextinfo{ host_name host_name notes note_string notes_url url action_url url icon_image image_file icon_image_alt alt_string vrml_image image_file statusmap_image image_file 2d_coords x_coord,y_coord 3d_coords x_coord,y_coord,z_coord } You can use and editor to add default entries for lines it does not put in. Validate your config files and restart nagios. Select Status Map from the menubar on the left and then User Supplied Co-ordinates and click on update. Enjoy Geoffrey ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=21918 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From routed2000 at yahoo.com Wed Sep 27 00:08:35 2006 From: routed2000 at yahoo.com (G Bit) Date: Tue, 26 Sep 2006 15:08:35 -0700 (PDT) Subject: Disable host checks Message-ID: <20060926220835.79244.qmail@web51608.mail.yahoo.com> Hi, I have disabled host checks by not defining the check_command in the host definition. I used to have it, but I removed it. But I still get host DOWN notifications like PING failed. How can I go about debugging this. Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 27 01:03:03 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 26 Sep 2006 16:03:03 -0700 Subject: Disable host checks In-Reply-To: <20060926220835.79244.qmail@web51608.mail.yahoo.com> References: <20060926220835.79244.qmail@web51608.mail.yahoo.com> Message-ID: <20060926230303.GP10188@pmorris.usa.hp.com> On Tue, 26 Sep 2006, G Bit wrote: > Hi, > > I have disabled host checks by not defining the check_command in the host definition. I used > to have it, but I removed it. But I still get host DOWN notifications like PING failed. How can I > go about debugging this. One of two things is probably happening: Either you have a host check defined in a host template, and now that you've deleted the override the default host check is kicking in, or you're receiving results from a PING service check. What message do you get, exactly? There are other possibilities, but those are the most likely so I'll leave it at that for now to avoid confusion. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From routed2000 at yahoo.com Wed Sep 27 01:10:39 2006 From: routed2000 at yahoo.com (G Bit) Date: Tue, 26 Sep 2006 16:10:39 -0700 (PDT) Subject: Disable host checks In-Reply-To: <20060926230303.GP10188@pmorris.usa.hp.com> References: <20060926230303.GP10188@pmorris.usa.hp.com> Message-ID: <20060926231039.91866.qmail@web51613.mail.yahoo.com> --- Patrick Morris wrote: > On Tue, 26 Sep 2006, G Bit wrote: > > > Hi, > > > > I have disabled host checks by not defining the check_command in the host definition. I used > > to have it, but I removed it. But I still get host DOWN notifications like PING failed. How > can I > > go about debugging this. > > One of two things is probably happening: > > Either you have a host check defined in a host template, and now that > you've deleted the override the default host check is kicking in, or > you're receiving results from a PING service check. What message do you > get, exactly? Actually I created a new definition in the template and used that. I can verify this because in the web console when I do a "View Config" and select "Hosts", I can see that the Host check_command is empty. hostname: PING CRITICAL - Packet loss = 100% is the error message. Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Sep 27 01:13:11 2006 From: teng at dataway.com (Tedman Eng) Date: Tue, 26 Sep 2006 16:13:11 -0700 Subject: Disable host checks Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EBB@dw-mail.dataway.com> First off, could you describe the troubleshooting steps that led you to conclude you needed to disable host checks? That's a drastic measure to take and produces many undesirable side effects. Without a host check command, there's nothing to reset the host state to "Host UP", so it will stay in the previous state recorded. If you cannot ping a host, but it is providing SOME sort of reachable network service, you should still define a host test of some sort (use check_tcp). "Host Check" in Nagios is a synonym for "Reachability Test". > -----Original Message----- > From: G Bit [mailto:routed2000 at yahoo.com] > Sent: Tuesday, September 26, 2006 3:09 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Disable host checks > > > Hi, > > I have disabled host checks by not defining the check_command > in the host definition. I used > to have it, but I removed it. But I still get host DOWN > notifications like PING failed. How can I > go about debugging this. > > Thanks. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > opinions on IT & business topics through brief surveys -- and > earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creyes at co.ibm.com Wed Sep 27 01:14:54 2006 From: creyes at co.ibm.com (Carlos Mauricio Reyes Sanmiguel) Date: Tue, 26 Sep 2006 18:14:54 -0500 Subject: How many host to monitor In-Reply-To: <20060926230303.GP10188@pmorris.usa.hp.com> References: <20060926230303.GP10188@pmorris.usa.hp.com> Message-ID: Hi.. Just a simple question, What would be the hardware requirements to be able to monitor 1500 hosts with nagios? What kind of server do you recommend?, does nagios support the monitoring of all of this hosts? Thanks in advance. Creyes -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 routed2000 at yahoo.com Wed Sep 27 01:56:17 2006 From: routed2000 at yahoo.com (G Bit) Date: Tue, 26 Sep 2006 16:56:17 -0700 (PDT) Subject: Disable host checks In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EBB@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EBB@dw-mail.dataway.com> Message-ID: <20060926235617.82223.qmail@web51614.mail.yahoo.com> --- Tedman Eng wrote: > First off, could you describe the troubleshooting steps that led you to > conclude you needed to disable host checks? That's a drastic measure to > take and produces many undesirable side effects. We were getting lot of false positives. A network glitch would generate a bunch of PING alerts. I read that increasing the retries would force Nagios to stall when it is retrying. My thought was, we would get alerts from the service checks if the host is down, so the ping checks may not be needed. I am new to Nagios. So forgive if my rationale is flawed. > Without a host check command, there's nothing to reset the host state to > "Host UP", so it will stay in the previous state recorded. I think you are right on. That is quite likely the issue. > If you cannot ping a host, but it is providing SOME sort of reachable > network service, you should still define a host test of some sort (use > check_tcp). "Host Check" in Nagios is a synonym for "Reachability Test". The hosts are pingable. So likely I will enable them. Thanks. > > > -----Original Message----- > > From: G Bit [mailto:routed2000 at yahoo.com] > > Sent: Tuesday, September 26, 2006 3:09 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Disable host checks > > > > > > Hi, > > > > I have disabled host checks by not defining the check_command > > in the host definition. I used > > to have it, but I removed it. But I still get host DOWN > > notifications like PING failed. How can I > > go about debugging this. > > > > Thanks. > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > -------------------------------------------------------------- > > ----------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the > > chance to share your > > opinions on IT & business topics through brief surveys -- and > > earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge > > &CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 27 02:01:21 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 26 Sep 2006 17:01:21 -0700 Subject: Disable host checks In-Reply-To: <20060926235617.82223.qmail@web51614.mail.yahoo.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EBB@dw-mail.dataway.com> <20060926235617.82223.qmail@web51614.mail.yahoo.com> Message-ID: <20060927000121.GT10188@pmorris.usa.hp.com> On Tue, 26 Sep 2006, G Bit wrote: > My thought was, we would get alerts from the service checks if the host is down, so > the ping checks may not be needed. I am new to Nagios. So forgive if my rationale is flawed. If host checks are a major problem for your setup (and it sounds like, if you were getting false positives, it may be better to tweak the checks so they don't get tripped so often), you can set up a host check that always succeeds, which'll work better than no host check. Since host checks will generally only get called when a service check fails, though, if you're getting false positives you probably just need to retool the service checks a bit. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 27 02:14:38 2006 From: marc at ena.com (Marc Powell) Date: Tue, 26 Sep 2006 19:14:38 -0500 Subject: Disable host checks 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, September 26, 2006 7:01 PM > To: G Bit > Cc: Tedman Eng; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Disable host checks > > On Tue, 26 Sep 2006, G Bit wrote: > > > My thought was, we would get alerts from the service checks if the host > is down, so > > the ping checks may not be needed. I am new to Nagios. So forgive if my > rationale is flawed. > > If host checks are a major problem for your setup (and it sounds like, > if you were getting false positives, it may be better to tweak the > checks so they don't get tripped so often), you can set up a host check > that always succeeds, which'll work better than no host check. We've run without hosts checks for several years with no adverse effects. The regularly run ping service check (a requirement of our contract) is sufficient for our needs and eliminates the need to maintain parent relationships for all our devices. We found that in a failure situation where hundreds of sites may suddenly be down that the lag generated by host checks was unacceptable. The parent relationships can be very complex and not easily integrated into our scripted config generation so we took the simple path. It's worked out well for us at least. Setting up a host check that always succeeds uses un-necessary resources IMHO, especially for large installations. The host is always assumed to be up anyway. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Sep 27 02:49:48 2006 From: teng at dataway.com (Tedman Eng) Date: Tue, 26 Sep 2006 17:49:48 -0700 Subject: Disable host checks Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EBF@dw-mail.dataway.com> > > Without a host check command, there's nothing to reset the > > host state to > > "Host UP", so it will stay in the previous state recorded. > > I think you are right on. That is quite likely the issue. > If you do end up deciding to forgo host checks, you can make nagios reset the current state. Just turn off retention and restart Nagios (remember to re-enable it again later). Another way is to delete the individual HOST/SERVICE lines from the status file in the .../nagios/var/ directory. Using the latter may cause wierd results in availibility reports until the data has aged out into archives beyond your report range. We rarely use the report functionality, so this is not an issue for us. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hariharan_wan at yahoo.com Wed Sep 27 06:36:23 2006 From: hariharan_wan at yahoo.com (Hariharan Sankararaman) Date: Tue, 26 Sep 2006 21:36:23 -0700 (PDT) Subject: Nagios-users Digest, Vol 4, Issue 34 In-Reply-To: References: Message-ID: <20060927043623.64016.qmail@web55805.mail.re3.yahoo.com> Dear all, I am using Fedore core 5 and i have install nagios for Network monitoring. Version Details: OS - Linux Fedora Core 5 Application : Nagios 2.5 SNMP 5.3.1 CISCO MIB file using V1 My Setup description: 1 .SNMP trap daemon will receive SNMP traps 2 . SNMP trap daemon will handle traps to /var/spool/snmptt 3. SNMPTT will get the traps from /var/spool/snmptt directory 4. SNMPTT translate the mibs and handover to syslog (/var/log/message) 5 . I have called SEC to correlate the events from syslog and sec will in turn use the python script to correlate the event to handover to nagios cmd. I am verifying the documents form sysadmin site. I have copied the same service templates from the site for my configuration. iam using minimal.cfg as object configuartion file in that service template is given below define service { use passive-check-template name generic-snmptrap service_description snmp_trap_handling is_volatile 1 check_period none notification_interval 120 notification_options w,u,c,r notification_period 24x7 check_command passive_check_missing max_check_attempts 1 check_freshness 0 stalking_options o,w,u,c register 0 } define service { use generic-snmptrap host_name my_example_host contact_groups my_example_group service_description snmp_trap_handling_ok } define service { use generic-snmptrap host_name my_example_host contact_groups my_example_group service_description snmp_trap_handling_warning } define service { use generic-snmptrap host_name my_example_host contact_groups my_example_group service_description snmp_trap_handling_critical } when i execute nagios it says error message as given below Error: Template 'passive-check-template' specified in service definition could not be not found (config file '/etc/nagios/minimal.cfg', starting on line 307) Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'snmp_trap_handling_Critical' on host 'router1' Error: Could not register service (config file '/etc/nagios/minimal.cfg', starting on line 330) how to integrate SNMP traps in nagios web browser Pls find my configuration files with this . Pls help me in this regard With Regards Hariharan nagios-users-request at lists.sourceforge.net wrote: 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. Re: NRPE dependencies (Ugo Bellavance) 2. Distributed setup, NSCA, not working (Ugo Bellavance) 3. httping through proxy (naim abu darwish) 4. Nagios Crashes on Downtime (David Schlecht) 5. Re: httping through proxy (Marc Powell) 6. Re: httping through proxy (naim abu darwish) 7. Re: NRPE dependencies (John P. Rouillard) 8. Monitoring windows servers (Ranga Nathan) 9. Re: Monitoring windows servers (Ugo Bellavance) 10. Re: Nagios Crashes on Downtime (karl.kornel at mindspeed.com) 11. Antwort: Monitoring windows servers [Virengeprueft] (Roland.Sorgenfrei at spb.de) 12. Re: weekly availability reports (rob.moss at uk.bnpparibas.com) 13. Re: Antwort: Monitoring windows servers [Virengeprueft] (Anthony Montibello) 14. Slave nagios (John Longland) 15. Re: Slave nagios (Thomas Sluyter) 16. Fwd: Welcome to the "Nagios-users" mailing list (Digest mode) (Hariharan Sankararaman) 17. Error: Template 'passive-check-template' (Hariharan Sankararaman) 18. Re: httping through proxy (naim abu darwish) 19. check/notification intervals (Terry) 20. Re: check/notification intervals (Patrick Morris) 21. Re: Monitoring windows servers (Geoffrey Walton) ---------------------------------------------------------------------- Message: 1 Date: Mon, 25 Sep 2006 16:03:29 -0400 From: Ugo Bellavance Subject: Re: [Nagios-users] NRPE dependencies To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hendrik Baecker wrote: > Hi, > > just do so... the services dependency feature is just there for such an > installation. > > Read more about it on: > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#servicedependency Ok, it works. Maybe I went too quickly. What dit not work is that I would like to use a group for the service description. I want to be able to say that for every server in my config, if NRPE is not returning OK on one server, don't do checks that depend on NRPE. The ideal solution would be only one servicedependency definition, but I don't think it is possible, so here is what I tried: - Defined a servicegroup: define servicegroup{ servicegroup_name NRPE_dep alias NRPE-dependant checks } - I added members through the "servicegroups" directive in the service descriptions. Now I'm trying that: define servicedependency{ dependent_servicegroup_name NRPE_dep host_name server1 service_description NRPE execution_failure_criteria n notification_failure_criteria w,u,c } I always get this error: Error: NULL service description/host name in service dependency definition Any ideas? ------------------------------ Message: 2 Date: Mon, 25 Sep 2006 16:27:11 -0400 From: Ugo Bellavance Subject: [Nagios-users] Distributed setup, NSCA, not working To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, I'm trying to make a failover system, so I have added, on the master server, to: nagios.cfg: obsess_over_services=1 ocsp_command=send_service_check ( don't check for hosts) I've defined send_service_check like this: # send_service_check command definition define command{ command_name send_service_check command_line /usr/sbin/send_nsca -H 10.0.0.2 -c /etc/nagios/send_nsca.cfg -d "," $HOSTNAME$,'$SERVICEDESC$',$SERVICESTATEID$,'$SERVICEOUTPUT$' } It does not work. 10.0.0.2 never gets anything, but I don't have any errors either. I tried running manually: /usr/sbin/send_nsca -H 10.0.0.2 -c /etc/nagios/send_nsca.cfg -d "," gateway2,SWAP,0,Caution It leads to help, as if I made a mistake. I've tried encrypting, and I decided to try without encryption to be sure this wasn't the problem. Still nothing. Telnetting to port 5667 connects, outputs garbage. I tried enabling debug on the nsca server (10.0.0.2), nothing more. Any ideas? Regards, Ugo ------------------------------ Message: 3 Date: Mon, 25 Sep 2006 23:39:15 +0300 From: "naim abu darwish" Subject: [Nagios-users] httping through proxy To: nagios-users at lists.sourceforge.net Message-ID: <3f8ec11c0609251339j6b0ca236r95ad02f399bd8e5e at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed hello. I'm trying to monitor browsing performance through proxies. httping ( http://www.vanheusden.com/httping/ )is like ping but for http-requests. check command example is something like :: httping -h www.google.com -x 192.168.20.24:8080 -c 1 -t 2 where the variables are :: 1) 192.168.20.24 is the ip address of the proxy, corresponding to $$HOSTADDRESS$$ 2) 8080 is the port number that the squid proxy is running on, this could be corresponding to $ARG1$ Could anyone please tell me how to put this in a way nagios understands. Its something close to what i did below, but i cant quiet figure it out yet. the mistake is somewhere with the colon ( : ), i think. ### from the file /etc/nagios/checkcommands.cfg define command{ command_name check_httping command_line /usr/bin/httping -x $HOSTADDRESS$ : $ARG1$ -c 1 -h www.google.com } ### Many thanks -Naim ------------------------------ Message: 4 Date: Mon, 25 Sep 2006 23:16:07 +0200 (CEST) From: David Schlecht Subject: [Nagios-users] Nagios Crashes on Downtime To: nagios-users at lists.sourceforge.net Message-ID: <20060925211607.729CE4F4046 at desire.netways.de> Content-Type: text/plain; charset="ISO-8859-1" Hi list I've been fighting this beast forever and really am pleading for some expertise. I'm running Nagios on SUSe linux, 8.x, sles 9.3 and have been having this trouble since Nagios 1.1. Currently using v2.5. I'm currently using plugins v1.4.2, but the version doesn't seem to matter. The OS also doesn't seem to matter. We're running on an old 486, a new 64-bit Intel blade, and a z/Os mainframe virtual host and it bombs the same on all. Nagios crashes occassionally when entering or exiting from scheduled down time. I've seen the problem once or twice from other commands, but it seems the easiest to reproduce by scheduling downtime. In all earlier versions, the crash wrote a segfault to the logs, but v2.5 just dies quietly. The problem comes around once every 200-300 commands, but there isn't a magic number. It doesn't die on the same host name, either. We are currently showing around 11 critical items in the monitoring interface, and all the statuses and notifications are valid. We are using only active checks. The performance numbers look suspicious (90% over one minute) but with performance data monitoring disabled in nagios.cfg, I don't place much confidence in these numbers. Please help! - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------ Message: 5 Date: Mon, 25 Sep 2006 16:20:19 -0500 From: "Marc Powell" Subject: Re: [Nagios-users] httping through proxy 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 naim abu darwish > Sent: Monday, September 25, 2006 3:39 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] httping through proxy > > hello. > I'm trying to monitor browsing performance through proxies. httping ( > http://www.vanheusden.com/httping/ )is like ping but for > http-requests. > check command example is something like :: > > httping -h www.google.com -x 192.168.20.24:8080 -c 1 -t 2 > > where the variables are :: > 1) 192.168.20.24 is the ip address of the proxy, corresponding to > $$HOSTADDRESS$$ > 2) 8080 is the port number that the squid proxy is running on, this > could be corresponding to $ARG1$ > > Could anyone please tell me how to put this in a way nagios > understands. Its something close to what i did below, but i cant quiet > figure it out yet. > the mistake is somewhere with the colon ( : ), i think. > > ### from the file /etc/nagios/checkcommands.cfg > > > define command{ > command_name check_httping > command_line /usr/bin/httping -x $HOSTADDRESS$ : $ARG1$ > -c 1 -h www.google.com > } The spaces around the : are likely to be your current problem. You were probably trying for something like -- command_line /usr/bin/httping -x $HOSTADDRESS$:$ARG1$ -c 1 -h www.google.com That would at least get httping running _BUT_ unless httping exits with the standard nagios exit codes to denote state and follows the nagios output guidelines (in the Developer Docs at http://nagiosplug.sf.net), you'll need to create a wrapper script for it so that it does. This is almost certainly going to be necessary. Essentially you'll need to look at the output of httping and determine if it's OK, WARNING, CRITICAL or UNKNOWN and tell nagios appropriately. At the minimum you'll need to follow the 'Print only one line of output' and 'Plugin Return Codes' section of that documentation. -- Marc ------------------------------ Message: 6 Date: Tue, 26 Sep 2006 00:49:49 +0300 From: "naim abu darwish" Subject: Re: [Nagios-users] httping through proxy To: nagios-users at lists.sourceforge.net Message-ID: <3f8ec11c0609251449lde86f61w19b757096d8d221a at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello Thnx for the quick reply Mark, httping actaully has a -N switch :: httping:: -N x Nagios mode 2: return 0 when all fine, 'x' i could add to that a time limit, say -t 2, standing for time limit is 2 seconds, and i sound the alarm when the value goes above that. but thats not what i really want, i want the actuall httping value, i want to make a graph out of it, with nagiosgrapher or pnp. This is very important, we must know when perfomance is better, when we must upgrade, etc etc.. oh, and running without the spaces before and after the : did not help, i got this message: (Return code of 127 is out of bounds - plugin may be missing) Any ideas? Greets -Naim On 9/26/06, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of naim abu darwish > > Sent: Monday, September 25, 2006 3:39 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] httping through proxy > > > > hello. > > I'm trying to monitor browsing performance through proxies. httping ( > > http://www.vanheusden.com/httping/ )is like ping but for > > http-requests. > > check command example is something like :: > > > > httping -h www.google.com -x 192.168.20.24:8080 -c 1 -t 2 > > > > where the variables are :: > > 1) 192.168.20.24 is the ip address of the proxy, corresponding to > > $$HOSTADDRESS$$ > > 2) 8080 is the port number that the squid proxy is running on, this > > could be corresponding to $ARG1$ > > > > Could anyone please tell me how to put this in a way nagios > > understands. Its something close to what i did below, but i cant quiet > > figure it out yet. > > the mistake is somewhere with the colon ( : ), i think. > > > > ### from the file /etc/nagios/checkcommands.cfg > > > > > > define command{ > > command_name check_httping > > command_line /usr/bin/httping -x $HOSTADDRESS$ : $ARG1$ > > -c 1 -h www.google.com > > } > > The spaces around the : are likely to be your current problem. You were > probably trying for something like -- > > command_line /usr/bin/httping -x $HOSTADDRESS$:$ARG1$ -c 1 -h > www.google.com > > That would at least get httping running _BUT_ unless httping exits with > the standard nagios exit codes to denote state and follows the nagios > output guidelines (in the Developer Docs at http://nagiosplug.sf.net), > you'll need to create a wrapper script for it so that it does. This is > almost certainly going to be necessary. Essentially you'll need to look > at the output of httping and determine if it's OK, WARNING, CRITICAL or > UNKNOWN and tell nagios appropriately. At the minimum you'll need to > follow the 'Print only one line of output' and 'Plugin Return Codes' > section of that documentation. > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------ Message: 7 Date: Mon, 25 Sep 2006 18:04:05 -0400 From: "John P. Rouillard" Subject: Re: [Nagios-users] NRPE dependencies To: nagios-users at lists.sourceforge.net Message-ID: <200609252204.k8PM453A026460 at mx1.cs.umb.edu> In message , Ugo Bellavance writes: >Hendrik Baecker wrote: >> Hi, >> >> just do so... the services dependency feature is just there for such an >> installation. >> >> Read more about it on: >> >> http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#servicedependency > >Ok, it works. Maybe I went too quickly. > >What dit not work is that I would like to use a group for the service >description. > >I want to be able to say that for every server in my config, if NRPE is >not returning OK on one server, don't do checks that depend on NRPE. > >The ideal solution would be only one servicedependency definition, but I >don't think it is possible, so here is what I tried: > >- Defined a servicegroup: > >define servicegroup{ > servicegroup_name NRPE_dep > alias NRPE-dependant checks > } > >- I added members through the "servicegroups" directive in the service >descriptions. > >Now I'm trying that: > >define servicedependency{ > dependent_servicegroup_name NRPE_dep > host_name server1 > service_description NRPE > execution_failure_criteria n > notification_failure_criteria w,u,c > } > >I always get this error: > >Error: NULL service description/host name in service dependency definition Apply the patch mentioned in: http://thread.gmane.org/gmane.network.nagios.user/19511/focus=19511 and see if: define servicedependency { use defaults dependent_servicegroup_name NRPE_dep service_description NRPE host_name SELF } Don't know it it will work, but it seems like it should from the description. Alternatively do what I do. Create a servicedependency.cfg file that is created by a script that parses the objects.cache file. so to update: clear/empty servicedependency.cfg reload nagios wait until objects.cache is updated parse objects.cache for all the host/service pairs in the NRPE_dep servicegroup generate: define servicedependency{ dependent_host_name example dependent_service_description (all services from NRPE_dep for host example) host_name example service_description NRPE ... } and put them into servicedependency.cfg reload nagios to load the now non-empty servicedependency.cfg file. Definitely a pain. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------ Message: 8 Date: Mon, 25 Sep 2006 16:29:25 -0700 From: Ranga Nathan Subject: [Nagios-users] Monitoring windows servers To: nagios Message-ID: Content-Type: text/plain; charset="us-ascii" I have been asked to investigate how our Nagios server can monitor Windows servers in our network. I have been monitoring only linux boxes so far. We would like to monitor processes, disk, memory, network etc. I would like to hear about your experiences. Any guidance welcome __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=nagios-users/attachments/20060925/346a3302/attachment.html ------------------------------ Message: 9 Date: Mon, 25 Sep 2006 19:44:02 -0400 From: Ugo Bellavance Subject: Re: [Nagios-users] Monitoring windows servers To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Ranga Nathan wrote: > > I have been asked to investigate how our Nagios server can monitor > Windows servers in our network. I have been monitoring only linux boxes > so far. > > We would like to monitor processes, disk, memory, network etc. > > I would like to hear about your experiences. Any guidance welcome It works nicely with nrpe. http://sourceforge.net/projects/nscplus. ------------------------------ Message: 10 Date: Mon, 25 Sep 2006 17:21:49 -0700 From: karl.kornel at mindspeed.com Subject: Re: [Nagios-users] Nagios Crashes on Downtime To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset="us-ascii" David, I have also been experiencing crashes when I have many (>5) downtimes scheduled in a day. I've posted about it previously under the subject "BUG? Segfault & coredump with scheduled downtime, downtime scheduled horked", sent on the 17th of August. Does what I describe in that message seem similar to your situation? Also, in my case, Nagios' account on my system is configured to not save coredumps by default. When I want a coredump, I run `ulimit -c unlimited` before starting Nagios. Could you be in the same situation? -- A. Karl Kornel, Mindspeed Technologies, Inc. karl.kornel at mindspeed.com -- (949) 579-3503 "Remember the Rules: Separation & Optimization" David Schlecht Sent by: nagios-users-bounces at lists.sourceforge.net 09/25/2006 02:16 PM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Nagios Crashes on Downtime Hi list I've been fighting this beast forever and really am pleading for some expertise. I'm running Nagios on SUSe linux, 8.x, sles 9.3 and have been having this trouble since Nagios 1.1. Currently using v2.5. I'm currently using plugins v1.4.2, but the version doesn't seem to matter. The OS also doesn't seem to matter. We're running on an old 486, a new 64-bit Intel blade, and a z/Os mainframe virtual host and it bombs the same on all. Nagios crashes occassionally when entering or exiting from scheduled === message truncated === --------------------------------- Get your email and more, right on the new Yahoo.com --------------------------------- Get your email and more, right on the new Yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 aholiday at yahoo.com Wed Sep 27 06:59:07 2006 From: aholiday at yahoo.com (Austin Holiday) Date: Wed, 27 Sep 2006 06:59:07 +0200 Subject: Nagios load specification? Message-ID: <451A051B.5000207@yahoo.com> Howdy, Does anybody know where I can find Nagios performance loads? Specifically how much network bandwidth it uses (say 35 monitored aspects on 100 machines) and how much the Nagios Windows client uses (CPU usage)? I wish to put Nagios into use at my new job but they will not allow anything in Production without some performance stats. Having used Nagios for 4 years, I know that the impact is low, but unfortunately my word isn't good enough :-) (and I never bothered to collect the metrics previously). Thanks for any replies. --Austin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 27 08:02:26 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 27 Sep 2006 02:02:26 -0400 Subject: Nagios load specification? In-Reply-To: <451A051B.5000207@yahoo.com> References: <451A051B.5000207@yahoo.com> Message-ID: > Does anybody know where I can find Nagios performance loads? > Specifically how much network bandwidth it uses (say 35 > monitored aspects on 100 machines) and how much the Nagios > Windows client uses (CPU usage)? > > I wish to put Nagios into use at my new job but they will not > allow anything in Production without some performance stats. > Having used Nagios for 4 years, I know that the impact is > low, but unfortunately my > word isn't good enough :-) (and I never bothered to collect > the metrics previously). What you're asking for is so widely variable, depending on what you check in your environment, that I wouldn't even be able to begin to guess. Figure out how many checks (and more importantly, what kind) you will be running, take a guess as to the bandwidth each check will use (a web page monitor may pull down a full page, or just headers, etc.), then do some math. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hariharan_wan at yahoo.com Wed Sep 27 08:15:11 2006 From: hariharan_wan at yahoo.com (Hariharan Sankararaman) Date: Tue, 26 Sep 2006 23:15:11 -0700 (PDT) Subject: Error: Template 'passive-check-template' In-Reply-To: References: Message-ID: <20060927061511.87288.qmail@web55809.mail.re3.yahoo.com> Dear all, I am using Fedore core 5 and i have install nagios for Network monitoring. Version Details: OS - Linux Fedora Core 5 Application : Nagios 2.5 SNMP 5.3.1 CISCO MIB file using V1 My Setup description: 1 .SNMP trap daemon will receive SNMP traps 2 . SNMP trap daemon will handle traps to /var/spool/snmptt 3. SNMPTT will get the traps from /var/spool/snmptt directory 4. SNMPTT translate the mibs and handover to syslog (/var/log/message) 5 . I have called SEC to correlate the events from syslog and sec will in turn use the python script to correlate the event to handover to nagios cmd. I am verifying the documents form sysadmin site. I have copied the same service templates from the site for my configuration. iam using minimal.cfg as object configuartion file in that service template is given below define service { use passive-check-template name generic-snmptrap service_description snmp_trap_handling is_volatile 1 check_period none notification_interval 120 notification_options w,u,c,r notification_period 24x7 check_command passive_check_missing max_check_attempts 1 check_freshness 0 stalking_options o,w,u,c register 0 } define service { use generic-snmptrap host_name my_example_host contact_groups my_example_group service_description snmp_trap_handling_ok } define service { use generic-snmptrap host_name my_example_host contact_groups my_example_group service_description snmp_trap_handling_warning } define service { use generic-snmptrap host_name my_example_host contact_groups my_example_group service_description snmp_trap_handling_critical } when i execute nagios it says error message as given below Error: Template 'passive-check-template' specified in service definition could not be not found (config file '/etc/nagios/minimal.cfg', starting on line 307) Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'snmp_trap_handling_Critical' on host 'router1' Error: Could not register service (config file '/etc/nagios/minimal.cfg', starting on line 330) how to integrate SNMP traps in nagios web browser Pls find my configuration files with this . Pls help me in this regard With Regards Hariharan --------------------------------- All-new Yahoo! Mail - Fire up a more powerful email and get things done faster. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 tom at ng23.net Wed Sep 27 10:26:34 2006 From: tom at ng23.net (Tom Brown) Date: Wed, 27 Sep 2006 09:26:34 +0100 Subject: Nagios - VMWare Message-ID: <451A35BA.40601@ng23.net> Hi Are there any plugins for nagios to to be able to check ESX servers? Something like checking that the vmware servers is running as expected etc that sort of thing. This would be on nagios-2.5 thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlongland at grintek.com Wed Sep 27 11:11:23 2006 From: jlongland at grintek.com (John Longland) Date: Wed, 27 Sep 2006 11:11:23 +0200 Subject: Distributed nagios system Message-ID: <510595ECCFAEFC44941F5EDA4324F275011F9B84@gtmail.Grintel.com> Hi all !! I've had to implement a distributed systemand I have gone through some docs I found on sourceforge. I'll briefly mention what I have done: slave nagios 1. Installed the nsca pack 2. put send_nsca.cfg -> /etc 3. modified entry for ocsp_sommand in nagios,cfg 4. enabled obesess over services 5. enable_notifications set to 0 6. Defined a command called submit_check_result in my minimal.cfg 7. Written submit_check_result script and placed it in ../libexec server side: 1. Installed nsca pack 2. nsca,cfg -> /usr/local/nagios/etc 3. active service checks 1 for services checked from main nagios set to 0 for service checked from slave nagios 4. externetl commands checks enabled 5. passive service checks enabled 6. nsca -> /usr/local/nagios/bin 7. check existance of /usr/local/nagios/var/rw/nagios.cmd 8. wrote nsca script in /etc/xinetd.d 9. added entry in /etc/services called NSCA 10. restarted xinetd Problem. When I send info from slave to main nagios by hand, it is sent and reported by the main nagios, correctly. When I remove /usr/local/nagios/libexec/submit_check_result, I get an error indicating that the slave nagios is trying to execute a non-existing script. When I re-instate the submit_check_result script, nothing happens. No error in any log. I do not see any attempt on the network ( tcpdump) that the slave is trying to contact the main nagios. I have also added a little echo statement in the submit_check_result script that writes to a file. This way I can see that the script was executed. This does not happen which means the submit_check_result script is not executed. Can someone help , please ?? John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 tom.welsh at bt.com Wed Sep 27 11:30:47 2006 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Wed, 27 Sep 2006 10:30:47 +0100 Subject: How many host to monitor Message-ID: <418B502A3861E242AFDED453F3D5B89C0FE604A9@i2km99-ukbr.domain1.systemhost.net> Hi, Take a look at the propaganda page on the nagios site for some customer http://www.nagios.org/userprofiles/viewprofile.php?profile_id=1700 http://www.nagios.org/userprofiles/viewprofile.php?profile_id=1457 http://www.nagios.org/userprofiles/viewprofile.php?profile_id=1602 http://www.nagios.org/userprofiles/viewprofile.php?profile_id=1715 Nagios is very flexible and can be used in a variety of ways to do exactly what u want. Regards Tom Welsh _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Carlos Mauricio Reyes Sanmiguel Sent: 27 September 2006 00:15 To: nagios-users at lists.sourceforge.net; nagios-users-bounces at lists.sourceforge.net Subject: [Nagios-users] How many host to monitor Hi.. Just a simple question, What would be the hardware requirements to be able to monitor 1500 hosts with nagios? What kind of server do you recommend?, does nagios support the monitoring of all of this hosts? Thanks in advance. Creyes -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 mailing-lists at fabalabs.org Wed Sep 27 11:59:36 2006 From: mailing-lists at fabalabs.org (Fabalabs Mailing-Lists) Date: Wed, 27 Sep 2006 11:59:36 +0200 Subject: Nagios performance info for cluster? Message-ID: Hello! I'm looking for a possibility to view the performance info of a Nagios worker process in a clustered environment. (Because otherwise I will not see the statistics of the active checks, if all my checks are passively sent to the master) The default behaviour of the extinfo.cgi?type=4 page is to display the Nagios process performance data of the local running master server. Is there any parameter to tell Nagios (this CGI page) to display the performance data of another Nagios cluster node? (The nagiostats utility can access those data by defining the configuration file of the worker process (e.g. -c /etc/nagios-worker/nagios.cfg)) By the way, is there any documentation of all possible Nagios CGI-parameters (for example for extinfo.cgi or cmd.cgi) that are allowed? Kind regards, Klaus Pesendorfer. Klaus Pesendorfer Research & Development Fabalabs Software GmbH Honauerstra?e 4 A-4020 Linz Tel.: [+43] (70) 60 61 62 Fax: [+43] (70) 60 61 62-609 E-Mail: klaus.pesendorfer at fabalabs.org Web: http://www.fabalabs.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 az at whoever.org Wed Sep 27 12:22:38 2006 From: az at whoever.org (Az) Date: Wed, 27 Sep 2006 20:22:38 +1000 Subject: Nagios - VMWare In-Reply-To: <451A35BA.40601@ng23.net> References: <451A35BA.40601@ng23.net> Message-ID: <451A50EE.3040405@whoever.org> > Are there any plugins for nagios to to be able to check ESX servers? > Something like checking that the vmware servers is running as expected > etc that sort of thing. > > This would be on nagios-2. check_esx on Nagios Exchange might suit your requirements. http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=148 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Wed Sep 27 12:26:06 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 27 Sep 2006 12:26:06 +0200 Subject: Error: Template 'passive-check-template' In-Reply-To: <20060927061511.87288.qmail@web55809.mail.re3.yahoo.com> References: <20060927061511.87288.qmail@web55809.mail.re3.yahoo.com> Message-ID: <451A51BE.1080904@its-lehmann.de> Hi, first, I don't think it'S necessary to cc the list owner with your mail... Then... On 9/27/2006 8:15 AM, Hariharan Sankararaman wrote: > Dear all, ... > when i execute nagios it says error message as given below > > Error: Template 'passive-check-template' specified in service definition > could not be not found (config file '/etc/nagios/minimal.cfg', starting > on line 307) Well, this sounds like you don't have the passive-check-template anywhere in your config. > Error: Invalid max_attempts, check_interval, retry_interval, or > notification_interval value for service 'snmp_trap_handling_Critical' on > host 'router1' > Error: Could not register service (config file > '/etc/nagios/minimal.cfg', starting on line 330) > how to integrate SNMP traps in nagios web browser Better get a working set up of Nagios first. > > Pls find my configuration files with this . Pls help me in this regard Simply start with empty configuration files and work through the manual. Arno > With Regards > Hariharan > > All-new Yahoo! Mail > - > Fire up a more powerful email and get things done faster. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Wed Sep 27 12:40:36 2006 From: tom at ng23.net (Tom Brown) Date: Wed, 27 Sep 2006 11:40:36 +0100 Subject: Nagios - VMWare In-Reply-To: <451A50EE.3040405@whoever.org> References: <451A35BA.40601@ng23.net> <451A50EE.3040405@whoever.org> Message-ID: <451A5524.7030302@ng23.net> > check_esx on Nagios Exchange might suit your requirements. > > http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=148 excellent - looks very promising thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bilo at gmx.it Wed Sep 27 11:28:41 2006 From: bilo at gmx.it (Danilo) Date: Wed, 27 Sep 2006 11:28:41 +0200 Subject: Nagios - VMWare In-Reply-To: <451A35BA.40601@ng23.net> References: <451A35BA.40601@ng23.net> Message-ID: <1326126025.20060927112841@gmx.it> Hello Tom, Wednesday, September 27, 2006, 10:26:34 AM, you wrote: TB> Hi TB> Are there any plugins for nagios to to be able to check ESX servers? TB> Something like checking that the vmware servers is running as expected TB> etc that sort of thing. TB> This would be on nagios-2.5 just talking about Nagios on VmWare (Free server edition), I am trying to install and use it, but I am not getting result when using snmp calls ("no output" as a result). The configuration is the same of a working (non Vmware) nagios server, so I think the problem is in VmWare but I don't know where to look? Anybody have an hint for me? Thank you in advance ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Wed Sep 27 16:54:58 2006 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Wed, 27 Sep 2006 20:24:58 +0530 Subject: NSClient++ DNS name instead of IP address Message-ID: Hi, Is it possible to provide hostname instead of the IP address of the Nagios server in allowed hosts and use DNS to resolve? allowed_hosts=FQDN How can we achieve this? Thanks and Regards, Narendran Neelamegam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 tcohen at sitespect.com Wed Sep 27 17:29:14 2006 From: tcohen at sitespect.com (Tal Cohen) Date: Wed, 27 Sep 2006 11:29:14 -0400 Subject: EPN/DB plugin question Message-ID: I am creating plugins that interface with a mysql database. I know that in mod_perl there is a way to maintain and share database connections (thereby avoiding the connect/disconnect overhead). Is there a similar method using epn? Thanks, Tal -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.9/457 - Release Date: 9/26/2006 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 brylon at jla.rutgers.edu Wed Sep 27 21:39:09 2006 From: brylon at jla.rutgers.edu (Bryan Loniewski) Date: Wed, 27 Sep 2006 15:39:09 -0400 (EDT) Subject: Distributed nagios system In-Reply-To: References: Message-ID: > Message: 3 > Date: Wed, 27 Sep 2006 11:11:23 +0200 > From: John Longland > Subject: [Nagios-users] Distributed nagios system > To: "'nagios-users at lists.sourceforge.net'" > > Message-ID: > <510595ECCFAEFC44941F5EDA4324F275011F9B84 at gtmail.Grintel.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi all !! > > I've had to implement a distributed systemand I have gone through some docs > I found on sourceforge. > > I'll briefly mention what I have done: > > slave nagios > 1. Installed the nsca pack > 2. put send_nsca.cfg -> /etc > 3. modified entry for ocsp_sommand in nagios,cfg > 4. enabled obesess over services > 5. enable_notifications set to 0 > 6. Defined a command called submit_check_result in my minimal.cfg > 7. Written submit_check_result script and placed it in ../libexec > > server side: > 1. Installed nsca pack > 2. nsca,cfg -> /usr/local/nagios/etc > 3. active service checks 1 for services checked from main nagios > set to 0 for service checked from slave nagios > 4. externetl commands checks enabled > 5. passive service checks enabled > 6. nsca -> /usr/local/nagios/bin > 7. check existance of /usr/local/nagios/var/rw/nagios.cmd > 8. wrote nsca script in /etc/xinetd.d > 9. added entry in /etc/services called NSCA > 10. restarted xinetd > > > Problem. > When I send info from slave to main nagios by hand, it is sent and > reported by the main nagios, correctly. > When I remove /usr/local/nagios/libexec/submit_check_result, I get an error > indicating that the slave > nagios is trying to execute a non-existing script. > When I re-instate the submit_check_result script, nothing happens. No error > in any log. > I do not see any attempt on the network ( tcpdump) that the slave is trying > to contact the main > nagios. > I have also added a little echo statement in the submit_check_result script > that writes to a file. A few questions: What version of nagios are you running? When you added the echo statement was IT the only thing in the script? or did you leave the rest of the script intact? What are the permissions of the directories, files of where your submit_check_result script is? Did you try running the script by hand as the user nagios runs under? PS: Give an example of what your submit_check_result script looks like. > This way I can see that the script was executed. This does not happen which > means the > submit_check_result script is not executed. > > Can someone help , please ?? > > John ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orz3h at tlen.pl Wed Sep 27 21:53:43 2006 From: orz3h at tlen.pl (orzeh) Date: Wed, 27 Sep 2006 21:53:43 +0200 Subject: how to loop event-handlers Message-ID: <451AD6C7.6060002@tlen.pl> Hello It is possible to call event handlers infinitely by nagios? I mean if the host goes to 'down' sate the event handler is executing correctly but how do i can enable to execute handler after $max_check_attempts times or if host in state 'down' during the restart nagios daemon (eg via external command). regards orzeh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 27 22:24:41 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 27 Sep 2006 13:24:41 -0700 Subject: how to loop event-handlers In-Reply-To: <451AD6C7.6060002@tlen.pl> References: <451AD6C7.6060002@tlen.pl> Message-ID: <20060927202441.GA2968@pmorris.usa.hp.com> On Wed, 27 Sep 2006, orzeh wrote: > It is possible to call event handlers infinitely by nagios? I mean if > the host goes to 'down' sate the event handler is executing correctly > but how do i can enable to execute handler after $max_check_attempts > times or if host in state 'down' during the restart nagios daemon (eg > via external command). Just make sure you pass any info you need as parameters to your eventhandler script, and handle them there. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sgonzalez at globalenergy.com Wed Sep 27 23:29:19 2006 From: sgonzalez at globalenergy.com (Saul Gonzalez) Date: Wed, 27 Sep 2006 14:29:19 -0700 Subject: Nagios 2.5 Message-ID: <322B73A28A40F04EA7A896D5CC6C2BA501C19AC2@mail01.corp.globalenergy.com> Hello; I am attempting to install Nagios 2.5 on SUSE 10.1 and followed the instructions on the site. Everything seemed fine but when I try to run the following command I get a -bash: nagios: command not found. nagios -v /usr/local/nagios/etc/nagios.cfg Any ideas? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Sep 27 23:36:50 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 27 Sep 2006 14:36:50 -0700 Subject: Nagios 2.5 In-Reply-To: <322B73A28A40F04EA7A896D5CC6C2BA501C19AC2@mail01.corp.globalenergy.com> References: <322B73A28A40F04EA7A896D5CC6C2BA501C19AC2@mail01.corp.globalenergy.com> Message-ID: <20060927213650.GC2968@pmorris.usa.hp.com> Which instructions did you follow? Is the place you installed Nagios in your path? On Wed, 27 Sep 2006, Saul Gonzalez wrote: > Hello; > > > > I am attempting to install Nagios 2.5 on SUSE 10.1 and followed the > instructions on the site. Everything seemed fine but when I try to run > the following command I get a -bash: nagios: command not found. > > > > nagios -v /usr/local/nagios/etc/nagios.cfg > > > > Any ideas? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From timp at crossthread.com Wed Sep 27 23:36:53 2006 From: timp at crossthread.com (Tim Pushor) Date: Wed, 27 Sep 2006 15:36:53 -0600 Subject: Nagios 2.5 In-Reply-To: <322B73A28A40F04EA7A896D5CC6C2BA501C19AC2@mail01.corp.globalenergy.com> References: <322B73A28A40F04EA7A896D5CC6C2BA501C19AC2@mail01.corp.globalenergy.com> Message-ID: <451AEEF5.5080905@crossthread.com> Saul Gonzalez wrote: > > Hello; > > I am attempting to install Nagios 2.5 on SUSE 10.1 and followed the > instructions on the site. Everything seemed fine but when I try to run > the following command I get a ?bash: nagios: command not found. > > nagios -v /usr/local/nagios/etc/nagios.cfg > > Any ideas? > > Thanks > Perhaps its not in your path? try /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thoanluutran at yahoo.com Wed Sep 27 23:42:36 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Wed, 27 Sep 2006 14:42:36 -0700 (PDT) Subject: Nagios 2.5 In-Reply-To: <322B73A28A40F04EA7A896D5CC6C2BA501C19AC2@mail01.corp.globalenergy.com> References: <322B73A28A40F04EA7A896D5CC6C2BA501C19AC2@mail01.corp.globalenergy.com> Message-ID: <20060927214236.20489.qmail@web60517.mail.yahoo.com> I think i know the problem.. the nagios binary that you ran is not from /usr/local/nagios/bin... please do the following... 1. cd /usr/local/nagios/bin 2. ./nagios -v /usr/local/nagios/etc/nagios.cfg if you run... nagios -v ..., it will pick up the nagios binary from /etc/init.d i think.. and that binary only allow you to stop/start/restart/reload. I will not allow you to do pre-flight check.. Hope it solve the problem.. Tom Tran www.eesimed.com Saul Gonzalez wrote: Hello; I am attempting to install Nagios 2.5 on SUSE 10.1 and followed the instructions on the site. Everything seemed fine but when I try to run the following command I get a ?bash: nagios: command not found. nagios -v /usr/local/nagios/etc/nagios.cfg Any ideas? Thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 your email and more, right on the new Yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 sgonzalez at globalenergy.com Wed Sep 27 23:42:59 2006 From: sgonzalez at globalenergy.com (Saul Gonzalez) Date: Wed, 27 Sep 2006 14:42:59 -0700 Subject: Nagios 2.5 In-Reply-To: <451AEEF5.5080905@crossthread.com> References: <451AEEF5.5080905@crossthread.com> Message-ID: <322B73A28A40F04EA7A896D5CC6C2BA501C19ADB@mail01.corp.globalenergy.com> Sorry I should have mentioned that I am running it within the /usr/local/nagios/bin directory. Thanks Saul -----Original Message----- From: Tim Pushor [mailto:timp at crossthread.com] Sent: Wednesday, September 27, 2006 2:37 PM To: Saul Gonzalez Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Saul Gonzalez wrote: > > Hello; > > I am attempting to install Nagios 2.5 on SUSE 10.1 and followed the > instructions on the site. Everything seemed fine but when I try to run > the following command I get a -bash: nagios: command not found. > > nagios -v /usr/local/nagios/etc/nagios.cfg > > Any ideas? > > Thanks > Perhaps its not in your path? try /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sgonzalez at globalenergy.com Wed Sep 27 23:44:11 2006 From: sgonzalez at globalenergy.com (Saul Gonzalez) Date: Wed, 27 Sep 2006 14:44:11 -0700 Subject: Nagios 2.5 In-Reply-To: <20060927213650.GC2968@pmorris.usa.hp.com> References: <20060927213650.GC2968@pmorris.usa.hp.com> Message-ID: <322B73A28A40F04EA7A896D5CC6C2BA501C19ADD@mail01.corp.globalenergy.com> I followed Rainer Brunold's instructions at http://www.novell.com/coolsolutions/feature/16723.html Thanks -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Wednesday, September 27, 2006 2:37 PM To: Saul Gonzalez Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Which instructions did you follow? Is the place you installed Nagios in your path? On Wed, 27 Sep 2006, Saul Gonzalez wrote: > Hello; > > > > I am attempting to install Nagios 2.5 on SUSE 10.1 and followed the > instructions on the site. Everything seemed fine but when I try to run > the following command I get a -bash: nagios: command not found. > > > > nagios -v /usr/local/nagios/etc/nagios.cfg > > > > Any ideas? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sgonzalez at globalenergy.com Wed Sep 27 23:47:12 2006 From: sgonzalez at globalenergy.com (Saul Gonzalez) Date: Wed, 27 Sep 2006 14:47:12 -0700 Subject: Nagios 2.5 In-Reply-To: <20060927214236.20489.qmail@web60517.mail.yahoo.com> References: <20060927214236.20489.qmail@web60517.mail.yahoo.com> Message-ID: <322B73A28A40F04EA7A896D5CC6C2BA501C19AE1@mail01.corp.globalenergy.com> Tom, you hit the nail on the head. That worked!! And best of all no errors!!! Thanks everyone for your help! ________________________________ From: Tom Tran [mailto:thoanluutran at yahoo.com] Sent: Wednesday, September 27, 2006 2:43 PM To: Saul Gonzalez; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 I think i know the problem.. the nagios binary that you ran is not from /usr/local/nagios/bin... please do the following... 1. cd /usr/local/nagios/bin 2. ./nagios -v /usr/local/nagios/etc/nagios.cfg if you run... nagios -v ..., it will pick up the nagios binary from /etc/init.d i think.. and that binary only allow you to stop/start/restart/reload. I will not allow you to do pre-flight check.. Hope it solve the problem.. Tom Tran www.eesimed.com Saul Gonzalez wrote: Hello; I am attempting to install Nagios 2.5 on SUSE 10.1 and followed the instructions on the site. Everything seemed fine but when I try to run the following command I get a -bash: nagios: command not found. nagios -v /usr/local/nagios/etc/nagios.cfg Any ideas? Thanks ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 your email and more, right on the new Yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 luc.maignan at winxpert.com Wed Sep 27 23:53:12 2006 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Wed, 27 Sep 2006 23:53:12 +0200 Subject: Time of HTTP request Message-ID: <451AF2C8.9080703@winxpert.com> Hi list, I need to have an alert if a HTTP request takes more than a certain time to be executed. Is there a standard plugin which be able to do that ? Thanks for any answer Best regards ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thoanluutran at yahoo.com Thu Sep 28 00:02:02 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Wed, 27 Sep 2006 15:02:02 -0700 (PDT) Subject: Nagios 2.5 In-Reply-To: <322B73A28A40F04EA7A896D5CC6C2BA501C19AE1@mail01.corp.globalenergy.com> References: <322B73A28A40F04EA7A896D5CC6C2BA501C19AE1@mail01.corp.globalenergy.com> Message-ID: <20060927220202.8923.qmail@web60515.mail.yahoo.com> hihihihi Please send a check to Tom Tran.. at ... One Nagios Plaza..... City of No Name, State with No Road.... :-) Any time Saul, tt. Saul Gonzalez wrote: v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Tom, you hit the nail on the head. That worked!! And best of all no errors!!! Thanks everyone for your help! --------------------------------- From: Tom Tran [mailto:thoanluutran at yahoo.com] Sent: Wednesday, September 27, 2006 2:43 PM To: Saul Gonzalez; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 I think i know the problem.. the nagios binary that you ran is not from /usr/local/nagios/bin... please do the following... 1. cd /usr/local/nagios/bin 2. ./nagios -v /usr/local/nagios/etc/nagios.cfg if you run... nagios -v ..., it will pick up the nagios binary from /etc/init.d i think.. and that binary only allow you to stop/start/restart/reload. I will not allow you to do pre-flight check.. Hope it solve the problem.. Tom Tran www.eesimed.com Saul Gonzalez wrote: Hello; I am attempting to install Nagios 2.5 on SUSE 10.1 and followed the instructions on the site. Everything seemed fine but when I try to run the following command I get a ?bash: nagios: command not found. nagios -v /usr/local/nagios/etc/nagios.cfg Any ideas? Thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 your email and more, right on the new Yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Sep 28 00:11:06 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 27 Sep 2006 15:11:06 -0700 Subject: Time of HTTP request In-Reply-To: <451AF2C8.9080703@winxpert.com> References: <451AF2C8.9080703@winxpert.com> Message-ID: <20060927221106.GD2968@pmorris.usa.hp.com> On Wed, 27 Sep 2006, Luc MAIGNAN wrote: > Hi list, > > I need to have an alert if a HTTP request takes more than a certain time > to be executed. Is there a standard plugin which be able to do that ? check_http will do that. Set a timeout on it with the -t parameter. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc.maignan at winxpert.com Thu Sep 28 00:16:58 2006 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Thu, 28 Sep 2006 00:16:58 +0200 Subject: Time of HTTP request In-Reply-To: <20060927221106.GD2968@pmorris.usa.hp.com> References: <451AF2C8.9080703@winxpert.com> <20060927221106.GD2968@pmorris.usa.hp.com> Message-ID: <451AF85A.3040904@winxpert.com> Thanks for answer. Is there a way to check this in the apache log (via a plugin) instead testing the request ? because I don't know what request will be sent by the client, I just want to see "after" all slow requests. BR Patrick Morris a ?crit : > On Wed, 27 Sep 2006, Luc MAIGNAN wrote: > > >> Hi list, >> >> I need to have an alert if a HTTP request takes more than a certain time >> to be executed. Is there a standard plugin which be able to do that ? >> > > check_http will do that. Set a timeout on it with the -t parameter. > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 28 00:44:19 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 28 Sep 2006 00:44:19 +0200 (CEST) Subject: Time of HTTP request In-Reply-To: <451AF85A.3040904@winxpert.com> References: <451AF2C8.9080703@winxpert.com> <20060927221106.GD2968@pmorris.usa.hp.com> <451AF85A.3040904@winxpert.com> Message-ID: On Thu, 28 Sep 2006, Luc MAIGNAN wrote: > Thanks for answer. Is there a way to check this in the apache log (via a > plugin) instead testing the request ? because I don't know what request > will be sent by the client, I just want to see "after" all slow requests. Check your apache manual for apache questions. But apache will not record timing issues untill you run fresh out and then you get error log events. So the only way to test it is by being the client. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlongland at grintek.com Thu Sep 28 08:27:46 2006 From: jlongland at grintek.com (John Longland) Date: Thu, 28 Sep 2006 08:27:46 +0200 Subject: Distributed nagios system Message-ID: <510595ECCFAEFC44941F5EDA4324F275011F9B87@gtmail.Grintel.com> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net]On Behalf Of Bryan Loniewski Sent: 27 September 2006 21:39 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Distributed nagios system > Message: 3 > Date: Wed, 27 Sep 2006 11:11:23 +0200 > From: John Longland > Subject: [Nagios-users] Distributed nagios system > To: "'nagios-users at lists.sourceforge.net'" > > Message-ID: > <510595ECCFAEFC44941F5EDA4324F275011F9B84 at gtmail.Grintel.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi all !! > > I've had to implement a distributed systemand I have gone through some docs > I found on sourceforge. > > I'll briefly mention what I have done: > > slave nagios > 1. Installed the nsca pack > 2. put send_nsca.cfg -> /etc > 3. modified entry for ocsp_sommand in nagios,cfg > 4. enabled obesess over services > 5. enable_notifications set to 0 > 6. Defined a command called submit_check_result in my minimal.cfg > 7. Written submit_check_result script and placed it in ../libexec > > server side: > 1. Installed nsca pack > 2. nsca,cfg -> /usr/local/nagios/etc > 3. active service checks 1 for services checked from main nagios > set to 0 for service checked from slave nagios > 4. externetl commands checks enabled > 5. passive service checks enabled > 6. nsca -> /usr/local/nagios/bin > 7. check existance of /usr/local/nagios/var/rw/nagios.cmd > 8. wrote nsca script in /etc/xinetd.d > 9. added entry in /etc/services called NSCA > 10. restarted xinetd > > > Problem. > When I send info from slave to main nagios by hand, it is sent and > reported by the main nagios, correctly. > When I remove /usr/local/nagios/libexec/submit_check_result, I get an error > indicating that the slave > nagios is trying to execute a non-existing script. > When I re-instate the submit_check_result script, nothing happens. No error > in any log. > I do not see any attempt on the network ( tcpdump) that the slave is trying > to contact the main > nagios. > I have also added a little echo statement in the submit_check_result script > that writes to a file. A few questions: What version of nagios are you running? When you added the echo statement was IT the only thing in the script? or did you leave the rest of the script intact? What are the permissions of the directories, files of where your submit_check_result script is? Did you try running the script by hand as the user nagios runs under? PS: Give an example of what your submit_check_result script looks like. Hi Bryan !!! Thanks for your mail. I have since dicovered that the problem was the permissions of my send_nsca.cfg file !! For completeness: Version of nagios is 2.4 The echo statement was simply added with all other statements intact The permissions of the script files are readable and executable by anyone. It is owned by nagios:nagios. As I said above, I slipped up with not checking the send_nsca.cfg file !!! Thanks for your time, Bryan. Much appreciated !!!! John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 g.rumatowski at gmx.net Thu Sep 28 09:36:23 2006 From: g.rumatowski at gmx.net (Grzegorz Rumatowski) Date: Thu, 28 Sep 2006 09:36:23 +0200 Subject: interpreting plugin timeouts Message-ID: <451B7B77.2070900@gmx.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello All, I'm using Nagios 2.4 on FC5 and checking remote disk spaces on other machines with check_disk_remote -essh The problem is that sometimes I'm getting for example: Service: Disks MVNO Clst1 Host: MVNO Cluster Server#1 Address: XXX.XXX.XXX.XXX State: CRITICAL Date/Time: Thu Sept 28 05:33:56 CEST 2006 Additional Info: (Service Check Timed Out) Is there any method, that nagios won't interpret plugin timeouts as CRITICAL? I'd like to get only WARNING. Greg - -- BSc. Grzegorz Rumatowski http://grzechu.blogspot.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFG3t3qDAN3Pseuu4RAka0AJ9OYs3lLefhFdGzL5fSufFWPUOJOgCggiv6 mrAIqJjr/SxeN1FbU42a3/M= =c2me -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Thu Sep 28 11:54:23 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 28 Sep 2006 11:54:23 +0200 Subject: Working with [contact|host] groups and members Message-ID: <22E83A1A-D171-4363-B25E-6664B0309CF5@kilala.nl> Hi all, I've run into something that irks me, while working with contact and host groups. Something that I hope you guys will know a way around. I'm running version 2.5 by the by. Membership of these groups can be defined in two locations: * In the definition of the member itself, eg the host or the contact. * In the definition of the group, eg the host group or the contact group. The documentation clearly states that you can use either one of these methodes to assign membership of a group. So why is it that Nagios - forces- you to at least have one member in the group definition? In our case, I want to put -all- the group assignments in the member definitions (due to the subscription model I'm using for my service checks). I don't particularly feel like mucking about in the group config, when all I should be doing is editing the member definition. With the contact groups, this isn't too big a deal. I've made a dummy account that is a member of each group, but who doesn't partake of any notifications. Fine. Dandy... It works, but it's a kludge. Nasty thing though is that it's not that easy with host groups. Fine, I can make a dummy host that's a member of all of my host groups, but in our case that would "subscribe" the dummy to all of the service checks that I've defined. Not a fun thing, I assure you :) So... Do you guys: A) Know a way around the required "members" entry for both groups? Doing away with it completely? B) Know of a neat trick to work around the required "members" for the host group definitions? Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Sep 28 13:06:33 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 28 Sep 2006 13:06:33 +0200 Subject: NSClient++ DNS name instead of IP address In-Reply-To: References: Message-ID: <451BACB9.1000308@op5.se> narendran.neelamegam at wipro.com wrote: > Hi, > Is it possible to provide hostname instead of the IP address of the > Nagios server in allowed hosts and use DNS to resolve? > > allowed_hosts=FQDN > > How can we achieve this? > I'm guessing you're doing this either for NRPE or NSCA, correct? If so, the sad answer is that you can't. Both those programs store the "allowed_hosts" variable as a string in memory and converts the incoming IP-address to its string notation equivalence. They then match the stringified IP-address with whatever you put on allowed_hosts. Since system calls never return the FQDN of a connecting host, you're screwed. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Sep 28 13:09:46 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 28 Sep 2006 13:09:46 +0200 Subject: Nagios 2.5 In-Reply-To: <322B73A28A40F04EA7A896D5CC6C2BA501C19ADB@mail01.corp.globalenergy.com> References: <322B73A28A40F04EA7A896D5CC6C2BA501C19ADB@mail01.corp.globalenergy.com> Message-ID: <451BAD7A.5030007@op5.se> Saul Gonzalez wrote: > Sorry I should have mentioned that I am running it within the > /usr/local/nagios/bin directory. > On all (sane) unices, your current working directory is not in the path (unless you happen to be standing in a directory which is already in the path). In order to execute programs in the current working directory, you therefore have to tell the shell that this is what you wish to do, by appending './' (without the single quotes) to the program name. Iow, try: ./nagios -v -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Sep 28 13:10:39 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 28 Sep 2006 13:10:39 +0200 Subject: Time of HTTP request In-Reply-To: <451AF2C8.9080703@winxpert.com> References: <451AF2C8.9080703@winxpert.com> Message-ID: <451BADAF.8040604@op5.se> Luc MAIGNAN wrote: > Hi list, > > I need to have an alert if a HTTP request takes more than a certain time > to be executed. Is there a standard plugin which be able to do that ? > I believe check_http is what you're looking for. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Sep 28 13:12:44 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 28 Sep 2006 13:12:44 +0200 Subject: interpreting plugin timeouts In-Reply-To: <451B7B77.2070900@gmx.net> References: <451B7B77.2070900@gmx.net> Message-ID: <451BAE2C.3040301@op5.se> Grzegorz Rumatowski wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello All, > > I'm using Nagios 2.4 on FC5 and checking remote disk spaces on other > machines with check_disk_remote -essh > > The problem is that sometimes I'm getting for example: > > Service: Disks MVNO Clst1 > Host: MVNO Cluster Server#1 > Address: XXX.XXX.XXX.XXX > State: CRITICAL > > Date/Time: Thu Sept 28 05:33:56 CEST 2006 > > Additional Info: > > (Service Check Timed Out) > > Is there any method, that nagios won't interpret plugin timeouts as > CRITICAL? I'd like to get only WARNING. > Yes and no. Most plugins generate their own timeouts, as this is considered the current best practice. As such, Nagios won't actually kill the plugin, but it will exit gracefully with whatever hardcoded state the plugin author felt would normally be the proper response and exit-status. For most network-based service-checks, this is indeed the CRITICAL state. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 28 15:46:46 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 28 Sep 2006 09:46:46 -0400 Subject: Working with [contact|host] groups and members In-Reply-To: <22E83A1A-D171-4363-B25E-6664B0309CF5@kilala.nl> References: <22E83A1A-D171-4363-B25E-6664B0309CF5@kilala.nl> Message-ID: > The documentation clearly states that you can use either one > of these methodes to assign membership of a group. So why is > it that Nagios - > forces- you to at least have one member in the group definition? What version are you using? The group does need to be defined separately from the hosts, and it does need to have at least one member, but (on the setups I work with, anyway) that member does *not* need to be defined in the hostgroup definition. For example, I have quite a few hostgroup definitions that look like this, and they work fine, as long as at least one host is defined as a member in its host definition: define hostgroup { hostgroup_name blade alias Blade Servers } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Thu Sep 28 15:55:46 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 28 Sep 2006 15:55:46 +0200 Subject: Working with [contact|host] groups and members In-Reply-To: References: Message-ID: <30AE050A-778B-4925-B7C8-252629B84B6E@kilala.nl> On 28 Sep, 2006, at 15:46, Morris, Patrick wrote: >> The documentation clearly states that you can use either one >> of these methodes to assign membership of a group. So why is >> it that Nagios -forces- you to at least have one member in the >> group definition? > > What version are you using? As I mentioned earlier: version 2.5. > The group does need to be defined separately from the hosts, and it > does need to have at least one member, > but (on the setups I work with, anyway) that member does *not* need > to be defined in the hostgroup definition. Remarkable. What you describe is exactly what I want, but in my case it appears to complain about the fact that my "define hostgroup" is lacking a "members" line. Also, the Nagios documentation has the "members" line coloured red in the hostgroup config section, indicating it a requirement for a HG definition. Hmmm... I'll hammer on it some more. Maybe I need a larger hammer. /me grabs a mallet. Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.moss at uk.bnpparibas.com Thu Sep 28 16:15:22 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 28 Sep 2006 15:15:22 +0100 Subject: Working with [contact|host] groups and members In-Reply-To: <30AE050A-778B-4925-B7C8-252629B84B6E@kilala.nl> References: <30AE050A-778B-4925-B7C8-252629B84B6E@kilala.nl> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 28/09/2006 14:55:46: > On 28 Sep, 2006, at 15:46, Morris, Patrick wrote: [snip] > Remarkable. What you describe is exactly what I want, but in my case > it appears to complain about the fact that my "define hostgroup" is > lacking a "members" line. Also, the Nagios documentation has the > "members" line coloured red in the hostgroup config section, > indicating it a requirement for a HG definition. > > Hmmm... I'll hammer on it some more. Maybe I need a larger hammer. > /me grabs a mallet. If you posted the error messages / warnings, we could help you more effectively :-) This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpthakar at hotmail.com Thu Sep 28 19:03:55 2006 From: dpthakar at hotmail.com (dhaval thakar) Date: Thu, 28 Sep 2006 17:03:55 +0000 Subject: Host Down Time Message-ID: Dear All, I am using Nagios to monitor critical machines; these machines are down after 5.00 pm, i tried to configure down time for these host; but down time could be set only with dates, i dont want configure down time on the dates, these machines are daily up at 10.00am & down at 5.00pm. Kindly provide me proper solution to configure down time for these hosts. Thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 28 19:26:00 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 28 Sep 2006 13:26:00 -0400 Subject: Host Down Time In-Reply-To: References: Message-ID: <451C05A8.6020402@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 dhaval thakar wrote: > Dear All, > > > I am using Nagios to monitor critical machines; > these machines are down after 5.00 pm, > i tried to configure down time for these host; but down time could be set > only with dates, > i dont want configure down time on the dates, > these machines are daily up at 10.00am & down at 5.00pm. > > Kindly provide me proper solution to configure down time for these hosts. Set up a timeperiod with your specified times. Example timeperiods.cfg # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias "Normal" Working Hours monday 10:00-17:00 tuesday 10:00-17:00 wednesday 10:00-17:00 thursday 10:00-17:00 friday 10:00-17:00 } Now in your hosts: define host{ host_name your_server alias your_server notification_period workhours notification_options d,r contact_groups your_group address your_ip etc... } Now you'll only get contacted about these hosts during the time you just specified...simple. Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFHAWoHoeeepPau2ERAt1DAKC55+dVGW04zg2ChB9mThmKU3vmMgCgiIVI 1+Hy7KFpLM6LOaGt9Nvr8Jg= =ue4e -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 28 20:02:14 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 28 Sep 2006 11:02:14 -0700 Subject: Host Down Time In-Reply-To: References: Message-ID: <20060928180214.GF2968@pmorris.usa.hp.com> On Thu, 28 Sep 2006, dhaval thakar wrote: > I am using Nagios to monitor critical machines; > these machines are down after 5.00 pm, > i tried to configure down time for these host; but down time could be set > only with dates, > i dont want configure down time on the dates, > these machines are daily up at 10.00am & down at 5.00pm. > > Kindly provide me proper solution to configure down time for these hosts. Why not just schedule checks so they don't run (or don't notify) after 5:00? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orz3h at tlen.pl Thu Sep 28 20:24:27 2006 From: orz3h at tlen.pl (orzeh) Date: Thu, 28 Sep 2006 20:24:27 +0200 Subject: how to loop event-handlers In-Reply-To: <20060927202441.GA2968@pmorris.usa.hp.com> References: <451AD6C7.6060002@tlen.pl> <20060927202441.GA2968@pmorris.usa.hp.com> Message-ID: <451C135B.4000200@tlen.pl> Patrick Morris napisa?(a): > On Wed, 27 Sep 2006, orzeh wrote: > > >> It is possible to call event handlers infinitely by nagios? I mean if >> the host goes to 'down' sate the event handler is executing correctly >> but how do i can enable to execute handler after $max_check_attempts >> times or if host in state 'down' during the restart nagios daemon (eg >> via external command). >> > > Just make sure you pass any info you need as parameters to your > eventhandler script, and handle them there. > > Thanks for the answer! You mean to pass the date of the last $hoststate and handle the loop by handler? Nagios cannot do this? I've created test host with non-existing ip (on my net) and when host goes down/hard the handler is executed only _once_ and from yesterday (if i remember) event handler never was executed second time (nagios logs are also without something about executing handler for more than once) regards orzeh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Fri Sep 29 03:21:59 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Thu, 28 Sep 2006 21:21:59 -0400 Subject: Alternative to NSCA Message-ID: Hi, I can't get NSCA to work, so I'm thinking about an alternative for my failover setup. I thought about having nagios running on the master host, and not running on the backup host. I'd rsync the retention.dat file once every 5 minute to the backup host. If the backup hosts detects that nagios is not running anymore on the master host, it will start nagios up, with the retention data. I also thought about decreasing retention_update_interval= to 5. Opinions? Thanks Ugi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 29 05:16:59 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 29 Sep 2006 15:16:59 +1200 Subject: how to loop event-handlers In-Reply-To: <451C135B.4000200@tlen.pl> References: <451C135B.4000200@tlen.pl> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A234A462@UXCHANGE3.UoA.auckland.ac.nz> > >> It is possible to call event handlers infinitely by > nagios? I mean if The event handler is called by nagios on state change (including count of checks until hard state) but no other times. So, if you want something to be continually called then you might need to do it separately. You might like to try playing with the is_volatile=1, and stalking_options=c to see if this results in multiple calls to the event handler on every critical check rather than just on state changes? Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Sep 29 10:48:53 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 29 Sep 2006 10:48:53 +0200 Subject: Working with [contact|host] groups and members In-Reply-To: <30AE050A-778B-4925-B7C8-252629B84B6E@kilala.nl> References: <30AE050A-778B-4925-B7C8-252629B84B6E@kilala.nl> Message-ID: <451CDDF5.6050105@op5.se> Thomas Sluyter wrote: > On 28 Sep, 2006, at 15:46, Morris, Patrick wrote: > >>> The documentation clearly states that you can use either one >>> of these methodes to assign membership of a group. So why is >>> it that Nagios -forces- you to at least have one member in the >>> group definition? >> What version are you using? > > As I mentioned earlier: version 2.5. > >> The group does need to be defined separately from the hosts, and it >> does need to have at least one member, >> but (on the setups I work with, anyway) that member does *not* need >> to be defined in the hostgroup definition. > > Remarkable. What you describe is exactly what I want, but in my case > it appears to complain about the fact that my "define hostgroup" is > lacking a "members" line. Also, the Nagios documentation has the > "members" line coloured red in the hostgroup config section, > indicating it a requirement for a HG definition. > Since 2.0 (I think), the 'members' line is optional. However, hostgroups still need to *have* members. The reason the 'members' line is optional is the introduction of the 'hostgroups' variable in the host object definition. So, unless at least one of your hosts have a line saying "hostgroups your-hostgroup-name" you *do* need the 'members' line. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Fri Sep 29 15:10:22 2006 From: tom at ng23.net (Tom Brown) Date: Fri, 29 Sep 2006 14:10:22 +0100 Subject: simple chech using snmp Message-ID: <451D1B3E.4010006@ng23.net> Hi I have added some things to my snmp config that i would normally use nrpe for so that i can do a... snmpwalk host -v 1 -c community OID_string and get the desired response - does anyone know how i can construct a plugin that would execute that line and then parse the returned value? I have tried to deconstruct another snmp plugin but got very confused! thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Fri Sep 29 15:28:17 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Fri, 29 Sep 2006 09:28:17 -0400 Subject: simple chech using snmp In-Reply-To: <451D1B3E.4010006@ng23.net> References: <451D1B3E.4010006@ng23.net> Message-ID: Tom Brown wrote: > Hi > > I have added some things to my snmp config that i would normally use > nrpe for so that i can do a... > > snmpwalk host -v 1 -c community OID_string > > and get the desired response - does anyone know how i can construct a > plugin that would execute that line and then parse the returned value? I > have tried to deconstruct another snmp plugin but got very confused! > > thanks Did you try going to nagiosexhange.org and see what they've got? They probably have exactly what you want, and if not, there are probably similar plugins to help you develop yours. Ugo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Fri Sep 29 15:29:50 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 29 Sep 2006 15:29:50 +0200 Subject: simple chech using snmp In-Reply-To: <451D1B3E.4010006@ng23.net> References: <451D1B3E.4010006@ng23.net> Message-ID: <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> I wrote a script for this a few weeks back. http://www.kilala.nl/Sysadmin/retrieve_custom_snmp.php It's also available from the Exchange, if you like :) On 29 Sep, 2006, at 15:10, Tom Brown wrote: > Hi > > I have added some things to my snmp config that i would normally use > nrpe for so that i can do a... > > snmpwalk host -v 1 -c community OID_string > > and get the desired response - does anyone know how i can construct a > plugin that would execute that line and then parse the returned > value? I > have tried to deconstruct another snmp plugin but got very confused! > > thanks > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaak at vsm-hosting.nl Fri Sep 29 16:03:24 2006 From: sjaak at vsm-hosting.nl (Sjaak Nabuurs) Date: Fri, 29 Sep 2006 16:03:24 +0200 Subject: nrpe ping Message-ID: <451D27AC.4070608@vsm-hosting.nl> Hello I'm new to this list and I like to ask if somebody knows how to handle this. I like with nagios check servers from many points in the world. So I have server1 with nagios running in the Netherlands I have a servers in the US,Australia, HongKong running nrpe. I have to check HOST A B C ... every where in the world. Now I like to check HOST A/B/C from different points if they are UP. So nagios send to nrpe USA to ping HOST A and nagios send to nrpe HongKong to ping HOST A etc...... howto ARG this with nrpe ?? example nrpe.cfg USA command[check_ping_from_US]=/usr/local/nagios/libexec/check_ping -H $ARG1$ -w $ARG2$ -c $AGR3$ -p 5 This is not working but ??????? Does anybody know a solution for this. Thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 29 16:11:19 2006 From: m.borsani at it.net (Marco Borsani) Date: Fri, 29 Sep 2006 16:11:19 +0200 Subject: Installing problem Message-ID: <008001c6e3d1$233629a0$0900d40a@intranet.it.net> Hi all I need to change my nagios server from an HP-UX to a RedHat. I install and configure nagios like always, but at the end of all procedures I see something strange and Nagios does not run. 1) In the /usr/local/nagios/sbin directory some files are absent: histogram.cgi statusmap.cgi trends.cgi 2) The web interface show the error: The server encountered an internal error or misconfiguration and was unable to complete your request. 3) In the /var/log/httpd/errorlog_log I see: [Fri Sep 29 15:56:35 2006] [error] [client 151.X.X.X] (13)Permission denied: exec of '/usr/local/nagios/sbin/status.cgi' failed, referer: http://nagios-cl1.it.net/side.html [Fri Sep 29 15:56:35 2006] [error] [client 151.X.X.X] Premature end of script headers: status.cgi, referer: http://nagios-cl1.it.net/side.html This is very strange for me because this is not the first time that I install Nagios on a RedHat. Any idea? Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 ae at op5.se Fri Sep 29 16:24:18 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 29 Sep 2006 16:24:18 +0200 Subject: nrpe ping In-Reply-To: <451D27AC.4070608@vsm-hosting.nl> References: <451D27AC.4070608@vsm-hosting.nl> Message-ID: <451D2C92.4010102@op5.se> Sjaak Nabuurs wrote: > Hello > > > I'm new to this list and I like to ask if somebody knows how to handle this. > > I like with nagios check servers from many points in the world. > > So I have server1 with nagios running in the Netherlands > I have a servers in the US,Australia, HongKong running nrpe. > > I have to check HOST A B C ... every where in the world. > > Now I like to check HOST A/B/C from different points if they are UP. > > So nagios send to > nrpe USA to ping HOST A and nagios send to nrpe HongKong to ping HOST A > etc...... > > howto ARG this with nrpe ?? > > example nrpe.cfg USA > command[check_ping_from_US]=/usr/local/nagios/libexec/check_ping -H > $ARG1$ -w $ARG2$ -c $AGR3$ -p 5 > > > This is not working but ??????? > Does anybody know a solution for this. > Oh dear, that's a lot of question marks ;-) To enable command-line arguments in nrpe, you need to compile nrpe with support for it (./configure --enable-command-arguments or something like that), and also enable it in the configuration file (enable_command_arguments=1 or some such). Check the readme. It has all the info you need. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Sep 29 16:29:18 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 29 Sep 2006 16:29:18 +0200 Subject: Installing problem In-Reply-To: <008001c6e3d1$233629a0$0900d40a@intranet.it.net> References: <008001c6e3d1$233629a0$0900d40a@intranet.it.net> Message-ID: <451D2DBE.8050700@op5.se> Marco Borsani wrote: > Hi all > > I need to change my nagios server from an HP-UX to a RedHat. > > I install and configure nagios like always, but at the end of all procedures > I see something strange and Nagios does not run. > > 1) In the /usr/local/nagios/sbin directory some files are absent: > histogram.cgi > statusmap.cgi > trends.cgi > You didn't have the proper gd libraries and headers installed at the time of compiling. I'm not sure where you can find those from HP-UX, but for RedHat you *should* get everything needed by the simple expedient of yum install gd-devel > 2) The web interface show the error: > The server encountered an internal error or misconfiguration and was unable > to complete your request. > > 3) In the /var/log/httpd/errorlog_log I see: > [Fri Sep 29 15:56:35 2006] [error] [client 151.X.X.X] (13)Permission denied: > exec of '/usr/local/nagios/sbin/status.cgi' failed, referer: > http://nagios-cl1.it.net/side.html > [Fri Sep 29 15:56:35 2006] [error] [client 151.X.X.X] Premature end of > script headers: status.cgi, referer: > http://nagios-cl1.it.net/side.html > The error message tells you exactly what's going wrong. "Permission denied: exec of '/usr/local/nagios/sbin/status.cgi' failed" You need to make sure the user apache is running as can execute the status.cgi binary. The easiest way to do that is to do like this, assuming the apache pseudo-user is called "httpd" su httpd cd /usr/local cd nagios cd sbin ./status.cgi The reason for doing it in steps is that you likely have not only faulty permissions on the status.cgi program, but somewhere along the path as well. Doing it like this will let you see at which points you need to modify the permissions in order for httpd to be able to execute the program, so just chmod your way there. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 29 16:57:30 2006 From: m.borsani at it.net (Marco Borsani) Date: Fri, 29 Sep 2006 16:57:30 +0200 Subject: R: Installing problem In-Reply-To: <451D2DBE.8050700@op5.se> References: <451D2DBE.8050700@op5.se> Message-ID: <00ab01c6e3d7$9667d9e0$0900d40a@intranet.it.net> Well, 1) On HP-UX nagios is running correctly, all the libraries were installed before install it. I am not expert on Linux so I don't understand when you write: "..but for RedHat you *should* get everything needed by the simple expedient of yum install gd-devel" What do you mean? 2) I performed: su apache cd /usr/local/ cd nagios cd sbin ./status.gci getcgivars(): Unsupported REQUEST_METHOD -> '' I'm guessing you're trying to execute the CGI from a command line. In order to do that, you need to set the REQUEST_METHOD environment variable to either "GET", "HEAD", or "POST". When using the GET and HEAD methods, arguments can be passed to the CGI by setting the "QUERY_STRING" environment variable. If you're using the POST method, data is read from standard input. Also of note: if you've enabled authentication in the CGIs, you must set the "REMOTE_USER" environment variable to be the name of the user you're "authenticated" as. What does it mean? I am sorry, I am working with nagios from 2 year, but I meet these error for the first time now! Regards Marco -}-----Messaggio originale----- -}Da: Andreas Ericsson [mailto:ae at op5.se] -}Inviato: venerd? 29 settembre 2006 16.29 -}A: Marco Borsani -}Cc: 'Nagios Users Mailinglist' -}Oggetto: Re: [Nagios-users] Installing problem -} -}Marco Borsani wrote: -}> Hi all -}> -}> I need to change my nagios server from an HP-UX to a RedHat. -}> -}> I install and configure nagios like always, but at the end of all -}> procedures I see something strange and Nagios does not run. -}> -}> 1) In the /usr/local/nagios/sbin directory some files are absent: -}> histogram.cgi -}> statusmap.cgi -}> trends.cgi -}> -} -}You didn't have the proper gd libraries and headers installed -}at the time of compiling. I'm not sure where you can find -}those from HP-UX, but for RedHat you *should* get everything -}needed by the simple expedient of -} -} yum install gd-devel -} -} -}> 2) The web interface show the error: -}> The server encountered an internal error or -}misconfiguration and was -}> unable to complete your request. -}> -}> 3) In the /var/log/httpd/errorlog_log I see: -}> [Fri Sep 29 15:56:35 2006] [error] [client 151.X.X.X] -}(13)Permission denied: -}> exec of '/usr/local/nagios/sbin/status.cgi' failed, referer: -}> -}> http://nagios-cl1.it.net/side.html -}> [Fri Sep 29 15:56:35 2006] [error] [client 151.X.X.X] -}Premature end of -}> script headers: status.cgi, referer: -}> -}> http://nagios-cl1.it.net/side.html -}> -} -}The error message tells you exactly what's going wrong. -}"Permission denied: exec of -}'/usr/local/nagios/sbin/status.cgi' failed" -} -}You need to make sure the user apache is running as can -}execute the status.cgi binary. The easiest way to do that is -}to do like this, assuming the apache pseudo-user is called "httpd" -} -}su httpd -}cd /usr/local -}cd nagios -}cd sbin -}./status.cgi -} -}The reason for doing it in steps is that you likely have not -}only faulty permissions on the status.cgi program, but -}somewhere along the path as well. Doing it like this will let -}you see at which points you need to modify the permissions in -}order for httpd to be able to execute the program, so just -}chmod your way there. -} -}-- -}Andreas Ericsson andreas.ericsson at op5.se -}OP5 AB www.op5.se -}Tel: +46 8-230225 Fax: +46 8-230231 -} ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Fri Sep 29 17:09:54 2006 From: tom at ng23.net (Tom Brown) Date: Fri, 29 Sep 2006 16:09:54 +0100 Subject: simple chech using snmp In-Reply-To: <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> References: <451D1B3E.4010006@ng23.net> <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> Message-ID: <451D3742.3040305@ng23.net> thanks for this - This is exactly what i am after however i have an issue... when i run it after making a couple of mode for community string and snmp version etc i get this # ./retrieve_custom_snmp -H 192.168.12.176 -o 1.3.6.1.4.1.2021.56 and thats it - no output. if i enable debug i get this # cat /tmp/foobar Retrieve exit code is Retrieve status message is: ie nothing - can you offer any assistance here? thanks > I wrote a script for this a few weeks back. > > http://www.kilala.nl/Sysadmin/retrieve_custom_snmp.php > > It's also available from the Exchange, if you like :) > > > On 29 Sep, 2006, at 15:10, Tom Brown wrote: > >> Hi >> >> I have added some things to my snmp config that i would normally use >> nrpe for so that i can do a... >> >> snmpwalk host -v 1 -c community OID_string >> >> and get the desired response - does anyone know how i can construct a >> plugin that would execute that line and then parse the returned >> value? I >> have tried to deconstruct another snmp plugin but got very confused! >> >> thanks >> >> ---------------------------------------------------------------------- >> --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys -- and earn >> cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Fri Sep 29 17:27:01 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Fri, 29 Sep 2006 11:27:01 -0400 Subject: NRPE dependencies In-Reply-To: <200609252204.k8PM453A026460@mx1.cs.umb.edu> References: <200609252204.k8PM453A026460@mx1.cs.umb.edu> Message-ID: John P. Rouillard wrote: > In message , > Ugo Bellavance writes: >> Hendrik Baecker wrote: >>> Hi, >>> > > Apply the patch mentioned in: > > http://thread.gmane.org/gmane.network.nagios.user/19511/focus=19511 > > and see if: > > > define servicedependency { > > use defaults > dependent_servicegroup_name NRPE_dep > > service_description NRPE > host_name SELF > > } > > Don't know it it will work, but it seems like it should from the > description. > > > Alternatively do what I do. Create a servicedependency.cfg file that > is created by a script that parses the objects.cache file. so to > update: > > clear/empty servicedependency.cfg > > reload nagios > > wait until objects.cache is updated > > parse objects.cache for all the host/service pairs in the NRPE_dep > servicegroup > > generate: > define servicedependency{ > dependent_host_name example > dependent_service_description (all services from NRPE_dep > for host example) > host_name example > service_description NRPE > ... > } > and put them into servicedependency.cfg > > reload nagios to load the now non-empty servicedependency.cfg file. > > > Definitely a pain. ::: Messages without supporting info will risk being sent to /dev/null > I'll think I'll try to find a router or firewall in front of it on which I could do a test that could be a dependency. Is there plan to correct this? Ugo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Sep 29 17:35:27 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 29 Sep 2006 17:35:27 +0200 Subject: R: Installing problem In-Reply-To: <00ab01c6e3d7$9667d9e0$0900d40a@intranet.it.net> References: <00ab01c6e3d7$9667d9e0$0900d40a@intranet.it.net> Message-ID: <451D3D3F.7060104@op5.se> Marco Borsani wrote: > Well, > > 1) On HP-UX nagios is running correctly, all the libraries were installed > before install it. > > I am not expert on Linux so I don't understand when you write: > "..but for RedHat you *should* get everything needed by the simple expedient > of > > yum install gd-devel" > What do you mean? > I mean you should type (as root) yum install gd-devel on your system to get the libraries you need to build the cgi-programs that didn't execute properly. > > 2) I performed: > su apache > cd /usr/local/ > cd nagios > cd sbin > ./status.gci > getcgivars(): Unsupported REQUEST_METHOD -> '' > > I'm guessing you're trying to execute the CGI from a command line. > In order to do that, you need to set the REQUEST_METHOD environment > variable to either "GET", "HEAD", or "POST". When using the > GET and HEAD methods, arguments can be passed to the CGI > by setting the "QUERY_STRING" environment variable. If you're > using the POST method, data is read from standard input. Also of > note: if you've enabled authentication in the CGIs, you must set the > "REMOTE_USER" environment variable to be the name of the user you're > "authenticated" as. > > What does it mean? > > I am sorry, I am working with nagios from 2 year, but I meet these error for > the first time now! > This is odd. Do you have SELinux turned on? If so, turn it off and try accessing the page through the web again. Try Google or the RedHat user forums for info on how to do that, cause I have absolutely no idea. As a side note, I expected you to get errors several times when cd'ing to the directory, as well as when trying to execute the cgi program. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Fri Sep 29 17:50:21 2006 From: tom at ng23.net (Tom Brown) Date: Fri, 29 Sep 2006 16:50:21 +0100 Subject: simple chech using snmp In-Reply-To: <451D3742.3040305@ng23.net> References: <451D1B3E.4010006@ng23.net> <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> <451D3742.3040305@ng23.net> Message-ID: <451D40BD.3060604@ng23.net> > thanks for this - This is exactly what i am after however i have an issue... > > when i run it after making a couple of mode for community string and > snmp version etc i get this > > # ./retrieve_custom_snmp -H 192.168.12.176 -o 1.3.6.1.4.1.2021.56 > > and thats it - no output. if i enable debug i get this > > # cat /tmp/foobar > Retrieve exit code is > Retrieve status message is: > > ie nothing - can you offer any assistance here? > OK better... # ./retrieve_custom_snmp -H 192.168.12.176 -o .1.3.6.1.4.1.2021.55 UCD-SNMP-MIB::ucdavis.55.101.1 = STRING: "CRITICAL emcpowera, 2 dead, 2 alive, possible LUN tresspass or HBA failure" but it there a way to remove the "UCD-SNMP-MIB::ucdavis.55.101.1 = STRING: " so i just see the text of the string? thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Sep 29 18:11:18 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 29 Sep 2006 18:11:18 +0200 Subject: simple chech using snmp In-Reply-To: <451D40BD.3060604@ng23.net> References: <451D1B3E.4010006@ng23.net> <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> <451D3742.3040305@ng23.net> <451D40BD.3060604@ng23.net> Message-ID: <451D45A6.4070705@op5.se> Tom Brown wrote: >> thanks for this - This is exactly what i am after however i have an issue... >> >> when i run it after making a couple of mode for community string and >> snmp version etc i get this >> >> # ./retrieve_custom_snmp -H 192.168.12.176 -o 1.3.6.1.4.1.2021.56 >> >> and thats it - no output. if i enable debug i get this >> >> # cat /tmp/foobar >> Retrieve exit code is >> Retrieve status message is: >> >> ie nothing - can you offer any assistance here? >> > > OK better... > > # ./retrieve_custom_snmp -H 192.168.12.176 -o .1.3.6.1.4.1.2021.55 > UCD-SNMP-MIB::ucdavis.55.101.1 = STRING: "CRITICAL emcpowera, 2 dead, 2 > alive, possible LUN tresspass or HBA failure" > > but it there a way to remove the "UCD-SNMP-MIB::ucdavis.55.101.1 = > STRING: " so i just see the text of the string? > sed be thy friend. I didn't catch the beginning of the discussion, but if you append | sed 's/.*STRING: //' to whatever command you're running it should work pretty ok, although with decently recent tools you should also be able to pass -Ovq to snmpget and achieve pretty much the same result with less overhead. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.knutson at versimark.com Fri Sep 29 18:52:58 2006 From: thomas.knutson at versimark.com (Thomas Knutson) Date: Fri, 29 Sep 2006 11:52:58 -0500 Subject: Service definition problem with nagios 2.5 Message-ID: I am trying to set up a new install of nagios, and have set up several before (just not 2.5.) The service/plugin that I am trying to use it check_nt and my syntax is as follows define service{ use generic-service ; Name of service template to use hostgroup_name EXCHANGE-SERVERS service_description DISK C:\ is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 60 retry_check_interval 30 contact_groups exchange-admins notification_interval 300 notification_period 24x7 notification_options c,w,r check_command "/usr/local/libexec/nagios/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l C -w 95 -c 99" } When I check my configuration, this is what I get. I cant seem to figure it out, can anyone point me in the right direction? [root at nagios /usr/local/nagios/bin]# ./nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: Service check command '"/usr/local/libexec/nagios/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l C -w 95 -c 99"' specified in service 'DISK C:\' for host 'VMODEX01' not defined anywhere! Checked 4 services. Checking hosts... Checked 1 hosts. Checking host groups... Checked 1 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 5 contacts. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 msugano at uolinc.com Fri Sep 29 19:03:27 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 29 Sep 2006 14:03:27 -0300 Subject: Service definition problem with nagios 2.5 In-Reply-To: References: Message-ID: <1159549407.27907.1.camel@localhost> On Fri, 2006-09-29 at 11:52 -0500, Thomas Knutson wrote: > > Error: Service check command '"/usr/local/libexec/nagios/check_nt -H > $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l C -w 95 -c 99"' specified in > service 'DISK C:\' for host 'VMODEX01' not defined anywhere! Nagios is telling you what is wrong! Check your checkcommands.cfg os whatever command.cfg you have with command definitions for your plugins. I feel stupid telling you what to do, when nagios itself told you before. AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.knutson at versimark.com Fri Sep 29 19:44:04 2006 From: thomas.knutson at versimark.com (Thomas Knutson) Date: Fri, 29 Sep 2006 12:44:04 -0500 Subject: Service definition problem with nagios 2.5 In-Reply-To: <1159549407.27907.1.camel@localhost> References: <1159549407.27907.1.camel@localhost> Message-ID: Actually it had nothing to do with my checkcommands.cfg file, as that was clearly defined using this syntax # 'check_nt_disk' command definition define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } The problem was in my syntax in my service.cfg file, and how I was using the check command. I was trying to call it as follows check_nt_disk -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l C -w 95 -c 99 When I should have been calling it like this check_nt_disk!C!95!99 Thank you for calling me an idiot, and for pointing me in the right direction. -----Original Message----- From: Marcel Mitsuto Fucatu Sugano [mailto:msugano at uolinc.com] Sent: Friday, September 29, 2006 12:03 PM To: Thomas Knutson Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Service definition problem with nagios 2.5 On Fri, 2006-09-29 at 11:52 -0500, Thomas Knutson wrote: > > Error: Service check command '"/usr/local/libexec/nagios/check_nt -H > $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l C -w 95 -c 99"' specified in > service 'DISK C:\' for host 'VMODEX01' not defined anywhere! Nagios is telling you what is wrong! Check your checkcommands.cfg os whatever command.cfg you have with command definitions for your plugins. I feel stupid telling you what to do, when nagios itself told you before. AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 29 19:57:30 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 29 Sep 2006 19:57:30 +0200 (CEST) Subject: R: Installing problem In-Reply-To: <00ab01c6e3d7$9667d9e0$0900d40a@intranet.it.net> References: <00ab01c6e3d7$9667d9e0$0900d40a@intranet.it.net> Message-ID: On Fri, 29 Sep 2006, Marco Borsani wrote: > I am not expert on Linux so I don't understand when you write: > "..but for RedHat you *should* get everything needed by the simple expedient > of > > yum install gd-devel" > What do you mean? Get your hands on the manual and learn the usage of the yum tool to install and update packages. In fact one can even install nagios and update that way without a glitch if just add the dag wiers repository. Just add http://hvdkooij.xs4all.nl/linux-server/dag.repo to /etc/yum.repos.d/ and you are all set if you run RHEL 3 or 4 or one of their clones. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Fri Sep 29 22:14:41 2006 From: tom at ng23.net (Tom Brown) Date: Fri, 29 Sep 2006 21:14:41 +0100 Subject: emc powerpath plugins? Message-ID: <451D7EB1.8020404@ng23.net> Does anyone know if there are any plugins floating around that enable monitoring of Dell EMC SANS? I have looked everywhere and also tried some homebrew options but if there is something already out there.. thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Fri Sep 29 23:41:48 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 29 Sep 2006 23:41:48 +0200 Subject: simple chech using snmp In-Reply-To: <451D45A6.4070705@op5.se> References: <451D1B3E.4010006@ng23.net> <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> <451D3742.3040305@ng23.net> <451D40BD.3060604@ng23.net> <451D45A6.4070705@op5.se> Message-ID: <2A52F694-48EE-4D00-8D27-80A8F67063D4@kilala.nl> On 29 Sep, 2006, at 18:11, Andreas Ericsson wrote: >> but it there a way to remove the "UCD-SNMP-MIB::ucdavis.55.101.1 = >> STRING: " so i just see the text of the string? >> > > to whatever command you're running it should work pretty ok, although > with decently recent tools you should also be able to pass -Ovq to > snmpget and achieve pretty much the same result with less overhead. And since snmpget is -exactly- what I'm using inside the script, you can indeed easily add these parameters to the command. :) All sorted. You know? I think I might put this into my version as well! Could be handy, really. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thales.maia at telemar.com.br Fri Sep 29 23:46:39 2006 From: thales.maia at telemar.com.br (Thales Maia Chagas) Date: Fri, 29 Sep 2006 18:46:39 -0300 Subject: Nagios On VMWare machines Message-ID: <38BACA175342954EB7D59A9060316CD1025DC036@MAILBX03.telemar.corp.net> Does anybody running nagios on VMWare machines? Experiencing any problem? Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial, n?o podendo ser retransmitida sem autoriza??o do remetente. Se voc? n?o ? o destinat?rio ou pessoa autorizada a receb?-la, informamos que o seu uso, divulga??o, c?pia ou arquivamento s?o proibidos. Portanto, se voc? recebeu esta mensagem por engano, por favor, nos informe respondendo imediatamente a este e-mail e em seguida apague-a. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 kilala.nl Fri Sep 29 23:50:42 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 29 Sep 2006 23:50:42 +0200 Subject: Nagios On VMWare machines In-Reply-To: <38BACA175342954EB7D59A9060316CD1025DC036@MAILBX03.telemar.corp.net> References: <38BACA175342954EB7D59A9060316CD1025DC036@MAILBX03.telemar.corp.net> Message-ID: <04AB0732-E758-41D8-8CAE-BBEEA9557177@kilala.nl> On 29 Sep, 2006, at 23:46, Thales Maia Chagas wrote: > Does anybody running nagios on VMWare machines? Experiencing any > problem? Oh come one :) You're gonna have to give us a bit more than that... Anything specific you're looking for? And "run Nagios on VMWare" in what way? With the Virt Machines being the client? The server? Something else? Throw us a bone, will you? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thales.maia at telemar.com.br Sat Sep 30 00:30:45 2006 From: thales.maia at telemar.com.br (Thales Maia Chagas) Date: Fri, 29 Sep 2006 19:30:45 -0300 Subject: RES: Nagios On VMWare machines In-Reply-To: <04AB0732-E758-41D8-8CAE-BBEEA9557177@kilala.nl> References: <04AB0732-E758-41D8-8CAE-BBEEA9557177@kilala.nl> Message-ID: <38BACA175342954EB7D59A9060316CD1025DC037@MAILBX03.telemar.corp.net> No, the virtual machine is the nagios server. Red Hat Enterprise Linux AS release 4 (Nahant Update 3) Nagios 2.5 -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Thomas Sluyter Enviada em: sexta-feira, 29 de setembro de 2006 18:51 Para: Nagios Users Mailinglist Assunto: Re: [Nagios-users] Nagios On VMWare machines On 29 Sep, 2006, at 23:46, Thales Maia Chagas wrote: > Does anybody running nagios on VMWare machines? Experiencing any > problem? Oh come one :) You're gonna have to give us a bit more than that... Anything specific you're looking for? And "run Nagios on VMWare" in what way? With the Virt Machines being the client? The server? Something else? Throw us a bone, will you? ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial, n?o podendo ser retransmitida sem autoriza??o do remetente. Se voc? n?o ? o destinat?rio ou pessoa autorizada a receb?-la, informamos que o seu uso, divulga??o, c?pia ou arquivamento s?o proibidos. Portanto, se voc? recebeu esta mensagem por engano, por favor, nos informe respondendo imediatamente a este e-mail e em seguida apague-a. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thales.maia at telemar.com.br Sat Sep 30 00:33:20 2006 From: thales.maia at telemar.com.br (Thales Maia Chagas) Date: Fri, 29 Sep 2006 19:33:20 -0300 Subject: RES: Nagios On VMWare machines In-Reply-To: <38BACA175342954EB7D59A9060316CD1025DC037@MAILBX03.telemar.corp.net> References: <38BACA175342954EB7D59A9060316CD1025DC037@MAILBX03.telemar.corp.net> Message-ID: <38BACA175342954EB7D59A9060316CD1025DC038@MAILBX03.telemar.corp.net> Nagios seems to be not parallelizing. -----Mensagem original----- De: Thales Maia Chagas Enviada em: sexta-feira, 29 de setembro de 2006 19:31 Para: 'Thomas Sluyter'; Nagios Users Mailinglist Assunto: RES: [Nagios-users] Nagios On VMWare machines No, the virtual machine is the nagios server. Red Hat Enterprise Linux AS release 4 (Nahant Update 3) Nagios 2.5 -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Thomas Sluyter Enviada em: sexta-feira, 29 de setembro de 2006 18:51 Para: Nagios Users Mailinglist Assunto: Re: [Nagios-users] Nagios On VMWare machines On 29 Sep, 2006, at 23:46, Thales Maia Chagas wrote: > Does anybody running nagios on VMWare machines? Experiencing any > problem? Oh come one :) You're gonna have to give us a bit more than that... Anything specific you're looking for? And "run Nagios on VMWare" in what way? With the Virt Machines being the client? The server? Something else? Throw us a bone, will you? ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial, n?o podendo ser retransmitida sem autoriza??o do remetente. Se voc? n?o ? o destinat?rio ou pessoa autorizada a receb?-la, informamos que o seu uso, divulga??o, c?pia ou arquivamento s?o proibidos. Portanto, se voc? recebeu esta mensagem por engano, por favor, nos informe respondendo imediatamente a este e-mail e em seguida apague-a. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null