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: <