From marc at ena.com Tue Jun 1 00:28:31 2004 From: marc at ena.com (Marc Powell) Date: Mon, 31 May 2004 17:28:31 -0500 Subject: Upgrading from nagios 1.0 to 1.2 Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B63E1@mismail2.ena.com> Wilson Pires Jr wrote: > Hi all. > > I'm running nagios 1.0 on RedHat 7.2 and it works well. I'm panning > to upgrade to nagios 1.2, using s=the same machine (RH 7.2). > > Is there some recommendation, or tutorial? If I install using: > > # tar -zxvf ... > # make all ... > # make install ... > > my new nagios (1.2) will replace the old one and run automatically? Well, you'll need to add at ./configure line before make all but that's all you should really need to do ;). I would suggest that you run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg just to be sure but there haven't been any major configuration directive changes that aren't backward compatible that I am aware of. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Tue Jun 1 00:59:02 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Mon, 31 May 2004 18:59:02 -0400 Subject: Upgrading from nagios 1.0 to 1.2 Message-ID: I did the upgrade that you suggest below (the full thing, anyway, as another poster indicated) with no problems. I can't think of any big directives that changed at all, but I didn't use escalations.cfg or service dependencies on that box. Rob Nelson rnelson at windchannel.com Network Engineer 919-538-6326 > -----Original Message----- > From: Wilson Pires Jr [mailto:wp.junior at terra.com.br] > Sent: Monday, May 31, 2004 4:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Upgrading from nagios 1.0 to 1.2 > > > Hi all. > > I'm running nagios 1.0 on RedHat 7.2 and it works well. I'm > panning to upgrade to nagios 1.2, using s=the same machine (RH 7.2). > > Is there some recommendation, or tutorial? If I install using: > > # tar -zxvf ... > # make all ... > # make install ... > > my new nagios (1.2) will replace the old one and run automatically? > > Regards > > wpj > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... > Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam > FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mshirley at ysi.com Tue Jun 1 14:30:56 2004 From: mshirley at ysi.com (mshirley at ysi.com) Date: Tue, 1 Jun 2004 08:30:56 -0400 Subject: checking services with check_nt Message-ID: You can also get the proper name of the service by looking in start -> settings -> control panel -> admin tools -> services. Select the service you are trying to monitor and go into the properties. On the first tab at the very top you will see "Service Name:". That is the name to use with the check_nt plugin. Mark Shirley IT Helpdesk YSI Incorporated |---------+----------------------------------------> | | Javier Garcia | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 05/29/2004 04:56 PM | | | | |---------+----------------------------------------> >---------------------------------------------------------------------------------------------------------------| | | | To: Chris Purcell | | cc: nagios-users at lists.sourceforge.net | | Subject: Re: [Nagios-users] checking services with check_nt | >---------------------------------------------------------------------------------------------------------------| Hi, if you read the readme.htm included in the ns_client.tgz file, you can found this information: --------------------------------------------------------------------------- Services States Syntax: check_nt -H -p -v SERVICESTATE [-d SHOWALL] -l [,,,...] * should be the real name of the service, not the displayed name. You can find this information when going to the registry for the corresponding service : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services or use the free utility: 'Service Manager NT' : http://www-rnks.informatik.tu-cottbus.de/~fsch/english/nttols.htm * -d SHOWALL can be specified if you want to see all tested services including started ones. You can specify serveral services in one request. No blank should appear in the list ! If not all services are running, you get the faulty one(s) and a critical state. Example: ./check_nt -H 192.168.1.1 -p 1248 -v SERVICESTATE -d SHOWALL -l LanmanServer,Schedule ------------------------------------------------------------------------------------ Then, as you can see, first you have to check if the service is in ithe list, and the must be without blank spaces... chers, j. ---- Javier Garcia SuSE Linux C.A. jgarcia at suse.com.ve 0416-8678334 On Thu, 20 May 2004, Chris Purcell wrote: > Nagios 1.1 > Red Hat Linux 9.0 > > I'm having a problem with the check_nt plugin. It only works for one or > two services and the rest return "ServiceName: Unknown". > > This example doesn't work, I wonder if its because of the spaces in the > name... > > root at reaction etc# /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v > SERVICESTATE -l 'NetSaint NT Agent' > NetSaint NT Agent: Unknown > > This one works... > > root at reaction etc# /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v > SERVICESTATE -l 'Alerter' > Alerter: Stopped > > This two don't work for some reason... > root at reaction etc# /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v > SERVICESTATE -l 'ClipBook' > ClipBook: Unknown > root at reaction etc# /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v > SERVICESTATE -l 'Telnet' > Telnet: Unknown > > Am I doing something wrong here? Do I have to specify a password with > '-s password'? I tried that but it doesn't work. Is it possible to > specify a username to log in with as well? > > Thanks, > Chris > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id?66&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at tac.esi.net Tue Jun 1 16:20:36 2004 From: chris at tac.esi.net (Chris Hammond) Date: Tue, 01 Jun 2004 10:20:36 -0400 Subject: RRDTools RRD's Message-ID: <1086099636.15089.7.camel@nocsup> I am looking for a simple plugin to pull data from RRD's. I have found a couple but they are not simple and I am not the sharpest too in the shed. Is there a script out there that needs nothing more than name of rrd file, the warning and critical settings and will pass this on to Nagios? Thanks for any help. Chris -- Chris Hammond ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Tue Jun 1 21:20:06 2004 From: zsitfa at axelero.hu (=?ISO-8859-1?Q?Horv=E1th_Tam=E1s?=) Date: 01 Jun 2004 21:20:06 +0200 Subject: Status map background again In-Reply-To: <20040505030614.2C5A41D149E@sc8-sf-uberspam1.sourceforge.net> References: <20040505030614.2C5A41D149E@sc8-sf-uberspam1.sourceforge.net> Message-ID: <1086117606.1503.27.camel@localhost.localdomain> Hi Everybody! I've already send this question to you, but nobody sent an answer to me. Is this a silly question or this function only doesn't work at my installation? If you can, please give me some advice! "I use Nagios 1.1 on Debian Linux. Everything is fine, including custom icons for my hosts, except statusmap background image. I've read through documentation, FAQ and mailing lists several times, but I couldn't solve the problem. I set up statusmap_background_image variable in the cgi.cfg file, and tried .png, .gif., jpg. and .gd2 format files too. These files resided in the HTML images path (i.e. /usr/local/nagios/share/images) but nothing happened. Is there any recommendation for image size, color depth, etc?" I've already checked gd2 and related libraries (libpng, libjpg, etc.). I think I installed everythinbg correctly, but the statusmap's background image doesn't appear. Thanks, Tamas! ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wcorcor at siue.edu Wed Jun 2 00:10:45 2004 From: wcorcor at siue.edu (Bill Corcoran) Date: Tue, 01 Jun 2004 16:10:45 -0600 Subject: freshness check on passive service fails In-Reply-To: <2147483647.1085757910@[192.168.0.199]> References: <200405241248.12961.Michael.Huettig@Medien-Systempartner.de> <2147483647.1085677996@[192.168.0.199]> <20040528094603.A8583@rak.bb.euroweb.sk> <2147483647.1085757910@[192.168.0.199]> Message-ID: <40BCFEE5.7090501@siue.edu> I am also having a similar problem. When active checks are disabled, but check_freshness and freshness_threshold are enabled/defined, nagios will never execute the check_command (a warning to notify me that passive checks are not being received) even when it is supposed to (the passive checks are "stale"). So, I tried renabling active checking, which resulted in the situation you are describing: the both passive and active checks are done, resulting in the service flapping between the warning and the real passive check. This of course was no surprise to me, but I was willing to give it a try to solve my problem. I have made sure to disable retention features before restarting nagios to apply new directives in service definitions, but this effort was to no avail. Any ideas? -Bill Corcoran Antoine Reid wrote: > --On Friday, May 28, 2004 9:46 AM +0200 jan gregor > wrote: > >>> For what it's worth, I'm having similar issues myself too. My setup is a >>> bit different so I'll post it below. What happens here is that I have >>> two Nagios processes running on two different hosts, in different >>> subnets. The one >>> doing the actual checks is obsessing over services and sends the results >>> through nsca to the main nagios host. The main host seems to decide my >>> services results aren't fresh enough, then runs the check_command, which >>> is a dummy script returning WARNING (originally CRITICAL but it >>> generated too many notifications..), then, a couple seconds or minutes >>> later, a new passive >>> check comes in, which brings the service(s) back to OK, then a couple >>> minutes >>> later, it switches back to WARNING and so on.. >> >> >> Why are you doing freshness checking on master host? Is that of any use? >> Please, correct me, if i'm wrong, but freshness checking is mainly for >> active checking. Only idea when this is usable with passive is in >> passive+active checks, when one services are configured to accept >> passive check and doing active checks over some time (to check if we >> have not missed somthing). Again, maybe I overlooked something important, >> please correct me, if I'm terribly wrong. > > > Actually, the idea is that when active_checks are disabled, the > check_command is never run as long as the passive checks come in > frequently enough. According to the docs (the part about distributed > monitoring and/or freshness checking), IF the results are not fresh > enough, then the check_command will be executed. In a > failover/redundancy situation, that would be ideal as you main machine > does not usually perform the tests but will if the results are getting > stale. > > In my situation though, the main machine *cannot* access the services > that the second host is monitoring. What is configured instead, is a > check_command that will always return an error (right now, I return > WARNING but I would like it to be "CRITICAL") stating that the results > are stale. This would indicate that the nagios process on the 2nd > machine is no longer sending passive checks OR that the checks somehow > don't make it through to the main machine. In any case, I would get a > notification and would start investigating. > > This is exactly what I am trying to achieve. Now, my problem is the > following: the second nagios process is doing active checks, the > service(s) checked never or rarely go down (eg: fping on an otherwise > working machine). I can see on the MAIN host that the passive checks > are being received AND processed by nagios yet it decides for some > reason that the results are not fresh and run the check_command defined > (which returns WARNING). > > Net result is, according to the second machine, my services are up 100% > of the time. According to the MAIN machine, those services go OK - > WARNING - OK - WARNING - OK - WARNING every couple of minutes.. > > Would anyone know which timeout or setting to tweak so that it HAS to > wait for much much longer without having received the passive checks > before it actually decides to take matter in its own hands and run the > check_command defined? (Please see my previous post to see my > configuration details, services definitions, etc). > >> Best regards >> >> Jan Gregor > > > > thank you! > Antoine > > -- > Antoine Reid > Administrateur Syst?me - System Administrator > > __________________________________________________ > > Logient Inc. > Solutions de logiciels Internet - Internet Software Solutions > 417 St-Pierre, Suite #700 > Montr?al (Qc) Canada H2Y 2M4 > T. 514-282-4118 ext.32 > F. 514-288-0033 > www.logient.com > > *AVIS DE CONFIDENTIALIT?* > L'information apparaissant dans ce message est l?galement privil?gi?e et > confidentielle. Elle est destin?e ? l'usage exclusif de son destinataire > tel qu'identifi? ci-dessus. Si ce document vous est parvenu par erreur, > soyez par la pr?sente avis? que sa lecture, sa reproduction ou sa > distribution sont strictement interdites. Vous ?tes en cons?quence pri? de > nous aviser imm?diatement par t?l?phone au (514) 282-4118 ou par courriel. > Veuillez de plus d?truire le message. Merci. > > *CONFIDENTIALITY NOTE* > This message along with any enclosed documents are confidential and are > legally privileged. They are intended only for the person(s) or > organization(s) named above and any other use or disclosure is strictly > forbidden. If this message is received by anyone else, please notify us at > once by telephone (514) 282-4118 or e-mail and destroy this message. Thank > you. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id?66&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at halligan.org Wed Jun 2 02:15:20 2004 From: michael at halligan.org (Michael T. Halligan) Date: Tue, 1 Jun 2004 17:15:20 -0700 (PDT) Subject: Nagios not notifying? In-Reply-To: <40BCFEE5.7090501@siue.edu> References: <40BCFEE5.7090501@siue.edu> Message-ID: Has anybody run into an issue with nagios' notifications being flaky at best? I have a setup, that seems to do notifications for about a week.. Then, for whatever reason, it just stops sending out notifications.. The time doesn't seem to be regular enough to track down.. I'm running the nagios-1.2.0 rpms for RHEL. -- ------------------- Michael T. Halligan Chief Geek Halligan Infrastructure Designs. http://www.halligan.org/ 3158 Mission St. #3 San Francisco, CA 94110 (415) 724.7998 - Mobile ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgrafing at voyence.com Wed Jun 2 02:54:48 2004 From: mgrafing at voyence.com (Mark Grafing) Date: Tue, 1 Jun 2004 19:54:48 -0500 Subject: Nagios not notifying? Message-ID: <3AE153EDD5CA7B4CBA26FCDA1CBA64782BAE04@hermes.internal.powerupnetworks.com> How is it sending the e-mail? Is it using Sendmail? Cheers! ~MARK~ -----Original Message----- From: Michael T. Halligan [mailto:michael at halligan.org] Sent: Tuesday, June 01, 2004 7:15 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios not notifying? Has anybody run into an issue with nagios' notifications being flaky at best? I have a setup, that seems to do notifications for about a week.. Then, for whatever reason, it just stops sending out notifications.. The time doesn't seem to be regular enough to track down.. I'm running the nagios-1.2.0 rpms for RHEL. -- ------------------- Michael T. Halligan Chief Geek Halligan Infrastructure Designs. http://www.halligan.org/ 3158 Mission St. #3 San Francisco, CA 94110 (415) 724.7998 - Mobile ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil.manuel at infostream.com.au Wed Jun 2 03:18:13 2004 From: phil.manuel at infostream.com.au (Phil Manuel) Date: Wed, 2 Jun 2004 11:18:13 +1000 Subject: Nagios - VRML viewer Linux mozilla Message-ID: <200406021118.13628.phil.manuel@infostream.com.au> Hi, Anyone know of one that actually works. I've used FreeWRL but it just shows some text related to the position of the cursor? Thanks Phil. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Simon.McKay-Mills at corp.percepta-crm.com Wed Jun 2 11:34:04 2004 From: Simon.McKay-Mills at corp.percepta-crm.com (McKay-Mills, Simon) Date: Wed, 2 Jun 2004 10:34:04 +0100 Subject: Status map logos - Citrix and databases Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've got most of the logo packs, and have tidied up my statusmap and it looks great. The only exception is for my citrix farm and the oracle databases. Does anyone have any Citrix and Oracle logo's (or even database shapes) in the appropriate format. Regards SM? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Simon McKay-Mills Percepta Technology Manager DDI +44-(0)141-4183648 Mob +44-(0)797-6593462 simon.mckay-mills at corp.percepta-crm.com - -----Original Message----- From: Paul L. Allen [mailto:pla at softflare.com] Sent: 23 January 2004 10:19 To: nagios-users at lists.sourceforge.net Subject: Re: - [Nagios-users] Statusmap./ - Email found in subject Brad Dunn writes: > However my statusmap image is still not available. The GD file format can change incompatibly between different versions of GD. If you're using GD images created by somebody else they may not work. Try converting them from PNGs on the nagios server. - -- Paul Allen Softflare Support - ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: PGP 8.0.3 iQA/AwUBQL2eX1b1rXjosed5EQK6pQCgq5OHLLdsv/jkt1lrzvZiUmVWoBQAoPwR Eo4iUY8aXrqpNrcRAA6N5Nlh =TExy -----END PGP SIGNATURE----- ............................................................... This electronic message transmission contains information that is deemed confidential or privileged by the sender. The information is intended to be for the use of the individual or entity named as recipient(s) above, only. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify us by telephone (303-397-8100) or by electronic mail(Legal at TeleTech.Com) immediately. ............................................................... ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.koch at eurodata.de Wed Jun 2 12:21:55 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Wed, 02 Jun 2004 12:21:55 +0200 Subject: nrpe check timetout Message-ID: <1086171715.18461.23.camel@dresden.eurodata.de> Hello Group, i have the Problem, that the check on Server run in timeout: CHECK_NRPE: Socket timeout after 10 seconds The Server has an great load and give the resault after 20 seconds. Where can i found the config-file who i can set the timeout to 20 seconds? THX Andreas ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Wed Jun 2 12:54:58 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Wed, 2 Jun 2004 12:54:58 +0200 Subject: nrpe check timetout In-Reply-To: <1086171715.18461.23.camel@dresden.eurodata.de> References: <1086171715.18461.23.camel@dresden.eurodata.de> Message-ID: <200406021254.59210.Michael.Huettig@Medien-Systempartner.de> Am Mittwoch, 2. Juni 2004 12:21 schrieb Andreas Koch: > Hello Group, > > i have the Problem, that the check on Server run in timeout: > > > CHECK_NRPE: Socket timeout after 10 seconds > > > The Server has an great load and give the resault after 20 seconds. > > Where can i found the config-file who i can set the timeout to 20 > seconds? option is set in nrpe.cfg on machine, which runs nrped # COMMAND TIMEOUT # This specifies the maximum number of seconds that the NRPE daemon will # allow plugins to finish executing before killing them off. command_timeout=60 In nagios.cfg you can set service_check_timeout=120 hth greets Michael > > THX Andreas > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smalhotra at dataarmor.net Wed Jun 2 13:23:08 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Wed, 2 Jun 2004 16:53:08 +0530 Subject: nrpe check timetout References: <1086171715.18461.23.camel@dresden.eurodata.de> Message-ID: <001a01c44893$fd782b80$0222040b@sumit> RTFM man ... --------------------------------------------------------------------- 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. Note: This plugin requires that you have the NRPE daemon running on the remote host. You must also have configured the daemon to associate a specific plugin command with the [command] option you are specifying here. Upon receipt of the [command] argument, the NRPE daemon will run the appropriate plugin command and send the plugin output and return code back to *this* plugin. This allows you to execute plugins on remote hosts and 'fake' the results to make Nagios think the plugin is being run locally. ------------------------------------------- Modify the timeout as required .. simple . - Sumit ----- Original Message ----- From: "Andreas Koch" To: Sent: Wednesday, June 02, 2004 3:51 PM Subject: [Nagios-users] nrpe check timetout > Hello Group, > > i have the Problem, that the check on Server run in timeout: > > > CHECK_NRPE: Socket timeout after 10 seconds > > > The Server has an great load and give the resault after 20 seconds. > > Where can i found the config-file who i can set the timeout to 20 > seconds? > > THX Andreas > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.koch at eurodata.de Wed Jun 2 13:35:24 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Wed, 02 Jun 2004 13:35:24 +0200 Subject: nrpe check timetout In-Reply-To: <04b201c44893$6b3e1680$b004d882@itss.auckland.ac.nz> References: <04b201c44893$6b3e1680$b004d882@itss.auckland.ac.nz> Message-ID: <1086176124.18464.100.camel@dresden.eurodata.de> Hello all, yes the -t option from check_nrpe works. Thanks all Andreas Am Mi, den 02.06.2004 schrieb Steve Shipway um 13:19: > I believe that there is a -t option to check_nrpe that allows you to specify > a timeout for its return. > In the monitored host, the nrpe.cfg will specify the local timeout for the > various plugins called by nrped. > > Steve > > --- > Steve Shipway: ITSS, University of Auckland > Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ > ** We can only discover new oceans when we have the ** > ** courage to lose sight of the shore. ** > > >-----Original Message----- > >From: nagios-users-admin at lists.sourceforge.net > >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > >Andreas Koch > >Sent: Wednesday, 2 June 2004 10:22 p.m. > >To: nagios-users at lists.sourceforge.net > >Subject: [Nagios-users] nrpe check timetout > > > > > >Hello Group, > > > >i have the Problem, that the check on Server run in timeout: > >CHECK_NRPE: Socket timeout after 10 seconds > >The Server has an great load and give the resault after 20 seconds. > >Where can i found the config-file who i can set the timeout to > >20 seconds? > > > >THX Andreas > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is > >the one installation-authoring solution that does it all. > >Learn more and evaluate today! > >http://www.installshield.com/Dev2Dev/0504 > > > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS > >when reporting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > -- ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Jevos at Oriflame-SW.Com Wed Jun 2 14:21:30 2004 From: Peter.Jevos at Oriflame-SW.Com (Jevos, Peter) Date: Wed, 2 Jun 2004 14:21:30 +0200 Subject: Problem with access to mysql Message-ID: Hello I've problem with access to mysql db. I' ve compiled nagios with mysql support --with-mysql-* and everything done without problems. I edited CGI config file and Resource file ( by Nagios documentation) and created db and tables in my Mysql. But still nagios is writing logs into /usr/local/nagios/var/status.log, not into status* tables as it could it be Thanx a lot for every advice pet -------------- next part -------------- An HTML attachment was scrubbed... URL: From ohoyer at ohoyer.de Wed Jun 2 14:24:04 2004 From: ohoyer at ohoyer.de (Olaf Hoyer) Date: Wed, 2 Jun 2004 14:24:04 +0200 (CEST) Subject: Monitoring Win 2003 Server Performance Stats Message-ID: <20040602140717.V56195@gaff.hhhr.ision.net> Hi! Well, got the following situation: Monitoring box is a nagios 1.2, with net-snmp installed, and already monitoring a bunch of HP based servers. The SNMP-Agents there also give out happily performance stats via their special agents, therefore using the private OID of Compaq/HP. But... There are some standard PCs, that also run 2003 Server, that have no special management agents available, so I have to use the built-in functions what Microsoft builds in. As I understand, they have also several mibs available for the statistics, but as I also understand you also have to tell whether the SNMP/WMI whatsoever service to export those values. On one box in question, I have SNMP service running, it exports happily the standard mib-II, but nothing else. As I further understand, is, that the old perfmon-things that worked in Win2000 will not work directly in 2003Server... Anyone got a link for this? TIA Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Simon.McKay-Mills at corp.percepta-crm.com Wed Jun 2 15:22:14 2004 From: Simon.McKay-Mills at corp.percepta-crm.com (McKay-Mills, Simon) Date: Wed, 2 Jun 2004 14:22:14 +0100 Subject: Statusmap issue - image/logo sizes choking statusmap.cgi Message-ID: All, Truly a strange one - partially resolved. history In the status overview, all hostgroups are showing the servers, with the appropriate icons from the hostextinfo.cfg If I go into the statusmap the results are as follows. At all options the "hover over" box shows all the information with logo's status etc even if there is no main image to see. Scaling at 0.0 Circular Balloon shows all information Scaling at 0.0 and Circular marked up shows square with red cross Scaling at 0.0 and Circular marked up and select all drawing layers shows all the green shaded image background but no icons or names Scaling at 0.0 and Circular marked up and select all layers and layer mode include - shows square with red cross Scaling at 0.0 and Circular marked up and select all layers except for a particular 2 - shows the correct image (minus the 2 groups) - so I have a preoblem with these 2 groups. Copied the referenced images and renamed others (to avoid screwing around with the config file) and all came back. Issue So I now have 2 sets of images (suse and citrix obtained from the imagepak-bernard) that causes the statusmap.cgi to choke. What should the images be set to (size, colours etc?) and I'll have a go at redoing them. Regards SM? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Simon McKay-Mills ............................................................... This electronic message transmission contains information that is deemed confidential or privileged by the sender. The information is intended to be for the use of the individual or entity named as recipient(s) above, only. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify us by telephone (303-397-8100) or by electronic mail(Legal at TeleTech.Com) immediately. ............................................................... ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Wed Jun 2 15:43:55 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 02 Jun 2004 09:43:55 -0400 Subject: Monitoring Win 2003 Server Performance Stats Message-ID: Just try nsclient in the extras for fun. And tell us if it is working... --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> Olaf Hoyer 02.06 8:24 >>> Hi! Well, got the following situation: Monitoring box is a nagios 1.2, with net-snmp installed, and already monitoring a bunch of HP based servers. The SNMP-Agents there also give out happily performance stats via their special agents, therefore using the private OID of Compaq/HP. But... There are some standard PCs, that also run 2003 Server, that have no special management agents available, so I have to use the built-in functions what Microsoft builds in. As I understand, they have also several mibs available for the statistics, but as I also understand you also have to tell whether the SNMP/WMI whatsoever service to export those values. On one box in question, I have SNMP service running, it exports happily the standard mib-II, but nothing else. As I further understand, is, that the old perfmon-things that worked in Win2000 will not work directly in 2003Server... Anyone got a link for this? TIA Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oli at isnic.is Wed Jun 2 17:47:02 2004 From: oli at isnic.is (Olafur Osvaldsson) Date: Wed, 2 Jun 2004 15:47:02 +0000 Subject: International chars are not sent in email messages Message-ID: <20040602154702.GA18280@isnic.is> Hi, When I acknowledge a problem with a host in the web interface and give a reason wich includes Icelandic letters the message is saved correctly and displayed correctly by the web interface, but the email does not show the correct message: *This is the message I put in the web interface: Skipt um netkort af ?j?nustua?ila *This is from the email: Info: Skipt um netkort af jnustuaila This might be caused by the fact that nagios inserts no Content-Type header and therefor no charset information. /?li P.S. I don't get mail from the list so please Cc me on replies. -- Olafur Osvaldsson Systems Administrator Internet a Islandi hf. Tel: +354 525-5291 Email: oli at isnic.is ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From afarrer at africonnect.com Wed Jun 2 18:04:42 2004 From: afarrer at africonnect.com (Alex Farrer) Date: Wed, 02 Jun 2004 17:04:42 +0100 Subject: Migrating nagios to new server Message-ID: <5.2.1.1.2.20040602165401.02d61890@195.206.160.253> I'm having a minor problem migrating my Nagios 1.2 installation onto a new server. Since this new machine is running the same OS (Fedora) rather than recompile and install nagios from scratch, ive simply copied the entire nagios directory from the original server to the new server. I've made sure that all the libraries are installed on the new machine (using the same rpms), the directory structure is exactly the same, permissions are right and the webserver is set up the same. So I start up nagios, and everything runs fine, with no error messages. However, when using the web interface, each of the cgis that should appear in the right hand frame on the screen display a "Error- Msissing Content-Type" header? Any ideas where i'm going wrong? Ive seen a faq suggesting that i need to recompile without debugging enabled, but surely this doesn't apply in this case, since im using cgis that have already been compiled and work on an identical system? Any advice or suggestions will be greatly appreciated! Alex From webmaster at margo.bijoux.nom.br Wed Jun 2 18:20:11 2004 From: webmaster at margo.bijoux.nom.br (Pedro Fernandes Macedo) Date: Wed, 2 Jun 2004 13:20:11 -0300 Subject: Question about perfdata Message-ID: <20040602162011.1112.qmail@hm145.locaweb.com.br> I have a little question. I've compiled nagios from source (using ./configure --prefix=/opt/nagios --with-ping-command="/bin/ping -n %s -c %d" --with-mail=/usr/bin/mail --with-perlcache --with-nagios-user=nagios --with-nagios-grp=nagios --with-file-perfdata ) , enabled process_performance_data , configured the output files and the templates to be used , but I still get no output (even from plugins like check_ping). The odd thing is that I`ve created a directory on my home dir , copied the nagios binary and the same config files I`m using , changed the logs location to this dir and then I get the performance data.. Any ideas on what could be wrong? I'm almost sure I checked everything possible , but I'm almost sure I overlooked something... Thx -- Pedro Macedo ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben at clewett.org.uk Wed Jun 2 18:35:33 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Wed, 02 Jun 2004 17:35:33 +0100 Subject: Question about perfdata In-Reply-To: <20040602162011.1112.qmail@hm145.locaweb.com.br> References: <20040602162011.1112.qmail@hm145.locaweb.com.br> Message-ID: <40BE01D5.3080006@clewett.org.uk> Pedro, I've compiled a short check-list to help users such as your self. Some of which might help you. Of use to users using PerfParse to graph the performance data: 1. You are using the latest Nagios, 1.2. 2. You are using the latest nagios plugins. Only these produce performance data. You can check this by running one, like 'check_disk'. If you have performance data, this should reply: DISK OK - free space: / 8089 MB (22%); /boot 35 MB (76%) | /=8089MB;33312;35163;0;37014 /boot=34MB;40;42;0;45 You can see the performance data beyond the '|'. 3. You have compiled nagios with the option to produce performance data. Using the '--with-file-perfdata'. Ie: ./configure --with-file-perfdata 4. Set the permissions on the servicelog file as: -rw-rw-r-- nagios nagios ie: $ chmod 664 serviceperf.log $ chown nagios.nagios serviceperf.log 5. Check 'nagios.cfg', ensure you have these lines somewhere: process_performance_data=1 xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$PERFDATA$ 6. In services.cfg, ensure this line is in all services you want to monitor: (Or the generic parent table.) process_perf_data 1 7. In Nagios 'Process Info' page. At the bottom of the Process Information box, ensure you have: "Performance Data Being Processed? Yes" Regard, Ben Pedro Fernandes Macedo wrote: > I have a little question. I've compiled nagios from source (using ./configure --prefix=/opt/nagios --with-ping-command="/bin/ping -n %s -c %d" --with-mail=/usr/bin/mail --with-perlcache --with-nagios-user=nagios --with-nagios-grp=nagios --with-file-perfdata ) , enabled process_performance_data , configured the output files and the templates to be used , but I still get no output (even from plugins like check_ping). > The odd thing is that I`ve created a directory on my home dir , copied the nagios binary and the same config files I`m using , changed the logs location to this dir and then I get the performance data.. > > Any ideas on what could be wrong? I'm almost sure I checked everything possible , but I'm almost sure I overlooked something... > > Thx > -- > Pedro Macedo > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. >>From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webmaster at margo.bijoux.nom.br Wed Jun 2 18:50:54 2004 From: webmaster at margo.bijoux.nom.br (Pedro Fernandes Macedo) Date: Wed, 2 Jun 2004 13:50:54 -0300 Subject: Question about perfdata In-Reply-To: <40BE01D5.3080006@clewett.org.uk> References: <40BE01D5.3080006@clewett.org.uk> Message-ID: <20040602165055.25740.qmail@hm145.locaweb.com.br> Ben, thx for the fast answer.. Here are the results of the tests: > 1. You are using the latest Nagios, 1.2. -bash-2.05b$ ./nagios.teste Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) > 2. You are using the latest nagios plugins. Only these produce > performance data. You can check this by running one, like 'check_disk'. > If you have performance data, this should reply: gargamel:/opt/nagios/libexec# /opt/nagios/libexec/check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 1 PING OK - Packet loss = 0%, RTA = 0.22 ms gargamel:/opt/nagios/libexec# Looks like I found the guilty part... Thanks for the help... Now I'm gonna fix this... I've checked the config that works and it was pointing to the plugins installed by debian.. The ones compiled by my co-worker are the ones that dont produce output... I?ll ask him to recompile them... -- Pedro Macedo ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlosandres_23 at yahoo.com Wed Jun 2 19:10:50 2004 From: carlosandres_23 at yahoo.com (Carlos Medina) Date: Wed, 2 Jun 2004 10:10:50 -0700 (PDT) Subject: Nagios + Asterisk Message-ID: <20040602171050.26655.qmail@web60001.mail.yahoo.com> Hi there, i need a tool to monitor asterisk and some network resources, reading the documentation i notice that Nagios can do it. I want to know the advanatages of using nagios over asterisk, how can nagios monitor asterisk? What exactly monitors? I read the documentation of Nagios & Asterisk but it doesnt explain the details of what the PL script does. Thanks for your help Carlos Andres Medina --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Wed Jun 2 19:42:09 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 2 Jun 2004 11:42:09 -0600 Subject: Status map logos - Citrix and databases Message-ID: <41FD7929498A174DAB86C45F28E0EC0D0ABCFD@golden-m.mactec.com> I created a Citrix logo at one point. I was almost positive that it was in my logo set (Cook Logos). However, I just checked the preview on the Nagios site and the Citrix logos do not appear to be in there. I've attached a png, gif, and jpg to this message, you should create your own gd2. -g -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of McKay-Mills, Simon Sent: Wed 6/2/2004 3:34 AM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Status map logos - Citrix and databases -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've got most of the logo packs, and have tidied up my statusmap and it looks great. The only exception is for my citrix farm and the oracle databases. Does anyone have any Citrix and Oracle logo's (or even database shapes) in the appropriate format. Regards SM? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Simon McKay-Mills Percepta Technology Manager DDI +44-(0)141-4183648 Mob +44-(0)797-6593462 simon.mckay-mills at corp.percepta-crm.com - -----Original Message----- From: Paul L. Allen [mailto:pla at softflare.com] Sent: 23 January 2004 10:19 To: nagios-users at lists.sourceforge.net Subject: Re: - [Nagios-users] Statusmap./ - Email found in subject Brad Dunn writes: > However my statusmap image is still not available. The GD file format can change incompatibly between different versions of GD. If you're using GD images created by somebody else they may not work. Try converting them from PNGs on the nagios server. - -- Paul Allen Softflare Support - ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: PGP 8.0.3 iQA/AwUBQL2eX1b1rXjosed5EQK6pQCgq5OHLLdsv/jkt1lrzvZiUmVWoBQAoPwR Eo4iUY8aXrqpNrcRAA6N5Nlh =TExy -----END PGP SIGNATURE----- ............................................................... This electronic message transmission contains information that is deemed confidential or privileged by the sender. The information is intended to be for the use of the individual or entity named as recipient(s) above, only. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify us by telephone (303-397-8100) or by electronic mail(Legal at TeleTech.Com) immediately. ............................................................... ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: citrix_server.png Type: image/x-png Size: 1502 bytes Desc: citrix_server.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: citrix_server.jpg Type: image/pjpeg Size: 3721 bytes Desc: citrix_server.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: citrix_server.gif Type: image/gif Size: 254 bytes Desc: citrix_server.gif URL: From al_smyth at yahoo.com Wed Jun 2 20:39:44 2004 From: al_smyth at yahoo.com (Al Smith) Date: Wed, 2 Jun 2004 11:39:44 -0700 (PDT) Subject: Nagios with MySQL support Message-ID: <20040602183944.46089.qmail@web50104.mail.yahoo.com> I've tried the online forums over the past weeks, and have had no response. Using Nagios, configured with the xdata option, and a MySQL database appears to work well from the monitoring views, however... No external commands can be used. This means I cannot acknowlege an alarm, schedule downtime, send a passive check or leave a comment - all things that I need to do in order to run the tool as expected. When attempting any of these commands via the web page, I get the response: Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! Read the documentation for information on how to enable external commands... I've looked through the documentation, but it is not focused on the MySQL implementation. Can anyone lend a had with getting past this configuration issue? Is it possible to use external commands via the web interface? I have set downtime in the database itself, and after the endtime, it is removed from the database table, so all appears to work well from that aspect. Al --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger -------------- next part -------------- An HTML attachment was scrubbed... URL: From wp.junior at terra.com.br Wed Jun 2 20:49:21 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Wed, 2 Jun 2004 15:49:21 -0300 Subject: Inconsistent downtime report In-Reply-To: <20040602162011.1112.qmail@hm145.locaweb.com.br> References: <20040602162011.1112.qmail@hm145.locaweb.com.br> Message-ID: <20040602184608.423193C07C@cuenca.terra.com.br> Hi all. I run nagios 1.0 in a Red Hat 9. Everything is going well, except by an "error", I suppose, in the "Availability Reports". The problem occurs regarding "scheduled downtime". When I open a ticket to a telecom operator to recover a link, I start a "scheduled downtime" for this link. I always use flexible downtime as I don't know the recover time. When I'm going to report the monthly availability, I used to add the "Total UP time", "Scheduled DOWN time" and "Scheduled UNREACHABLE time". So I have the availability added the 3rd part time responsibility. Problem: many times the "scheduled downtime" plus "Total uptime" is more than 100%. Like the example bellow. If I sum the "Host downtime" entries in the "Host log entry" I get the correct value. The example bellow shows "DOWN Scheduled" "5d 0h 42m 20s", but if I get the values from "Host log entry", the actual time is around 7 hours. State Type / Reason Time % Total Time % Known Time UP Unscheduled 25d 9h 26m 14s 97.190% 99.194% Scheduled 4d 17h 39m 10s 15.276% 15.591% Total 30d 3h 5m 24s 97.190% 99.194% DOWN Unscheduled 49705d 11h 38m 39s 0.790% 0.806% Scheduled 5d 0h 42m 20s 16.224% 16.558% Total 0d 5h 52m 43s 0.790% 0.806% UNREACHABLE Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% Undetermined Nagios Not Running 0d 15h 1m 53s 2.020% Insufficient Data 0d 0h 0m 0s 0.000% Total 0d 15h 1m 53s 2.020% All Total 31d 0h 0m 0s 100.000% 100.000% Does anybody can help me? Regards, Wilson ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 2 20:54:22 2004 From: marc at ena.com (Marc Powell) Date: Wed, 2 Jun 2004 13:54:22 -0500 Subject: Nagios with MySQL support Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6406@mismail2.ena.com> ________________________________ From: Al Smith [mailto:al_smyth at yahoo.com] Sent: Wednesday, June 02, 2004 1:40 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios with MySQL support I've tried the online forums over the past weeks, and have had no response. Using Nagios, configured with the xdata option, and a MySQL database appears to work well from the monitoring views, however... No external commands can be used. This means I cannot acknowlege an alarm, schedule downtime, send a passive check or leave a comment - all things that I need to do in order to run the tool as expected. When attempting any of these commands via the web page, I get the response: Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! Read the documentation for information on how to enable external commands... I've looked through the documentation, but it is not focused on the MySQL implementation. Can anyone lend a had with getting past this configuration issue? Is it possible to use external commands via the web interface? I have set downtime in the database itself, and after the endtime, it is removed from the database table, so all appears to work well from that aspect. ----------------------------------------------------- The ability to check for external commands is independent of the storage mechanism you use. Information on how to enable external commands is documented at http://nagios.sourceforge.net/docs/1_0/extcommands.html and works with flat file or database storage. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From efreis at opentable.com Wed Jun 2 20:58:40 2004 From: efreis at opentable.com (Elliott Freis) Date: Wed, 2 Jun 2004 11:58:40 -0700 Subject: Host downtime report including scheduled downtime Message-ID: <34BD9C97B714D511B01C00D0B73EC073079FBFBF@EXCHANGE> Does anyone have any idea why this is happening? We need to rely on these numbers!! This is a 7 day report. Where is this 8m 59s unscheduled downtime coming from?!?!?!?!?! DOWN Unscheduled 0d 0h 8m 59s 0.210% 0.210% Scheduled 0d 0h 12m 11s 0.121% 0.121% Total 0d 0h 21m 10s 0.210% 0.210% Event Start Time Event End Time Event Duration Event/State Type Event/State Information 05-18-2004 10:15:00 05-18-2004 10:15:05 0d 0h 0m 5s PROGRAM (RE)START Program start 05-18-2004 10:15:05 05-18-2004 10:15:13 0d 0h 0m 8s PROGRAM END Normal program termination 05-18-2004 10:15:13 05-18-2004 10:24:28 0d 0h 9m 15s PROGRAM (RE)START Program start 05-18-2004 10:24:28 05-18-2004 10:24:49 0d 0h 0m 21s PROGRAM END Normal program termination 05-18-2004 10:24:49 05-18-2004 10:25:19 0d 0h 0m 30s PROGRAM (RE)START Program start 05-18-2004 10:25:19 05-18-2004 11:57:22 0d 1h 32m 3s HOST UP (Host assumed to be up) 05-18-2004 11:57:22 05-18-2004 12:05:56 0d 0h 8m 34s PROGRAM END Normal program termination 05-18-2004 12:05:56 05-18-2004 12:06:26 0d 0h 0m 30s PROGRAM (RE)START Program start 05-18-2004 12:06:26 05-19-2004 18:48:33 1d 6h 42m 7s HOST UP (Host assumed to be up) 05-19-2004 18:48:33 05-19-2004 19:09:26 0d 0h 20m 53s HOST DOWNTIME START Start of scheduled downtime 05-19-2004 19:09:26 05-19-2004 19:10:36 0d 0h 1m 10s HOST DOWN CRITICAL - Plugin timed out after 10 seconds 05-19-2004 19:10:36 05-19-2004 19:48:21 0d 0h 37m 45s HOST UP PING OK - Packet loss = 0%, RTA = 0.22 ms 05-19-2004 19:48:21 05-21-2004 09:01:59 1d 13h 13m 38s HOST DOWNTIME END End of scheduled downtime 05-21-2004 09:01:59 05-21-2004 09:01:59 0d 0h 0m 0s PROGRAM END Normal program termination 05-21-2004 09:01:59 05-21-2004 09:02:29 0d 0h 0m 30s PROGRAM (RE)START Program start 05-21-2004 09:02:29 05-23-2004 00:01:00 1d 14h 58m 31s HOST UP (Host assumed to be up) 05-23-2004 00:01:00 05-23-2004 00:01:01 0d 0h 0m 1s PROGRAM END Normal program termination 05-23-2004 00:01:01 05-23-2004 00:01:31 0d 0h 0m 30s PROGRAM (RE)START Program start 05-23-2004 00:01:31 05-26-2004 16:16:30 3d 16h 14m 59s HOST UP (Host assumed to be up) 05-26-2004 16:16:30 05-26-2004 16:16:30 0d 0h 0m 0s PROGRAM END Normal program termination 05-26-2004 16:16:30 05-26-2004 16:17:01 0d 0h 0m 31s PROGRAM (RE)START Program start 05-26-2004 16:17:01 05-26-2004 16:39:37 0d 0h 22m 36s HOST UP (Host assumed to be up) 05-26-2004 16:39:37 05-26-2004 16:39:37 0d 0h 0m 0s PROGRAM END Normal program termination 05-26-2004 16:39:37 05-26-2004 16:40:07 0d 0h 0m 30s PROGRAM (RE)START Program start 05-26-2004 16:40:07 05-27-2004 11:57:27 0d 19h 17m 20s HOST UP (Host assumed to be up) 05-27-2004 11:57:27 05-27-2004 11:57:27 0d 0h 0m 0s PROGRAM END Normal program termination 05-27-2004 11:57:27 05-27-2004 11:57:57 0d 0h 0m 30s PROGRAM (RE)START Program start 05-27-2004 11:57:57 05-27-2004 17:49:28 0d 5h 51m 31s HOST UP (Host assumed to be up) 05-27-2004 17:49:28 05-27-2004 17:49:28 0d 0h 0m 0s PROGRAM END Normal program termination 05-27-2004 17:49:28 05-27-2004 17:49:58 0d 0h 0m 30s PROGRAM (RE)START Program start 05-27-2004 17:49:58 05-27-2004 17:50:36 0d 0h 0m 38s HOST UP (Host assumed to be up) 05-27-2004 17:50:36 05-27-2004 17:50:36 0d 0h 0m 0s PROGRAM END Normal program termination 05-27-2004 17:50:36 05-27-2004 17:51:06 0d 0h 0m 30s PROGRAM (RE)START Program start 05-27-2004 17:51:06 05-27-2004 19:00:32 0d 1h 9m 26s HOST UP (Host assumed to be up) 05-27-2004 19:00:32 05-27-2004 19:26:46 0d 0h 26m 14s HOST DOWNTIME START Start of scheduled downtime 05-27-2004 19:26:46 05-27-2004 19:47:56 0d 0h 21m 10s HOST DOWN CRITICAL - Plugin timed out after 10 seconds 05-27-2004 19:47:56 05-27-2004 20:00:07 0d 0h 12m 11s HOST UP PING OK - Packet loss = 0%, RTA = 0.18 ms 05-27-2004 20:00:07 05-30-2004 00:01:00 2d 4h 0m 53s HOST DOWNTIME END End of scheduled downtime 05-30-2004 00:01:00 05-30-2004 00:01:00 0d 0h 0m 0s PROGRAM END Normal program termination 05-30-2004 00:01:00 05-30-2004 00:01:30 0d 0h 0m 30s PROGRAM (RE)START Program start 05-30-2004 00:01:30 06-02-2004 11:57:40 3d 11h 56m 10s+ HOST UP (Host assumed to be up) Thanks all! -Elliott ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grant.adamson at kuehne-nagel.com Wed Jun 2 21:15:31 2004 From: grant.adamson at kuehne-nagel.com (Grant Adamson / Van CI) Date: Wed, 2 Jun 2004 12:15:31 -0700 Subject: Nagios with MySQL support In-Reply-To: <20040602183944.46089.qmail@web50104.mail.yahoo.com> References: <20040602183944.46089.qmail@web50104.mail.yahoo.com> Message-ID: Whether or not you are using MySQL should have no relevance on the external commands, AFAIK. Have you checked to make sure the permissions are correct for the external command file? http://nagios.sourceforge.net/docs/1_0/commandfile.html -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Al Smith Sent: Wednesday, June 02, 2004 11:40 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios with MySQL support I've tried the online forums over the past weeks, and have had no response. Using Nagios, configured with the xdata option, and a MySQL database appears to work well from the monitoring views, however... No external commands can be used. This means I cannot acknowlege an alarm, schedule downtime, send a passive check or leave a comment - all things that I need to do in order to run the tool as expected. When attempting any of these commands via the web page, I get the response: Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! Read the documentation for information on how to enable external commands... I've looked through the documentation, but it is not focused on the MySQL implementation. Can anyone lend a had with getting past this configuration issue? Is it possible to use external commands via the web interface? I have set downtime in the database itself, and after the endtime, it is removed from the database table, so all appears to work well from that aspect. Al ---------------------------------------------------------------------------- -- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger -------------- next part -------------- An HTML attachment was scrubbed... URL: From grant.adamson at kuehne-nagel.com Wed Jun 2 21:18:27 2004 From: grant.adamson at kuehne-nagel.com (Grant Adamson / Van CI) Date: Wed, 2 Jun 2004 12:18:27 -0700 Subject: Nagios with MySQL support In-Reply-To: <20040602183944.46089.qmail@web50104.mail.yahoo.com> References: <20040602183944.46089.qmail@web50104.mail.yahoo.com> Message-ID: I was asleep at keyboard... First make sure your nagios.cfg has check_external_commands = 1 Then read previous msg :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Al Smith Sent: Wednesday, June 02, 2004 11:40 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios with MySQL support I've tried the online forums over the past weeks, and have had no response. Using Nagios, configured with the xdata option, and a MySQL database appears to work well from the monitoring views, however... No external commands can be used. This means I cannot acknowlege an alarm, schedule downtime, send a passive check or leave a comment - all things that I need to do in order to run the tool as expected. When attempting any of these commands via the web page, I get the response: Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! Read the documentation for information on how to enable external commands... I've looked through the documentation, but it is not focused on the MySQL implementation. Can anyone lend a had with getting past this configuration issue? Is it possible to use external commands via the web interface? I have set downtime in the database itself, and after the endtime, it is removed from the database table, so all appears to work well from that aspect. Al ---------------------------------------------------------------------------- -- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger -------------- next part -------------- An HTML attachment was scrubbed... URL: From jnichols at pbp.net Wed Jun 2 21:39:58 2004 From: jnichols at pbp.net (Jonathan Nichols) Date: Wed, 02 Jun 2004 12:39:58 -0700 Subject: Vary check_dns checks? Message-ID: <40BE2D0E.6040009@pbp.net> Hi! Is there a way to have the check_dns plugin randomly pick names to check from a file? Currently I have it set to check DNS for beer.com (heh) and it's working great, but I'd like to see if there's a way to have it check other stuff at random so the output isn't always the same. Any ideas? :D -Jonathan ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Jun 2 21:41:04 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 2 Jun 2004 15:41:04 -0400 Subject: Host Shows As Down But Services Are Showing As OK Message-ID: <5593DA408212D511B0910002A513501F0655933E@phsexch20.mgh.harvard.edu> One of our nrpe client machines is appearing as down in the Tactical Overview and associated screens. However, if I go to the Service Detail screen, the services that are being monitored on the system in question are showing up as OK with very recent time stamps. Has anyone have a similar situation, and if so what was the cause and solution? Thanks. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naman.latif at inamed.com Wed Jun 2 21:52:37 2004 From: naman.latif at inamed.com (Naman Latif) Date: Wed, 2 Jun 2004 12:52:37 -0700 Subject: Display Control for HostGroups Message-ID: <83B3FCAD284096489C9967C54B33B6B302AD51F6@sigma.inamed.com> Hi, Is it possible to define a HostGroup that is not displayed by the CGI in Status Overview etc ? I want to have different contacts for some groups of devices, but these all should be viewed as one group. Is there a way to do this ? Also can a host be a member of multiple host groups ? Thanks\\ Naman ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Wed Jun 2 21:55:05 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Wed, 02 Jun 2004 12:55:05 -0700 Subject: Vary check_dns checks? In-Reply-To: <1086205953.24881.173.camel@tesuji.nac.uci.edu> References: <40BE2D0E.6040009@pbp.net> <1086205953.24881.173.camel@tesuji.nac.uci.edu> Message-ID: <1086206104.24881.175.camel@tesuji.nac.uci.edu> Oops. Here's the attachment. :) On Wed, 2004-06-02 at 12:52, Dan Stromberg wrote: > I've attached my "random" program. > > So if you're checking a single host with "check_dns hostname.com", you > could use instead "check_dns `random < list.of.hosts | head -1`". > > The random program uses a python seed.py module I wrote, for getting > halfway decent seeds. I think you'll probably be able to see how to > tell the random program where to find the seed.py module. It's a short > program in a highly readable language. > > On Wed, 2004-06-02 at 12:39, Jonathan Nichols wrote: > > Hi! > > Is there a way to have the check_dns plugin randomly pick names to > > check from a file? Currently I have it set to check DNS for beer.com > > (heh) and it's working great, but I'd like to see if there's a way to > > have it check other stuff at random so the output isn't always the same. > > > > Any ideas? :D > > > > -Jonathan > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the new InstallShield X. > > From Windows to Linux, servers to mobile, InstallShield X is the one > > installation-authoring solution that does it all. Learn more and > > evaluate today! http://www.installshield.com/Dev2Dev/0504 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: random.tar.bz2 Type: application/x-bzip-compressed-tar Size: 1090 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From strombrg at dcs.nac.uci.edu Wed Jun 2 21:52:33 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Wed, 02 Jun 2004 12:52:33 -0700 Subject: Vary check_dns checks? In-Reply-To: <40BE2D0E.6040009@pbp.net> References: <40BE2D0E.6040009@pbp.net> Message-ID: <1086205953.24881.173.camel@tesuji.nac.uci.edu> I've attached my "random" program. So if you're checking a single host with "check_dns hostname.com", you could use instead "check_dns `random < list.of.hosts | head -1`". The random program uses a python seed.py module I wrote, for getting halfway decent seeds. I think you'll probably be able to see how to tell the random program where to find the seed.py module. It's a short program in a highly readable language. On Wed, 2004-06-02 at 12:39, Jonathan Nichols wrote: > Hi! > Is there a way to have the check_dns plugin randomly pick names to > check from a file? Currently I have it set to check DNS for beer.com > (heh) and it's working great, but I'd like to see if there's a way to > have it check other stuff at random so the output isn't always the same. > > Any ideas? :D > > -Jonathan > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From marc at ena.com Wed Jun 2 21:56:17 2004 From: marc at ena.com (Marc Powell) Date: Wed, 2 Jun 2004 14:56:17 -0500 Subject: Host Shows As Down But Services Are Showing As OK Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B640D@mismail2.ena.com> Kaplan, Andrew H. wrote: > One of our nrpe client machines is appearing as down in the Tactical > Overview and associated screens. However, if I go to the Service > Detail screen, the services that are being monitored on the system in > question are showing up as OK with very recent time stamps. Has > anyone have a similar situation, and if so what was the cause and > solution? Thanks. Starting at the basics, have you tried running your host check_command (as the nagios user) to make sure that it's returning an OK state as expected? Only on startup does Nagios use the results of a service check to assume the status of the host. At all other times the host check_command is the authoritative source. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Jun 2 22:03:20 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 2 Jun 2004 16:03:20 -0400 Subject: Host Shows As Down But Services Are Showing As OK Message-ID: <5593DA408212D511B0910002A513501F0655933F@phsexch20.mgh.harvard.edu> Hi Marc -- I did run the check commands as the nagios user on the host in question, and all came back with the OK state. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Wednesday, June 02, 2004 3:56 PM To: Kaplan, Andrew H.; Nagios-Users (E-mail) Subject: RE: [Nagios-users] Host Shows As Down But Services Are Showing As OK Kaplan, Andrew H. wrote: > One of our nrpe client machines is appearing as down in the Tactical > Overview and associated screens. However, if I go to the Service > Detail screen, the services that are being monitored on the system in > question are showing up as OK with very recent time stamps. Has > anyone have a similar situation, and if so what was the cause and > solution? Thanks. Starting at the basics, have you tried running your host check_command (as the nagios user) to make sure that it's returning an OK state as expected? Only on startup does Nagios use the results of a service check to assume the status of the host. At all other times the host check_command is the authoritative source. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 2 22:00:56 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Jun 2004 22:00:56 +0200 Subject: Host Shows As Down But Services Are Showing As OK In-Reply-To: <5593DA408212D511B0910002A513501F0655933E@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F0655933E@phsexch20.mgh.harvard.edu> Message-ID: <40BE31F8.3060801@op5.se> Kaplan, Andrew H. wrote: > One of our nrpe client machines is appearing as down in the Tactical Overview > and associated screens. However, if I go to the Service Detail screen, the > services that are being monitored on the system in question are showing up as OK > with very recent time stamps. Has anyone have a similar situation, and > if so what was the cause and solution? Thanks. > This sort of thing can happen if any service has ever failed, and the host check_command doesn't return OK (usually if the server doesn't respond to ICMP PING requests). I suggest you set your check_command in the host-object definition to something else (to check some port for tcp connectivity for instance). -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From psimek at jcu.cz Wed Jun 2 22:53:08 2004 From: psimek at jcu.cz (Petr Simek) Date: Wed, 2 Jun 2004 22:53:08 +0200 (Central Europe Daylight Time) Subject: Display Control for HostGroups In-Reply-To: <83B3FCAD284096489C9967C54B33B6B302AD51F6@sigma.inamed.com> References: <83B3FCAD284096489C9967C54B33B6B302AD51F6@sigma.inamed.com> Message-ID: On Wed, 2 Jun 2004, Naman Latif wrote: > Hi, > Is it possible to define a HostGroup that is not displayed by the CGI in > Status Overview etc ? > > I want to have different contacts for some groups of devices, but these > all should be viewed as one group. Is there a way to do this ? You can set in cgi.cfg : authorized_for_all_services=* authorized_for_all_hosts=* with option use_authentication=1 . Then all users in .htpasswd can view status of all host and services even if they are not defined as contacts in group of this hosts. > Thanks\\ Naman *------------------------------------------------------------------------* | Petr Simek APS JU | | psimek at jcu.cz | *------------------------------------------------------------------------* ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at halligan.org Wed Jun 2 23:53:13 2004 From: michael at halligan.org (Michael T. Halligan) Date: Wed, 2 Jun 2004 14:53:13 -0700 (PDT) Subject: Nagios not notifying? In-Reply-To: <3AE153EDD5CA7B4CBA26FCDA1CBA64782BAE04@hermes.internal.powerupnetworks.com> References: <3AE153EDD5CA7B4CBA26FCDA1CBA64782BAE04@hermes.internal.powerupnetworks.com> Message-ID: Postfix. It sends the emails, for about a week or two, then it just stops. The box itself has been up for 6 months, nothing has changed on the box. The nagios install is only 2 months old though, and it seems to take a good restart of nagios to get it to notify again.. Once it stops notifying, mail doesn't hit the queue, and nagios doesn't log notifys, it just logs alerts.. On Tue, 1 Jun 2004, Mark Grafing wrote: > How is it sending the e-mail? Is it using Sendmail? > Cheers! > ~MARK~ > > -----Original Message----- > From: Michael T. Halligan [mailto:michael at halligan.org] > Sent: Tuesday, June 01, 2004 7:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios not notifying? > > > Has anybody run into an issue with nagios' notifications being flaky at > best? > > I have a setup, that seems to do notifications for about a week.. Then, > for whatever reason, it just stops sending out notifications.. The time > doesn't seem to be regular enough to track down.. > > I'm running the nagios-1.2.0 rpms for RHEL. > > > > -- ------------------- Michael T. Halligan Chief Geek Halligan Infrastructure Designs. http://www.halligan.org/ 3158 Mission St. #3 San Francisco, CA 94110 (415) 724.7998 - Mobile ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naman.latif at inamed.com Thu Jun 3 00:14:27 2004 From: naman.latif at inamed.com (Naman Latif) Date: Wed, 2 Jun 2004 15:14:27 -0700 Subject: ELF Error Message-ID: <83B3FCAD284096489C9967C54B33B6B3049B2C3D@sigma.inamed.com> Can someone help\guide me with this ? +++++++++++++++++ bash-2.05# ldd nagios ldd: nagios: file has insecure interpreter ELF bash-2.05# ./nagios -h nagios: Cannot find ELF Killed ++++++++++++++++++ Thanks \\ Naman ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naman.latif at inamed.com Thu Jun 3 00:16:43 2004 From: naman.latif at inamed.com (Naman Latif) Date: Wed, 2 Jun 2004 15:16:43 -0700 Subject: Display Control for HostGroups Message-ID: <83B3FCAD284096489C9967C54B33B6B3049B2C3E@sigma.inamed.com> Thanks for the response. what I meant was, If I go to "Status Overview" screen, then by default it displays all groups defined in the "hostgroup" file. Is it possible to define a specific group in the "hostgroup" file and still not displayed by the CGI ? While all others are displayed as normal. \\ Naman -----Original Message----- From: Petr Simek [mailto:psimek at jcu.cz] Sent: Wednesday, June 02, 2004 1:53 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Display Control for HostGroups On Wed, 2 Jun 2004, Naman Latif wrote: > Hi, > Is it possible to define a HostGroup that is not displayed by the CGI in > Status Overview etc ? > > I want to have different contacts for some groups of devices, but these > all should be viewed as one group. Is there a way to do this ? You can set in cgi.cfg : authorized_for_all_services=* authorized_for_all_hosts=* with option use_authentication=1 . Then all users in .htpasswd can view status of all host and services even if they are not defined as contacts in group of this hosts. > Thanks\\ Naman *----------------------------------------------------------------------- -* | Petr Simek APS JU | | psimek at jcu.cz | *----------------------------------------------------------------------- -* ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Jun 3 00:21:44 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 2 Jun 2004 15:21:44 -0700 (PDT) Subject: ELF Error In-Reply-To: <83B3FCAD284096489C9967C54B33B6B3049B2C3D@sigma.inamed.com> References: <83B3FCAD284096489C9967C54B33B6B3049B2C3D@sigma.inamed.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You'll need to provide more information. What platform? OS? Where was it compiled? - -Jason Martin On Wed, 2 Jun 2004, Naman Latif wrote: > Can someone help\guide me with this ? > > +++++++++++++++++ > bash-2.05# ldd nagios > ldd: nagios: file has insecure interpreter ELF > > bash-2.05# ./nagios -h > nagios: Cannot find ELF > Killed > ++++++++++++++++++ > > Thanks \\ Naman > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAvlL9l2ODWuqVSBMRAmH7AKCQeRBV+M7W9G0DqjyYt3dP/kGbRgCfclcW TcBoBVsUS90GXU8qGVn2dvU= =jiuO -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ZalafR at Leadingedgegroup.com.au Thu Jun 3 00:28:04 2004 From: ZalafR at Leadingedgegroup.com.au (Rabbie Zalaf) Date: Thu, 3 Jun 2004 08:28:04 +1000 Subject: Display Control for HostGroups Message-ID: <5237E8DD31703E4B8F18DE416229C8C0C2865C@legsydms01.leadingedgegroup.com.au> unsubscribe -----Original Message----- From: Naman Latif [mailto:naman.latif at inamed.com] Sent: Thursday, 3 June 2004 8:17 AM To: Petr Simek; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Display Control for HostGroups Thanks for the response. what I meant was, If I go to "Status Overview" screen, then by default it displays all groups defined in the "hostgroup" file. Is it possible to define a specific group in the "hostgroup" file and still not displayed by the CGI ? While all others are displayed as normal. \\ Naman -----Original Message----- From: Petr Simek [mailto:psimek at jcu.cz] Sent: Wednesday, June 02, 2004 1:53 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Display Control for HostGroups On Wed, 2 Jun 2004, Naman Latif wrote: > Hi, > Is it possible to define a HostGroup that is not displayed by the CGI in > Status Overview etc ? > > I want to have different contacts for some groups of devices, but these > all should be viewed as one group. Is there a way to do this ? You can set in cgi.cfg : authorized_for_all_services=* authorized_for_all_hosts=* with option use_authentication=1 . Then all users in .htpasswd can view status of all host and services even if they are not defined as contacts in group of this hosts. > Thanks\\ Naman *----------------------------------------------------------------------- -* | Petr Simek APS JU | | psimek at jcu.cz | *----------------------------------------------------------------------- -* ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From wayne.luick at amd.com Thu Jun 3 00:33:08 2004 From: wayne.luick at amd.com (Wayne A. Luick) Date: Wed, 02 Jun 2004 16:33:08 -0600 Subject: check_cluster plugin Message-ID: <40BE55A4.1070001@ia.amd.com> Where can I find the source or rpm for this plugin? ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wayne.luick at amd.com Thu Jun 3 00:55:47 2004 From: wayne.luick at amd.com (Wayne A. Luick) Date: Wed, 02 Jun 2004 16:55:47 -0600 Subject: check_cluster plugin References: <40BE55A4.1070001@ia.amd.com> Message-ID: <40BE5AF3.5020206@ia.amd.com> Disregard. Found it, compiled it. Done. Wayne A. Luick wrote: > Where can I find the source or rpm for this plugin? > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >> From Windows to Linux, servers to mobile, InstallShield X is the one > > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naman.latif at inamed.com Thu Jun 3 01:13:24 2004 From: naman.latif at inamed.com (Naman Latif) Date: Wed, 2 Jun 2004 16:13:24 -0700 Subject: ELF Error Message-ID: <83B3FCAD284096489C9967C54B33B6B302AD51F7@sigma.inamed.com> I re-compiled Nagios. And had the same issue. I then compared the file sizes in the "base" directory and /usr/local/Nagios/bin directory (after running make install) and somehow the file size gets halved of the original and gives the same error. Manually copying (cp) fixed the issue. OS = Solaris 2.8, Sun Sparc, Sunfire V100 -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Wednesday, June 02, 2004 3:22 PM To: Naman Latif Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] ELF Error -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You'll need to provide more information. What platform? OS? Where was it compiled? - -Jason Martin On Wed, 2 Jun 2004, Naman Latif wrote: > Can someone help\guide me with this ? > > +++++++++++++++++ > bash-2.05# ldd nagios > ldd: nagios: file has insecure interpreter ELF > > bash-2.05# ./nagios -h > nagios: Cannot find ELF > Killed > ++++++++++++++++++ > > Thanks \\ Naman > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAvlL9l2ODWuqVSBMRAmH7AKCQeRBV+M7W9G0DqjyYt3dP/kGbRgCfclcW TcBoBVsUS90GXU8qGVn2dvU= =jiuO -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RButton at redeal.co.nz Thu Jun 3 04:48:48 2004 From: RButton at redeal.co.nz (RButton at redeal.co.nz) Date: Thu, 3 Jun 2004 14:48:48 +1200 Subject: http.conf file Message-ID: I have added the following alias entries to the http.conf file Scriptalias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Alias /nagios/ //usr/local/nagios/share/ I have checked the format against other user postings and the official nagios docs Also onlamp.com for setup - all agree on the format and yet when I try to check the status the error message states: The file /nagios.cgi-bin/status.cgi?hostgroup=all cannot be found My nagios install is to Red Hat 9.0 using all the default nagios directories at setup I have to type ///usr/local/nagios/share/index.html to get the web interface also so none of the httpd.conf alias entries appear to work. I would very much appreciate any help with this matter Rex Button Systems Engineer Redeal Ltd 4 Henderson Place Onehunga AUCKLAND 09 6229498 025 368462 ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RButton at redeal.co.nz Thu Jun 3 05:06:25 2004 From: RButton at redeal.co.nz (RButton at redeal.co.nz) Date: Thu, 3 Jun 2004 15:06:25 +1200 Subject: httpd.conf file Message-ID: I have added the following alias entries to the http.conf file Scriptalias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Alias /nagios/ //usr/local/nagios/share/ I have checked the format against other user postings and the official nagios docs Also onlamp.com for setup - all agree on the format and yet when I try to check the status the error message states: The file /nagios.cgi-bin/status.cgi?hostgroup=all cannot be found My nagios install is to Red Hat 9.0 using all the default nagios directories at setup I have to type ///usr/local/nagios/share/index.html to get the web interface also so none of the httpd.conf alias entries appear to work. I would very much appreciate any help with this matter Rex Button Systems Engineer Redeal Ltd 4 Henderson Place Onehunga AUCKLAND 09 6229498 025 368462 ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RButton at redeal.co.nz Thu Jun 3 05:10:53 2004 From: RButton at redeal.co.nz (RButton at redeal.co.nz) Date: Thu, 3 Jun 2004 15:10:53 +1200 Subject: httpd.conf file Message-ID: I have added the following alias entries to the http.conf file Scriptalias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Alias /nagios/ //usr/local/nagios/share/ I have checked the format against other user postings and the official nagios docs Also onlamp.com for setup - all agree on the format and yet when I try to check the status the error message states: The file /nagios.cgi-bin/status.cgi?hostgroup=all cannot be found My nagios install is to Red Hat 9.0 using all the default nagios directories at setup I have to type ///usr/local/nagios/share/index.html to get the web interface also so none of the httpd.conf alias entries appear to work. Version: Nagios 1.2 OS: Linux Red Hat 9.0 Plugins: Nagios 1.3.1 I would very much appreciate any help with this matter Rex Button Systems Engineer Redeal Ltd 4 Henderson Place Onehunga AUCKLAND 09 6229498 025 368462 ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil.manuel at infostream.com.au Thu Jun 3 08:20:17 2004 From: phil.manuel at infostream.com.au (Phil Manuel) Date: Thu, 3 Jun 2004 16:20:17 +1000 Subject: Need a little understanding Message-ID: <200406031620.17955.phil.manuel@infostream.com.au> I'm coming under pressure to use Aprisma Spectrum rather than Nagios for monitoring our environment, it's not a big environment 6 servers, 6 switches, a couple of firewalls and some routers over two sites. Having gone through the literature can't see anything outstanding in the Aprisma solution that makes it so good. Does anyone have experience of it and could give me on some feedback on it's strengths over Nagios ? Thanks ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 3 08:43:01 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 03 Jun 2004 08:43:01 +0200 Subject: httpd.conf file In-Reply-To: References: Message-ID: <40BEC875.8070502@op5.se> RButton at redeal.co.nz wrote: > I have added the following alias entries to the http.conf file > Scriptalias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > Alias /nagios/ //usr/local/nagios/share/ dual '//' in Alias here. > I have checked the format against other user postings and the official > nagios docs > Also onlamp.com for setup - all agree on the format and yet when I try to > check the status > the error message states: > The file /nagios.cgi-bin/status.cgi?hostgroup=all cannot be found There's a '.' after nagios, where it should be a '/'. > My nagios install is to Red Hat 9.0 using all the default nagios > directories at setup > I have to type ///usr/local/nagios/share/index.html to get the web > interface also Err.... you have to access it via the apache socket to make apache execute cgi's and stuff for you. If you access by file:/// url, things won't work as expected. If nagios and apache are installed on the local host, you can use something like http://localhost/nagios/cgi-bin/status.cgi?hostgroup=all (or https, depending on apache configuration, but that's a bit silly on localhost) > so none of the httpd.conf alias entries appear to work. > I would very much appreciate any help with this matter > Read the apache configuration manual. It's even better documented than nagios. Also, check your spelling a couple of time. > Rex Button -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Thu Jun 3 10:34:05 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Thu, 3 Jun 2004 10:34:05 +0200 Subject: Notification error on nagios 1.2 when sending sms Message-ID: <200406031034.05248.Michael.Huettig@Medien-Systempartner.de> Hi everybody, i have found a notification error on nagios 1.2, when sending sms to cell-phones on a service-escalation. Please have a little bit time to read my explanation: We have some groups with three members and some groups with only one member, host-escalation works fine to all the groups, which have only one member. The first group net-admins-sms has an error in notification, sometimes all users get sms, but mostly only two users get sms, sometimes user_a and user_c, sometimes user_b and user_c, the 3rd user doesn't get any sms. Restarting nagios1.2 and the nagios-server doesn't resolve the problem In nagios.log i see, that every user is notified by email and sms. Sms-application yaps-server doesn't receive notifications from nagios for all contacts. SMS-App is yaps-0.93 which get nagios-notification via a pipe to serialize the parallel outgoing mails. It reads the pipe while its not empty and put the notification to a single command to yaps. This works fine! To verify this problem i installed nagios-test-machine and set one unique cell-phone-number for all contacts and started a test which works properly. Nagios-Production and Nagios-Test have the same software-environment (SUSE8.1, yaps-0.93, nagios-1.2). Nagios-Production monitors 320 hosts with 1040 services, Nagios-Test monitors 50 hosts with 240 services. nagios.cfg is fine-tuned (max_concurrent_checks=65). Could anyone understand my problem and give me a hint, to debug and resolve the problem??? If you have any further question, please contact me. With best regards Michael Config-snippets: ================ define contactgroup{ contactgroup_name net-admins-sms alias Netz-Admins SMS members user_a-sms, user_b-sms, user_c-sms } define contactgroup{ contactgroup_name operating-sms alias Operating SMS members operating-sms } define contactgroup{ contactgroup_name chief-sms alias The Chief SMS members chief-sms } example for all contacts: define contact{ contact_name user_a-sms alias Michael Huettig service_notification_period 8-23 host_notification_period 8-23 service_notification_options c,r host_notification_options d,u,r service_notification_commands notify-by-email, notify-by-sms host_notification_commands host-notify-by-email, host-notify-by-sms email Michael.Huettig at Medien-Systempartner.de pager 017xxxxxxxx } # Hostgroup 'switches' escalation definition define hostgroupescalation{ hostgroup_name Switche first_notification 3 last_notification 0 contact_groups net-admins-sms, operating-sms, chief-sms notification_interval 15 } # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line echo "$CONTACTPAGER$" "\"$NOTIFICATIONTYPE$: $HOSTNAME$ ist $HOSTSTATE$ ($OUTPUT$) $NOTIFICATIONNUMBER$ .te Benachrichtigung: Datum: $DATETIME$\"" > /usr/local/nagios/var/rw/yaps.cmd } The yaps-server: # Filename: # =========== # yaps-server # # Beschreibung / Description # ========================== # # liest aus einer Pipe und sendet den # gelesenen String per SMS # Dieser Umweg ist notwendig, weil Nagios # nicht sicherstellen kann, dass mehrfache # yaps-Kommandos sequentiell ausgefuehrt werden, # damit es keine Konflikte beim Modemzugriff gibt. # # Die Pipe muss angelegt sein mittels # mkfifo /usr/local/nagios/var/rw/yaps.cmd # # English # ------- # # this script reads a pipe and sends the # string as a SMS # This work around is necessary because # Nagios can't make sure that yaps commands # are processed sequential. Otherwise there # is a conflict by accessing the device. # # You need to create the pipe your self. # mkfifo /usr/local/nagios/var/rw/yaps.cmd # PIPE=/usr/local/nagios/var/rw/yaps.cmd LOGFILE=/var/log/yaps-server.log FNAME=/tmp/yaps.$$ test -p $PIPE || exit 1 while true; do read command < $PIPE echo "$command" > $FNAME if [ -s $FNAME ]; then /usr/bin/yaps -t -z $FNAME >>$LOGFILE && rm $FNAME else echo "No data in file" >> $LOGFILE fi done; _____________________________________________ end of yaps-server ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Thu Jun 3 10:38:35 2004 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 3 Jun 2004 09:38:35 +0100 Subject: Logging and checking what nagios is doing? Message-ID: <418B502A3861E242AFDED453F3D5B89CB66790@i2km99-ukbr.domain1.systemhost.net> Hi List, Is it possible to see all the tests that nagios is executing? Can I log this to a file . I already have logging on for notifications and alerts but I want to see a log of each check that is executed and the time it is executed at. Our system is running 64 hosts with 2094 services. We want checks run every 5 mins. Currently its executing 24.7% of all tests in 5 mins and 99.5% in an hour. Average check latency is up at 15.8 mins. I've changed, max-concurrent-checks, service-interleave, inter-check to different values and we still cannot pull the system back in line with real time. I have never seen such lag before and am stumped as to what I'm going to do next. I plan on putting performance monitoring on so I can see if nagios is seeing any hold-ups and that should be done today. Any help would be greatly appreciated. Tom ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From psimek at jcu.cz Thu Jun 3 11:17:12 2004 From: psimek at jcu.cz (Petr Simek) Date: Thu, 3 Jun 2004 11:17:12 +0200 (=?iso-8859-2?Q?St=F8edn=ED_Evropa_=28letn=ED__=E8as=29?=) Subject: Display Control for HostGroups In-Reply-To: <83B3FCAD284096489C9967C54B33B6B3049B2C3E@sigma.inamed.com> References: <83B3FCAD284096489C9967C54B33B6B3049B2C3E@sigma.inamed.com> Message-ID: On Wed, 2 Jun 2004, Naman Latif wrote: > Thanks for the response. > > what I meant was, If I go to "Status Overview" screen, then by default > it displays all groups defined in the "hostgroup" file. Is it possible > to define a specific group in the "hostgroup" file and still not > displayed by the CGI ? While all others are displayed as normal. If You have use_authentication=1 in cgi.cfg together with disabled options authorized_for_all_services and authorized_for_all_hosts , then by default are displayed only groups of hosts where user is in their contactsgroup. If the user isn't contact of the specific hostgroup, then CGI don't show this group to user. > \\ Naman *------------------------------------------------------------------------* | Petr Simek APS JU | | psimek at jcu.cz | *------------------------------------------------------------------------* ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at mobeon.com Thu Jun 3 11:45:02 2004 From: fredrik.wanglund at mobeon.com (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 03 Jun 2004 11:45:02 +0200 Subject: Logging and checking what nagios is doing? In-Reply-To: <418B502A3861E242AFDED453F3D5B89CB66790@i2km99-ukbr.domain1.systemhost.net> References: <418B502A3861E242AFDED453F3D5B89CB66790@i2km99-ukbr.domain1.systemhost.net> Message-ID: <40BEF31E.3070308@mobeon.com> You can turn on debug in the source. Running the configure-script with --help gives: ... --enable-DEBUG0 shows function entry and exit --enable-DEBUG1 shows general info messages --enable-DEBUG2 shows warning messages --enable-DEBUG3 shows scheduled events (service and host checks... etc) --enable-DEBUG4 shows service and host notifications --enable-DEBUG5 shows SQL queries ... /FredrikW tom.welsh at bt.com wrote: > Hi List, > > Is it possible to see all the tests that nagios is executing? Can I log this to a file . I already have logging on for notifications and alerts but I want to see a log of each check that is executed and the time it is executed at. > > Our system is running 64 hosts with 2094 services. We want checks run every 5 mins. Currently its executing 24.7% of all tests in 5 mins and 99.5% in an hour. Average check latency is up at 15.8 mins. > > I've changed, max-concurrent-checks, service-interleave, inter-check to different values and we still cannot pull the system back in line with real time. I have never seen such lag before and am stumped as to what I'm going to do next. I plan on putting performance monitoring on so I can see if nagios is seeing any hold-ups > and that should be done today. > > Any help would be greatly appreciated. > > Tom > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Thu Jun 3 11:40:22 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 3 Jun 2004 11:40:22 +0200 Subject: Checking Windows Eventlogs with Nagios Message-ID: <945C3F9C3F209144A12CB725111FC08D5E6E5F@sygomail1.goe.ad.sycor.de> Hi, I hope this is the right Mailing list for this question... I wonder if it is possible to monitor the Windows 2000+ Event Logs with any kind of Nagios Plugin. Like sending an alarm mail when Error with ID xyz accours or someting like that. Could you give me a hint, which plugin i could use for that? I already googled for that, but had no luck in finding an answer. Thanks for help in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From gemeosdf at yahoo.com.br Thu Jun 3 14:42:02 2004 From: gemeosdf at yahoo.com.br (=?iso-8859-1?q?Marcos=20&=20Marcelo?=) Date: Thu, 3 Jun 2004 09:42:02 -0300 (ART) Subject: nagios mysql tables Message-ID: <20040603124202.3810.qmail@web51409.mail.yahoo.com> Hi Folks, I would like to know if there is a check plugin in nagios that checks if a specified table of mysql has 30 rows or more? Tks, Marcelo --------------------------------- Yahoo! Messenger - Fale com seus amigos online. Instale agora! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ben at clewett.org.uk Thu Jun 3 14:59:25 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Thu, 03 Jun 2004 13:59:25 +0100 Subject: nagios mysql tables In-Reply-To: <20040603124202.3810.qmail@web51409.mail.yahoo.com> References: <20040603124202.3810.qmail@web51409.mail.yahoo.com> Message-ID: <40BF20AD.8080404@clewett.org.uk> Marcelo, Something like: #!/bin/sh ROWS=`echo "SELECT COUNT(*) FROM table" | mysql -u user -ppass -D database -h host` if [ $ROWS -gt 30 ] then echo "CRITICAL Rows ${ROWS} | rows=${ROWS}" exit 2 else echo "OK Rows ${ROWS} | rows=${ROWS}" exit 0 fi Ben. Marcos & Marcelo wrote: > Hi Folks, > > I would like to know if there is a check plugin in nagios that checks > if a specified table of mysql has 30 rows or more? > > > Tks, > Marcelo > > > ------------------------------------------------------------------------ > *Yahoo! Messenger* > > - Fale com seus amigos online. Instale agora! > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben at clewett.org.uk Thu Jun 3 15:02:47 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Thu, 03 Jun 2004 14:02:47 +0100 Subject: nagios mysql tables In-Reply-To: <20040603124202.3810.qmail@web51409.mail.yahoo.com> References: <20040603124202.3810.qmail@web51409.mail.yahoo.com> Message-ID: <40BF2177.3010308@clewett.org.uk> Marcelo, Something like: #!/bin/sh ROWS=`echo "SELECT COUNT(*) FROM table" | mysql -u user -ppass -D database -h host` ROWS=`echo $ROWS | sed s/[^0-9]*//` if [ $ROWS -gt 30 ] then echo "CRITICAL Rows ${ROWS} | rows=${ROWS}" exit 2 else echo "OK Rows ${ROWS} | rows=${ROWS}" exit 0 fi Ben. Marcos & Marcelo wrote: > Hi Folks, > > I would like to know if there is a check plugin in nagios that checks > if a specified table of mysql has 30 rows or more? > > > Tks, > Marcelo > > > ------------------------------------------------------------------------ > *Yahoo! Messenger* > > - Fale com seus amigos online. Instale agora! > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Thu Jun 3 15:58:03 2004 From: verdon at cict.fr (carole verdon) Date: Thu, 03 Jun 2004 15:58:03 +0200 Subject: check_oracle.sh & check_oracle_instance.pl Message-ID: <40BF2E6B.2020808@cict.fr> Hi, I have two questions: 1. Which is the difference between check_oracle.sh and check_oracle_instance.pl? 2. Is it possible to take dynamically into account the file /etc/oratab to verify all databases that it contains ? Thanks for advance. ************************************** HP-UX 11.00 and Linux 2.4.20-28.7 nagios 1.2 check_oracle 1.9 (nagios-plugins 1.4.0alpha1) *************************************** ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tuflipes at yahoo.es Thu Jun 3 18:32:23 2004 From: tuflipes at yahoo.es (Tuflipes) Date: Thu, 3 Jun 2004 18:32:23 +0200 Subject: some problems with nagios npre Message-ID: <001201c44988$5a3eedf0$1203a8c0@TRINITI> HI there, im using nrpe 2.0. If i execute it from server nagios to remote server, its working fine, eg: [root at firewifi nrpe-2.0]# /usr/lib/nagios/plugins/check_nrpe -H 192.168.3.20 -p 5666 -c check_load OK - load average: 0.00, 0.00, 0.03 But in nagios web screen i see: System Load UNKNOWN 03-06-2004 17:38:47 0d 7h 9m 24s 3/3 Incorrect command line arguments supplied I paste yo you my settings: # Service definition for checking system load define service{ use generic-service host_name triniti service_description System Load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 notification_interval 240 contact_groups internet-mail-servers notification_options w,u,c,r check_command check_nrpe!check_load } in checkcommands: #'check_nrpe' command definition define command { command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe $HOSTADDRESS$ -p 5666 -c $ARG1$ } So..what could be wrong? thks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at halligan.org Thu Jun 3 19:01:52 2004 From: michael at halligan.org (Michael T. Halligan) Date: Thu, 3 Jun 2004 10:01:52 -0700 (PDT) Subject: Nagios not notifying? In-Reply-To: <3AE153EDD5CA7B4CBA26FCDA1CBA64782BAE04@hermes.internal.powerupnetworks.com> References: <3AE153EDD5CA7B4CBA26FCDA1CBA64782BAE04@hermes.internal.powerupnetworks.com> Message-ID: Figured it out. Seemed there was a rogue nagios daemon from about 2 months ago that had never died.. Would explain why on a second perusal, there were a few services not being monitored properly, old changes hadn't been incorporated. On Tue, 1 Jun 2004, Mark Grafing wrote: > How is it sending the e-mail? Is it using Sendmail? > Cheers! > ~MARK~ > > -----Original Message----- > From: Michael T. Halligan [mailto:michael at halligan.org] > Sent: Tuesday, June 01, 2004 7:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios not notifying? > > > Has anybody run into an issue with nagios' notifications being flaky at > best? > > I have a setup, that seems to do notifications for about a week.. Then, > for whatever reason, it just stops sending out notifications.. The time > doesn't seem to be regular enough to track down.. > > I'm running the nagios-1.2.0 rpms for RHEL. > > > > -- ------------------- Michael T. Halligan Chief Geek Halligan Infrastructure Designs. http://www.halligan.org/ 3158 Mission St. #3 San Francisco, CA 94110 (415) 724.7998 - Mobile ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naman.latif at inamed.com Thu Jun 3 20:10:05 2004 From: naman.latif at inamed.com (Naman Latif) Date: Thu, 3 Jun 2004 11:10:05 -0700 Subject: Problem with Distributed Monitoring (Freshness Checking) Message-ID: <83B3FCAD284096489C9967C54B33B6B302AD51F8@sigma.inamed.com> Hi, We have NAGIOS in a distributed monitoring setup. Everything works fine until "The remote NAGIOS box goes down OR link to that box goes down", in this case Central NAGIOS starts executing "Active Checks" for the specific services, which is fine. The problem is that when the Remote Box comes back up, NAGIOS keeps on executing the Active checks with the reason "Results are stale", instead of switching back to Passive checking. I am assuming that in this situation a loop gets created in which, the remote results will always be stale ? Is there some sort of rule that I can follow to avoid this ? I am assuming that this requires some tuning of the "freshness_threshold" parameter ? I have already set it as "800 seconds", while the Normal Check Interval on the External Box (and on central box) is "180 seconds". The "freshness_check_interval" in nagios.cfg is set at 60 sec. Thanks \\ Naman ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Jun 3 20:46:49 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 03 Jun 2004 13:46:49 -0500 Subject: some problems with nagios npre In-Reply-To: <001201c44988$5a3eedf0$1203a8c0@TRINITI> References: <001201c44988$5a3eedf0$1203a8c0@TRINITI> Message-ID: <1086288409.27955.28.camel@localhost> On Thu, 2004-06-03 at 11:32, Tuflipes wrote: > [root at firewifi nrpe-2.0]# /usr/lib/nagios/plugins/check_nrpe -H > 192.168.3.20 -p 5666 -c check_load versus > command_line /usr/local/nagios/libexec/check_nrpe $HOSTADDRESS$ -p > 5666 -c $ARG1$ Note the missing -H. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tech-mail at prupref.com Thu Jun 3 22:23:54 2004 From: tech-mail at prupref.com (McKeever Chris) Date: Thu, 3 Jun 2004 15:23:54 -0500 Subject: temperature monitor Message-ID: <200406032023.i53KNsg13429@smtp1.prupref.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From tuflipes at yahoo.es Thu Jun 3 23:10:01 2004 From: tuflipes at yahoo.es (Tuflipes) Date: Thu, 3 Jun 2004 23:10:01 +0200 Subject: some problems with nagios npre References: <001201c44988$5a3eedf0$1203a8c0@TRINITI> <1086288409.27955.28.camel@localhost> Message-ID: <004101c449af$239e5520$1201a8c0@TRINITI> hey, LOT OF THANKS. fuck me im blind :(((( lot of thks again ----- Original Message ----- From: "jeff vier" To: "Tuflipes" Cc: "nagios-users" Sent: Thursday, June 03, 2004 8:46 PM Subject: Re: [Nagios-users] some problems with nagios npre > On Thu, 2004-06-03 at 11:32, Tuflipes wrote: > > > [root at firewifi nrpe-2.0]# /usr/lib/nagios/plugins/check_nrpe -H > > 192.168.3.20 -p 5666 -c check_load > versus > > command_line /usr/local/nagios/libexec/check_nrpe $HOSTADDRESS$ -p > > 5666 -c $ARG1$ > > Note the missing -H. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mshirley at ysi.com Thu Jun 3 23:37:11 2004 From: mshirley at ysi.com (mshirley at ysi.com) Date: Thu, 3 Jun 2004 17:37:11 -0400 Subject: Need a little understanding In-Reply-To: <200406031620.17955.phil.manuel@infostream.com.au> References: <200406031620.17955.phil.manuel@infostream.com.au> Message-ID: Multiple versions of different specialized products? Support? It's the same situation when you compare anything commercial vs open source. If you were speaking about functionality i don't know enough of aprisma but I am in the siutation where I have to justify using an open source product with little to no support and the product be free or spend more money and get full support. IMHO this matters more to executives then which product has "cooler" graphics on their gui. Mark Shirley IT Helpdesk YSI Incorporated |---------+----------------------------------------> | | Phil Manuel | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 06/03/2004 02:20 AM | |---------+----------------------------------------> >---------------------------------------------------------------------------------------------------------------| | | | To: nagios-users at lists.sourceforge.net | | cc: | | Subject: [Nagios-users] Need a little understanding | >---------------------------------------------------------------------------------------------------------------| I'm coming under pressure to use Aprisma Spectrum rather than Nagios for monitoring our environment, it's not a big environment 6 servers, 6 switches, a couple of firewalls and some routers over two sites. Having gone through the literature can't see anything outstanding in the Aprisma solution that makes it so good. Does anyone have experience of it and could give me on some feedback on it's strengths over Nagios ? Thanks ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Fri Jun 4 04:09:39 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Thu, 3 Jun 2004 23:09:39 -0300 (BRT) Subject: How to Loggout? Message-ID: Hi all, is there an easy way to loggout from nagios and loggin as another user? When I need to change the user, I restart my browser :( I need to have many Tabs in my Mozilla. Each one with a different user. The problem is that, once authenticated as user X, always logged as X. Nagios lacks this feature: loggout button. -- Leonardo Henrique Machado ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tech-mail at prupref.com Fri Jun 4 04:13:22 2004 From: tech-mail at prupref.com (McKeever Chris) Date: Thu, 3 Jun 2004 21:13:22 -0500 Subject: temperature monitor In-Reply-To: <20040604014817.GB17631@erwin.wpi.edu> References: <20040604014817.GB17631@erwin.wpi.edu> Message-ID: <200406040213.i542DMg16060@smtp1.prupref.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From pedmonds.nagios at boursedata.com.au Fri Jun 4 04:52:54 2004 From: pedmonds.nagios at boursedata.com.au (Peter Edmonds) Date: Fri, 4 Jun 2004 12:52:54 +1000 Subject: Checking Windows Eventlogs with Nagios In-Reply-To: <945C3F9C3F209144A12CB725111FC08D5E6E5F@sygomail1.goe.ad.sycor.de> References: <945C3F9C3F209144A12CB725111FC08D5E6E5F@sygomail1.goe.ad.sycor.de> Message-ID: <006f01c449df$08b598b0$f707a8c0@pedellwin2k> Hi Philipp, You asked: "I wonder if it is possible to monitor the Windows 2000+ Event Logs with any kind of Nagios Plugin. Like sending an alarm mail when Error with ID xyz accours or someting like that. Could you give me a hint, which plugin i could use for that? I already googled for that, but had no luck in finding an answer." Assuming that the events you want to monitor are logged in the Event Log(for your Windows boxes), you could centralise yor Windows event logs using Eventlog to Syslog Utility from https://engineering.purdue.edu/ECN/Resources/Documents/UNIX/evtsys/ and the logsurfer plugin from http://naplax.sourceforge.net/check_logsurfer.html in conjunction with logsurfer from http://www.cert.dfn.de/eng/logsurf/ These 3 utils are easy to setup and make the task of monitoring Windows Event Logs much simpler. The check_logsurfer plugin allows you to specify regular expressions to check for, so you can tune the plugin to respond to a particlar event log message. Pushing your logs out to a central Linux box is a better solution - you can analyse the logs more easily using perl or whatever. Peter Edmonds ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Fri Jun 4 05:28:29 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 4 Jun 2004 15:28:29 +1200 Subject: How to Loggout? In-Reply-To: References: Message-ID: <055701c449e4$015d9d60$b004d882@itss.auckland.ac.nz> >is there an easy way to loggout from nagios and loggin as another user? >When I need to change the user, I restart my browser :( I think this is a problem in the browser/HTTP rather than Nagios. Nagios uses the web server for authentication, rather than internal session-based authentication, and so it has no control over the login/out. There is no browser-based command in javascript (as far as I know) to tell the browser to log out (ie, to forget its cached authentication response). If anyone knows a way to achieve this, please let me know so that I can use it in my software as well! Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From jhmartin at toger.us Fri Jun 4 05:22:49 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 3 Jun 2004 20:22:49 -0700 (PDT) Subject: How to Loggout? In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It is actually a problem with the HTTP Spec -- once a password is provided for a security realm, there isn't a way to get the server to 'forget' it. - -Jason Martin On Thu, 3 Jun 2004, Leonardo Henrique Machado wrote: > Hi all, > > is there an easy way to loggout from nagios and loggin as another user? > When I need to change the user, I restart my browser :( > > I need to have many Tabs in my Mozilla. Each one with a different user. > The problem is that, once authenticated as user X, always logged as X. > > Nagios lacks this feature: loggout button. > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAv+sNl2ODWuqVSBMRAvMFAJ4l9UeYp1RcTC4kng/so7IBBgZFGwCeNNiS 2hH3Rv+mBwQ3AMy2qJ4Lurk= =xwUZ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Fri Jun 4 05:39:38 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 4 Jun 2004 15:39:38 +1200 Subject: Checking Windows Eventlogs with Nagios In-Reply-To: <006f01c449df$08b598b0$f707a8c0@pedellwin2k> References: <006f01c449df$08b598b0$f707a8c0@pedellwin2k> Message-ID: <055b01c449e5$8fc690b0$b004d882@itss.auckland.ac.nz> >"I wonder if it is possible to monitor the Windows 2000+ Event >Logs with any kind of Nagios Plugin. Like sending an alarm >mail when Error with ID xyz accours or someting like that. >Could you give me a hint, which plugin i could use for that? I >already googled for that, but had no luck in finding an answer." After asking a similar question here myself, I investigated a large number of options that helpful people had suggested before settling on using ntsyslog to relay the messages to syslog on the (Linux based) Nagios server, and then syslog-ng which feeds the logs to a fifo which feeds into a self-written daemon that updates passive services in Nagios. This was the best way since we also have logs coming from UNIX servers, and I needed to perform a lot of pattern matching on the logs. Also, I wanted an error status to expire after a set amount of time. I set ntsyslog to relay application, security and system logs as local0,local1 and local2 respectively, and to only send warn/error messages. On the monitored hosts, I set syslog-ng to filter local0.warn into /var/tmp/application.fifo (and so on). On the Syslog server, my perl script daemon (email me if you want a copy) runs listening on the fifos, and matches regexps before calling send_nsca to update the nagios host. On the Nagios server, nsca is running to accept the passive service data (from other services as well as from syslog). The Nagios services are set for the windows hosts in 'never check, accept passive' mode. I can send an example if people are interested. This might seem a bit complex, but since we need to rnu nsca in any case, we may as well use it. Also, we already have a university syslog server, so we don't want to send logs to multiple locations (and the log parsing and filtering can be fairly intensive from this many servers). There's no reason why you couldn't put the syslog-ng on your nagios server, though. Hope this was of interest to you all, Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From darrenh at gallagher.co.nz Fri Jun 4 06:20:34 2004 From: darrenh at gallagher.co.nz (Darren Harrison) Date: Fri, 4 Jun 2004 16:20:34 +1200 Subject: Checking Windows Eventlogs with Nagios In-Reply-To: References: Message-ID: Hi Philipp, You might like to also have a look at http://naplax.sourceforge.net/check_win_eventlog.html We use check_win_eventlog successfully and it seemed to me, to be easiest solution and it is similar to check_nt that we use for other Windows PC checking. Darren. --__--__-- From: "Sand Philipp" Hi, I hope this is the right Mailing list for this question... I wonder if it is possible to monitor the Windows 2000+ Event Logs with = any kind of Nagios Plugin. Like sending an alarm mail when Error with ID = xyz accours or someting like that. Could you give me a hint, which plugin i could use for that? I already = googled for that, but had no luck in finding an answer. Thanks for help in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra=DFe 1-5 D - 37073 G=F6ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ########################################################################### This e-mail is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise us of our error by return e-mail then delete this e-mail and any attached files. You may not copy, disclose or use the contents in any way. The views expressed in this e-mail may not be those of Gallagher Group Ltd or subsidiary companies thereof. ########################################################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.masopust at siemens.com Fri Jun 4 08:13:29 2004 From: christian.masopust at siemens.com (Masopust Christian) Date: Fri, 4 Jun 2004 08:13:29 +0200 Subject: AW: temperature monitor Message-ID: Hi Chris, have a look at: http://www.lancos.com/webtherm.html I build the very simple circuit, installed the "NetThermometer"-Server at one of my pc's and took the included client and changed a little (if needed, I'll send you the source) to work as plugin for Nagios and it works wonderful... and btw, it's very cheap (appr. 30? all together) Chris -----Ursprungliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von McKeever Chris Gesendet: Donnerstag, 03. Juni 2004 22:24 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] temperature monitor I see that the nagios page is using the essensors temp control http://www.nagios.org/products/environmental/esensors-em01.php verse the temptrax (from a while back) http://www.sensatronics.com/products_temperaturemonitor.html any comments either way?? I am looking for a multi-point temp monitor thanks ------------------------------------------- Chris McKeever If you want to reply directly to me, please use cgmckeever--at--prupref---dot---com www.prupref.com Prudential Preferred Properties Chicago and Illinois NorthShore Real Estate Experts ---- Prudential Preferred Properties www.prupref.com Success Driven By Results Results Driven By Commitment Commitment Driven By Integrity We Are Prudential Preferred Properties N?HS^?esSX?2s'2S?u1/4-...e?A?i?(c)eJz*OA(r)?-SwhAEh.)iAEC<1/2ei???n)^"{-jY R?'Yux????e?2OY*Ws?e?r[?xO S"czeo?1/2eiS?ijwNK^z*(c)c>bz?E+,1a2AE zI"?.?E(c)|SiSx"?u0SYkSEz)a?ei??Yzyc -------------- next part -------------- An HTML attachment was scrubbed... URL: From arussos at comune.modena.it Fri Jun 4 08:44:12 2004 From: arussos at comune.modena.it (arussos at comune.modena.it) Date: Fri, 4 Jun 2004 08:44:12 +0200 Subject: Configuration Problem Message-ID: <1086331452.40c01a3ce0459@webmail.comune.modena.it> Hi, i'm new to this list as to Nagios and i'm in touble with (probably..)a beginner question. I installed Nagios with RPMs ( i.e. nagios-1.2-0, nagios-devel-1.2-0 and nagios- plugins-1.3.1 ) on a server running RedHat 9. I followed the documentation and, after adding a new Virtual-Host to my web-server(i.e. Apache_1.3.27), i've created the .htaccess file in the cgi dir (i.e. /usr/lib/nagios/cgi ); then i typed "htpasswd -c /etc/nagios/htpasswd.users nagiosadmin" followed by the passwd it requires. After setting up the web Interfaces and the Authorization for the cgis ( i also used the AuthConfig directive in the configuration of the Virtual-host ) i managed the example-config files in the main directory (i.e. (etc/nagios/) in order to monitor some switches on my network as a start point. Verifying the configuration gives me "everything OK!". Opened a browser and typed: http://my-server/nagios/ and everyhting's ok; the problem came out when i try the cgis (either typing http://my-server/nagios/cgi- bin/ or trying the links on the web pages); It brings me up a pop-up asking me User-name and Passwd: when i type "nagiosadmin" and the correct passwd ..... it shows me the pop-up again, and when i type "ESC" it tells me this: "This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required." ...I don't understand where's the problem... Could anyone help me solving this problem ??? Thanks in advance to everyone will postme an answer, Andrea. ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arussos at comune.modena.it Fri Jun 4 09:18:15 2004 From: arussos at comune.modena.it (arussos at comune.modena.it) Date: Fri, 4 Jun 2004 09:18:15 +0200 Subject: Configuration Problem Message-ID: <1086333495.40c022371c274@webmail.comune.modena.it> Hi, i'm new to this list as to Nagios and i'm in touble with (probably..)a beginner question. I installed Nagios with RPMs ( i.e. nagios-1.2-0, nagios-devel-1.2-0 and nagios- plugins-1.3.1 ) on a server running RedHat 9. I followed the documentation and, after adding a new Virtual-Host to my web-server(i.e. Apache_1.3.27), i've created the .htaccess file in the cgi dir (i.e. /usr/lib/nagios/cgi ); then i typed "htpasswd -c /etc/nagios/htpasswd.users nagiosadmin" followed by the passwd it requires. After setting up the web Interfaces and the Authorization for the cgis ( i also used the AuthConfig directive in the configuration of the Virtual-host ) i managed the example-config files in the main directory (i.e. (etc/nagios/) in order to monitor some switches on my network as a start point. Verifying the configuration gives me "everything OK!". Opened a browser and typed: http://my-server/nagios/ and everyhting's ok; the problem came out when i try the cgis (either typing http://my-server/nagios/cgi- bin/ or trying the links on the web pages); It brings me up a pop-up asking me User-name and Passwd: when i type "nagiosadmin" and the correct passwd ..... it shows me the pop-up again, and when i type "ESC" it tells me this: "This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required." ...I don't understand where's the problem... Could anyone help me solving this problem ??? Thanks in advance to everyone will postme an answer, Andrea. ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From e.vanmourik at zhew.nl Fri Jun 4 09:37:50 2004 From: e.vanmourik at zhew.nl (Elmar van Mourik) Date: Fri, 4 Jun 2004 09:37:50 +0200 Subject: temperature monitor Message-ID: Hi Chris, Check out www.sensorprobe.com. They have multiple Environment Monitoring Systems which work very well with Nagios, Cacti, mrtg .... I'm using the SensorProbe2 on different sites. Elmar van Mourik System- & Network Administrator ZHEW -----Oorspronkelijk bericht----- Van: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Namens McKeever Chris Verzonden: donderdag 3 juni 2004 22:24 Aan: nagios-users at lists.sourceforge.net Onderwerp: [Nagios-users] temperature monitor I see that the nagios page is using the essensors temp control http://www.nagios.org/products/environmental/esensors-em01.php verse the temptrax (from a while back) http://www.sensatronics.com/products_temperaturemonitor.html any comments either way?? I am looking for a multi-point temp monitor thanks ------------------------------------------- Chris McKeever If you want to reply directly to me, please use cgmckeever--at--prupref---dot---com www.prupref.com Prudential Preferred Properties Chicago and Illinois NorthShore Real Estate Experts ---- Prudential Preferred Properties www.prupref.com Success?Driven?By?Results ???Results?Driven?By?Commitment ??????Commitment?Driven?By?Integrity ?????????We?Are?Prudential?Preferred?Properties ??????????????? NHS??SX?s?Su?...?????J*???Sw??.)??????n)"{jY?'ux?????*??v?Sx?[S?...?????-?zjy?z???????????-?zW?oz?z??Nj????SX'X??SW??r[x?SFrom Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philippe.lebreton at cti-paysloire.cnamts.fr Fri Jun 4 10:09:34 2004 From: philippe.lebreton at cti-paysloire.cnamts.fr (LEBRETON Philippe) Date: Fri, 04 Jun 2004 10:09:34 +0200 Subject: Comment Acknowledgement with char latin1 type does'nt work Message-ID: <40C02E3E.3080704@cti-paysloire.cnamts.fr> Hello I am a french, and when i write a comment with french char (? ? ?, ...) this char is not transmit to the mail notification. In the nagios.log, this char is present for the external command, but not in the mail. .[1086335923] EXTERNAL COMMAND: ADD_HOST_COMMENT;iss154901;1;LEBRETON Philippe;ACKNOWLEDGEMENT: pas configur? [1086335923] EXTERNAL COMMAND: ACKNOWLEDGE_HOST_PROBLEM;iss154901;1;pas configur? [1086335923] HOST NOTIFICATION: lebreton;iss154901;ACKNOWLEDGEMENT (DOWN);host_notify_by_im;pas configur [1086335924] HOST NOTIFICATION: lebreton;iss154901;ACKNOWLEDGEMENT (DOWN);host-notify-by-email;pas configur [1086335924] HOST NOTIFICATION: Merre;iss154901;ACKNOWLEDGEMENT (DOWN);host_notify_by_im;pas configur [1086335924] HOST NOTIFICATION: Lerest;iss154901;ACKNOWLEDGEMENT (DOWN);host_notify_by_im;pas configur [1086335924] HOST NOTIFICATION: Hailly;iss154901;ACKNOWLEDGEMENT (DOWN);host_notify_by_im;pas configur [1086335925] HOST NOTIFICATION: Dore;iss154901;ACKNOWLEDGEMENT (DOWN);host_notify_by_im;pas configur Where is the problem Thanks Philippe LEBRETON ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Onsite.DeTeWe at firstgroup.com Fri Jun 4 10:05:03 2004 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Fri, 4 Jun 2004 09:05:03 +0100 Subject: temperature monitor In-Reply-To: <200406032023.i53KNsg13429@smtp1.prupref.com> References: <200406032023.i53KNsg13429@smtp1.prupref.com> Message-ID: Morning, Have you seen the monitoring solution from Jakata, we have a number of there interSeptor boxes and I must say that I am most impressed. Very easy to setup and the logging and web interface is superb. J McKeever Chris Sent by: nagios-users-admin at lists.sourceforge.net 03/06/2004 21:23 Please respond to tech-mail To: nagios-users at lists.sourceforge.net cc: Subject: [Nagios-users] temperature monitor I see that the nagios page is using the essensors temp control http://www.nagios.org/products/environmental/esensors-em01.php verse the temptrax (from a while back) http://www.sensatronics.com/products_temperaturemonitor.html any comments either way?? I am looking for a multi-point temp monitor thanks ------------------------------------------- Chris McKeever If you want to reply directly to me, please use cgmckeever--at--prupref---dot---com www.prupref.com Prudential Preferred Properties Chicago and Illinois NorthShore Real Estate Experts ---- Prudential Preferred Properties www.prupref.com Success Driven By Results Results Driven By Commitment Commitment Driven By Integrity We Are Prudential Preferred Properties ********************************************************************** 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. http://www.firstgroup.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From philippe.lebreton at cti-paysloire.cnamts.fr Fri Jun 4 10:25:07 2004 From: philippe.lebreton at cti-paysloire.cnamts.fr (LEBRETON Philippe) Date: Fri, 04 Jun 2004 10:25:07 +0200 Subject: starting message : NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log Message-ID: <40C031E3.40403@cti-paysloire.cnamts.fr> hello, I used Nagios with mysql configuration for all, except extend-info (i used Nagmin). When i start Nagios i have this message : NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log In my configuration, status.log is a mysql table. How daemonchk.cgi does work well with a database configuration? Thanks Philippe LEBRETON ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Fri Jun 4 11:02:34 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Fri, 4 Jun 2004 10:02:34 +0100 Subject: ELF Error Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE9309D43@netfinity-1.foundation-it.local> The problem is with GNU strip on Solaris. If you put /usr/ccs/bin higher in your $PATH than the location of GNU's strip so that the Solaris version is used then it should work OK. Phil Naman Latif wrote: > I re-compiled Nagios. And had the same issue. > I then compared the file sizes in the "base" directory and > /usr/local/Nagios/bin directory (after running make install) > and somehow the file size gets halved of the original and > gives the same error. Manually copying (cp) fixed the issue. > > OS = Solaris 2.8, Sun Sparc, Sunfire V100 > > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: Wednesday, June 02, 2004 3:22 PM > To: Naman Latif > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] ELF Error > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You'll need to provide more information. What platform? OS? Where was > it > > compiled? > > - -Jason Martin > On Wed, 2 Jun 2004, Naman Latif wrote: > >> Can someone help\guide me with this ? >> >> +++++++++++++++++ >> bash-2.05# ldd nagios >> ldd: nagios: file has insecure interpreter ELF >> >> bash-2.05# ./nagios -h >> nagios: Cannot find ELF >> Killed >> ++++++++++++++++++ >> >> Thanks \\ Naman >> ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglisten at alexander-bruns.de Fri Jun 4 11:21:45 2004 From: mailinglisten at alexander-bruns.de (Alexander Bruns) Date: Fri, 04 Jun 2004 11:21:45 +0200 Subject: Check if cron is running Message-ID: <3CC440A8B8E4FC06D4D9792E@paternina.sportsandbytes.local> Hi, is it possible to check on a linux box if cron daemon is running via nagios and nrpe? Thanks Alexander Bruns ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Fri Jun 4 12:01:16 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 04 Jun 2004 11:01:16 +0100 Subject: How to Loggout? In-Reply-To: References: Message-ID: <20040604100116.8030.qmail@minnow.softflare.net> Jason Martin writes: > It is actually a problem with the HTTP Spec Not really. The spec provides a simple means of authenticating yourself. In many cases it is reasonable to assume that you will want to keep on authenticating yourself. In some situations you need to be able to logout, and then it is up to the website to use a different means of authentication. Yahoo, Hotmail and many other sites all use a different means of authentication so people can logout, because these are services that are often accessed from internet cafes or library internet terminals. Most people who use Nagios have little need to be able to logout, so it was reasonable for Ethan to use the HTTP authentiaction mechanism. > once a password is provided for a security realm, there isn't a way to > get the server to 'forget' it. It is the browser that remembers the credentials, not the server. You may be able to fiddle it with a sub-directory which has a .htaccess defining the same realm but pointing to an empty password file. Going to a page there may cause the browser to put up another login box, which will fail, then the password is forgotten. Clumsy, but not as clumsy as restarting your browser. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vilts at yahoo.com Fri Jun 4 12:32:51 2004 From: vilts at yahoo.com (Viljo Marrandi) Date: Fri, 04 Jun 2004 13:32:51 +0300 Subject: Wrong status state in distributed setup Message-ID: <40C04FD3.7080109@yahoo.com> Hello! I searched the list, bu couldn't find anybody with similar problem. In my distributed monitoring server I have some services, which are in CRITICAL status, and in that server status.log file shows the info correctly - some plugins get timeout and some say (No output!). But the problem is with central server, where the info is sent. There I use MySQL to store all data. And in central server all services show up as OK, even when they plugin's output says Socket timeout, no output or whatever. Real life example: 1) distributed server's status.log: [1086343662] SERVICE;mail;IMAP;CRITICAL;5/5;HARD;1086343582;1086343642;ACTIVE;1;1;1;1086249329;0;CRITICAL;119;0;0;0;0;0;1;0;20;1;0;0.00;0;1;1;1;Socket timeout after 20 seconds 2) central server's mysql (status is OK) mysql> SELECT * FROM servicestatus WHERE host_name = 'mail' AND service_description = 'IMAP' -> \G *************************** 1. row *************************** host_name: mail service_description: IMAP service_status: OK last_update: 2004-06-04 13:27:02 current_attempt: 1 max_attempts: 5 state_type: HARD last_check: 2004-06-04 13:12:50 next_check: 2004-06-04 13:28:01 should_be_scheduled: 1 check_type: PASSIVE checks_enabled: 0 accept_passive_checks: 1 event_handler_enabled: 1 last_state_change: 2004-06-03 10:30:13 problem_acknowledged: 0 last_hard_state: OK time_ok: 649 time_warning: 0 time_unknown: 0 time_critical: 0 last_notification: 1970-01-01 03:00:00 current_notification: 0 notifications_enabled: 1 latency: 0 execution_time: 12 plugin_output: Socket timeout after 20 seconds flap_detection_enabled: 1 is_flapping: 0 percent_state_change: 0.00 scheduled_downtime_depth: 0 failure_prediction_enabled: 1 process_performance_data: 1 obsess_over_service: 1 Do you have any ideas what might cause this? Thanks in advance! Viljo ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Fri Jun 4 13:11:38 2004 From: shorn at lssi.net (Spencer Horn) Date: Fri, 04 Jun 2004 07:11:38 -0400 Subject: Nagios Stale Checks Message-ID: <40C058EA.1000004@lssi.net> This is happening every night at midnight. What causes a check to go stale? this monitor is set to check and notify only between 10am and 11:30am clearly midnight is outside of this time frame. the check seems to go stale at midnight forcing a check, forcing a false alarm, any ideas? [1086321944] Warning: The results of service 'NDAFeed_Build_Monitor' on host 'bldr' are stale by 59 seconds (threshold=360 seconds). I'm forcing an immediate check of the service. [1086321949] SERVICE ALERT: bldr;NDAFeed_Build_Monitor;CRITICAL;SOFT;1;NDAFeed Build Monitor Status (Fri Jun 4 00:05:46 2004 bldr /lssi/bin/nda/ndabuild_monitor.pl)
NDAFeed Build logfile (/log/buildnda.pl.log) is old
[1086322004] Warning: The results of service 'NDAFeed_Release_Monitor' on host 'bldr' are stale by 58 seconds (threshold=360 seconds). I'm forcing an immediate check of the service. [1086322008] SERVICE ALERT: bldr;NDAFeed_Release_Monitor;CRITICAL;SOFT;1;NDAFeed Release Monitor Status (Fri Jun 4 00:06:45 2004 bldr /lssi/bin/nda/ndarelease_monitor.pl)
The files for these customers have NOT been released:
Excell
BTS Logic
Ameritech
Bell South
Metro One
Nortel
------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 4 13:18:05 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 04 Jun 2004 13:18:05 +0200 Subject: Check if cron is running In-Reply-To: <3CC440A8B8E4FC06D4D9792E@paternina.sportsandbytes.local> References: <3CC440A8B8E4FC06D4D9792E@paternina.sportsandbytes.local> Message-ID: <40C05A6D.5070405@op5.se> Alexander Bruns wrote: > Hi, > > is it possible to check on a linux box if cron daemon is running via > nagios and nrpe? > Yes. Use the check_proc (check_procs?) plugin. > Thanks > You're welcome. > Alexander Bruns > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vathakar at banasdairy.coop Fri Jun 4 13:52:02 2004 From: vathakar at banasdairy.coop (vathakar at banasdairy.coop) Date: Fri, 4 Jun 2004 17:22:02 +0530 (IST) Subject: Newbie: Service Time out problem Message-ID: <49276.203.199.30.204.1086349922.squirrel@banasdairy.coop> An HTML attachment was scrubbed... URL: From vathakar at banasdairy.coop Fri Jun 4 13:56:23 2004 From: vathakar at banasdairy.coop (vathakar at banasdairy.coop) Date: Fri, 4 Jun 2004 17:26:23 +0530 (IST) Subject: Check host alive problem Message-ID: <49730.203.199.30.204.1086350183.squirrel@banasdairy.coop> An HTML attachment was scrubbed... URL: From verdon at cict.fr Fri Jun 4 14:18:24 2004 From: verdon at cict.fr (carole verdon) Date: Fri, 04 Jun 2004 14:18:24 +0200 Subject: Nagios Stale Checks In-Reply-To: <40C058EA.1000004@lssi.net> References: <40C058EA.1000004@lssi.net> Message-ID: <40C06890.8020900@cict.fr> It's because the check_service_freshness option is set to 1. You have more information on : http://nagios.sourceforge.net/docs/1_0/freshness.html *_What Happens When A Service Check Result Becomes "Stale"_* If the check results of a service are found to be "stale" (as described above), Nagios will force an active check of the service by executing the command specified by the /check_command/ option in the service definition. It is important to note that an active service check which is being forced because the service was detected as being "stale" gets executed /even if active service checks are disabled on a program-wide or service-specific basis/. Carole. Spencer Horn wrote: > This is happening every night at midnight. What causes a check to go > stale? this monitor is set to check and notify only between 10am and > 11:30am clearly midnight is outside of this time frame. the check > seems to go stale at midnight forcing a check, forcing a false alarm, > any ideas? > > [1086321944] Warning: The results of service 'NDAFeed_Build_Monitor' > on host 'bldr' are stale by 59 seconds (threshold=360 seconds). I'm > forcing an immediate check of the service. > [1086321949] SERVICE ALERT: > bldr;NDAFeed_Build_Monitor;CRITICAL;SOFT;1;NDAFeed Build Monitor > Status (Fri Jun 4 00:05:46 2004 bldr > /lssi/bin/nda/ndabuild_monitor.pl)
NDAFeed Build logfile > (/log/buildnda.pl.log) is old
> [1086322004] Warning: The results of service 'NDAFeed_Release_Monitor' > on host 'bldr' are stale by 58 seconds (threshold=360 seconds). I'm > forcing an immediate check of the service. > [1086322008] SERVICE ALERT: > bldr;NDAFeed_Release_Monitor;CRITICAL;SOFT;1;NDAFeed Release Monitor > Status (Fri Jun 4 00:06:45 2004 bldr > /lssi/bin/nda/ndarelease_monitor.pl)
The files for these customers > have NOT been released:
Excell
BTS Logic
> Ameritech
Bell South
Metro One
Nortel
> > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >> From Windows to Linux, servers to mobile, InstallShield X is the one > > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.koch at eurodata.de Fri Jun 4 14:25:18 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Fri, 04 Jun 2004 14:25:18 +0200 Subject: Check if cron is running In-Reply-To: <3CC440A8B8E4FC06D4D9792E@paternina.sportsandbytes.local> References: <3CC440A8B8E4FC06D4D9792E@paternina.sportsandbytes.local> Message-ID: <1086351918.803.557.camel@dresden.eurodata.de> Hi Alexander, yes you can check if the cron is running. You can also check that the coffemaker is running, when you have the coffemaker connect on the linux server ;-) Andreas Am Fr, den 04.06.2004 schrieb Alexander Bruns um 11:21: > Hi, > > is it possible to check on a linux box if cron daemon is running via nagios > and nrpe? > > Thanks > > Alexander Bruns > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Roy at ville.Quebec.qc.ca Fri Jun 4 14:37:44 2004 From: Patrick.Roy at ville.Quebec.qc.ca (Roy, Patrick) Date: Fri, 4 Jun 2004 08:37:44 -0400 Subject: esensors Message-ID: <28A0F72B3EA0BC47A65E8E67CC1912821204CD@srv3057000552.ville.quebec.qc.ca> Hi everyone! I need to buy temperature sensors to use with Nagios but I need a Canadian reseller! Anyone got a reseller to suggest? Patrick ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Fri Jun 4 14:40:09 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Fri, 4 Jun 2004 14:40:09 +0200 Subject: Notification error on nagios 1.2 when sending sms Message-ID: <200406041440.09058.Michael.Huettig@Medien-Systempartner.de> ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** -------------- next part -------------- Hi everybody, yesterday i send this question to list, but i think, it? not the right time, so here is my question again ... i have found a notification error on nagios 1.2, when sending sms to cell-phones on a service-escalation. Please have a little bit time to read my explanation: We have some groups with three members and some groups with only one member, host-escalation works fine to all the groups, which have only one member. The first group net-admins-sms has an error in notification, sometimes all users get sms, but mostly only two users get sms, sometimes user_a and user_c, sometimes user_b and user_c, the 3rd user doesn't get any sms. Restarting nagios1.2 and the nagios-server doesn't resolve the problem In nagios.log i see, that every user is notified by email and sms. Sms-application yaps-server doesn't receive notifications from nagios for all contacts. SMS-App is yaps-0.93 which get nagios-notification via a pipe to serialize the parallel outgoing mails. It reads the pipe while its not empty and put the notification to a single command to yaps. This works fine! To verify this problem i installed nagios-test-machine and set one unique cell-phone-number for all contacts and started a test which works properly. Nagios-Production and Nagios-Test have the same software-environment (SUSE8.1, yaps-0.93, nagios-1.2). Nagios-Production monitors 320 hosts with 1040 services, Nagios-Test monitors 50 hosts with 240 services. nagios.cfg is fine-tuned (max_concurrent_checks=65). Could anyone understand my problem and give me a hint, to debug and resolve the problem??? If you have any further question, please contact me. With best regards Michael Config-snippets: ================ define contactgroup{ ????????contactgroup_name???????net-admins-sms ????????alias???????????????????????????Netz-Admins SMS ????????members?????????????????user_a-sms, user_b-sms, user_c-sms ????????} define contactgroup{ ????????contactgroup_name???????operating-sms ????????alias???????????????????????????Operating SMS ????????members?????????????????operating-sms ????????} define contactgroup{ ????????contactgroup_name???????chief-sms ????????alias???????????????????????????The Chief SMS ????????members?????????????????chief-sms ????????} example for all contacts: define contact{ ????????contact_name????????????????????????????user_a-sms ????????alias???????????????????????????????????????????Michael Huettig ????????service_notification_period?????8-23 ????????host_notification_period????????????????8-23 ????????service_notification_options????c,r ????????host_notification_options???????????????d,u,r ????????service_notification_commands???notify-by-email, notify-by-sms ????????host_notification_commands??????host-notify-by-email, host-notify-by-sms ????????email???????????????????????????????????Michael.Huettig at Medien-Systempartner.de ????????pager???????????????????????????????????017xxxxxxxx ????????} # Hostgroup 'switches' escalation definition define hostgroupescalation{ ????????hostgroup_name??????????Switche ????????first_notification??????????????????????3 ????????last_notification???????????????????????0 ????????contact_groups??????????????????net-admins-sms, operating-sms, chief-sms ????????notification_interval???????????15 ????????} # 'host-notify-by-sms' command definition define command{ ? ? ? ? command_name ? ?host-notify-by-sms ? ? ? ? command_line ? ?echo "$CONTACTPAGER$" "\"$NOTIFICATIONTYPE$: ?$HOSTNAME$ ist $HOSTSTATE$ ($OUTPUT$) $NOTIFICATIONNUMBER$ .te Benachrichtigung: Datum: $DATETIME$\"" > /usr/local/nagios/var/rw/yaps.cmd ? ? ? ? } The yaps-server: # Filename: # =========== # yaps-server # # Beschreibung / Description # ========================== # # liest aus einer Pipe und sendet den # gelesenen String per SMS # Dieser Umweg ist notwendig, weil Nagios # nicht sicherstellen kann, dass mehrfache # yaps-Kommandos sequentiell ausgefuehrt werden, # damit es keine Konflikte beim Modemzugriff gibt. # # Die Pipe muss angelegt sein mittels # mkfifo /usr/local/nagios/var/rw/yaps.cmd # # English # ------- # # this script reads a pipe and sends the # string as a SMS # This work around is necessary because # Nagios can't make sure that yaps commands # are processed sequential. Otherwise there # is a conflict by accessing the device. # # You need to create the pipe your self. # mkfifo /usr/local/nagios/var/rw/yaps.cmd # PIPE=/usr/local/nagios/var/rw/yaps.cmd LOGFILE=/var/log/yaps-server.log FNAME=/tmp/yaps.$$ test -p $PIPE || exit 1 while true; do ? read command < $PIPE ? echo "$command" > $FNAME ? if [ -s $FNAME ]; then ? ? /usr/bin/yaps -t -z $FNAME >>$LOGFILE && rm $FNAME ? else ? ? echo "No data in file" >> $LOGFILE ? fi done; _____________________________________________ end of yaps-server From leoh at dcc.ufmg.br Fri Jun 4 15:05:53 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Fri, 4 Jun 2004 10:05:53 -0300 (BRT) Subject: [Nagios-users] Re: How to Loggout? In-Reply-To: <20040604100116.8030.qmail@minnow.softflare.net> References: <20040604100116.8030.qmail@minnow.softflare.net> Message-ID: Devel Team, are you all thinking about a solutinon to this problema? I realy think it's a very important feature that nagios lacks. Why cannot Nagios handle the autentication by it self? We could also have an admin interface to let the contacts change their passwords. I don't think that the it would be a security hole (.htaccess is also very unsafe). I hope it could be in Nagios 2.0. On Fri, 4 Jun 2004, Paul L. Allen wrote: > Jason Martin writes: > > > It is actually a problem with the HTTP Spec > > Not really. The spec provides a simple means of authenticating yourself. > In many cases it is reasonable to assume that you will want to keep on > authenticating yourself. In some situations you need to be able to logout, > and then it is up to the website to use a different means of authentication. > > Yahoo, Hotmail and many other sites all use a different means of > authentication so people can logout, because these are services that are > often accessed from internet cafes or library internet terminals. Most > people who use Nagios have little need to be able to logout, so it was > reasonable for Ethan to use the HTTP authentiaction mechanism. > > > once a password is provided for a security realm, there isn't a way to > > get the server to 'forget' it. > > It is the browser that remembers the credentials, not the server. You > may be able to fiddle it with a sub-directory which has a .htaccess > defining the same realm but pointing to an empty password file. Going > to a page there may cause the browser to put up another login box, which > will fail, then the password is forgotten. Clumsy, but not as clumsy as > restarting your browser. > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Leonardo Henrique Machado ?ltimo Per?odo em Ci?ncia da Computacao Universidade Federal de Minas Gerais ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 From Samba at guidemail.com Fri Jun 4 15:24:22 2004 From: Samba at guidemail.com (Samba) Date: Fri, 4 Jun 2004 08:24:22 -0500 Subject: How to Loggout? Message-ID: <9A7A0D17D695264AAE4E53DD69DF5B8F8AEF25@mail1.guidehome.com> If you are using basic auth why couldn't you just create a log out link that resends your credentials. i.e. http://guest at nagios.yourdomain.com/nagios/ I haven't tried it, but it's a thought. Josh -----Original Message----- From: Leonardo Henrique Machado [mailto:leoh at dcc.ufmg.br] Sent: Friday, June 04, 2004 8:06 AM To: nagios-users at lists.sourceforge.net Cc: nagios-devel at lists.sourceforge.net Subject: Re: [Nagios-users] Re: How to Loggout? Devel Team, are you all thinking about a solutinon to this problema? I realy think it's a very important feature that nagios lacks. Why cannot Nagios handle the autentication by it self? We could also have an admin interface to let the contacts change their passwords. I don't think that the it would be a security hole (.htaccess is also very unsafe). I hope it could be in Nagios 2.0. On Fri, 4 Jun 2004, Paul L. Allen wrote: > Jason Martin writes: > > > It is actually a problem with the HTTP Spec > > Not really. The spec provides a simple means of authenticating yourself. > In many cases it is reasonable to assume that you will want to keep on > authenticating yourself. In some situations you need to be able to logout, > and then it is up to the website to use a different means of authentication. > > Yahoo, Hotmail and many other sites all use a different means of > authentication so people can logout, because these are services that are > often accessed from internet cafes or library internet terminals. Most > people who use Nagios have little need to be able to logout, so it was > reasonable for Ethan to use the HTTP authentiaction mechanism. > > > once a password is provided for a security realm, there isn't a way to > > get the server to 'forget' it. > > It is the browser that remembers the credentials, not the server. You > may be able to fiddle it with a sub-directory which has a .htaccess > defining the same realm but pointing to an empty password file. Going > to a page there may cause the browser to put up another login box, which > will fail, then the password is forgotten. Clumsy, but not as clumsy as > restarting your browser. > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Leonardo Henrique Machado ?ltimo Per?odo em Ci?ncia da Computacao Universidade Federal de Minas Gerais ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Fri Jun 4 15:33:00 2004 From: shorn at lssi.net (Spencer Horn) Date: Fri, 04 Jun 2004 09:33:00 -0400 Subject: Nagios Stale Checks In-Reply-To: <40C06890.8020900@cict.fr> References: <40C058EA.1000004@lssi.net> <40C06890.8020900@cict.fr> Message-ID: <40C07A0C.7000108@lssi.net> thanks, i was looking for this in services.cfg instead of nagios.cfg Would be nice if you could disable this per service instead of acrossed the board like this, but this will do. Thanks again. define service{ name master-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 check_freshness 0 obsess_over_service 0 notifications_enabled 1 event_handler_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 normal_check_interval 5 retry_check_interval 1 max_check_attempts 3 flap_detection_enabled 0 check_period 24x7 notification_period 24x7 notification_interval 15 notification_options w,c,r register 0 } carole verdon wrote: > It's because the check_service_freshness > > option is set to 1. > > You have more information on : > http://nagios.sourceforge.net/docs/1_0/freshness.html > > *_What Happens When A Service Check Result Becomes "Stale"_* > > If the check results of a service are found to be "stale" (as > described above), Nagios will force an active check of the service by > executing the command specified by the /check_command/ option in the > service definition. It is important to note that an active service > check which is being forced because the service was detected as being > "stale" gets executed /even if active service checks are disabled on a > program-wide or service-specific basis/. > > Carole. > > Spencer Horn wrote: > >> This is happening every night at midnight. What causes a check to go >> stale? this monitor is set to check and notify only between 10am and >> 11:30am clearly midnight is outside of this time frame. the check >> seems to go stale at midnight forcing a check, forcing a false alarm, >> any ideas? >> >> [1086321944] Warning: The results of service 'NDAFeed_Build_Monitor' >> on host 'bldr' are stale by 59 seconds (threshold=360 seconds). I'm >> forcing an immediate check of the service. >> [1086321949] SERVICE ALERT: >> bldr;NDAFeed_Build_Monitor;CRITICAL;SOFT;1;NDAFeed Build Monitor >> Status (Fri Jun 4 00:05:46 2004 bldr >> /lssi/bin/nda/ndabuild_monitor.pl)
NDAFeed Build logfile >> (/log/buildnda.pl.log) is old
>> [1086322004] Warning: The results of service >> 'NDAFeed_Release_Monitor' on host 'bldr' are stale by 58 seconds >> (threshold=360 seconds). I'm forcing an immediate check of the service. >> [1086322008] SERVICE ALERT: >> bldr;NDAFeed_Release_Monitor;CRITICAL;SOFT;1;NDAFeed Release Monitor >> Status (Fri Jun 4 00:06:45 2004 bldr >> /lssi/bin/nda/ndarelease_monitor.pl)
The files for these customers >> have NOT been released:
Excell
BTS Logic
>> Ameritech
Bell South
Metro One
Nortel
>> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by the new InstallShield X. >> >>> From Windows to Linux, servers to mobile, InstallShield X is the one >> >> installation-authoring solution that does it all. Learn more and >> evaluate today! http://www.installshield.com/Dev2Dev/0504 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Jun 4 15:50:55 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 04 Jun 2004 15:50:55 +0200 Subject: [Nagios-users] Re: How to Loggout? In-Reply-To: References: <20040604100116.8030.qmail@minnow.softflare.net> Message-ID: <40C07E3F.1010004@op5.se> Leonardo Henrique Machado wrote: > Devel Team, > > are you all thinking about a solutinon to this problema? > I can't imagine they are. > I realy think it's a very important feature that nagios lacks. Why cannot > Nagios handle the autentication by it self? > Because handling authentication properly is a non-trivial task, which really isn't nagios's job. Besides, apache is very good at it, and not many users have requested the feature. If you want to log out, close the browser. If it's really _REALLY_ important that you're logged in as different users simultaneously (although I cannot for the world of me think of a reason why you'd want that unless you're already hacking at the cgi's), you can always hire a consultant to rewrite the GUI for you, or do it yourself. > We could also have an admin interface to let the contacts change their > passwords. This is trivial to implement with the current authentication system and some moderately clever PHP/Perl/shell/C/whatever code. > I don't think that the it would be a security hole Not so long as proper whitelists ( [A-Za-z0-9] ) are applied, if htpasswd is to be called. > (.htaccess is also very unsafe). > Only if misconfigured, in which case anything is very unsafe. > I hope it could be in Nagios 2.0. > It probably will be available when the CGI's have been rewritten in PHP, which won't happen any time soon, if you are to believe www.nagios.org. -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 From marc at ena.com Fri Jun 4 15:55:23 2004 From: marc at ena.com (Marc Powell) Date: Fri, 4 Jun 2004 08:55:23 -0500 Subject: Nagios Stale Checks Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6434@mismail2.ena.com> Umm. You can. Put it in the specific service definition instead of the template. Anything in a service definition overrides the values in the template. The idea would be to enable it globally in nagios.cfg then either enable it in a template if most/all of your checks require it and disable it in specific service definitions or vice-versa. -- Marc ________________________________ From: Spencer Horn [mailto:shorn at lssi.net] Sent: Friday, June 04, 2004 8:33 AM To: verdon at cict.fr Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Stale Checks thanks, i was looking for this in services.cfg instead of nagios.cfg Would be nice if you could disable this per service instead of acrossed the board like this, but this will do. Thanks again. define service{ name master-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 check_freshness 0 obsess_over_service 0 notifications_enabled 1 event_handler_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 normal_check_interval 5 retry_check_interval 1 max_check_attempts 3 flap_detection_enabled 0 check_period 24x7 notification_period 24x7 notification_interval 15 notification_options w,c,r register 0 } carole verdon wrote: It's because the check_service_freshness option is set to 1. You have more information on : http://nagios.sourceforge.net/docs/1_0/freshness.html What Happens When A Service Check Result Becomes "Stale" If the check results of a service are found to be "stale" (as described above), Nagios will force an active check of the service by executing the command specified by the check_command option in the service definition. It is important to note that an active service check which is being forced because the service was detected as being "stale" gets executed even if active service checks are disabled on a program-wide or service-specific basis. Carole. Spencer Horn wrote: This is happening every night at midnight. What causes a check to go stale? this monitor is set to check and notify only between 10am and 11:30am clearly midnight is outside of this time frame. the check seems to go stale at midnight forcing a check, forcing a false alarm, any ideas? [1086321944] Warning: The results of service 'NDAFeed_Build_Monitor' on host 'bldr' are stale by 59 seconds (threshold=360 seconds). I'm forcing an immediate check of the service. [1086321949] SERVICE ALERT: bldr;NDAFeed_Build_Monitor;CRITICAL;SOFT;1;NDAFeed Build Monitor Status (Fri Jun 4 00:05:46 2004 bldr /lssi/bin/nda/ndabuild_monitor.pl)
NDAFeed Build logfile (/log/buildnda.pl.log) is old
[1086322004] Warning: The results of service 'NDAFeed_Release_Monitor' on host 'bldr' are stale by 58 seconds (threshold=360 seconds). I'm forcing an immediate check of the service. [1086322008] SERVICE ALERT: bldr;NDAFeed_Release_Monitor;CRITICAL;SOFT;1;NDAFeed Release Monitor Status (Fri Jun 4 00:06:45 2004 bldr /lssi/bin/nda/ndarelease_monitor.pl)
The files for these customers have NOT been released:
Excell
BTS Logic
Ameritech
Bell South
Metro One
Nortel
------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Fri Jun 4 16:02:52 2004 From: shorn at lssi.net (Spencer Horn) Date: Fri, 04 Jun 2004 10:02:52 -0400 Subject: Nagios Stale Checks In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B6434@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B6434@mismail2.ena.com> Message-ID: <40C0810C.1090808@lssi.net> So you are saying if i define check_service_freshness 0 in my master template then it will be toruned off for any service using that template? Marc Powell wrote: >Umm. You can. Put it in the specific service definition instead of the >template. Anything in a service definition overrides the values in the >template. The idea would be to enable it globally in nagios.cfg then >either enable it in a template if most/all of your checks require it and >disable it in specific service definitions or vice-versa. > >-- >Marc > >________________________________ > >From: Spencer Horn [mailto:shorn at lssi.net] >Sent: Friday, June 04, 2004 8:33 AM >To: verdon at cict.fr >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Nagios Stale Checks > > >thanks, i was looking for this in services.cfg instead of nagios.cfg > >Would be nice if you could disable this per service instead of acrossed >the board like this, but this will do. > >Thanks again. > >define service{ > name master-template > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > check_freshness 0 > obsess_over_service 0 > notifications_enabled 1 > event_handler_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > is_volatile 0 > normal_check_interval 5 > retry_check_interval 1 > max_check_attempts 3 > flap_detection_enabled 0 > check_period 24x7 > notification_period 24x7 > notification_interval 15 > notification_options w,c,r > register 0 > } > > >carole verdon wrote: > > It's because the check_service_freshness >ss> option is set to 1. > > > You have more information on : >http://nagios.sourceforge.net/docs/1_0/freshness.html > > > > What Happens When A Service Check Result Becomes "Stale" > > If the check results of a service are found to be "stale" (as >described above), Nagios will force an active check of the service by >executing the command specified by the check_command option in the >service definition. It is important to note that an active service check >which is being forced because the service was detected as being "stale" >gets executed even if active service checks are disabled on a >program-wide or service-specific basis. > > Carole. > > Spencer Horn wrote: > > > This is happening every night at midnight. What causes a >check to go stale? this monitor is set to check and notify only between >10am and 11:30am clearly midnight is outside of this time frame. the >check seems to go stale at midnight forcing a check, forcing a false >alarm, any ideas? > > [1086321944] Warning: The results of service >'NDAFeed_Build_Monitor' on host 'bldr' are stale by 59 seconds >(threshold=360 seconds). I'm forcing an immediate check of the service. > > [1086321949] SERVICE ALERT: >bldr;NDAFeed_Build_Monitor;CRITICAL;SOFT;1;NDAFeed Build Monitor Status >(Fri Jun 4 00:05:46 2004 bldr >/lssi/bin/nda/ndabuild_monitor.pl)
NDAFeed Build logfile >(/log/buildnda.pl.log) is old
> [1086322004] Warning: The results of service >'NDAFeed_Release_Monitor' on host 'bldr' are stale by 58 seconds >(threshold=360 seconds). I'm forcing an immediate check of the service. > > [1086322008] SERVICE ALERT: >bldr;NDAFeed_Release_Monitor;CRITICAL;SOFT;1;NDAFeed Release Monitor >Status (Fri Jun 4 00:06:45 2004 bldr >/lssi/bin/nda/ndarelease_monitor.pl)
The files for these customers >have NOT been released:
Excell
BTS Logic
>Ameritech
Bell South
Metro One
Nortel
> > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield >X. > > > From Windows to Linux, servers to mobile, >InstallShield X is the one > > > installation-authoring solution that does it all. Learn >more and > evaluate today! >http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) >and OS when reporting any issue. ::: Messages without supporting info >will risk being sent to /dev/null > > > > > > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Fri Jun 4 16:26:03 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 4 Jun 2004 08:26:03 -0600 Subject: [Nagios-users] Re: How to Loggout? Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E91CE@golden-m.mactec.com> Someone has already written a .cgi to allow users to change their passwords. I used it in an earlier version of NetSaint, but did not carry it over to my Nagios install last year. So, I don't have much more information for you, other than the fact that it was out there at one time. It may be that it can be located in the Add-Ons section of the Nagios web site. If not, you might find it by searching the archives. Good luck. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) nagios-devel-admin at lists.sourceforge.net wrote: > Devel Team, > > are you all thinking about a solutinon to this problema? > > I realy think it's a very important feature that nagios > lacks. Why cannot > Nagios handle the autentication by it self? > > We could also have an admin interface to let the contacts change their > passwords. I don't think that the it would be a security hole > (.htaccess is also very unsafe). > > I hope it could be in Nagios 2.0. > > > On Fri, 4 Jun 2004, Paul L. Allen wrote: > >> Jason Martin writes: >> >>> It is actually a problem with the HTTP Spec >> >> Not really. The spec provides a simple means of authenticating >> yourself. In many cases it is reasonable to assume that you will >> want to keep on authenticating yourself. In some situations you >> need to be able to logout, and then it is up to the website to use a >> different means of authentication. >> >> Yahoo, Hotmail and many other sites all use a different means of >> authentication so people can logout, because these are services that >> are often accessed from internet cafes or library internet >> terminals. Most people who use Nagios have little need to be able >> to logout, so it was reasonable for Ethan to use the HTTP >> authentiaction mechanism. >> >>> once a password is provided for a security realm, there isn't a way >>> to get the server to 'forget' it. >> >> It is the browser that remembers the credentials, not the server. >> You may be able to fiddle it with a sub-directory which has a >> .htaccess defining the same realm but pointing to an empty password >> file. Going to a page there may cause the browser to put up another >> login box, which will fail, then the password is forgotten. Clumsy, >> but not as clumsy as restarting your browser. >> >> -- >> Paul Allen >> Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 From wp.junior at terra.com.br Fri Jun 4 17:18:35 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Fri, 4 Jun 2004 12:18:35 -0300 Subject: Migrate or wait? In-Reply-To: <006f01c449df$08b598b0$f707a8c0@pedellwin2k> References: <006f01c449df$08b598b0$f707a8c0@pedellwin2k> Message-ID: <20040604151521.897CE3C077@talara.terra.com.br> Hi all. I'm going to migrate my nagios box, PIII 500 Mhz and RH7.2 (nagios 1.0) to PIV 2.0 GHz and RH9. The question is: does anybody know if it's worth to migrate using nagios 1.2 or nagios 2.0 is coming soon and it's worth waiting for it? Regards, Wilson ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 4 17:32:23 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 04 Jun 2004 17:32:23 +0200 Subject: Migrate or wait? In-Reply-To: <20040604151521.897CE3C077@talara.terra.com.br> References: <20040604151521.897CE3C077@talara.terra.com.br> Message-ID: <40C09607.3060409@op5.se> Wilson Pires Jr wrote: > Hi all. > > I'm going to migrate my nagios box, PIII 500 Mhz and RH7.2 (nagios 1.0) to > PIV 2.0 GHz and RH9. > > The question is: does anybody know if it's worth to migrate using nagios 1.2 > or nagios 2.0 is coming soon and it's worth waiting for it? > Nagios 2.0 is perfectly runnable already, although not everything mentioned in documentation is implemented. The hashing code and objects.cache solution makes the gui a whole lot faster. Also, there are some interesting features you might want to get into your system right away. > Regards, > > Wilson > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. >>From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCooley at nuvox.com Fri Jun 4 17:40:30 2004 From: DCooley at nuvox.com (Cooley, David) Date: Fri, 4 Jun 2004 11:40:30 -0400 Subject: HP-UX and Netsaint_statd Message-ID: <49DA3C5EB24AB34EB439DBEAF655605E87F814@CORPEMAIL.CORPORATE.VOX.NET> Hi All, Looking for a bit of direction pointing... Not very familiar with PERL, and we are now using the netsaint_statd for Nagios monitoring, as it solved our problem with some machines not wanting to run the NRPE daemon... However, we are having a little issue with HP-UX and disk space monitoring... Here is a snippet of our bdf -l output: Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 204800 54976 140468 28% / /dev/vg00/lvol1 83733 30841 44518 41% /stand /dev/vg00/lvol8 1228800 1002685 212144 83% /var /dev/vg00/lvol7 1228800 561770 625379 47% /usr /dev/vgdata02/lvol07 2048000 1144064 847501 57% /u15 /dev/vgdata02/lvol06 4096000 3074152 957988 76% /u14 /dev/vgdata02/lvol05 10240000 8400295 1724729 83% /u13 As you can see, all is well until we reach the /dev/vgdata02/lvol07 filesystem... Then, due to the length of the Filesystem name, bdf supplies the disk space info on the next line down... However, the netsaint_statd see's nothing past the Filesystem and decides there is no data, and supplies the first filesystem on the machine as output... Any assistanmce appreciated! Here is the PERL code used to retrieve the data: sub disk { my $arg = shift; my ($disk, $avail, $capper, $mountpt); open(DFOUTPUT,"$commandlist{$os}{dfcommand} |") || die; $_ = ; DFCHECK: while($_ = ) { if (/^([\w\/\:\.\-\=]*)\s*\d*\s*\d*\s*(\d*)\s*(\d*)\%\s*([\w\/\-]*)/) { $disk = $1; $avail = $2; $capper = $3; $mountpt = $4; last DFCHECK if ($disk =~ /$arg/); } } if ($disk && $mountpt) { $capper = 100 - $capper; print Client "$disk $avail $capper $mountpt "; } else { print Client "not found"; } ($disk,$avail,$capper,$mountpt) = undef; close(DFOUTPUT); } -------------- next part -------------- An HTML attachment was scrubbed... URL: From pjs at eurotux.com Fri Jun 4 17:59:35 2004 From: pjs at eurotux.com (Paulo Silva) Date: Fri, 04 Jun 2004 16:59:35 +0100 Subject: Automatically reboot/shutdown Message-ID: <1086364775.5291.7.camel@blackTiger> Hello, I'm starting to use nagios to monitor a beowulf cluster and I was wondering if it's possible to automatically reboot/shutdown a machine if some service reaches a critical state. Thanks for your help -- Paulo Silva Eurotux -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Esta ? uma parte de mensagem assinada digitalmente URL: From jhmartin at toger.us Fri Jun 4 18:12:54 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 4 Jun 2004 09:12:54 -0700 (PDT) Subject: Automatically reboot/shutdown In-Reply-To: <1086364775.5291.7.camel@blackTiger> References: <1086364775.5291.7.camel@blackTiger> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Assuming that the machine is still responding to commands, it would be simple to write an event handler to reboot the machine. - -Jason Martin On Fri, 4 Jun 2004, Paulo Silva wrote: > Hello, > > I'm starting to use nagios to monitor a beowulf cluster and I was > wondering if it's possible to automatically reboot/shutdown a machine if > some service reaches a critical state. > > Thanks for your help > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAwJ+Il2ODWuqVSBMRAopeAJsEsQlUk3GJ9t20ARRfPe7VMq0RwQCffbn6 grBslQmaFj3UirQO1z70tD0= =pw+d -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kerry.cox at ksl.com Fri Jun 4 18:12:52 2004 From: kerry.cox at ksl.com (Kerry Cox) Date: Fri, 04 Jun 2004 10:12:52 -0600 Subject: Migrate or wait? In-Reply-To: <40C09607.3060409@op5.se> References: <20040604151521.897CE3C077@talara.terra.com.br> <40C09607.3060409@op5.se> Message-ID: <1086365572.637.64.camel@quasi.ksl.com> Is there anything then that we as a community can do then to assist with the documentation? I'm not a programmer, but I do find bugs fast. :-) I personally have set up many a web page for projects I am directly involved in using Docbook and XML. (http://www.gnuware.com/icecast/) I have a vested interest in seeing Nagios do well and would like to help. If moving people forward on Nagios 2.0 is contingent on getting some of the docs updated, let us know. KJ On Fri, 2004-06-04 at 09:32, Andreas Ericsson wrote: > Wilson Pires Jr wrote: > > Hi all. > > > > I'm going to migrate my nagios box, PIII 500 Mhz and RH7.2 (nagios 1.0) to > > PIV 2.0 GHz and RH9. > > > > The question is: does anybody know if it's worth to migrate using nagios 1.2 > > or nagios 2.0 is coming soon and it's worth waiting for it? > > > > Nagios 2.0 is perfectly runnable already, although not everything > mentioned in documentation is implemented. The hashing code and > objects.cache solution makes the gui a whole lot faster. Also, there are > some interesting features you might want to get into your system right away. > > > Regards, > > > > Wilson > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the new InstallShield X. > >>From Windows to Linux, servers to mobile, InstallShield X is the one > > installation-authoring solution that does it all. Learn more and > > evaluate today! http://www.installshield.com/Dev2Dev/0504 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- /------------------------------------\__/-------------------------\ | Kerry J. Cox, Ph.D. __ kerry.cox at ksl.com | | KSL System Administrator | | p: 801.575.7771 | \------------------------------------/ \-------------------------/ ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 4 18:20:32 2004 From: marc at ena.com (Marc Powell) Date: Fri, 4 Jun 2004 11:20:32 -0500 Subject: Automatically reboot/shutdown Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6441@mismail2.ena.com> Paulo Silva wrote: > Hello, > > I'm starting to use nagios to monitor a beowulf cluster and I was > wondering if it's possible to automatically reboot/shutdown a machine > if some service reaches a critical state. Yep --- http://nagios.sourceforge.net/docs/1_0/eventhandlers.html You just need to create the script to perform the action you want when the conditions are right. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CWaters at jeld-wen.com Fri Jun 4 18:24:32 2004 From: CWaters at jeld-wen.com (Chris Waters) Date: Fri, 4 Jun 2004 09:24:32 -0700 Subject: Migrate or wait? Message-ID: Are there any "gotchas" with the migration? I am running Nagios on Sentinix and using Nagmin for configuration. Is there any else who has performed this migration 1.2->2.0 with Nagmin (MySql)? Thanks. Chris Waters -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Andreas Ericsson Sent: Friday, June 04, 2004 8:32 AM Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Migrate or wait? Wilson Pires Jr wrote: > Hi all. > > I'm going to migrate my nagios box, PIII 500 Mhz and RH7.2 (nagios 1.0) to > PIV 2.0 GHz and RH9. > > The question is: does anybody know if it's worth to migrate using nagios 1.2 > or nagios 2.0 is coming soon and it's worth waiting for it? > Nagios 2.0 is perfectly runnable already, although not everything mentioned in documentation is implemented. The hashing code and objects.cache solution makes the gui a whole lot faster. Also, there are some interesting features you might want to get into your system right away. > Regards, > > Wilson > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. >>From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at pensol.net Fri Jun 4 19:03:38 2004 From: nagios at pensol.net (MT Morales) Date: Fri, 4 Jun 2004 11:03:38 -0600 Subject: Delaying red alerts Message-ID: <200406041703.i54H3cUn002550@pensol.net> I've have a silly request from an admin to configure a service (disk volume space left) to ONLY go read between work hours. Now, I know this is possible for notification alerts, but, is it possible to do the same on the Nagios screen? any ideas or suggestions will be appreciated. thanks, Tomas ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Jun 4 19:25:41 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 4 Jun 2004 10:25:41 -0700 (PDT) Subject: Delaying red alerts In-Reply-To: <200406041703.i54H3cUn002550@pensol.net> References: <200406041703.i54H3cUn002550@pensol.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You could set the check_period to be only work hours. - -Jason Martin On Fri, 4 Jun 2004, MT Morales wrote: > > I've have a silly request from an admin to configure a service (disk > volume space left) to ONLY go read between work hours. Now, I know this > is possible for notification alerts, but, is it possible to do the same > on the Nagios screen? > > any ideas or suggestions will be appreciated. > thanks, > Tomas > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAwLCXl2ODWuqVSBMRAjKvAJ47AfKfLJ8DNSWWUZqGuZDYddSHOQCfcvQp JgQAy0dSu/hgbUFxt6IS178= =wSF/ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Jun 4 22:22:53 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Sat, 05 Jun 2004 08:22:53 +1200 Subject: [Nagios-devel] Re: Re: How to Loggout? In-Reply-To: References: <20040604100116.8030.qmail@minnow.softflare.net> <40C07E3F.1010004@op5.se> Message-ID: <1086380573.1010.10.camel@munter> On Sat, 2004-06-05 at 06:38, Leonardo Henrique Machado wrote: > I have 94 distinct labs, allover my state, and I want to log as a > localadministrator to see the statusmap without showing 94*15 machines > (which is a messy view). As localadmin I see just the machines that he is > responsible for. I want to have about 10 Tabs in my browser, each one > logged as a different user. I KNOW how to do it, but it would take about > 20 lines to explain... Why not just click "logout"? why don't you just use nagiomap.pl to clean up this 'messy view'? Not being able to log out of nagios is not the problem. That's just a flaw in a conceptual solution. Having a 'messy view' is probably the cause? Oops. It's one of those magical-script.pl.... jamie ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wgking at shaw.ca Sat Jun 5 01:03:43 2004 From: wgking at shaw.ca (Greg King) Date: Fri, 04 Jun 2004 17:03:43 -0600 Subject: re Configuration Problem Message-ID: <35de19359fa8.359fa835de19@shaw.ca> You will probably find the answer in the log files for Apache (/var/log/http/..). I suspect it is a permissions problem with Apache reading the .htpasswd files, but the logs should have some clue as to what is happening. Good luck! Regards, Greg King > From: arussos at comune.modena.it > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Configuration Problem > > Hi, > i'm new to this list as to Nagios and i'm in touble with (probably..)a > beginner > question. > > I installed Nagios with RPMs ( i.e. nagios-1.2-0, nagios-devel-1.2-0 and > nagios- > plugins-1.3.1 ) on a server running RedHat 9. I followed the documentation > and, > after adding a new Virtual-Host to my web-server(i.e. Apache_1.3.27), i've > created the .htaccess file in the cgi dir (i.e. /usr/lib/nagios/cgi ); > then i > typed "htpasswd -c /etc/nagios/htpasswd.users nagiosadmin" followed by the > passwd it requires. After setting up the web Interfaces and the > Authorization > for the cgis ( i also used the AuthConfig directive in the configuration > of the > Virtual-host ) i managed the example-config files in the main directory > (i.e. > (etc/nagios/) in order to monitor some switches on my network as a start > point. > Verifying the configuration gives me "everything OK!". > Opened a browser and typed: http://my-server/nagios/ and everyhting's ok; > the > problem came out when i try the cgis (either typing http://my- > server/nagios/cgi- > bin/ or trying the links on the web pages); > It brings me up a pop-up asking me User-name and Passwd: when i > type "nagiosadmin" and the correct passwd ..... it shows me the pop-up > again, > and when i type "ESC" it tells me this: > > "This server could not verify that you are authorized to access the > document > requested. Either you supplied the wrong credentials (e.g., bad password), > or > your browser doesn't understand how to supply the credentials required." > > ...I don't understand where's the problem... > Could anyone help me solving this problem ??? > > Thanks in advance to everyone will postme an answer, > Andrea. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vathakar at banasdairy.coop Sat Jun 5 05:15:14 2004 From: vathakar at banasdairy.coop (vathakar at banasdairy.coop) Date: Sat, 5 Jun 2004 08:45:14 +0530 (IST) Subject: Service Time out problem In-Reply-To: References: <49276.203.199.30.204.1086349922.squirrel@banasdairy.coop> Message-ID: <55667.203.199.30.204.1086405314.squirrel@banasdairy.coop> An HTML attachment was scrubbed... URL: From vathakar at banasdairy.coop Sat Jun 5 05:16:30 2004 From: vathakar at banasdairy.coop (vathakar at banasdairy.coop) Date: Sat, 5 Jun 2004 08:46:30 +0530 (IST) Subject: Service Time out problem In-Reply-To: <55667.203.199.30.204.1086405321.squirrel@banasdairy.coop> References: <49276.203.199.30.204.1086349922.squirrel@banasdairy.coop> <55667.203.199.30.204.1086405321.squirrel@banasdairy.coop> Message-ID: <55692.203.199.30.204.1086405390.squirrel@banasdairy.coop> An HTML attachment was scrubbed... URL: From vathakar at banasdairy.coop Sat Jun 5 09:39:16 2004 From: vathakar at banasdairy.coop (vathakar at banasdairy.coop) Date: Sat, 5 Jun 2004 13:09:16 +0530 (IST) Subject: Service Time out problem solved In-Reply-To: <55667.203.199.30.204.1086405314.squirrel@banasdairy.coop> References: <49276.203.199.30.204.1086349922.squirrel@banasdairy.coop> <55667.203.199.30.204.1086405314.squirrel@banasdairy.coop> Message-ID: <42977.203.199.30.204.1086421156.squirrel@banasdairy.coop> An HTML attachment was scrubbed... URL: From alchemyx at uznam.net.pl Sun Jun 6 23:45:57 2004 From: alchemyx at uznam.net.pl (=?iso-8859-2?q?Micha=B3_Margula?=) Date: Sun, 6 Jun 2004 23:45:57 +0200 Subject: MySQL -> pros and cons Message-ID: <200406062345.57364.alchemyx@uznam.net.pl> Hello! What are pros and cons of keeping nagios data in MySQL? I have MySQL database on my monitoring host so it is not a problem. Currently I am monitoring 68 hosts and 199 services. -- Micha? Margula, alchemyx at uznam.net.pl, http://alchemyx.uznam.net.pl/ "W ?yciu pi?kne s? tylko chwile" [Ryszard Riedel] ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnichols at pbp.net Mon Jun 7 06:24:00 2004 From: jnichols at pbp.net (Jonathan Nichols) Date: Sun, 06 Jun 2004 21:24:00 -0700 Subject: Vary check_dns checks? In-Reply-To: <1086205953.24881.173.camel@tesuji.nac.uci.edu> References: <40BE2D0E.6040009@pbp.net> <1086205953.24881.173.camel@tesuji.nac.uci.edu> Message-ID: <40C3EDE0.9030803@pbp.net> Dan Stromberg wrote: > I've attached my "random" program. > > So if you're checking a single host with "check_dns hostname.com", you > could use instead "check_dns `random < list.of.hosts | head -1`". > > The random program uses a python seed.py module I wrote, for getting > halfway decent seeds. I think you'll probably be able to see how to > tell the random program where to find the seed.py module. It's a short > program in a highly readable language. > Neat! Thanks! :D Uh, where's this? :) import sys sys.path.append('/dcslib/allsys/packages/python/local-lib') import random I'm guessing.. here? #!/usr/bin/python import sys #sys.path.append('/dcslib/allsys/packages/python/local-lib') sys.path.append('/usr/lib/python2.3') import random import seed import time .. I'm using python 2.3.3 with Gentoo Linux. :) ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnichols at pbp.net Mon Jun 7 06:56:09 2004 From: jnichols at pbp.net (Jonathan Nichols) Date: Sun, 06 Jun 2004 21:56:09 -0700 Subject: Vary check_dns checks? In-Reply-To: <40C3EDE0.9030803@pbp.net> References: <40BE2D0E.6040009@pbp.net> <1086205953.24881.173.camel@tesuji.nac.uci.edu> <40C3EDE0.9030803@pbp.net> Message-ID: <40C3F569.8030208@pbp.net> > Uh, where's this? :) > > import sys > sys.path.append('/dcslib/allsys/packages/python/local-lib') > import random > > I'm guessing.. here? Nevermind, I got it. And it's working perfectly. THanks! :D ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Mon Jun 7 09:58:20 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 7 Jun 2004 09:58:20 +0200 Subject: Checking Windows Eventlogs with Nagios Message-ID: <945C3F9C3F209144A12CB725111FC08D5E6E62@sygomail1.goe.ad.sycor.de> Hi, thanks for the fast response! I startet to try out the check_win_eventlog.pl. I installed it, and everything seems to be ok, but even when i force an error in the event log, i only get the status "Eventlog OK". When i use different , i get something like "./check_win_eventlog.pl -H sygoscala1.rz.sycor.de -s xyz -l 'System' -t '.*:+1:+2' Found 1142 errors. Last was: EVT_ID: 3 Time: Mon Jun 7 08:51:58 2004 Printer __dsdegoe1_DS03/PCADM76/Session 2 was deleted." which corresponds with the eventlog. But I won't get any Notification Mails or some Message from my Nagios. Here are the relevant config entries, i think i has something to do with the -s ...but don't know how to fix it. checkcommands.cfg: define command{ command_name check_win_eventlog command_line $USER1$/check_win_eventlog.pl -H $HOSTADDRESS$ -s $ARG1$ -l $ARG2$ -t $ARG3$ } services.cfg:# Eventlog sygoscala define service{ host_name sygoscala1.rz.sycor.de service_description Windows Eventlog use generic-service check_command check_win_eventlog!sygoscala1!System!.*:+1:+2 check_period 24x7 max_check_attempts 4 normal_check_interval 1 retry_check_interval 1 contact_groups xyz is_volatile 1 notification_interval 120 notification_period 24x7 notification_options c,r } # Eventlog pcadm76 define service{ host_name pcadm76 service_description Windows Eventlog use generic-service check_command check_win_eventlog!pcadm76!System!.*:+1:+2 check_period 24x7 max_check_attempts 4 normal_check_interval 1 retry_check_interval 1 contact_groups xyz is_volatile 1 notification_interval 120 notification_period 24x7 notification_options c,r } _____ From: sunilshriram.borkhedkar at wipro.com [mailto:sunilshriram.borkhedkar at wipro.com] Sent: Thursday, June 03, 2004 12:15 PM To: Sand Philipp Subject: RE: [Nagios-users] Checking Windows Eventlogs with Nagios hi, I am using one plugin but that is not standard plugin as provided with nagios.org The plugin is check_win_eventlog.pl You type this name in google u will find the exact site. Sunil -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sand Philipp Sent: Thursday, June 03, 2004 3:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking Windows Eventlogs with Nagios Hi, I hope this is the right Mailing list for this question... I wonder if it is possible to monitor the Windows 2000+ Event Logs with any kind of Nagios Plugin. Like sending an alarm mail when Error with ID xyz accours or someting like that. Could you give me a hint, which plugin i could use for that? I already googled for that, but had no luck in finding an answer. Thanks for help in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From magnus.hultgren at rps.police.se Mon Jun 7 11:09:00 2004 From: magnus.hultgren at rps.police.se (Magnus Hultgren) Date: Mon, 7 Jun 2004 11:09:00 +0200 Subject: Nagmin problems... Message-ID: <200406070915.i579FihJ004763@av-inet.police.se> Hi all! I have just set up a nagios with Mysql support and nagmin as management tool. Everything seems fine and dandy when it comes to nagmin and the Mysql communication, but when I try to operate nagios from nagmin, Activate - Status - Restart -Reload - Force Reload and Stop, I get these type of errors. Executing status HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Mon, 7 Jun 2004 10:55:55 GMT Content-type: text/html Connection: close Error - Perl execution failed Cannot execute status Anyone that can put me on track to get this working? Best regards, Magnus. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mana at web.de Mon Jun 7 12:32:51 2004 From: mana at web.de (Marko Naletilic) Date: Mon, 7 Jun 2004 10:32:51 +0000 (UTC) Subject: MySQL -> pros and cons References: <200406062345.57364.alchemyx@uznam.net.pl> Message-ID: Micha? Margula uznam.net.pl> writes: > > Hello! > > What are pros and cons of keeping nagios data in MySQL? I have MySQL database > on my monitoring host so it is not a problem. Currently I am monitoring 68 > hosts and 199 services. > Hi, In your szenario with 68 Hosts and 199 Services there shouldnt be any pro?s for Mysql. Except the realy minimal speed improve maybe. Lets say Nagios with around 1000 hosts and around 9000 services then i would prefer a database instead of files. Or you want to have multiple check machines write their status data together into one database. Also not to forgett : Mysql support is dropped (in the nagios core) for nagios >= 2.0. So everything you would do now wont be in place with the next version. Greetings Marko. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maca02 at atlas.cz Mon Jun 7 15:06:06 2004 From: maca02 at atlas.cz (=?ISO-8859-2?Q?Tom=E1=B9_Macek?=) Date: Mon, 7 Jun 2004 15:06:06 +0200 (CEST) Subject: problems with history Message-ID: Hi, I have this interesting problem: In web interface of the nagios program I clicked Host detail\From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Mon Jun 7 15:32:16 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 7 Jun 2004 15:32:16 +0200 Subject: Checking Windows Eventlogs with Nagios Message-ID: <945C3F9C3F209144A12CB725111FC08D33F164@sygomail1.goe.ad.sycor.de> Hi, i could solve the Problem on my own! I had configured "max_check_attempts 4" and you have to change this to 1, otherwise i won't work. _____ From: Sand Philipp Sent: Monday, June 07, 2004 9:58 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Checking Windows Eventlogs with Nagios Hi, thanks for the fast response! I startet to try out the check_win_eventlog.pl. I installed it, and everything seems to be ok, but even when i force an error in the event log, i only get the status "Eventlog OK". When i use different , i get something like "./check_win_eventlog.pl -H sygoscala1.rz.sycor.de -s xyz -l 'System' -t '.*:+1:+2' Found 1142 errors. Last was: EVT_ID: 3 Time: Mon Jun 7 08:51:58 2004 Printer __dsdegoe1_DS03/PCADM76/Session 2 was deleted." which corresponds with the eventlog. But I won't get any Notification Mails or some Message from my Nagios. Here are the relevant config entries, i think i has something to do with the -s ...but don't know how to fix it. checkcommands.cfg: define command{ command_name check_win_eventlog command_line $USER1$/check_win_eventlog.pl -H $HOSTADDRESS$ -s $ARG1$ -l $ARG2$ -t $ARG3$ } services.cfg:# Eventlog sygoscala define service{ host_name sygoscala1.rz.sycor.de service_description Windows Eventlog use generic-service check_command check_win_eventlog!sygoscala1!System!.*:+1:+2 check_period 24x7 max_check_attempts 4 normal_check_interval 1 retry_check_interval 1 contact_groups xyz is_volatile 1 notification_interval 120 notification_period 24x7 notification_options c,r } # Eventlog pcadm76 define service{ host_name pcadm76 service_description Windows Eventlog use generic-service check_command check_win_eventlog!pcadm76!System!.*:+1:+2 check_period 24x7 max_check_attempts 4 normal_check_interval 1 retry_check_interval 1 contact_groups xyz is_volatile 1 notification_interval 120 notification_period 24x7 notification_options c,r } _____ From: sunilshriram.borkhedkar at wipro.com [mailto:sunilshriram.borkhedkar at wipro.com] Sent: Thursday, June 03, 2004 12:15 PM To: Sand Philipp Subject: RE: [Nagios-users] Checking Windows Eventlogs with Nagios hi, I am using one plugin but that is not standard plugin as provided with nagios.org The plugin is check_win_eventlog.pl You type this name in google u will find the exact site. Sunil -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sand Philipp Sent: Thursday, June 03, 2004 3:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking Windows Eventlogs with Nagios Hi, I hope this is the right Mailing list for this question... I wonder if it is possible to monitor the Windows 2000+ Event Logs with any kind of Nagios Plugin. Like sending an alarm mail when Error with ID xyz accours or someting like that. Could you give me a hint, which plugin i could use for that? I already googled for that, but had no luck in finding an answer. Thanks for help in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From alchemyx at uznam.net.pl Mon Jun 7 16:40:15 2004 From: alchemyx at uznam.net.pl (=?utf-8?q?Micha=C5=82_Margula?=) Date: Mon, 7 Jun 2004 16:40:15 +0200 Subject: MySQL -> pros and cons In-Reply-To: References: <200406062345.57364.alchemyx@uznam.net.pl> Message-ID: <200406071640.15476.alchemyx@uznam.net.pl> Dnia pon 7. czerwca 2004 12:32, Marko Naletilic napisa?: > Also not to forgett : Mysql support is dropped (in the nagios core) for > nagios>= 2.0. So everything you would do now wont be in place with the next > version. Thank you for your reply. Does it mean that there will be no *SQL support in future versions of nagios at all? -- Micha? Margula, alchemyx at uznam.net.pl, http://alchemyx.uznam.net.pl/ "W ?yciu pi?kne s? tylko chwile" [Ryszard Riedel] ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 7 16:55:09 2004 From: marc at ena.com (Marc Powell) Date: Mon, 7 Jun 2004 09:55:09 -0500 Subject: MySQL -> pros and cons Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B645E@mismail2.ena.com> Micha? Margula wrote: > Dnia pon 7. czerwca 2004 12:32, Marko Naletilic napisa?: > > Also not to forgett : Mysql support is dropped (in the nagios core) > > for nagios>= 2.0. So everything you would do now wont be in place > > with the nagios>next version. > > Thank you for your reply. Does it mean that there will be no *SQL > support in future versions of nagios at all? No, just that there will be no support in the nagios core. Ethan has written a generalized Event Broker that will allow external modules to register for different types of information provided by the nagios daemon. That can and will likely be used to replace and expand upon the current database support. Last I checked the documentation for that particular part of 2.0 hadn't been completed so no one has had the opportunity to begin writing those modules yet. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davidf8 at yahoo.com Mon Jun 7 19:08:51 2004 From: davidf8 at yahoo.com (David Feinberg) Date: Mon, 7 Jun 2004 10:08:51 -0700 Subject: Compiling Plug-ins Can't Find fping or snmpget Message-ID: OS: Red Hat Enterprise Linux 3 When trying to compile nagios-plugins-1.3.1 it can't find fping or snmpget. Both of these packages/libraries are installed. rpm -q fping shows: fping-1.4b2-2 rpm -q net-snmp shows: net-snmp-5.0.9-2.30E.3 rpm -q net-snmp-devel shows: net-snmp-devel-5.0.9-2.30E.3 fping is located in /usr/sbin/fping and net-snmp is located in /usr/include/net-snmp I have tried passing the locations of these libraries at configure time but I wasn't sure of the correct syntax so it didn't help. Any help with this matter is appreciated. ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Mon Jun 7 19:46:56 2004 From: MG at ev3.net (Wheeler, MG) Date: Mon, 7 Jun 2004 12:46:56 -0500 Subject: Notifications Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CD5@mail.ev3.net> I know we have beat notifications into the ground and I have read the FAQ that people keep putting up but it says "or" to many times and I'm unclear... If a HOST has Notification Period = none and a Service on that host has a Notification period of 24x7 Should I still not receive notifications from the Service? Even if the host itself states none?? _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webmaster at margo.bijoux.nom.br Mon Jun 7 20:55:04 2004 From: webmaster at margo.bijoux.nom.br (Pedro Fernandes Macedo) Date: Mon, 07 Jun 2004 15:55:04 -0300 Subject: Question about perfdata In-Reply-To: <20040602165055.25740.qmail@hm145.locaweb.com.br> References: <40BE01D5.3080006@clewett.org.uk> <20040602165055.25740.qmail@hm145.locaweb.com.br> Message-ID: <1086634504.3406.15.camel@tirael> On Wed, 2004-06-02 at 13:50, Pedro Fernandes Macedo wrote: > > 2. You are using the latest nagios plugins. Only these produce > > performance data. You can check this by running one, like 'check_disk'. > > If you have performance data, this should reply: > gargamel:/opt/nagios/libexec# /opt/nagios/libexec/check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 1 > PING OK - Packet loss = 0%, RTA = 0.22 ms > gargamel:/opt/nagios/libexec# > Looks like I found the guilty part... > > Thanks for the help... Now I'm gonna fix this... > I've checked the config that works and it was pointing to the plugins installed by debian.. The ones compiled by my co-worker are the ones that dont produce output... I?ll ask him to recompile them... > Ok , now I'm having a hard time here. Reinstalled the nagios-plugins package from debian , and it didnt produce any performance data (when run from command line). Tried compiling both the latest release and the latest source from cvs and both didnt work... For the tests , I'm using this command: ./check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 2 The two usual outputs: 1 - compiled from nagios-plugins-HEAD-200406020514.tar.gz : -bash-2.05b$ ./check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 2 /bin/ping -n -U -w 12 -c 2 192.168.0.2 Error: Could not interpret output from ping command -bash-2.05b$ 2 - From the debian package: -bash-2.05b$ ./check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 2 PING OK - Packet loss = 0%, RTA = 0.16 ms -bash-2.05b$ Any ideas? I compiled the code from cvs using only ./configure; make ... Did I miss something? BTW , is the nagiosplug-help mailing list dead? I've posted this question there but never got an answer... -- Pedro Macedo ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgoggiano at doit.nv.gov Tue Jun 8 00:56:04 2004 From: dgoggiano at doit.nv.gov (Dan Goggiano) Date: Mon, 7 Jun 2004 15:56:04 -0700 Subject: Minor CGI Annoyance Message-ID: I am working out some final items before rolling this system out into production. I have one minor annoyance that I cannot figure out how to fix (or if it is possible). I am using the tactical display cgi (version 1.1 of nagios) and everything is perfect except under "services". The first column of that table (the critical column) is very wide and causes the table to run-off the screen to the right. Rather than forcing a resolution change, I'd prefer to be able to size this down. Any ideas? - Dan Goggiano Computer Operations Manager State of Nevada Department of Information Technology (775) 684-4306 This communication, including any attachments, may contain confidential information and is intended only for the individual or entity to it is addressed. Any review, dissemination or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-Mail and delete all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl at debisschop.net Tue Jun 8 03:55:58 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Mon, 07 Jun 2004 21:55:58 -0400 Subject: Question about perfdata In-Reply-To: <1086634504.3406.15.camel@tirael> References: <40BE01D5.3080006@clewett.org.uk> <20040602165055.25740.qmail@hm145.locaweb.com.br> <1086634504.3406.15.camel@tirael> Message-ID: <40C51CAE.1030307@debisschop.net> Pedro Fernandes Macedo wrote: >On Wed, 2004-06-02 at 13:50, Pedro Fernandes Macedo wrote: > > >>>2. You are using the latest nagios plugins. Only these produce >>>performance data. You can check this by running one, like 'check_disk'. >>> If you have performance data, this should reply: >>> >>> >>gargamel:/opt/nagios/libexec# /opt/nagios/libexec/check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 1 >>PING OK - Packet loss = 0%, RTA = 0.22 ms >>gargamel:/opt/nagios/libexec# >>Looks like I found the guilty part... >> >>Thanks for the help... Now I'm gonna fix this... >>I've checked the config that works and it was pointing to the plugins installed by debian.. The ones compiled by my co-worker are the ones that dont produce output... I?ll ask him to recompile them... >> >> >> > >Ok , now I'm having a hard time here. Reinstalled the nagios-plugins >package from debian , and it didnt produce any performance data (when >run from command line). Tried compiling both the latest release and the >latest source from cvs and both didnt work... > >For the tests , I'm using this command: >./check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 2 > >The two usual outputs: >1 - compiled from nagios-plugins-HEAD-200406020514.tar.gz : >-bash-2.05b$ ./check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 2 >/bin/ping -n -U -w 12 -c 2 192.168.0.2 >Error: Could not interpret output from ping command >-bash-2.05b$ > > The ping command in the error message is what the plugin is trying to execute. I assume you tried to run that and it just does not work. But it's possible that it works but gives 'surprising' output. >2 - From the debian package: >-bash-2.05b$ ./check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 2 >PING OK - Packet loss = 0%, RTA = 0.16 ms >-bash-2.05b$ > > > IIRC, there is a verbose option that will tell you what command the debian build is running. >Any ideas? I compiled the code from cvs using only ./configure; make ... >Did I miss something? > > Find out what the debian build is running, and use that as a configure option. >BTW , is the nagiosplug-help mailing list dead? I've posted this >question there but never got an answer... > > No - its just that the developers' day jobs seem to be taking over our lives. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DGibbs at Skychannel.com.au Tue Jun 8 06:11:15 2004 From: DGibbs at Skychannel.com.au (Darren Gibbs) Date: Tue, 8 Jun 2004 14:11:15 +1000 Subject: Using NAGIOS to read data gathered by MRTG? Message-ID: <3E5A678EA834B246A2CD598E8C188498681EEE@sky10.skychannel.int> Folks. I have a router which is monitored by MRTG to gather traffic stats - useage/load/data volume, and I want to have Nagios sent an alert email if the utilisation percentage on a given data link exceeds a threshold Will one of the standard plugins do this? If so, which one, and how do I make this work? Thanks. DaZZa --- "This message and any attachment to it is intended for the use of the individual or entity to whom it is addressed by the first sender and contains information which may be confidential and/or privileged. If you receive this message and any attachment in error, please delete it immediately and notify the sender by electronic mail or telephone (61 2) 9451 0888. Unless you have been expressly authorised by the sender, you are prohibited from copying, distributing or using the information contained in this message and any attachment. Sky Channel (ABN 77 009 136 010) is a part of the Tab Limited Group. Sky Channel is not responsible for any changes made to this mesage or any attachments other than those made by Sky Channel, or for the effects of changes made by others on the meaning of this message and any attachment. Sky Channel does not represent that any attachment is free from computer viruses or defects and the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of any attachment. ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Tue Jun 8 08:39:56 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Tue, 8 Jun 2004 08:39:56 +0200 Subject: Compiling Plug-ins Can't Find fping or snmpget In-Reply-To: References: Message-ID: <200406080839.57085.Michael.Huettig@Medien-Systempartner.de> Am Montag, 7. Juni 2004 19:08 schrieb David Feinberg: > OS: Red Hat Enterprise Linux 3 > > When trying to compile nagios-plugins-1.3.1 it can't find fping or snmpget. > Both of these packages/libraries are installed. > > rpm -q fping shows: fping-1.4b2-2 > rpm -q net-snmp shows: net-snmp-5.0.9-2.30E.3 > rpm -q net-snmp-devel shows: net-snmp-devel-5.0.9-2.30E.3 > > fping is located in /usr/sbin/fping and net-snmp is located in > /usr/include/net-snmp > > I have tried passing the locations of these libraries at configure time but > I wasn't sure of the correct syntax so it didn't help. Any help with this > matter is appreciated. > Hi, you have to be root on configure, make, but this is a possible security risc! If you are shure, that no one has modified your plugins and nag-src, you could trie it. regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Tue Jun 8 08:42:46 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Tue, 8 Jun 2004 08:42:46 +0200 Subject: Notifications In-Reply-To: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CD5@mail.ev3.net> References: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CD5@mail.ev3.net> Message-ID: <200406080842.46159.Michael.Huettig@Medien-Systempartner.de> Am Montag, 7. Juni 2004 19:46 schrieb Wheeler, MG: > I know we have beat notifications into the ground and I have read the FAQ > that people keep putting up but it says "or" to many times and I'm > unclear... > > > If a HOST has Notification Period = none > > and a Service on that host has a Notification period of 24x7 > > Should I still not receive notifications from the Service? Even if the > host itself states none?? No, you receive your service-notifications, if you won't get notifications, you have to define service / host dependencies. Regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jun 8 09:28:13 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Jun 2004 09:28:13 +0200 Subject: Minor CGI Annoyance In-Reply-To: References: Message-ID: <40C56A8D.8070400@op5.se> Dan Goggiano wrote: > I am using the tactical display cgi (version 1.1 of nagios) and > everything is perfect except under "services". The first column of that > table (the critical column) is very wide and causes the table to run-off > the screen to the right. Rather than forcing a resolution change, I'd > prefer to be able to size this down. Any ideas? > Download Nagios 1.2 and use. This bug is a known issue in the 1.1 (or was it 1.0b6?) release. > > - Dan Goggiano > Computer Operations Manager > State of Nevada > Department of Information Technology > (775) 684-4306 > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeramy.Eling at britax-pmg.com Tue Jun 8 09:28:06 2004 From: Jeramy.Eling at britax-pmg.com (Jeramy Eling) Date: Tue, 8 Jun 2004 08:28:06 +0100 Subject: Couple Of Newbie Questions Message-ID: <5CD3BFF77DFFD411BCD100D0B720F945198493@probe.britax-pmg.com> Hi All, I am new to Nagios, and so far I set up the system to monitor some of our servers and switches etc. and it is working very well indeed. However I have a couple of questions which I hope someone might be able to help me with:- Nagios Version - 1.2 OS - Redhat 9.0 1) Whenever I look at the host detail screen I see the servers and switches etc. all in green and all online. However the Status Information column simply says (Host assumed to be up). Is this normal or can I change a setting to get a more accurate response? 2) Whenever I look at the Trends graphs they are all blank or showing offline, even when the device is online and responding to queries. I have spent a couple of days on this one but still not managed to solve it. Any suggestions would be welcomed. 3) Finally, and this a beatification question. I see from the screen shots on the nagios website that the 3-D status world screen can have the small boxes as the icon for the device and not just a green box with an icon overlaid on top. Does anyone know what to change to make this happen? Many thanks in advance for your help with these matters. Jez ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben at clewett.org.uk Tue Jun 8 09:33:41 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Tue, 08 Jun 2004 08:33:41 +0100 Subject: Question about perfdata In-Reply-To: <1086634504.3406.15.camel@tirael> References: <40BE01D5.3080006@clewett.org.uk> <20040602165055.25740.qmail@hm145.locaweb.com.br> <1086634504.3406.15.camel@tirael> Message-ID: <40C56BD5.7060307@clewett.org.uk> I can help with the problem of no performance data. You must get the latest snapshot plugins and use them. This is currently: http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-HEAD-200406080514.tar.gz I don't know about the ping, sorry. Regards, Ben. Pedro Fernandes Macedo wrote: > On Wed, 2004-06-02 at 13:50, Pedro Fernandes Macedo wrote: > >>>2. You are using the latest nagios plugins. Only these produce >>>performance data. You can check this by running one, like 'check_disk'. >>> If you have performance data, this should reply: >> >>gargamel:/opt/nagios/libexec# /opt/nagios/libexec/check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 1 >>PING OK - Packet loss = 0%, RTA = 0.22 ms >>gargamel:/opt/nagios/libexec# >>Looks like I found the guilty part... >> >>Thanks for the help... Now I'm gonna fix this... >>I've checked the config that works and it was pointing to the plugins installed by debian.. The ones compiled by my co-worker are the ones that dont produce output... I?ll ask him to recompile them... >> > > > Ok , now I'm having a hard time here. Reinstalled the nagios-plugins > package from debian , and it didnt produce any performance data (when > run from command line). Tried compiling both the latest release and the > latest source from cvs and both didnt work... > > For the tests , I'm using this command: > ./check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 2 > > The two usual outputs: > 1 - compiled from nagios-plugins-HEAD-200406020514.tar.gz : > -bash-2.05b$ ./check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 2 > /bin/ping -n -U -w 12 -c 2 192.168.0.2 > Error: Could not interpret output from ping command > -bash-2.05b$ > > 2 - From the debian package: > -bash-2.05b$ ./check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 2 > PING OK - Packet loss = 0%, RTA = 0.16 ms > -bash-2.05b$ > > Any ideas? I compiled the code from cvs using only ./configure; make ... > Did I miss something? > > > BTW , is the nagiosplug-help mailing list dead? I've posted this > question there but never got an answer... > > -- > Pedro Macedo > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at kernzeit.com Tue Jun 8 11:15:26 2004 From: me-lists at kernzeit.com (Matthias Eichler) Date: Tue, 08 Jun 2004 11:15:26 +0200 Subject: Using NAGIOS to read data gathered by MRTG? In-Reply-To: <3E5A678EA834B246A2CD598E8C188498681EEE@sky10.skychannel.int> References: <3E5A678EA834B246A2CD598E8C188498681EEE@sky10.skychannel.int> Message-ID: <1086686126.3493.8.camel@blindzero> The notification about the breaking of some threshold is something else than the progress of the data-consumption graphically shown by MRTG. I would try to merge both into more or less one application through the nagios add-on APAN. Matthias Am Di, den 08.06.2004 um 14:11 Uhr +1000 schrieb Darren Gibbs: > Folks. > > I have a router which is monitored by MRTG to gather traffic stats - > useage/load/data volume, and I want to have Nagios sent an alert email if > the utilisation percentage on a given data link exceeds a threshold > > Will one of the standard plugins do this? If so, which one, and how do I > make this work? > > Thanks. > > DaZZa > > --- > "This message and any attachment to it is intended for the use of the individual or entity to whom it is addressed by the first sender and contains information which may be confidential and/or privileged. > > If you receive this message and any attachment in error, please delete it immediately and notify the sender by electronic mail or telephone (61 2) 9451 0888. Unless you have been expressly authorised by the sender, you are prohibited from copying, distributing or using the information contained in this message and any attachment. > > Sky Channel (ABN 77 009 136 010) is a part of the Tab Limited Group. Sky Channel is not responsible for any changes made to this mesage or any attachments other than those made by Sky Channel, or for the effects of changes made by others on the meaning of this message and any attachment. > > Sky Channel does not represent that any attachment is free from computer viruses or defects and the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of any attachment. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Matthias Eichler Leiter IT __________________________________________________________ kernzeit AG Rudolf-Diesel-Strasse 15 t: +49 89 / 55 26 25-31 85521 Ottobrunn f: +49 89 / 55 26 25-99 Germany http://www.kernzeit.com __________________________________________________________ it l?sungen & digitale medien _________________________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon-SVHme89sSHE at public.gmane.org Tue Jun 8 11:58:47 2004 From: verdon-SVHme89sSHE at public.gmane.org (carole verdon) Date: Tue, 08 Jun 2004 11:58:47 +0200 Subject: PB with NRPE: No output returned from plugin Message-ID: <40C58DD7.3080407@cict.fr> Hi, In web interface of nagios (v 1.2), i obtain a status UNKNOWN with this message: (No output returned from plugin) If i execute the check_nrpe (v 2.0) in line command on server nagios, it works well: $ ./check_nrpe_nossl -H telline.cict.fr -c check_oracle all databases OK check_oracle is defined in nrpe.cfg as: command[check_oracle]=/usr/local/nagios/libexec/check_oracle_databases.sh the check_oracle_databases.sh is a script i wrote to take dynamically into account the file /etc/oratab to verify all databases that it contains. It calls the check_oracle scripts of core distribution of nagios-plugins-1.4.0alpha1 that i modified a little. I use NagMin 2.1.0 to configure nagios. So i define a service called "Oracle" with the check command : check_nrpe_nossl!check_oracle In service.cfg: define service { use generic-service host_name telline.cict.fr service_description Oracle contact_groups nagios-admins check_period 24x7 notification_interval 2880 notification_options w,u,c,r notification_period 24x7 check_command check_nrpe_nossl!check_oracle max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 } I don't understand why it works in line commands on nagios server and that it don't work if i define this service in nagios. Can you tell me where is the error? What am i doing? Please, help me.... Thanks. Carole. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_oracle.sh Type: application/x-sh Size: 7690 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_oracle_databases.sh Type: application/x-sh Size: 2119 bytes Desc: not available URL: From BolducB at brandonrha.mb.ca Tue Jun 8 15:22:50 2004 From: BolducB at brandonrha.mb.ca (Bolduc, Blair) Date: Tue, 8 Jun 2004 08:22:50 -0500 Subject: running .pl script thru nrpe Message-ID: <4E6166BD7D4FD541AB7067DF45F9D8D003A12D@brha-exch1-2k.brandonrha.mb.ca> Seriously stumped as to why the return value from the check_qmailq.pl plugin runs fine from the command line, but when trying to run it through nrpe it returns the following: OK: -1 emails not sent, -1 not processed. The state returns correctly but the numbers always return as -1. The setup is nagios-1.1, plugins-1.4, nrpe-2.0. We've tried tweaking the script a dozen ways but always comes back as -1. Any pointers at all would be appreciated. Thanks Blair Bolduc Operations/Monitoring Brandon Regional Health Authority ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Tue Jun 8 15:40:22 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 8 Jun 2004 09:40:22 -0400 Subject: Minor CGI Annoyance Message-ID: I think it's this way for everyone... kinda stinks, eh? ----- John N. Doyle, Network+ Certified Professional Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 >PGP Key Available: http://68.106.83.67:8082/pgp.txt -----Original Message----- From: Dan Goggiano [mailto:dgoggiano at doit.nv.gov] Sent: Monday, June 07, 2004 6:56 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Minor CGI Annoyance I am working out some final items before rolling this system out into production. I have one minor annoyance that I cannot figure out how to fix (or if it is possible). I am using the tactical display cgi (version 1.1 of nagios) and everything is perfect except under "services". The first column of that table (the critical column) is very wide and causes the table to run-off the screen to the right. Rather than forcing a resolution change, I'd prefer to be able to size this down. Any ideas? - Dan Goggiano Computer Operations Manager State of Nevada Department of Information Technology (775) 684-4306 This communication, including any attachments, may contain confidential information and is intended only for the individual or entity to it is addressed. Any review, dissemination or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-Mail and delete all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdoyle at lewisgaleclinic.com Tue Jun 8 15:45:23 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 8 Jun 2004 09:45:23 -0400 Subject: Couple Of Newbie Questions Message-ID: Host Assumed To Be Up is the initial status until there is actually a problem with the host. It won't check the host itself until there is a problem with a service on that host. That is why you should always have at least one service defined for a host. Ping is a great one to use. On the Trends graph, it only logs changes.. so you may want to say Assume Initial State and set it to Up. ----- John N. Doyle, Network+ Certified Professional Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 >PGP Key Available: http://68.106.83.67:8082/pgp.txt -----Original Message----- From: Jeramy Eling [mailto:Jeramy.Eling at britax-pmg.com] Sent: Tuesday, June 08, 2004 3:28 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Couple Of Newbie Questions Hi All, I am new to Nagios, and so far I set up the system to monitor some of our servers and switches etc. and it is working very well indeed. However I have a couple of questions which I hope someone might be able to help me with:- Nagios Version - 1.2 OS - Redhat 9.0 1) Whenever I look at the host detail screen I see the servers and switches etc. all in green and all online. However the Status Information column simply says (Host assumed to be up). Is this normal or can I change a setting to get a more accurate response? 2) Whenever I look at the Trends graphs they are all blank or showing offline, even when the device is online and responding to queries. I have spent a couple of days on this one but still not managed to solve it. Any suggestions would be welcomed. 3) Finally, and this a beatification question. I see from the screen shots on the nagios website that the 3-D status world screen can have the small boxes as the icon for the device and not just a green box with an icon overlaid on top. Does anyone know what to change to make this happen? Many thanks in advance for your help with these matters. Jez ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Jun 8 15:46:11 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 8 Jun 2004 07:46:11 -0600 Subject: Using NAGIOS to read data gathered by MRTG? Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E91F0@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Folks. > > I have a router which is monitored by MRTG to gather traffic stats - > useage/load/data volume, and I want to have Nagios sent an > alert email if > the utilisation percentage on a given data link exceeds a threshold > > Will one of the standard plugins do this? If so, which one, > and how do I > make this work? > > Thanks. > > DaZZa It depends... Are you using MRTG with log files or an .rrd backend? There are plugins available to check both. Look in the plugin source contrib directory, if you don't find them in nagios/libexec. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at tac.esi.net Tue Jun 8 15:56:43 2004 From: chris at tac.esi.net (Chris Hammond) Date: Tue, 08 Jun 2004 09:56:43 -0400 Subject: Minor CGI Annoyance In-Reply-To: References: Message-ID: <1086703003.2558.15.camel@nocsup> I believe that problem is fixed in 1.2 and I know it is fixed in 2.0 which is quite stable and have been running fine. Chris On Tue, 2004-06-08 at 09:40 -0400, Jack Doyle wrote: > I think it's this way for everyone... kinda stinks, eh? > > > > ----- > John N. Doyle, Network+ Certified Professional > Systems Operations Specialist > Lewis-Gale Clinic Information Systems > > 540.772.3669 > > >PGP Key Available: http://68.106.83.67:8082/pgp.txt > > > -----Original Message----- > From: Dan Goggiano [mailto:dgoggiano at doit.nv.gov] > Sent: Monday, June 07, 2004 6:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Minor CGI Annoyance > > > > I am working out some final items before rolling this system > out into production. I have one minor annoyance that I cannot > figure out how to fix (or if it is possible). > > > > I am using the tactical display cgi (version 1.1 of nagios) > and everything is perfect except under ?services?. The first > column of that table (the critical column) is very wide and > causes the table to run-off the screen to the right. Rather > than forcing a resolution change, I?d prefer to be able to > size this down. Any ideas? > > > > > - Dan Goggiano > Computer Operations Manager > State of Nevada > Department of Information Technology > (775) 684-4306 > > > This communication, including any attachments, may contain > confidential information and is intended only for the > individual or entity to it is addressed. Any review, > dissemination or copying of this communication by anyone other > than the intended recipient is strictly prohibited. If you are > not the intended recipient, please contact the sender by reply > e-Mail and delete all copies of the original message. > > > > -- Chris Hammond ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Tue Jun 8 15:58:05 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 08 Jun 2004 08:58:05 -0500 Subject: running .pl script thru nrpe In-Reply-To: <4E6166BD7D4FD541AB7067DF45F9D8D003A12D@brha-exch1-2k.brandonrha.mb.ca> References: <4E6166BD7D4FD541AB7067DF45F9D8D003A12D@brha-exch1-2k.brandonrha.mb.ca> Message-ID: <1086703085.27955.102.camel@localhost> when you run it on the command line, are you running it as the nagios user? On Tue, 2004-06-08 at 08:22, Bolduc, Blair wrote: > Seriously stumped as to why the return value from the check_qmailq.pl plugin > runs fine from the command line, but when trying to run it through nrpe it > returns the following: > > OK: -1 emails not sent, -1 not processed. > > The state returns correctly but the numbers always return as -1. > The setup is nagios-1.1, plugins-1.4, nrpe-2.0. We've tried tweaking the > script a dozen ways but always comes back as -1. > > Any pointers at all would be appreciated. Thanks > > Blair Bolduc > Operations/Monitoring > Brandon Regional Health Authority > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhawal at netmagicsolutions.com Tue Jun 8 16:30:24 2004 From: dhawal at netmagicsolutions.com (Dhawal Doshy) Date: Tue, 08 Jun 2004 20:00:24 +0530 Subject: Minor CGI Annoyance In-Reply-To: References: Message-ID: <40C5CD80.1000908@netmagicsolutions.com> I vaguely remember of a patch to fix it. Search for tac.c in the 2003 sourceforge nagios-users list archives OR upgrade to 1.2 :-) - dhawal Jack Doyle wrote: > I think it's this way for everyone... kinda stinks, eh? > > ----- > John N. Doyle, Network+ Certified Professional > Systems Operations Specialist > Lewis-Gale Clinic Information Systems > > 540.772.3669 > > >PGP Key Available: http://68.106.83.67:8082/pgp.txt > > -----Original Message----- > *From:* Dan Goggiano [mailto:dgoggiano at doit.nv.gov] > *Sent:* Monday, June 07, 2004 6:56 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Minor CGI Annoyance > > I am working out some final items before rolling this system out > into production. I have one minor annoyance that I cannot figure > out how to fix (or if it is possible). > > I am using the tactical display cgi (version 1.1 of nagios) and > everything is perfect except under ?services?. The first column of > that table (the critical column) is very wide and causes the table > to run-off the screen to the right. Rather than forcing a > resolution change, I?d prefer to be able to size this down. Any ideas? > > > >- Dan Goggiano > >Computer Operations Manager > >State of Nevada > >Department of Information Technology > >(775) 684-4306 > > > > This communication, including any attachments, may contain > confidential information and is intended only for the individual > or entity to it is addressed. Any review, dissemination or copying > of this communication by anyone other than the intended recipient > is strictly prohibited. If you are not the intended recipient, > please contact the sender by reply e-Mail and delete all copies of > the original message. > ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Jun 8 16:41:21 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 8 Jun 2004 08:41:21 -0600 Subject: Changing config files while nagios is running causes webinterface to mess up Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E91F2@golden-m.mactec.com> This is really a question for Nagios-Users, so I've cross posted. Please continue thread there if necessary. nagios-devel-admin at lists.sourceforge.net wrote: > Dear all, > > currently, I often change the configuration files of Nagios (Ver. 1.1) > because we get a lot of new equipment these days. > If I change the config files while Nagios is running, the Nagios web > page starts to mess up, e.g. several devices disappear. > > My question: Am I doing something against the good practices > if I edit > the config files without stopping the Nagios service first? That depends, does it annoy you or other Nagios users during the time that you start editing the configs and when you restart Nagios? If not, don't worry about it, I don't believe that it will hurt anything to do it the way that you are. > > I don't understand too much about the architecture of Nagios, but > according to chapter "Stopping And Restarting Nagios" of the online > documentation > http://nagios.sourceforge.net/docs/1_0/stoprestart.html > Nagios should only check the config files and (re)read them > if I start, > restart or reload the service. > So, maybe, it's just the web interface which gets confused about my > config changes? I believe that this is correct. Perhaps someone else can confirm. > > Of course, I could use a second set of config files to work > on. Then, I > would write a script which checks the copied set of config > files, stops > the service, copies them to the directory used by Nagios and > start the > service again.... Here's what I do. First, I copy my original config to .orig and .new, with the .orig file only being used if I should happen to really screw up and need to back out. Then, I edit the .new file. There is no need to write a script, as you can simply run nagios with the -v (verify, I think) option against your new config to see if it works: /path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg If there are no errors reported, copy .new to .cfg and restart. HTH Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org From BolducB at brandonrha.mb.ca Tue Jun 8 16:40:50 2004 From: BolducB at brandonrha.mb.ca (Bolduc, Blair) Date: Tue, 8 Jun 2004 09:40:50 -0500 Subject: running .pl script thru nrpe Message-ID: <4E6166BD7D4FD541AB7067DF45F9D8D003A162@brha-exch1-2k.brandonrha.mb.ca> We can run it fine from the command line as either root or nagios. The string returns okay, its just that the integers are always -1. Is there some issue between nrpe (which is c) and perl? Its confusing why only the numbers don't return properly. -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Tuesday, June 08, 2004 08:58 To: Bolduc, Blair Cc: 'Nagios (E-mail)' Subject: Re: [Nagios-users] running .pl script thru nrpe when you run it on the command line, are you running it as the nagios user? On Tue, 2004-06-08 at 08:22, Bolduc, Blair wrote: > Seriously stumped as to why the return value from the check_qmailq.pl plugin > runs fine from the command line, but when trying to run it through nrpe it > returns the following: > > OK: -1 emails not sent, -1 not processed. > > The state returns correctly but the numbers always return as -1. > The setup is nagios-1.1, plugins-1.4, nrpe-2.0. We've tried tweaking the > script a dozen ways but always comes back as -1. > > Any pointers at all would be appreciated. Thanks > > Blair Bolduc > Operations/Monitoring > Brandon Regional Health Authority > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Jun 8 16:17:30 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 8 Jun 2004 08:17:30 -0600 Subject: Minor CGI Annoyance Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E91F1@golden-m.mactec.com> Well, no, it's not this way for everyone. There was a patch released for v 1.1 to fix this issues, and it was fixed in the stable release v 1.2, as mentioned by Andreas Ericsson in a previous email. Upgrade Nagios and the problem goes away. Or, search the archives for the patch, I'm sure it was posted to the list more than once. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jack Doyle Sent: Tuesday, June 08, 2004 7:40 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Minor CGI Annoyance I think it's this way for everyone... kinda stinks, eh? ----- John N. Doyle, Network+ Certified Professional Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 >PGP Key Available: http://68.106.83.67:8082/pgp.txt -----Original Message----- From: Dan Goggiano [mailto:dgoggiano at doit.nv.gov] Sent: Monday, June 07, 2004 6:56 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Minor CGI Annoyance I am working out some final items before rolling this system out into production. I have one minor annoyance that I cannot figure out how to fix (or if it is possible). I am using the tactical display cgi (version 1.1 of nagios) and everything is perfect except under "services". The first column of that table (the critical column) is very wide and causes the table to run-off the screen to the right. Rather than forcing a resolution change, I'd prefer to be able to size this down. Any ideas? - Dan Goggiano Computer Operations Manager State of Nevada Department of Information Technology (775) 684-4306 This communication, including any attachments, may contain confidential information and is intended only for the individual or entity to it is addressed. Any review, dissemination or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-Mail and delete all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthony at caretechgroup.com Tue Jun 8 20:17:28 2004 From: anthony at caretechgroup.com (Anthony Lieuallen) Date: Tue, 08 Jun 2004 11:17:28 -0700 Subject: problem with alerts Message-ID: <40C602B8.1030505@caretechgroup.com> I've been having some problems recently. In short, in my misccommands.cfg: # 'notify-by-email' command definition define command{ command_name notify-by-email command_line echo -e "To: $CONTACTEMAIL$\nFrom: nagios at outoftheboxgroup.com\nSubject: ** $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **\n\n***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$\n" | /usr/sbin/sendmail -bm $CONTACTEMAIL$ } The message gets sent fine. And was certainly working alright for a while. But now the message subjects come through as, for example, "** PROBLEM - cisco/ is **" Clearly leaving off the service name and state. Any ideas? Thanks. ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Tue Jun 8 18:38:52 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 08 Jun 2004 17:38:52 +0100 Subject: Minor CGI Annoyance In-Reply-To: References: Message-ID: <20040608163852.3022.qmail@minnow.softflare.net> Jack Doyle writes: > I think it's this way for everyone... kinda stinks, eh? If you bothered to search the archives for this list you'd find somebody posted a patch for the problem a few weeks ago. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jamie_Bohr at Agilent.com Tue Jun 8 18:58:49 2004 From: Jamie_Bohr at Agilent.com (Jamie Bohr) Date: Tue, 08 Jun 2004 10:58:49 -0600 Subject: obsess_over_service Message-ID: <1086713929.3457.40.camel@rdrunner.cos.agilent.com> Can I assume the obsess_over_service is similar obsess_over_services in that is forces the state of the service to be recording immediately? Some one please clue me in. -- Jamie Bohr -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Tue Jun 8 19:03:17 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 8 Jun 2004 10:03:17 -0700 (PDT) Subject: obsess_over_service In-Reply-To: <1086713929.3457.40.camel@rdrunner.cos.agilent.com> References: <1086713929.3457.40.camel@rdrunner.cos.agilent.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Can I assume the obsess_over_service is similar obsess_over_services in > that is forces the state of the service to be recording immediately? It doesn't force the state to be recorded immediately, but it does pass the state off a command that (usually) sends the result off to another host. - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAxfFal2ODWuqVSBMRAssnAJ9V5cAzKZHVy2R+7f3Fpfl4TCY37QCgnbrQ YGbWVOv8tgOTMMGgFjWxuis= =B8bI -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Tue Jun 8 19:05:45 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Tue, 8 Jun 2004 14:05:45 -0300 (BRT) Subject: VMRL in Linux Message-ID: Is it really possible to see the VRML Status Map in Mozilla/Linux? I have been trying to make it work for a whole week! To install the plugins does the person need 10 years of expirence with compilation and linux commands? I have never seen it working in a linux box. Does anybody has good hints on installing vrml? thank you. -- Leonardo Henrique Machado ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jun 8 19:15:32 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Jun 2004 19:15:32 +0200 Subject: VMRL in Linux In-Reply-To: References: Message-ID: <40C5F434.4060501@op5.se> Leonardo Henrique Machado wrote: > Is it really possible to see the VRML Status Map in Mozilla/Linux? > I think so, but like with Java or Flash, you need the proper plugin in the webbrowser for it. > I have been trying to make it work for a whole week! To install the > plugins does the person need 10 years of expirence with compilation and > linux commands? > Not necessarily, no. It does however require that you have the correct libraries installed beforehand. Use the 'ldd' command on the browser plugin. That will tell you if any of them are missing. > I have never seen it working in a linux box. Does anybody has good hints > on installing vrml? > Nopes, sorry, but you could try the FireFox mailing list archives (browse www.mozilla.org for them). It holds a positive abundance of information. > > thank you. You're welcome. -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nene at sal.gbnet.cc Tue Jun 8 19:29:44 2004 From: nene at sal.gbnet.cc (Nene) Date: Tue, 08 Jun 2004 11:29:44 -0600 Subject: Trying to get Nagios UP Message-ID: <1086715783.4971.13.camel@localhost.localdomain> Hi everybody, I?m trying to run Nagios for the first time, but when I make the checking using the nagios -v command, the console showed to me this lines: Checking service dependencies... Error: Service dependency definition for service 'PING' on host 'cima' is circular (it depends on itself)! Error: Service dependency definition for service 'PING' on host 'cima' is circular (it depends on itself)! Checked 2 service dependencies. Total Warnings: 0 Total Errors: 2 I really don?t understand what is the meaning of the lines before, I?d checked my dependencies.cfg file and everything looks fine. Can anyone guide me to solve my issue ? I will appreciate a lot... By the way, I?m running Nagios 1.2 over Fedora Core 2 Best Regards Nene ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Tue Jun 8 20:33:28 2004 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Tue, 8 Jun 2004 14:33:28 -0400 Subject: Trying to get Nagios UP Message-ID: Could you include your services.cfg or at least the parts that define ``PING'' for ``cima''? And how about the dependencies.cfg file? Or better yet, why not post them on your web site so those who are interested in helping can get them w/o filling everyone's inbox. ---- Charles H. Baker Unix/Linux Systems Administrator, RHCE 803003765209325 chbaker at ps.rockwell.com work: 864.281.2409 cell: 864.363.5302 Whatever you vividly imagine, ardently desire, sincerely believe and enthusiastically act upon, must inevitably come to pass. Paul J. Meyer Nene Sent by: To: nagios-users at lists.sourceforge.net nagios-users-admin at lists.sour cc: ceforge.net Subject: [Nagios-users] Trying to get Nagios UP 06/08/2004 01:29 PM Hi everybody, I?m trying to run Nagios for the first time, but when I make the checking using the nagios -v command, the console showed to me this lines: Checking service dependencies... Error: Service dependency definition for service 'PING' on host 'cima' is circular (it depends on itself)! Error: Service dependency definition for service 'PING' on host 'cima' is circular (it depends on itself)! Checked 2 service dependencies. Total Warnings: 0 Total Errors: 2 I really don?t understand what is the meaning of the lines before, I?d checked my dependencies.cfg file and everything looks fine. Can anyone guide me to solve my issue ? I will appreciate a lot... By the way, I?m running Nagios 1.2 over Fedora Core 2 Best Regards Nene ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Tue Jun 8 21:48:15 2004 From: zsitfa at axelero.hu (=?ISO-8859-1?Q?Horv=E1th_Tam=E1s?=) Date: 08 Jun 2004 21:48:15 +0200 Subject: problems with history Message-ID: <1086724094.1336.4.camel@localhost.localdomain> Hi! I have the same problem than Tom! Does anyone know the solution? Tom: what kind of patch dou you have? Can cou send it to me? Thanks, Tamas! ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Tue Jun 8 22:24:40 2004 From: zsitfa at axelero.hu (=?ISO-8859-1?Q?Horv=E1th_Tam=E1s?=) Date: 08 Jun 2004 22:24:40 +0200 Subject: Scheduling queue seems to be lagging behind real time Message-ID: <1086726280.1336.31.camel@localhost.localdomain> Hi! This was a topic 29 May 2004 and I found it very interesting, because I experienced the same situation: "nagios appears to be running fine it is just that when I look at my scheduling queue the tests at the top of the queue seem to be constantly" 30 s - 5 mins behind real time. I run only one main Nagios process in one monitoring machine (Debian 2.4, Nagios 1.1, cca. 500 servies and 380 hosts). I run nagios -s ... and it said 9 and 27 for the max_concurrent_checks value and I set 35. I have <1s latency and <1-2 s average check time, but max check time sometimes is 8 s.Despite these the scheduling queue data sometimes good, sometimes behind real time. How can I solve this problem? Is this a realtionship between latency and check time values which appears on the Performance screen and the time difference against real time on the Scheduling Queue? Thanks, Tamas! ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DGibbs at Skychannel.com.au Wed Jun 9 00:44:04 2004 From: DGibbs at Skychannel.com.au (Darren Gibbs) Date: Wed, 9 Jun 2004 08:44:04 +1000 Subject: FW: Using NAGIOS to read data gathered by MRTG? Message-ID: <3E5A678EA834B246A2CD598E8C188498681EF2@sky10.skychannel.int> [Sorry Garry - didn't mean to send this to you directly - not used to using Outlook for listmail yet, and don't hit "Reply to All" automatically] [Resent to mailing list] >> I have a router which is monitored by MRTG to gather traffic stats - >> useage/load/data volume, and I want to have Nagios sent an >> alert email if >> the utilisation percentage on a given data link exceeds a threshold >> >> Will one of the standard plugins do this? If so, which one, >> and how do I make this work? > >It depends... Are you using MRTG with log files or an .rrd backend? >There are plugins available to check both. Look in the plugin source >contrib directory, if you don't find them in nagios/libexec. It's just running log files. There are a couple of mrtg pluging in nagios/libexec, but I can't figure out how to use them, and the docs aren't very helpful. DaZZa --- "This message and any attachment to it is intended for the use of the individual or entity to whom it is addressed by the first sender and contains information which may be confidential and/or privileged. If you receive this message and any attachment in error, please delete it immediately and notify the sender by electronic mail or telephone (61 2) 9451 0888. Unless you have been expressly authorised by the sender, you are prohibited from copying, distributing or using the information contained in this message and any attachment. Sky Channel (ABN 77 009 136 010) is a part of the Tab Limited Group. Sky Channel is not responsible for any changes made to this mesage or any attachments other than those made by Sky Channel, or for the effects of changes made by others on the meaning of this message and any attachment. Sky Channel does not represent that any attachment is free from computer viruses or defects and the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of any attachment. ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christopher at bergeron.com Wed Jun 9 01:55:55 2004 From: christopher at bergeron.com (Christopher Bergeron) Date: Tue, 08 Jun 2004 19:55:55 -0400 Subject: 512 byte limit on PROCESS STATUS output? Message-ID: <40C6520B.3030809@bergeron.com> Is there a configuration option for changing the 512 byte limit that nsca returns to nagios? I'm not sure if the limitation is on the nsca_send command or the nagios receiver. Any hints or leads are greatly appreciated. Thanks in advance! Chris Bergeron ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webmaster at margo.bijoux.nom.br Tue Jun 8 22:14:24 2004 From: webmaster at margo.bijoux.nom.br (Pedro Fernandes Macedo) Date: Tue, 08 Jun 2004 17:14:24 -0300 Subject: Question about perfdata In-Reply-To: <40C56BD5.7060307@clewett.org.uk> References: <40BE01D5.3080006@clewett.org.uk> <20040602165055.25740.qmail@hm145.locaweb.com.br> <1086634504.3406.15.camel@tirael> <40C56BD5.7060307@clewett.org.uk> Message-ID: <40C61E20.3010703@margo.bijoux.nom.br> Ben Clewett wrote: > I can help with the problem of no performance data. You must get the > latest snapshot plugins and use them. This is currently: > > http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-HEAD-200406080514.tar.gz > > > I don't know about the ping, sorry. > > Regards, Ben. Thx for the hint.. I'll try this package later... But I'm doing more tests here and it doesnt seem to work anyway... I've made a small plugin that checks if xmms is running and then prints the user that is running it... Here's the output: gargamel:/opt/nagios/var# /opt/nagios/libexec/check_nrpe -H 150.164.254.25 -c check_xmms_192.168.1.4 1 usando xmms|user = someuser, numero = 1 - Usu?rio: someuser gargamel:/opt/nagios/var# This service is configured in nagios , but it never shows up in the serviceperf.log file... In the interface , it shows up ok... Any ideas on what could be wrong? I've put my nagios.cfg below .... Just to be safe , I've enabled perfdata both in nagios.cfg and in the template definitions for all services... -- Pedro Macedo soft_state_dependencies=1 log_file=/opt/nagios/var/nagios.log process_performance_data=0 xpdfile_host_perfdata_template=$TIMET$::$HOSTNAME$::$OUTPUT$::$PERFDATA$ xpdfile_service_perfdata_template=$TIMET$::$HOSTNAME$::$SERVICEDESC$::$OUTPUT$::$PERFDATA$ xpdfile_service_perfdata_file=/opt/nagios/var/serviceperf.log xpdfile_host_perfdata_file=/opt/nagios/var/hostperf.log cfg_file=/opt/nagios/etc/checkcommands.cfg cfg_file=/opt/nagios/etc/misccommands.cfg cfg_file=/opt/nagios/etc/contactgroups.cfg cfg_file=/opt/nagios/etc/contacts.cfg cfg_file=/opt/nagios/etc/dependencies.cfg cfg_file=/opt/nagios/etc/escalations.cfg cfg_file=/opt/nagios/etc/hostgroups.cfg cfg_file=/opt/nagios/etc/timeperiods.cfg cfg_dir=/opt/nagios/etc/clientes cfg_dir=/opt/nagios/etc/servicos resource_file=/opt/nagios/etc/resource.cfg status_file=/opt/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/opt/nagios/var/rw/nagios.cmd comment_file=/opt/nagios/var/comment.log downtime_file=/opt/nagios/var/downtime.log lock_file=/opt/nagios/var/nagios.lock temp_file=/opt/nagios/nagios.tmp log_rotation_method=d log_archive_path=/opt/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/opt/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=1 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=0 enable_event_handlers=1 obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=nagios admin_pager=pagenagios ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pikelner at rogers.com Wed Jun 9 04:07:15 2004 From: pikelner at rogers.com (Frank Pikelner) Date: Tue, 8 Jun 2004 22:07:15 -0400 Subject: Modify Nagios menu on left side Message-ID: <000201c44dc6$7daa9090$98aa6418@netcraftinc.int> I've noticed from Nagios screen shots on several sites (e.g. http://apan.sourceforge.net/) that users have been able to modify the menu (on left side) to for example make sub categories below SERVICE DETAILS such as unix-boxes, Windows-server, Mail, printers, etc. I was wondering how this can be done and items placed into these sub categories below SERVICE DETAILS? Thank you, Frank Pikelner at rogers.com ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Wed Jun 9 05:51:16 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 8 Jun 2004 22:51:16 -0500 (CDT) Subject: 512 byte limit on PROCESS STATUS output? In-Reply-To: <40C6520B.3030809@bergeron.com> References: <40C6520B.3030809@bergeron.com> Message-ID: On Tue, 8 Jun 2004, Christopher Bergeron wrote: > Is there a configuration option for changing the 512 byte limit that > nsca returns to nagios? I'm not sure if the limitation is on the > nsca_send command or the nagios receiver. The actual limitation is 4k at the named pipe. This is a hard limit for a FIFO configured in the Linux kernel. See: https://sourceforge.net/mailarchive/message.php?msg_id=4569409 --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maca02 at atlas.cz Wed Jun 9 08:26:20 2004 From: maca02 at atlas.cz (=?ISO-8859-2?Q?Tom=E1=B9_Macek?=) Date: Wed, 9 Jun 2004 08:26:20 +0200 (CEST) Subject: problems with history In-Reply-To: <1086724094.1336.4.camel@localhost.localdomain> References: <1086724094.1336.4.camel@localhost.localdomain> Message-ID: Hi, I've got the patch for you. But this patch is "hard", I've commented out the "LOG ROTATION" text and hardly defined, that the 't->tm_hour = 0' when the log rotation == DAILY, just see the patched file base/loggin.c. Without the commenting out the LOG ROTATION text, the patch did not worked for me properly, I was not able to find out why, so this patch is not the best thing to do, but works. I would like to know, where is the problem really, I spent 2 days with it, but did not find the reason. Some idea was the computer load, but rotation is pending at 00:00, when the computer load is very low, but together with this I thaught, that nagios has too much to work - I have 196 machines, 276 services. I would not be in doubt, if the result of nagios check_ping would not be "Host seems to be up" (only sometimes) - why?? Did nagios do the check or not?? Do you have an idea? Tomas On Tue, 8 Jun 2004, [ISO-8859-1] Horv?th Tam?s wrote: > Hi! > > I have the same problem than Tom! Does anyone know the solution? > > Tom: what kind of patch dou you have? Can cou send it to me? > > Thanks, Tamas! > > > > > > -------------- next part -------------- diff -r nagios.1.2.old/base/logging.c nagios-1.2/base/logging.c 291c291,294 < --- > > if(log_rotation_method==LOG_ROTATION_DAILY) > t->tm_hour = 0; > 308a312 > /* 312c316 < --- > */ From ebollengier at sigma.fr Wed Jun 9 08:55:05 2004 From: ebollengier at sigma.fr (BOLLENGIER Eric) Date: Wed, 09 Jun 2004 08:55:05 +0200 Subject: Modify Nagios menu on left side In-Reply-To: <000201c44dc6$7daa9090$98aa6418@netcraftinc.int> References: <000201c44dc6$7daa9090$98aa6418@netcraftinc.int> Message-ID: <1086764105.1133.2.camel@plume.sigma.fr> Hi, You have to edit side.html. You can also edit index.html to use another start page (service problem for example) You can find them on /usr/share/nagios/htdocs (with debian) Regads Eric On Wed, 2004-06-09 at 04:07, Frank Pikelner wrote: > I've noticed from Nagios screen shots on several sites (e.g. > http://apan.sourceforge.net/) that users have been able to modify the menu > (on left side) to for example make sub categories below SERVICE DETAILS such > as unix-boxes, Windows-server, Mail, printers, etc. I was wondering how this > can be done and items placed into these sub categories below SERVICE > DETAILS? > > Thank you, > > Frank > Pikelner at rogers.com > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Eric BOLLENGIER, Administrateur Syst?me - Poste 1325 SIGMA Informatique http://www.sigma.fr 3 rue Newton, BP 4127, 44241 La Chapelle sur Erdre Cedex tel : 02.40.37.14.00 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Michael.Huettig at Medien-Systempartner.de Wed Jun 9 08:57:03 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Wed, 9 Jun 2004 08:57:03 +0200 Subject: Modify Nagios menu on left side In-Reply-To: <000201c44dc6$7daa9090$98aa6418@netcraftinc.int> References: <000201c44dc6$7daa9090$98aa6418@netcraftinc.int> Message-ID: <200406090857.03949.Michael.Huettig@Medien-Systempartner.de> Am Mittwoch, 9. Juni 2004 04:07 schrieb Frank Pikelner: > I've noticed from Nagios screen shots on several sites (e.g. > http://apan.sourceforge.net/) that users have been able to modify the menu > (on left side) to for example make sub categories below SERVICE DETAILS > such as unix-boxes, Windows-server, Mail, printers, etc. I was wondering > how this can be done and items placed into these sub categories below > SERVICE DETAILS? Look for grouplist.cgi on apan.sourceforge.net-Download-section > > Thank you, > > Frank > Pikelner at rogers.com ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maca02 at atlas.cz Wed Jun 9 09:09:50 2004 From: maca02 at atlas.cz (=?ISO-8859-2?Q?Tom=E1=B9_Macek?=) Date: Wed, 9 Jun 2004 09:09:50 +0200 (CEST) Subject: problems with history In-Reply-To: <1086724094.1336.4.camel@localhost.localdomain> References: <1086724094.1336.4.camel@localhost.localdomain> Message-ID: Sorry, I did not write, that this patch is for nagios 1.2 On Tue, 8 Jun 2004, [ISO-8859-1] Horv?th Tam?s wrote: > Hi! > > I have the same problem than Tom! Does anyone know the solution? > > Tom: what kind of patch dou you have? Can cou send it to me? > > Thanks, Tamas! > > > > > > From Ben at clewett.org.uk Wed Jun 9 10:03:09 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Wed, 09 Jun 2004 09:03:09 +0100 Subject: Question about perfdata In-Reply-To: <40C61E20.3010703@margo.bijoux.nom.br> References: <40BE01D5.3080006@clewett.org.uk> <20040602165055.25740.qmail@hm145.locaweb.com.br> <1086634504.3406.15.camel@tirael> <40C56BD5.7060307@clewett.org.uk> <40C61E20.3010703@margo.bijoux.nom.br> Message-ID: <40C6C43D.2030600@clewett.org.uk> Pedro Fernandes Macedo wrote: > But I'm doing more tests here and it doesnt seem to work anyway... I've > made a small plugin that checks if xmms is running and then prints the > user that is running it... Here's the output: > gargamel:/opt/nagios/var# /opt/nagios/libexec/check_nrpe -H > 150.164.254.25 -c check_xmms_192.168.1.4 > 1 usando xmms|user = someuser, numero = 1 - Usu?rio: someuser > gargamel:/opt/nagios/var# > > This service is configured in nagios , but it never shows up in the > serviceperf.log file... In the interface , it shows up ok... > Any ideas on what could be wrong? > > I've put my nagios.cfg below .... Just to be safe , I've enabled > perfdata both in nagios.cfg and in the template definitions for all > services... First, would you mind if I comment on your performance syntax? The official syntax is: 'label'=value[UOM];[warn];[crit];[min];[max] Eg: | metric1=1.0sec;2.0;3.0;0;4.0 metric2=1.0sec;2.0;3.0;0.0;4.0 Or a simpler version is also used by many plugins: | metric1=1.0 metric2=2.0 See: http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN185 If you use that, parsing programs like PerfParse will be able to intemperate your output successfully. Second, a check list of possible problems of why Nagios is not giving you the performance data. Regards, Ben. 1. You are using the latest Nagios, 1.2. 2. You are using the latest nagios plugins. Only these produce performance data. You can check this by running one, like 'check_disk'. If you have performance data, this should reply: DISK OK - free space: / 8089 MB (22%); /boot 35 MB (76%) | /=8089MB;33312;35163;0;37014 /boot=34MB;40;42;0;45 You can see the performance data beyond the '|'. Download from: http://nagiosplug.sourceforge.net/snapshot http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-HEAD-200406080514.tar.gz 3. You have compiled nagios with the option to produce performance data. Using the '--with-file-perfdata'. Ie: ./configure --with-file-perfdata 4. Set the permissions on the servicelog file as: -rw-rw-r-- nagios nagios ie: $ chmod 664 serviceperf.log $ chown nagios.nagios serviceperf.log 5. Check 'nagios.cfg', ensure you have these lines somewhere: process_performance_data=1 xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$PERFDATA$ 6. In services.cfg, ensure this line is in all services you want to monitor: (Or the generic parent table.) process_perf_data 1 7. In Nagios 'Process Info' page. At the bottom of the Process Information box, ensure you have: "Performance Data Being Processed? Yes" ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Jun 9 10:29:34 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 9 Jun 2004 10:29:34 +0200 Subject: Modify Nagios menu on left side Message-ID: <945C3F9C3F209144A12CB725111FC08D33F176@sygomail1.goe.ad.sycor.de> Hi, Thanks for the grouplist hint. I just wanted to implement this into my nagios, but it didn't worked quite well :-/ I did everything the way it's explained in the README, but when i finish, i don't get this treeview on the left, but only a (in my optinion totaly absurd) Link named "Service Detail 2" ??!! Do I have to edit something else there? Maybe you can mail me your html files or something? Thank you, Philipp > -----Original Message----- > From: Michael Huettig > [mailto:Michael.Huettig at Medien-Systempartner.de] > Sent: Wednesday, June 09, 2004 8:57 AM > To: nagios-users at lists.sourceforge.net > Cc: Frank Pikelner > Subject: Re: [Nagios-users] Modify Nagios menu on left side > > Am Mittwoch, 9. Juni 2004 04:07 schrieb Frank Pikelner: > > I've noticed from Nagios screen shots on several sites (e.g. > > http://apan.sourceforge.net/) that users have been able to > modify the > > menu (on left side) to for example make sub categories > below SERVICE > > DETAILS such as unix-boxes, Windows-server, Mail, printers, > etc. I was > > wondering how this can be done and items placed into these sub > > categories below SERVICE DETAILS? > > Look for grouplist.cgi on apan.sourceforge.net-Download-section > > > > Thank you, > > > > Frank > > Pikelner at rogers.com > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation Hackers > Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June > in Norway http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serwah_s_gh at yahoo.com Wed Jun 9 11:41:29 2004 From: serwah_s_gh at yahoo.com (serwah sabet ghadam) Date: Wed, 9 Jun 2004 02:41:29 -0700 (PDT) Subject: cpu usage Message-ID: <20040609094129.95526.qmail@web52303.mail.yahoo.com> Hi guys, It's my first time to use Nagios, How can I find cpu usage, memory usage and disk usage of a computer in a network??? Regards Sirwah --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Wed Jun 9 11:54:04 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Wed, 09 Jun 2004 11:54:04 +0200 Subject: cpu usage In-Reply-To: <20040609094129.95526.qmail@web52303.mail.yahoo.com> References: <20040609094129.95526.qmail@web52303.mail.yahoo.com> Message-ID: <40C6DE3C.7010809@dhl.com> The real question you should ask is: how can I find information on Nagios without having to resort to the mailing list for all my questions... serwah sabet ghadam wrote: > Hi guys, > It's my first time to use Nagios, > How can I find cpu usage, memory usage and disk usage > of a computer in a network??? > > Regards > Sirwah > > ------------------------------------------------------------------------ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger > ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Jun 9 11:54:02 2004 From: m.borsani at it.net (Marco Borsani) Date: Wed, 9 Jun 2004 11:54:02 +0200 Subject: R: cpu usage In-Reply-To: <20040609094129.95526.qmail@web52303.mail.yahoo.com> References: <20040609094129.95526.qmail@web52303.mail.yahoo.com> Message-ID: Hi ! You have to use a client on that computer. NRPE or NSClient. It is easy to do, give a look to www.nagios.org in the document section. bye -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di serwah sabet ghadam Inviato: mercoledi 9 giugno 2004 11.41 A: nagios-users at lists.sourceforge.net Cc: serwah_S_gh at yahoo.com Oggetto: [Nagios-users] cpu usage Hi guys, It's my first time to use Nagios, How can I find cpu usage, memory usage and disk usage of a computer in a network??? Regards Sirwah ---------------------------------------------------------------------------- -- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Wed Jun 9 12:11:46 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 Jun 2004 12:11:46 +0200 Subject: cpu usage In-Reply-To: <20040609094129.95526.qmail@web52303.mail.yahoo.com> References: <20040609094129.95526.qmail@web52303.mail.yahoo.com> Message-ID: <40C6E262.1000903@op5.se> serwah sabet ghadam wrote: > Hi guys, > It's my first time to use Nagios, > How can I find cpu usage, memory usage and disk usage > of a computer in a network??? > For unix-servers, you can use either nrpe, ssh or nsca. Each of them have their own pros and cons, so you'll have to choose which one you like. I favor NRPE, but I'm a bit biased. For windows-servers, you can use either nrpe_nt or nsclient. For netware servers, you have to use the mrtgext module. For VMS systems, there is nrpe_vms (one separate project and one quick hack I wrote some while back, which is nrpe protocol 2 compliant). Ofcourse, if any of the servers support snmp, you cat get a lot of information from that. The plugins you'll be wanting to have a look at are; check_nrpe check_nt check_by_ssh check_nwstat check_snmp A word of caution though; NSClient and MRTGEXT allows practically anyone to run the commands you have configured at the monitored host and receive the information back, thus gaining information about it. NRPE allows practically anyone (with small coding skills) to run the commands you have configured, but he/she won't be able to get any data back without owning at least one of the routers on the way from your monitoring server to the monitored server. SSH requires passphraseless keys to be present, meaning that if anybody unlawfully gains access to your monitoring server, he'll have no trouble what so ever gaining access to the servers you monitor. NSCA uses the best encryption methods, but with weak authentication methods, possibly allowing remote and malice users to corrupt the data of your monitoring environment. It also requires that you understand how passive checks work, and you have to configure the nsca daemon and the send_nsca client as well. SNMP has it's pros, ofcourse, and it's a widespread standard written in stone. The check_snmp plugin is however a bit limited, so you might want to write your own plugins if you use it. SNMPv3 is the safest option available here. All this is ofcourse just theory. How your network is designed will probably determine what's best for you. > Regards > Sirwah > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 9 12:19:47 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 Jun 2004 12:19:47 +0200 Subject: cpu usage In-Reply-To: <40C6DE3C.7010809@dhl.com> References: <20040609094129.95526.qmail@web52303.mail.yahoo.com> <40C6DE3C.7010809@dhl.com> Message-ID: <40C6E443.7090302@op5.se> Tom DE BLENDE (GCC) wrote: > The real question you should ask is: how can I find information on > Nagios without having to resort to the mailing list for all my questions... > If you don't want to answer the question, then don't hit the reply button. What does GCC stand for, btw? > serwah sabet ghadam wrote: > >> Hi guys, >> It's my first time to use Nagios, >> How can I find cpu usage, memory usage and disk usage >> of a computer in a network??? >> >> Regards >> Sirwah >> >> ------------------------------------------------------------------------ >> Do you Yahoo!? >> Friends. Fun. Try the all-new Yahoo! Messenger >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Wed Jun 9 12:31:55 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Wed, 09 Jun 2004 12:31:55 +0200 Subject: cpu usage In-Reply-To: <40C6E443.7090302@op5.se> References: <20040609094129.95526.qmail@web52303.mail.yahoo.com> <40C6DE3C.7010809@dhl.com> <40C6E443.7090302@op5.se> Message-ID: <40C6E71B.8080002@dhl.com> Andreas Ericsson wrote: > Tom DE BLENDE (GCC) wrote: > >> The real question you should ask is: how can I find information on >> Nagios without having to resort to the mailing list for all my >> questions... > > If you don't want to answer the question, then don't hit the reply > button. If you want to keep answering the same questions over and over again, that is your problem. I guess you have a lot of time to spare. I don't. I would like to have the noise on this list down so we can actually see who has REALLY got a problem. ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andreoni at ksolutions.it Wed Jun 9 12:41:53 2004 From: andreoni at ksolutions.it (Andreoni Antonella) Date: Wed, 9 Jun 2004 12:41:53 +0200 Subject: R: Nagios with MySql Message-ID: <11AD6C34FEBDB34E96622FEB7E6B64C503AAEF75@kmail.ksolutions.it> Hi, I set up nagios with mysql, now NO problem with CGIs the DB is up&running the schema has been made by using the script in the distrib I compiled and istalled nagios with db support using the following configure string: ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-msyql-xdata --with-mysql-lib=/usr/local/mysql/lib --with-mysql-inc=/usr/local/mysql/include --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include I configured cgi.cfg and resource.cfg as suggested in docs with all parameters such as db name, db user, db port and so on I have a doubt: what about log file in the configuration files? I left setting for status.log and so on in nagios.cfg nagios.cfg:log_file=/usr/local/nagios/var/nagios.log nagios.cfg:status_file=/usr/local/nagios/var/status.log nagios.cfg:comment_file=/usr/local/nagios/var/comment.log nagios.cfg:downtime_file=/usr/local/nagios/var/downtime.log I think I had to comment these lines in nagios.cfg.... but if I compile nagios with db support I expected to find those lines commented what do you think about? thanks Antonella > -----Messaggio originale----- > Da: Ben Clewett [mailto:Ben at clewett.org.uk] > Inviato: marted? 25 maggio 2004 17.31 > A: Andreoni Antonella > Cc: Nagios-Users (E-mail) > Oggetto: Re: [Nagios-users] Nagios with MySql > > > Andreoni Antonella wrote: > > Hi all > > > > I've just started Nagios with database support but it doesn't work > > > > on the web interface I got the following error: > > > > Whoops! > > Error: Could not read host and service status information! > > > > And in the log file nagios.log there is the following error message > > [1085497246] Error: Could not lock status data tables in > database 'nagios' > > Just a pre-check: Did you run the provided script to create > the database? > > Something like: > > $ cd contrib/database > $ cat create_myqsl | mysql -u $USER -p$PASS -D $DATABASE -h $HOST > > Where $USER $PASS $DATABASE and $HOST have been correctly > setup, and are > (probably) the same as those used in nagios.cfg? > > Ben > ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Wed Jun 9 13:08:43 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Wed, 9 Jun 2004 13:08:43 +0200 Subject: Modify Nagios menu on left side In-Reply-To: <945C3F9C3F209144A12CB725111FC08D33F176@sygomail1.goe.ad.sycor.de> References: <945C3F9C3F209144A12CB725111FC08D33F176@sygomail1.goe.ad.sycor.de> Message-ID: <200406091308.43011.Michael.Huettig@Medien-Systempartner.de> Am Mittwoch, 9. Juni 2004 10:29 schrieb Sand Philipp: > Hi, > > Thanks for the grouplist hint. I just wanted to implement this into my > nagios, but it didn't worked quite well :-/ > I did everything the way it's explained in the README, but when i > finish, i don't get this treeview on the left, but only a (in my > optinion totaly absurd) Link named "Service Detail 2" ??!! > Do I have to edit something else there? Maybe you can mail me your html > files or something? > restart Apache for further information look to apan-userlist HTH Michael > Thank you, > Philipp > ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From e.vanmourik at zhew.nl Wed Jun 9 13:29:38 2004 From: e.vanmourik at zhew.nl (Elmar van Mourik) Date: Wed, 9 Jun 2004 13:29:38 +0200 Subject: Modify Nagios menu on left side Message-ID: Hi Philipp, I had the same promlem. Check the grouplist.cgi: line 10/11: CFGFILES=`egrep -e "cfg_file=" $NAGIOSDIR/etc/nagios.cfg|cut -d "=" -f 2` CFGDIRS=`egrep -e "cfg_dir=" $NAGIOSDIR/etc/nagios.cfg|cut -d "=" -f 2` and line 23: HOSTGROUPS=`egrep -e "hostgroup_name" $CFGFILE|awk '{print $2}'| tr "," " "` I had to remove the ^ after egrep -e " and everything works fine! Elmar van Mourik -----Oorspronkelijk bericht----- Van: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Namens Sand Philipp Verzonden: woensdag 9 juni 2004 10:30 Aan: Michael Huettig; nagios-users at lists.sourceforge.net CC: Frank Pikelner Onderwerp: RE: [Nagios-users] Modify Nagios menu on left side Hi, Thanks for the grouplist hint. I just wanted to implement this into my nagios, but it didn't worked quite well :-/ I did everything the way it's explained in the README, but when i finish, i don't get this treeview on the left, but only a (in my optinion totaly absurd) Link named "Service Detail 2" ??!! Do I have to edit something else there? Maybe you can mail me your html files or something? Thank you, Philipp > -----Original Message----- > From: Michael Huettig > [mailto:Michael.Huettig at Medien-Systempartner.de] > Sent: Wednesday, June 09, 2004 8:57 AM > To: nagios-users at lists.sourceforge.net > Cc: Frank Pikelner > Subject: Re: [Nagios-users] Modify Nagios menu on left side > > Am Mittwoch, 9. Juni 2004 04:07 schrieb Frank Pikelner: > > I've noticed from Nagios screen shots on several sites (e.g. > > http://apan.sourceforge.net/) that users have been able to > modify the > > menu (on left side) to for example make sub categories > below SERVICE > > DETAILS such as unix-boxes, Windows-server, Mail, printers, > etc. I was > > wondering how this can be done and items placed into these sub > > categories below SERVICE DETAILS? > > Look for grouplist.cgi on apan.sourceforge.net-Download-section > > > > Thank you, > > > > Frank > > Pikelner at rogers.com > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation Hackers > Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June > in Norway http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Door de electronische verzending van het bericht kunnen er geen rechten ontleend worden aan de informatie. Als u deze e-mail onterecht heeft ontvangen, waarschuwt u dan de afzender via postmaster at zhew.nl en verwijder de gegevens van de computer. ZHEW wordt opgeheven. Vanaf 1 januari 2005 zijn de watertaken van het zuiveringsschap ondergebracht bij drie ?all-in? waterschappen. Meer informatie: Zuiveringsschap Hollandse Eilanden en Waarden, Dordrecht tel: +31 (0)78 6397100 fax: +31 (0)78 6311871 web: http://www.zhew.nl ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Jun 9 14:14:54 2004 From: m.borsani at it.net (Marco Borsani) Date: Wed, 9 Jun 2004 14:14:54 +0200 Subject: R: cpu usage In-Reply-To: <40C6E71B.8080002@dhl.com> References: <40C6E71B.8080002@dhl.com> Message-ID: Please, a little bit of fair play! Everyone may ask everything. If you are so busy (!), don't read (and don't answer to) all the mails. Regards Marco -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Tom DE BLENDE (GCC) Inviato: mercoledi 9 giugno 2004 12.32 A: Andreas Ericsson Cc: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] cpu usage Andreas Ericsson wrote: > Tom DE BLENDE (GCC) wrote: > >> The real question you should ask is: how can I find information on >> Nagios without having to resort to the mailing list for all my >> questions... > > If you don't want to answer the question, then don't hit the reply > button. If you want to keep answering the same questions over and over again, that is your problem. I guess you have a lot of time to spare. I don't. I would like to have the noise on this list down so we can actually see who has REALLY got a problem. ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Wed Jun 9 14:22:12 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Wed, 09 Jun 2004 14:22:12 +0200 Subject: R: cpu usage In-Reply-To: References: Message-ID: <40C700F4.7090209@dhl.com> Marco Borsani wrote: >Please, a little bit of fair play! > >Everyone may ask everything. >If you are so busy (!), don't read (and don't answer to) all the mails. > Sadly enough, that is exactly what I have been doing the last half year or so. As some can confirm, my level of interaction on this mailing list was quite a bit higher a while ago. But when so many people keep on asking the same questions over and over again, while they are SUPERBLY documented by Ethan and co both it the HTML docs and the FAQ's; and when apparently people find it normal not to use this documentation, you get to a situation that some active members can't see the forest for the trees and have to let go. ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 9 14:42:25 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 Jun 2004 14:42:25 +0200 Subject: R: cpu usage In-Reply-To: <40C700F4.7090209@dhl.com> References: <40C700F4.7090209@dhl.com> Message-ID: <40C705B1.60003@op5.se> Tom DE BLENDE (GCC) wrote: > > > Marco Borsani wrote: > >> Please, a little bit of fair play! >> >> Everyone may ask everything. >> If you are so busy (!), don't read (and don't answer to) all the mails. >> > Sadly enough, that is exactly what I have been doing the last half year > or so. As some can confirm, my level of interaction on this mailing list > was quite a bit higher a while ago. But when so many people keep on > asking the same questions over and over again, while they are SUPERBLY > documented by Ethan and co both it the HTML docs and the FAQ's; and when > apparently people find it normal not to use this documentation, you get > to a situation that some active members can't see the forest for the > trees and have to let go. > http://nagios.sourceforge.net/docs/1_0/toc.html Posting the above link would have sufficed and gotten the message through while at the same time being a minimum of helpful. Some of the users who are new to nagios today will be its major contributors tomorrow (figuratively speaking), so a little courtesy should be considered prudent. Btw. You still haven't told me what GCC means in your mail name. -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shane.Reutzel at MemberWorks.com Wed Jun 9 14:58:11 2004 From: Shane.Reutzel at MemberWorks.com (Reutzel, Shane) Date: Wed, 9 Jun 2004 07:58:11 -0500 Subject: Blank Notifications Message-ID: I am using Nagios 1.0 on RedHat Enterprise 3.0. I have been monitoring for several months now and recently turned on the notifications. Most of the time I received the notifications as normal with all the content, but for some reason I start receiving notifications with no content or blank. This may go on for a day before I start getting normal notifications again. Does anybody know the solution to this problem or anyway to help troubleshoot this? Any response will be appreciated. -Shane -------------- next part -------------- An HTML attachment was scrubbed... URL: From Wengrzik at ewr.de Wed Jun 9 15:12:42 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 9 Jun 2004 15:12:42 +0200 Subject: Nagios as logserver Message-ID: <90D32590BAD135448DC12C1EA3EB448210B06C@epsewr01.ewrlan.ewr.int> Hi! Is there a plug in to run nagios also as an Logserver for *nix systems and with a windows client?? Anyone done something yet?? Thanks a lot! ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 9 15:22:43 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 Jun 2004 15:22:43 +0200 Subject: Nagios as logserver In-Reply-To: <90D32590BAD135448DC12C1EA3EB448210B06C@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB448210B06C@epsewr01.ewrlan.ewr.int> Message-ID: <40C70F23.1080905@op5.se> Wengrzik, Andreas wrote: > Hi! > > Is there a plug in to run nagios also as an Logserver for *nix systems and with a > windows client?? > man syslogd google for ntsyslog syslogd does a far better job than nagios would at logging everyday stuff. Nagios can be set to log every state-change, but i wouldn't want to think about the disk-space required to do so... > > Anyone done something yet?? > > Thanks a lot! > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.johnston at kirtland.af.mil Wed Jun 9 15:36:08 2004 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Wed, 9 Jun 2004 14:36:08 +0100 Subject: Modify Nagios menu on left side (Frank Pikelner) Message-ID: <200406091336.i59Da5eK029939@knockout.kirtland.af.mil> Frank, The side menu is just and html document called side.html. It's located under /nagios/shared and is as easy to modify as any html document. Just open it up in vi and you should see the format and be able to change it as you wish... Mike From: "Frank Pikelner" To: Date: Tue, 8 Jun 2004 22:07:15 -0400 Subject: [Nagios-users] Modify Nagios menu on left side I've noticed from Nagios screen shots on several sites (e.g. http://apan.sourceforge.net/) that users have been able to modify the = menu (on left side) to for example make sub categories below SERVICE DETAILS = such as unix-boxes, Windows-server, Mail, printers, etc. I was wondering how = this can be done and items placed into these sub categories below SERVICE DETAILS? Thank you, Frank Pikelner at rogers.com ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Wed Jun 9 15:49:30 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Wed, 9 Jun 2004 15:49:30 +0200 Subject: R: cpu usage In-Reply-To: <40C700F4.7090209@dhl.com> References: <40C700F4.7090209@dhl.com> Message-ID: <200406091549.30240.Michael.Huettig@Medien-Systempartner.de> Am Mittwoch, 9. Juni 2004 14:22 schrieb Tom DE BLENDE (GCC): > Marco Borsani wrote: > >Please, a little bit of fair play! > > > >Everyone may ask everything. > >If you are so busy (!), don't read (and don't answer to) all the mails. > > Sadly enough, that is exactly what I have been doing the last half year > or so. As some can confirm, my level of interaction on this mailing list > was quite a bit higher a while ago. But when so many people keep on > asking the same questions over and over again, while they are SUPERBLY > documented by Ethan and co both it the HTML docs and the FAQ's; and when > apparently people find it normal not to use this documentation, you get > to a situation that some active members can't see the forest for the > trees and have to let go. Tom, you're right! problem of this userlist is efficiency, if anyone would RTFM a lot of time wouldn't be spent on reading silly questions. I've posted more times about nagios-notifications with sms, i'm not able to find any suggestion to my problems in FAQ and DOC and no one reads my posting, so i have to live with the problem. If there is really a notification bug, it would be very helpfull for nagios, that someone shares my problem. I'm not a programmer, so i don't have a chance to fix it ... Regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 15:47:25 2004 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Wed, 9 Jun 2004 14:47:25 +0100 Subject: Blank Notifications Message-ID: <418B502A3861E242AFDED453F3D5B89C025C14FB@i2km99-ukbr.domain1.systemhost.net> Take a look in the faq page on www.nagios.org I'm sure there is a faq for this -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Reutzel, Shane Sent: 09 June 2004 13:58 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Blank Notifications I am using Nagios 1.0 on RedHat Enterprise 3.0. I have been monitoring for several months now and recently turned on the notifications. Most of the time I received the notifications as normal with all the content, but for some reason I start receiving notifications with no content or blank. This may go on for a day before I start getting normal notifications again. Does anybody know the solution to this problem or anyway to help troubleshoot this? Any response will be appreciated. -Shane -------------- next part -------------- An HTML attachment was scrubbed... URL: From Shane.Reutzel at MemberWorks.com Wed Jun 9 16:01:26 2004 From: Shane.Reutzel at MemberWorks.com (Reutzel, Shane) Date: Wed, 9 Jun 2004 09:01:26 -0500 Subject: Blank Notifications Message-ID: I have already looked through the faq page and the mailing list archives and I was not able to find anything that would help. -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Wednesday, June 09, 2004 8:47 AM To: Shane.Reutzel at MemberWorks.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Blank Notifications Take a look in the faq page on www.nagios.org I'm sure there is a faq for this -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Reutzel, Shane Sent: 09 June 2004 13:58 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Blank Notifications I am using Nagios 1.0 on RedHat Enterprise 3.0. I have been monitoring for several months now and recently turned on the notifications. Most of the time I received the notifications as normal with all the content, but for some reason I start receiving notifications with no content or blank. This may go on for a day before I start getting normal notifications again. Does anybody know the solution to this problem or anyway to help troubleshoot this? Any response will be appreciated. -Shane -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeramy.Eling at britax-pmg.com Wed Jun 9 16:05:18 2004 From: Jeramy.Eling at britax-pmg.com (Jeramy Eling) Date: Wed, 9 Jun 2004 15:05:18 +0100 Subject: Extended Service Information Message-ID: <5CD3BFF77DFFD411BCD100D0B720F945198497@probe.britax-pmg.com> Hi All, I am trying, with very little success to get the extended service information to work in Nagios. I have spent the last few days trying to add the details to just one service, and no matter what I seem to do I just cannot get it to display. I have put my sample file below that I am working with:- define serviceextinfo{ host_name adslfirewall service_description PING notes_url http://nagios/test2.html icon_image win40.gif icon_image_alt ADSL PING } Can anyone give me any hints/tips on how I can get this working, I have read the documentation over and over and checked out the mailing-list but to no avail, I am using Nagios 1.2 on RedHat 9.0. Thanks in advance Jez ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon-SVHme89sSHE at public.gmane.org Wed Jun 9 17:14:08 2004 From: verdon-SVHme89sSHE at public.gmane.org (carole verdon) Date: Wed, 09 Jun 2004 17:14:08 +0200 Subject: RESOLVED Re: PB with NRPE: No output returned from plugin In-Reply-To: <40C58DD7.3080407-SVHme89sSHE@public.gmane.org> References: <40C58DD7.3080407@cict.fr> Message-ID: <40C72940.3080805@cict.fr> Hi all, I finally find a solution of my problem. In fact the check_command "check_nrpe_nossl" was defined in Commands table of NagMin to accept arguments: $USER1$/check_nrpe_nossl -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ $ARG10$ $ARG11$ $ARG12$ $ARG13$ However, my script doesn't call upon the arguments. So I create a new command, that i called "check_nrpe_nossl_noarg", defined as this: $USER1$/check_nrpe_nossl -H $HOSTADDRESS$ -c $ARG1$ Now, it works fine. Carole. carole verdon wrote: >Hi, > >In web interface of nagios (v 1.2), i obtain a status UNKNOWN with this message: (No output returned from plugin) > >If i execute the check_nrpe (v 2.0) in line command on server nagios, it works well: >$ ./check_nrpe_nossl -H telline.cict.fr -c check_oracle >all databases OK > >check_oracle is defined in nrpe.cfg as: >command[check_oracle]=/usr/local/nagios/libexec/check_oracle_databases.sh > >the check_oracle_databases.sh is a script i wrote to take dynamically into account the file /etc/oratab to verify all databases >that it contains. It calls the check_oracle scripts of core distribution of nagios-plugins-1.4.0alpha1 that i modified a little. > >I use NagMin 2.1.0 to configure nagios. So i define a service called "Oracle" with the check command : check_nrpe_nossl!check_oracle > >In service.cfg: >define service { > use generic-service > host_name telline.cict.fr > service_description Oracle > contact_groups nagios-admins > check_period 24x7 > notification_interval 2880 > notification_options w,u,c,r > notification_period 24x7 > check_command check_nrpe_nossl!check_oracle > max_check_attempts 3 > normal_check_interval 10 > retry_check_interval 1 >} > > >I don't understand why it works in line commands on nagios server and that it don't work if i define this service in nagios. > >Can you tell me where is the error? What am i doing? > >Please, help me.... > >Thanks. > >Carole. > > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon-SVHme89sSHE at public.gmane.org ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From christopher at bergeron.com Wed Jun 9 16:30:37 2004 From: christopher at bergeron.com (Christopher M Bergeron) Date: Wed, 09 Jun 2004 10:30:37 -0400 Subject: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT = 512 byte limitation ? In-Reply-To: <5CD3BFF77DFFD411BCD100D0B720F945198497@probe.britax-pmg.com> References: <5CD3BFF77DFFD411BCD100D0B720F945198497@probe.britax-pmg.com> Message-ID: <40C71F0D.2000603@bergeron.com> I've noticed that there is a limitation of 512 bytes for SERVICE_CHECK_RESULTs. Where can I modify this? I didn't see any configuration entries for it, so I grepped the code for 512 and can't seem to find the limitation. Can anyone clue me in on how I can increase this? I'm trying to send HTML back to nagios from nsca_send, and it quickly saturates the 512 bytes. Thanks in advance..! Chris Bergeron ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Wed Jun 9 16:49:08 2004 From: MG at ev3.net (Wheeler, MG) Date: Wed, 9 Jun 2004 09:49:08 -0500 Subject: Notification Timing Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D918CDC@mail.ev3.net> I have a service that is paging me every 15 minutes (Its only a test and it is "Down.") Here's the thing though, the service itself has this defined: Nagios.cfg Status Update Interval 15 Retention Update Interval 60 Service Reaper Frequency 60 Interval Length 60 Services.cfg Max Check Attempts 2 Normal Check Interval 5 Retry Check Interval 1 So shouldn't I get paged every 2 minutes since the Max Checks Attempts = 2? If it was because of the Normal Check Interval being 5 minutes, then the one minute retries I would think it to be 6 minutes. Where does the 15 minutes come from???? _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed Jun 9 17:15:29 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 9 Jun 2004 08:15:29 -0700 (PDT) Subject: Notification Timing In-Reply-To: <2F29C1E275BF4F4E9DCAE48033A00B9D918CDC@mail.ev3.net> References: <2F29C1E275BF4F4E9DCAE48033A00B9D918CDC@mail.ev3.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You didn't include the notification interval. A service will only re-notify every notification_interval. - -Jason Martin On Wed, 9 Jun 2004, Wheeler, MG wrote: > I have a service that is paging me every 15 minutes (Its only a test and it is "Down.") Here's the thing though, the service itself has this defined: > > Nagios.cfg > Status Update Interval 15 > Retention Update Interval 60 > Service Reaper Frequency 60 > Interval Length 60 > > Services.cfg > Max Check Attempts 2 > Normal Check Interval 5 > Retry Check Interval 1 > > So shouldn't I get paged every 2 minutes since the Max Checks Attempts = 2? If it was because of the Normal Check Interval being 5 minutes, then the one minute retries I would think it to be 6 minutes. Where does the 15 minutes come from???? > > > _____________________________________________________________________ > This message has been checked for all known viruses > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAxymZl2ODWuqVSBMRAnwxAJ9MPO1jWS6LOsbQhCw/87NyMx/7QQCfWMWu Cpv8PHFTu46ojK5gFW2MKxc= =Z9rt -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeramy.Eling at britax-pmg.com Wed Jun 9 17:18:56 2004 From: Jeramy.Eling at britax-pmg.com (Jeramy Eling) Date: Wed, 9 Jun 2004 16:18:56 +0100 Subject: Extended Service Information Message-ID: <5CD3BFF77DFFD411BCD100D0B720F94501AF2222@probe.britax-pmg.com> Hi All, I am trying, with very little success to get the extended service information to work in Nagios. I have spent the last few days trying to add the details to just one service, and no matter what I seem to do I just cannot get it to display. I have put my sample file below that I am working with:- define serviceextinfo{ host_name adslfirewall service_description PING notes_url http://nagios/test2.html icon_image win40.gif icon_image_alt ADSL PING } Can anyone give me any hints/tips on how I can get this working, I have read the documentation over and over and checked out the mailing-list but to no avail, I am using Nagios 1.2 on RedHat 9.0. Thanks in advance Jez ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Wed Jun 9 17:37:08 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 9 Jun 2004 09:37:08 -0600 Subject: Using NAGIOS to read data gathered by MRTG? Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9204@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: >>> I have a router which is monitored by MRTG to gather traffic stats - >>> useage/load/data volume, and I want to have Nagios sent an >>> alert email if >>> the utilisation percentage on a given data link exceeds a threshold >>> >>> Will one of the standard plugins do this? If so, which one, >>> and how do I make this work? >> >> It depends... Are you using MRTG with log files or an .rrd backend? >> There are plugins available to check both. Look in the plugin source >> contrib directory, if you don't find them in nagios/libexec. > > It's just running log files. > > There are a couple of mrtg pluging in nagios/libexec, but I > can't figure > out how to use them, and the docs aren't very helpful. > > DaZZa > I would suggest upgrading MRTG to use rrd files instead of the logs. I can't offer much assistance in the way of Nagios checking MRTG log files, but for MRTG .rrd checking you should be able to use the contributed plugins. I've also written my own check_rrdbw plugin that will do something similar to what you are looking for. I'm sure that the contributed ones work well, but they just didn't work the way I wanted them to. Upgrading MRTG to use RRDTool is not very hard at all. In a nutshell, install RRDTool, and then add 'LogFormat: rrdtool' to your MRTG config files. Your existing log files will be created as rrds automagically the next time you start MRTG, so you shouldn't lose any historical data. I believe that log files will be replaced by rrds in MRTG v3.0 anyway, so you may want to look into them now. They also offer a lot more features than log files. If you should decide to go this route, I would suggest posting further questions to the MRTG mailing list if necessary, then come back to Nagios-Users if you still need help checking rrds once you've got RRDTool up and running. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed Jun 9 17:42:41 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 9 Jun 2004 08:42:41 -0700 (PDT) Subject: Notification Timing In-Reply-To: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CF7@mail.ev3.net> References: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CF7@mail.ev3.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Notification_Interval = 12 There you go then; you'll get paged every 12 minutes while the service stays in a non-OK status. - -Jason Martin On Wed, 9 Jun 2004, Wheeler, MG wrote: > > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: Wednesday, June 09, 2004 10:15 AM > To: Wheeler, MG > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notification Timing > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You didn't include the notification interval. A service will only > re-notify every notification_interval. > > - -Jason Martin > > On Wed, 9 Jun 2004, > Wheeler, MG wrote: > > > I have a service that is paging me every 15 minutes (Its only a test and it is "Down.") Here's the thing though, the service itself has this defined: > > > > Nagios.cfg > > Status Update Interval 15 > > Retention Update Interval 60 > > Service Reaper Frequency 60 > > Interval Length 60 > > > > Services.cfg > > Max Check Attempts 2 > > Normal Check Interval 5 > > Retry Check Interval 1 > > > > So shouldn't I get paged every 2 minutes since the Max Checks Attempts = 2? If it was because of the Normal Check Interval being 5 minutes, then the one minute retries I would think it to be 6 minutes. Where does the 15 minutes come from???? > > > > > > _____________________________________________________________________ > > This message has been checked for all known viruses > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: GNOME Foundation > > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > > GNOME Users and Developers European Conference, 28-30th June in Norway > > http://2004/guadec.org > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQFAxymZl2ODWuqVSBMRAnwxAJ9MPO1jWS6LOsbQhCw/87NyMx/7QQCfWMWu > Cpv8PHFTu46ojK5gFW2MKxc= > =Z9rt > -----END PGP SIGNATURE----- > > _____________________________________________________________________ > Message scanned for viruses > > _____________________________________________________________________ > This message has been checked for all known viruses > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAxy/3l2ODWuqVSBMRAmhEAJ41iVKw02ubcwHx/BXKscnwsPd4hQCcC4fc aB424KpGF6OV6CDoUZqLlGk= =fWOX -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Wed Jun 9 17:39:48 2004 From: MG at ev3.net (Wheeler, MG) Date: Wed, 9 Jun 2004 10:39:48 -0500 Subject: Notification Timing Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CF7@mail.ev3.net> Notification_Interval = 12 -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Wednesday, June 09, 2004 10:15 AM To: Wheeler, MG Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notification Timing -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You didn't include the notification interval. A service will only re-notify every notification_interval. - -Jason Martin On Wed, 9 Jun 2004, Wheeler, MG wrote: > I have a service that is paging me every 15 minutes (Its only a test and it is "Down.") Here's the thing though, the service itself has this defined: > > Nagios.cfg > Status Update Interval 15 > Retention Update Interval 60 > Service Reaper Frequency 60 > Interval Length 60 > > Services.cfg > Max Check Attempts 2 > Normal Check Interval 5 > Retry Check Interval 1 > > So shouldn't I get paged every 2 minutes since the Max Checks Attempts = 2? If it was because of the Normal Check Interval being 5 minutes, then the one minute retries I would think it to be 6 minutes. Where does the 15 minutes come from???? > > > _____________________________________________________________________ > This message has been checked for all known viruses > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAxymZl2ODWuqVSBMRAnwxAJ9MPO1jWS6LOsbQhCw/87NyMx/7QQCfWMWu Cpv8PHFTu46ojK5gFW2MKxc= =Z9rt -----END PGP SIGNATURE----- _____________________________________________________________________ Message scanned for viruses _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed Jun 9 17:49:26 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 9 Jun 2004 08:49:26 -0700 (PDT) Subject: Notification Timing In-Reply-To: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CF8@mail.ev3.net> References: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CF8@mail.ev3.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well that is rather odd, I would expect pages ever 12 minutes. - -Jason Martin On Wed, 9 Jun 2004, Wheeler, MG wrote: > But its paging me every 15 minutes like clock-work??? > > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: Wednesday, June 09, 2004 10:43 AM > To: Wheeler, MG > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Notification Timing > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Notification_Interval = 12 > > There you go then; you'll get paged every 12 minutes while the service > stays in a non-OK status. > > - -Jason Martin > > On Wed, 9 Jun 2004, Wheeler, MG wrote: > > > > > -----Original Message----- > > From: Jason Martin [mailto:jhmartin at toger.us] > > Sent: Wednesday, June 09, 2004 10:15 AM > > To: Wheeler, MG > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Notification Timing > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > You didn't include the notification interval. A service will only > > re-notify every notification_interval. > > > > - -Jason Martin > > > > On Wed, 9 Jun 2004, > > Wheeler, MG wrote: > > > > > I have a service that is paging me every 15 minutes (Its only a test and it is "Down.") Here's the thing though, the service itself has this defined: > > > > > > Nagios.cfg > > > Status Update Interval 15 > > > Retention Update Interval 60 > > > Service Reaper Frequency 60 > > > Interval Length 60 > > > > > > Services.cfg > > > Max Check Attempts 2 > > > Normal Check Interval 5 > > > Retry Check Interval 1 > > > > > > So shouldn't I get paged every 2 minutes since the Max Checks Attempts = 2? If it was because of the Normal Check Interval being 5 minutes, then the one minute retries I would think it to be 6 minutes. Where does the 15 minutes come from???? > > > > > > > > > _____________________________________________________________________ > > > This message has been checked for all known viruses > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: GNOME Foundation > > > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > > > GNOME Users and Developers European Conference, 28-30th June in Norway > > > http://2004/guadec.org > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.4 (GNU/Linux) > > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > > > iD8DBQFAxymZl2ODWuqVSBMRAnwxAJ9MPO1jWS6LOsbQhCw/87NyMx/7QQCfWMWu > > Cpv8PHFTu46ojK5gFW2MKxc= > > =Z9rt > > -----END PGP SIGNATURE----- > > > > _____________________________________________________________________ > > Message scanned for viruses > > > > _____________________________________________________________________ > > This message has been checked for all known viruses > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQFAxy/3l2ODWuqVSBMRAmhEAJ41iVKw02ubcwHx/BXKscnwsPd4hQCcC4fc > aB424KpGF6OV6CDoUZqLlGk= > =fWOX > -----END PGP SIGNATURE----- > > _____________________________________________________________________ > Message scanned for viruses > > _____________________________________________________________________ > This message has been checked for all known viruses > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAxzGLl2ODWuqVSBMRAiiZAJ4n2FYbI4f09DquZdT/vyUbQqT3EACdFJ+/ DLXfoJww6hWMNA5FRS22uGs= =Gpdg -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Jun 9 17:45:02 2004 From: mpowell at ena.com (Marc Powell) Date: Wed, 09 Jun 2004 10:45:02 -0500 Subject: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT = 512 byte limitation ? In-Reply-To: <40C71F0D.2000603@bergeron.com> References: <5CD3BFF77DFFD411BCD100D0B720F945198497@probe.britax-pmg.com> <40C71F0D.2000603@bergeron.com> Message-ID: <1086795902.2146.3.camel@daginbox> On Wed, 2004-06-09 at 09:30, Christopher M Bergeron wrote: > I've noticed that there is a limitation of 512 bytes for > SERVICE_CHECK_RESULTs. Where can I modify this? I didn't see any > configuration entries for it, so I grepped the code for 512 and can't > seem to find the limitation. > > Can anyone clue me in on how I can increase this? I'm trying to send > HTML back to nagios from nsca_send, and it quickly saturates the 512 > bytes. The external command file is implemented as a named PIPE. The amount of data that this pipe can hold at any given time is defined by the kernel of whatever OS you are running. Most flavors of linux implement a 512 byte pipe size I believe. If you want to adjust that you would need to recompile your kernel after locating and changing that value. Be aware that the change is global and would affect any program that uses a named pipe so Your Mileage May Definitely Vary and the change may cause unforeseen consequences. I believe there is further discussion of this issue in the mailing list archives if you're interested (and it's always a good idea to search there before posting). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Wed Jun 9 17:45:07 2004 From: MG at ev3.net (Wheeler, MG) Date: Wed, 9 Jun 2004 10:45:07 -0500 Subject: Notification Timing Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CF8@mail.ev3.net> But its paging me every 15 minutes like clock-work??? -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Wednesday, June 09, 2004 10:43 AM To: Wheeler, MG Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Notification Timing -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Notification_Interval = 12 There you go then; you'll get paged every 12 minutes while the service stays in a non-OK status. - -Jason Martin On Wed, 9 Jun 2004, Wheeler, MG wrote: > > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: Wednesday, June 09, 2004 10:15 AM > To: Wheeler, MG > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notification Timing > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You didn't include the notification interval. A service will only > re-notify every notification_interval. > > - -Jason Martin > > On Wed, 9 Jun 2004, > Wheeler, MG wrote: > > > I have a service that is paging me every 15 minutes (Its only a test and it is "Down.") Here's the thing though, the service itself has this defined: > > > > Nagios.cfg > > Status Update Interval 15 > > Retention Update Interval 60 > > Service Reaper Frequency 60 > > Interval Length 60 > > > > Services.cfg > > Max Check Attempts 2 > > Normal Check Interval 5 > > Retry Check Interval 1 > > > > So shouldn't I get paged every 2 minutes since the Max Checks Attempts = 2? If it was because of the Normal Check Interval being 5 minutes, then the one minute retries I would think it to be 6 minutes. Where does the 15 minutes come from???? > > > > > > _____________________________________________________________________ > > This message has been checked for all known viruses > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: GNOME Foundation > > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > > GNOME Users and Developers European Conference, 28-30th June in Norway > > http://2004/guadec.org > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQFAxymZl2ODWuqVSBMRAnwxAJ9MPO1jWS6LOsbQhCw/87NyMx/7QQCfWMWu > Cpv8PHFTu46ojK5gFW2MKxc= > =Z9rt > -----END PGP SIGNATURE----- > > _____________________________________________________________________ > Message scanned for viruses > > _____________________________________________________________________ > This message has been checked for all known viruses > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAxy/3l2ODWuqVSBMRAmhEAJ41iVKw02ubcwHx/BXKscnwsPd4hQCcC4fc aB424KpGF6OV6CDoUZqLlGk= =fWOX -----END PGP SIGNATURE----- _____________________________________________________________________ Message scanned for viruses _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 18:04:51 2004 From: marc at ena.com (Marc Powell) Date: Wed, 9 Jun 2004 11:04:51 -0500 Subject: Notification Timing Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B64B3@mismail2.ena.com> Wheeler, MG wrote: > I have a service that is paging me every 15 minutes (Its only a test > and it is "Down.") Here's the thing though, the service itself has > this defined: > > Nagios.cfg > Status Update Interval 15 > Retention Update Interval 60 > Service Reaper Frequency 60 > Interval Length 60 > > Services.cfg > Max Check Attempts 2 > Normal Check Interval 5 > Retry Check Interval 1 > > So shouldn't I get paged every 2 minutes since the Max Checks > Attempts = 2? If it was because of the Normal Check Interval being 5 > minutes, then the one minute retries I would think it to be 6 > minutes. Where does the 15 minutes come from???? If the service is constantly down then no, none of that really comes into play as far as notifications. You'll get an initial notification when the host goes down (actually up to 6 minutes after the host goes down depending on scheduling, normal_check_interval and retry_check_interval) and then subsequent notifictions go out at the notification_interval defined for the service (http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service) until the service recovers. When the service recovers everything is reset and you begin again. There are some other variable in there related to flapping but they're not really pertinent here. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Wed Jun 9 17:55:38 2004 From: MG at ev3.net (Wheeler, MG) Date: Wed, 9 Jun 2004 10:55:38 -0500 Subject: Notification Timing Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D918CDD@mail.ev3.net> Another baffling thing (hoping you can point me in the right direction) I have a test host that paged me once that it was down and has never paged again even though its been down the whole time (two days.) Here is the definition: Nagios.cfg Status Update Interval 15 Retention Update Interval 60 Interval Length 60 Command Check Interval -1 Sleep Time 1 host.cfg Max Check Attempts 5 Notification_Interval 15 -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Wednesday, June 09, 2004 10:49 AM To: Wheeler, MG Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Notification Timing -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well that is rather odd, I would expect pages ever 12 minutes. - -Jason Martin _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Wed Jun 9 18:09:31 2004 From: MG at ev3.net (Wheeler, MG) Date: Wed, 9 Jun 2004 11:09:31 -0500 Subject: Notification Timing Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CFA@mail.ev3.net> Thanks for replying to a newbie, I thought it would do that but my Notification_Interval is set to 12 but the pages are coming in every 15 minutes like clockwork. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Wednesday, June 09, 2004 11:05 AM To: Wheeler, MG; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Notification Timing Wheeler, MG wrote: > I have a service that is paging me every 15 minutes (Its only a test > and it is "Down.") Here's the thing though, the service itself has > this defined: > > Nagios.cfg > Status Update Interval 15 > Retention Update Interval 60 > Service Reaper Frequency 60 > Interval Length 60 > > Services.cfg > Max Check Attempts 2 > Normal Check Interval 5 > Retry Check Interval 1 > > So shouldn't I get paged every 2 minutes since the Max Checks > Attempts = 2? If it was because of the Normal Check Interval being 5 > minutes, then the one minute retries I would think it to be 6 > minutes. Where does the 15 minutes come from???? If the service is constantly down then no, none of that really comes into play as far as notifications. You'll get an initial notification when the host goes down (actually up to 6 minutes after the host goes down depending on scheduling, normal_check_interval and retry_check_interval) and then subsequent notifictions go out at the notification_interval defined for the service (http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service) until the service recovers. When the service recovers everything is reset and you begin again. There are some other variable in there related to flapping but they're not really pertinent here. -- Marc _____________________________________________________________________ Message scanned for viruses _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From krcalhoo at mtu.edu Wed Jun 9 18:06:52 2004 From: krcalhoo at mtu.edu (kevin) Date: Wed, 09 Jun 2004 12:06:52 -0400 Subject: Extended Service Information In-Reply-To: <5CD3BFF77DFFD411BCD100D0B720F94501AF2222@probe.britax-pmg.com> References: <5CD3BFF77DFFD411BCD100D0B720F94501AF2222@probe.britax-pmg.com> Message-ID: <40C7359C.50201@mtu.edu> Jeramy Eling wrote: > Hi All, > > I am trying, with very little success to get the extended service information to work in Nagios. I have spent the last few days trying to add the details to just one service, and no matter what I seem to do I just cannot get it to display. I have put my sample file below that I am working with:- > > define serviceextinfo{ > host_name adslfirewall > service_description PING > notes_url http://nagios/test2.html > icon_image win40.gif > icon_image_alt ADSL PING > } > > Can anyone give me any hints/tips on how I can get this working, I have read the documentation over and over and checked out the mailing-list but to no avail, I am using Nagios 1.2 on RedHat 9.0. > > Thanks in advance > > Jez > The serviceextinfo that the check_traffic program made for me looks like this. define serviceextinfo{ host_name storage4 service_description netapp notes_url /nagios/cgi-bin/storage4_netapp.cgi icon_image traffic-icon.jpg icon_image_alt View graphs } So I would try changing the notes_url. Also, for the icon to work it should be located in /nagios/share/images/logos/ You should also check the nagios.cfg file to make sure that the serviceextinfo file is being loaded as a config file. There should be a line that looks like this. cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg After all that you should be able to restart nagios and see your note. Kevin ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Wed Jun 9 17:45:24 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 9 Jun 2004 09:45:24 -0600 Subject: Blank Notifications Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9205@golden-m.mactec.com> I would start with an upgrade to Nagios 1.2. Each new version fixes any bugs found in previous ones, and there have been two stable releases since 1.0. You might also want to check your mail logs to see if there are any errors in sending the messages. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Reutzel, Shane Sent: Wednesday, June 09, 2004 6:58 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Blank Notifications I am using Nagios 1.0 on RedHat Enterprise 3.0. I have been monitoring for several months now and recently turned on the notifications. Most of the time I received the notifications as normal with all the content, but for some reason I start receiving notifications with no content or blank. This may go on for a day before I start getting normal notifications again. Does anybody know the solution to this problem or anyway to help troubleshoot this? Any response will be appreciated. -Shane -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Jun 9 18:35:54 2004 From: marc at ena.com (Marc Powell) Date: Wed, 9 Jun 2004 11:35:54 -0500 Subject: Notification Timing Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B64B6@mismail2.ena.com> Wheeler, MG wrote: > But its paging me every 15 minutes like clock-work??? Is sendmail on that machine set to run it's queue every 15 minutes? Maybe the messages are being shunted to the queue on first delivery attempt and then get processed later? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smalhotra at dataarmor.net Wed Jun 9 20:35:43 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Thu, 10 Jun 2004 00:05:43 +0530 Subject: Modify Nagios menu on left side References: Message-ID: <00e401c44e50$98dbac20$3a4007d2@hotwire> To Add : The grouplist.cgi doesn't support spaces in the group name Regards, Sumit ----- Original Message ----- From: Elmar van Mourik To: Cc: Sand Philipp Sent: Wednesday, June 09, 2004 4:59 PM Subject: RE: [Nagios-users] Modify Nagios menu on left side Hi Philipp, I had the same promlem. Check the grouplist.cgi: line 10/11: CFGFILES=`egrep -e "cfg_file=" $NAGIOSDIR/etc/nagios.cfg|cut -d "=" -f 2` CFGDIRS=`egrep -e "cfg_dir=" $NAGIOSDIR/etc/nagios.cfg|cut -d "=" -f 2` and line 23: HOSTGROUPS=`egrep -e "hostgroup_name" $CFGFILE|awk '{print $2}'| tr "," " "` I had to remove the ^ after egrep -e " and everything works fine! Elmar van Mourik -----Oorspronkelijk bericht----- Van: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Namens Sand Philipp Verzonden: woensdag 9 juni 2004 10:30 Aan: Michael Huettig; nagios-users at lists.sourceforge.net CC: Frank Pikelner Onderwerp: RE: [Nagios-users] Modify Nagios menu on left side Hi, Thanks for the grouplist hint. I just wanted to implement this into my nagios, but it didn't worked quite well :-/ I did everything the way it's explained in the README, but when i finish, i don't get this treeview on the left, but only a (in my optinion totaly absurd) Link named "Service Detail 2" ??!! Do I have to edit something else there? Maybe you can mail me your html files or something? Thank you, Philipp > -----Original Message----- > From: Michael Huettig > [mailto:Michael.Huettig at Medien-Systempartner.de] > Sent: Wednesday, June 09, 2004 8:57 AM > To: nagios-users at lists.sourceforge.net > Cc: Frank Pikelner > Subject: Re: [Nagios-users] Modify Nagios menu on left side > > Am Mittwoch, 9. Juni 2004 04:07 schrieb Frank Pikelner: > > I've noticed from Nagios screen shots on several sites (e.g. > > http://apan.sourceforge.net/) that users have been able to > modify the > > menu (on left side) to for example make sub categories > below SERVICE > > DETAILS such as unix-boxes, Windows-server, Mail, printers, > etc. I was > > wondering how this can be done and items placed into these sub > > categories below SERVICE DETAILS? > > Look for grouplist.cgi on apan.sourceforge.net-Download-section > > > > Thank you, > > > > Frank > > Pikelner at rogers.com > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation Hackers > Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June > in Norway http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Door de electronische verzending van het bericht kunnen er geen rechten ontleend worden aan de informatie. Als u deze e-mail onterecht heeft ontvangen, waarschuwt u dan de afzender via postmaster at zhew.nl en verwijder de gegevens van de computer. ZHEW wordt opgeheven. Vanaf 1 januari 2005 zijn de watertaken van het zuiveringsschap ondergebracht bij drie ?all-in? waterschappen. Meer informatie: Zuiveringsschap Hollandse Eilanden en Waarden, Dordrecht tel: +31 (0)78 6397100 fax: +31 (0)78 6311871 web: http://www.zhew.nl ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Wed Jun 9 20:54:42 2004 From: MG at ev3.net (Wheeler, MG) Date: Wed, 9 Jun 2004 13:54:42 -0500 Subject: Multiple Host Notifications Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CFD@mail.ev3.net> When my test host goes down and stays down I get one notification and no repeat notifications at all. I have attached my nagios.cfg and here is the host.cfg for this one: define host { name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define host { host_name MGServerTest alias MGServerTest address 10.9.8.15 use generic-host max_check_attempts 5 notification_interval 15 notification_period 24x7 notification_options d,u,r notifications_enabled 1 check_command check-host-alive checks_enabled 1 stalking_options d,u parents mg_network } _____________________________________________________________________ This message has been checked for all known viruses -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.cfg Type: application/octet-stream Size: 2205 bytes Desc: nagios.cfg URL: From seppy at chartermi.net Wed Jun 9 21:05:03 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Wed, 9 Jun 2004 15:05:03 -0400 (EDT) Subject: Line Limit for a Nagios Configuration Message-ID: Hi Folks: Is there some sort of line limit for nagios when it reads in a configuration file. The reason I ask is I have to create daily a configuration file that monitors about 3952 hosts, and growing each day. When I create my configuration I get an error when doing the syntax check. Error: Could not add object property in file '/usr/local/nagios/etc/devic.cfg' on line 27670. Line 27670 is the last line of my hostgroup defintion. the hostgroup definition is define hostgroup{ use mygroup hostgroup_name MACS alias DEVICES members 00_00_ca_24_4f_24,00_00_ca_30_24_7c,00_00_ca_30_24_7d,00_00_ca_30_24_b4,00_00_ca_30_24_b5,00_00_ca_30_25_24,00_00_ca_30_25_25,00_00_ca_30_25_28,00_00_ca_30_25_29,00_00_ca_30_25_38,00_00_ca_30_25_39,00_00_ca_30_3a_f1,00_00_ca_30_3a_f5,00_00_ca_30_3a_f9,00_00_ca_30_3a_fd,00_00_ca_30_3b_01,00_00_ca_30_3b_05,00_00_ca_30_3b_09,00_00_ca_30_3b_0d,00_00_ca_30_3b_19,00_00_ca_30_3b_1d,00_00_ca_30_3b_25,00_00_ca_30_3b_29,00_00_ca_30_3b_39,00_00_ca_30_3b_3d,00_00_ca_30_3b_45,00_00_ca_30_3b_49,00_00_ca_30_3b_55,00_00_ca_30_3b_59,00_00_ca_30_3b_65,00_00_ca_30_3b_71,00_00_ca_30_3b_79,00_00_ca_30_3b_81,00_00_ca_30_3b_89,00_00_ca_30_3b_91,00_00_ca_30_3b_95,00_00_ca_30_3b_99,00_00_ca_30_3b_9d,00_00_ca_30_3b_b1,00_00_ca_30_3b_b5,00_00_ca_30_3b_b9,00_00_ca_30_3b_bd,00_00_ca_30_3b_c1,00_00_ca_30_3b_c5,00_00_ca_30_3b_c9,00_00_ca_30_3b_cd,00_00_ca_30_3b_d1,00_00_ca_30_3b_d5,00_00_ca_30_3b_d9,00_00_ca_30_3b_dd,00_00_ca_30_3b_e1,00_00_ca_30_3b_e5,00_00_ca_30_3b_e9,00_00_ca_30_3b_f5,00_00_ca_30_3b_f9 } The members line includes the inforamtion for all 3952 devices, and so is one long line of 3953 ids seperated by a comma. Where would the limitation be in what I'm doing that doesn't allow it to read the configuration option. Thanks for the assistance. Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Wed Jun 9 21:19:05 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 9 Jun 2004 15:19:05 -0400 Subject: Modify Nagios menu on left side Message-ID: > I've noticed from Nagios screen shots on several sites (e.g. > http://apan.sourceforge.net/) that users have been able to > modify the menu (on left side) to for example make sub > categories below SERVICE DETAILS such as unix-boxes, > Windows-server, Mail, printers, etc. I was wondering how this > can be done and items placed into these sub categories below > SERVICE DETAILS? 1) Use grouplist.cgi - install is pretty simple 2) Define hostgroups in your files, either where the line begins with "hostgroup" or by a modification someone else mentioned, where the ^ in the egrep is removed. 3) Use underbars, dashes, or some other symbol for whitespace, or grouplist will try and tackle it as multiple groups 4) Always make sure the hostgroup line has a proper unix newline (i.e. no ^M crap from dos/unix transfers) If you follow the above suggestions, the hostgroups you define will properly show up under Service Detail as indented groups with the appropriate link that opens them in the right hand frame. If you ignore rule #4, your hostgroup links will open the "Summary Map", in a new window, showing only that group. Learned that one the hard way ;) If anyone has a more "opt in" version of grouplist, please let me know. I'm working on the the issue where we have internal groups and client groups, where the internal hostgroups should not be visible to client logins, but be monitored on the same server. I like the auto-gen of grouplist, but right now I'm stuck building per-user views, ugh. Just wanted to see if anyone else had something before I start working on it. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seppy at chartermi.net Wed Jun 9 21:17:49 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Wed, 9 Jun 2004 15:17:49 -0400 (EDT) Subject: 512 byte limit on PROCESS STATUS output? In-Reply-To: <40C6520B.3030809@bergeron.com> References: <40C6520B.3030809@bergeron.com> Message-ID: On Tue, 8 Jun 2004, Christopher Bergeron wrote: > Is there a configuration option for changing the 512 byte limit that > nsca returns to nagios? I'm not sure if the limitation is on the > nsca_send command or the nagios receiver. Recompile NSCA by modifying common/common.h where you see #define MAX_PLUGINOUTPUT_LENGTH 512 Put the new nsca and send_nsca in place and enjoy. Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seppy at chartermi.net Wed Jun 9 21:27:43 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Wed, 9 Jun 2004 15:27:43 -0400 (EDT) Subject: 512 byte limit on PROCESS STATUS output? In-Reply-To: <40C6520B.3030809@bergeron.com> References: <40C6520B.3030809@bergeron.com> Message-ID: On Tue, 8 Jun 2004, Christopher Bergeron wrote: > Is there a configuration option for changing the 512 byte limit that > nsca returns to nagios? I'm not sure if the limitation is on the > nsca_send command or the nagios receiver. > > Any hints or leads are greatly appreciated. My earlier response was a bit quick and i neglected to mention that there are two places at the very least and possibly more that need to be modified in common/common.h. Obviously the INPUT_BUFFER should probably be over and above PLUGINOUTPUT_LENGTH, but sometimes I'm retarded :p #define MAX_INPUT_BUFFER 2048 /* max size of most buffers we use */ #define MAX_PLUGINOUTPUT_LENGTH 2048 This is a hack and completely unsupported by anyone. I use it as a configuration on all my nsca clients and servers. I love passing URL's into output and they get lengthy. Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Wed Jun 9 21:52:31 2004 From: MG at ev3.net (Wheeler, MG) Date: Wed, 9 Jun 2004 14:52:31 -0500 Subject: Multiple Host Notifications Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CFE@mail.ev3.net> I even tried creating a Host Escalation for this host and defined it to email me after 2 times with a max of zero (so it won't stop) and it isn't even paging for that. In the log file it only lists the one notice that it is down and then no others. Don't even see it checking the server in the log. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Wheeler, MG Sent: Wednesday, June 09, 2004 1:55 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Multiple Host Notifications When my test host goes down and stays down I get one notification and no repeat notifications at all. I have attached my nagios.cfg and here is the host.cfg for this one: define host { name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define host { host_name MGServerTest alias MGServerTest address 10.9.8.15 use generic-host max_check_attempts 5 notification_interval 15 notification_period 24x7 notification_options d,u,r notifications_enabled 1 check_command check-host-alive checks_enabled 1 stalking_options d,u parents mg_network } _____________________________________________________________________ This message has been checked for all known viruses _____________________________________________________________________ Message scanned for viruses _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kerry.cox at ksl.com Wed Jun 9 21:50:07 2004 From: kerry.cox at ksl.com (Kerry Cox) Date: Wed, 09 Jun 2004 13:50:07 -0600 Subject: nrpe installation on clients Message-ID: <1086810606.31221.39.camel@quasi.ksl.com> I am in the process of migrating to Nagios from off of Big Brother. However, I am finding setting up client processes to be a bit problematic. I finally got NRPE to work on a test box running Scientific Linux 3.0.1 (a great RHEL AS3 derivative BTW that beats the socks off Whitebox and Tao), after having read the FAQs and postings in the mailing list. Is it really necessary to install Nagios and the plugins as well as NRPE on the cleint/remote machine? I could not get communications to work until I installed Nagios on the remote machine, installed the plugins and then had all the check_* scripts in /usr/local/nagios/libexec. I would hate to have to install Nagios, the plugins and NRPE on every single client machine I wanted to monitor. According to the README included with NRPE, there was a lot of hoops to jump through. Or did I simply miss something regarding setting up the client. Again, I had to have the check_* scripts on the remote client for the Nagios host to see anything. I hate to compare apples to oranges, but with BB you simply ran a script for the new client box, unpacked on the client and everything worked. I'd love to see Nagios streamlined and not have to set up multiple configuration entries for each and every service. Thanks. KJ ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 22:55:05 2004 From: marc at ena.com (Marc Powell) Date: Wed, 9 Jun 2004 15:55:05 -0500 Subject: Line Limit for a Nagios Configuration Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B64C6@mismail2.ena.com> Brian E. Seppanen wrote: > Hi Folks: > > Is there some sort of line limit for nagios when it reads in a > configuration file. > > The reason I ask is I have to create daily a configuration file that > monitors about 3952 hosts, and growing each day. When I create my > configuration I get an error when doing the syntax check. > > Error: Could not add object property in file > '/usr/local/nagios/etc/devic.cfg' on line 27670. There is a limit on how long a line can be. It's defined in xdata/xodtemplate.h: #define MAX_XODTEMPLATE_INPUT_BUFFER 49152 I believe the default is 8192 bytes but as you can see, I've raised mine to 49152 (and higher) with no problems. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-sourceforge at microlnk.net Wed Jun 9 22:54:39 2004 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Wed, 09 Jun 2004 15:54:39 -0500 Subject: Multiple Host Notifications In-Reply-To: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CFE@mail.ev3.net> References: <2F29C1E275BF4F4E9DCAE48033A00B9D01030CFE@mail.ev3.net> Message-ID: <40C7790F.2070503@microlnk.net> That should be related to your notification_interval. If you set that to zero, it will only notify you once for any particular problem. I see you have it set to 15, so I'm not sure what the answer is there. But that's the setting that should normally control this behavior. Also, my understanding is that flap detection is at least somewhat experimental, in Nagios 1.2 if nothing else. So you may want to disable that. Hard to say if that is related to your current problem, but still... > When my test host goes down and stays down I get one notification and no repeat notifications at all. > > I have attached my nagios.cfg and here is the host.cfg for this one: > > define host { > name generic-host > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > } > > define host { > host_name MGServerTest > alias MGServerTest > address 10.9.8.15 > use generic-host > max_check_attempts 5 > notification_interval 15 > notification_period 24x7 > notification_options d,u,r > notifications_enabled 1 > check_command check-host-alive > checks_enabled 1 > stalking_options d,u > parents mg_network > } -- Jason Byrns System Administrator, MicroLnk ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seppy at chartermi.net Wed Jun 9 23:02:45 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Wed, 9 Jun 2004 17:02:45 -0400 (EDT) Subject: Line Limit for a Nagios Configuration In-Reply-To: References: Message-ID: On Wed, 9 Jun 2004, Brian E. Seppanen wrote: > Hi Folks: > > Is there some sort of line limit for nagios when it reads in a > configuration file. > > The reason I ask is I have to create daily a configuration file that > monitors about 3952 hosts, and growing each day. When I create my > configuration I get an error when doing the syntax check. > > Error: Could not add object property in file > '/usr/local/nagios/etc/devic.cfg' on line 27670. > > Line 27670 is the last line of my hostgroup defintion. > > the hostgroup definition is > define hostgroup{ > use mygroup > hostgroup_name MACS > alias DEVICES > members 00_00_ca_24_4f_24,00_00_ca_30_24_7c,00_00_ca_30_24_7d,00_00_ca_30_24_b4,00_00_ca_30_24_b5,00_00_ca_30_25_24,00_00_ca_30_25_25,00_00_ca_30_25_28,00_00_ca_30_25_29,00_00_ca_30_25_38,00_00_ca_30_25_39,00_00_ca_30_3a_f1,00_00_ca_30_3a_f5,00_00_ca_30_3a_f9,00_00_ca_30_3a_fd,00_00_ca_30_3b_01,00_00_ca_30_3b_05,00_00_ca_30_3b_09,00_00_ca_30_3b_0d,00_00_ca_30_3b_19,00_00_ca_30_3b_1d,00_00_ca_30_3b_25,00_00_ca_30_3b_29,00_00_ca_30_3b_39,00_00_ca_30_3b_3d,00_00_ca_30_3b_45,00_00_ca_30_3b_49,00_00_ca_30_3b_55,00_00_ca_30_3b_59,00_00_ca_30_3b_65,00_00_ca_30_3b_71,00_00_ca_30_3b_79,00_00_ca_30_3b_81,00_00_ca_30_3b_89,00_00_ca_30_3b_91,00_00_ca_30_3b_95,00_00_ca_30_3b_99,00_00_ca_30_3b_9d,00_00_ca_30_3b_b1,00_00_ca_30_3b_b5,00_00_ca_30_3b_b9,00_00_ca_30_3b_bd,00_00_ca_30_3b_c1,00_00_ca_30_3b_c5,00_00_ca_30_3b_c9,00_00_ca_30_3b_cd,00_00_ca_30_3b_d1,00_00_ca_30_3b_d5,00_00_ca_30_3b_d9,00_00_ca_30_3b_dd,00_00_ca_30_3b_e1,00_00_ca_30_3b_e5,00_00_ca_30_3b_e9,00_00_ca_30_3b_f5,00_00_ca_30_3b_f9 > } > > The members line includes the inforamtion for all 3952 devices, and so is > one long line of 3953 ids seperated by a comma. Where would the > limitation be in what I'm doing that doesn't allow it to read the > configuration option. > > Thanks for the assistance. > > I've tried a loop that would take each 500 devices and seperate them it into a new hostgroup. Here's what I got, with 500 devices per hostgroup I got the same error as above Error: Could not add object property in file If I tried seperating 250 devices per hostgroup, I would get a segmentation fault when attempting to do a syntax check. So it appears I've run into a file size limitation in one case, and in another case run up against a buffer or line size limitation. Do I have any way around this? Anyone else with a large configuration file that they can attest works that would at least encourage me that I'm not trying to accomplish the impossible, or at least extremely difficult. Say a config file about 548K? Thanks, Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 23:07:04 2004 From: marc at ena.com (Marc Powell) Date: Wed, 9 Jun 2004 16:07:04 -0500 Subject: nrpe installation on clients Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B64C7@mismail2.ena.com> Kerry Cox wrote: > I am in the process of migrating to Nagios from off of Big Brother. > However, I am finding setting up client processes to be a bit > problematic. I finally got NRPE to work on a test box running > Scientific Linux 3.0.1 (a great RHEL AS3 derivative BTW that beats > the socks off Whitebox and Tao), after having read the FAQs and > postings in the mailing list. > Is it really necessary to install Nagios and the plugins as well as > NRPE on the cleint/remote machine? Only the NRPE client, it's config file and the specific plugins you intend to use. NRPE really isn't that difficult to get going. > regarding setting up the client. Again, I had to have the check_* > scripts on the remote client for the Nagios host to see anything. Nagios has to be able to run the plugin on the remote machine so you must put plugins there that are specific to the OS and architecture. It can't just push the plugin and have it execute on the remote machine because a) that's very very insecure and b) it could be a completely foreign architecture (try running an ELF compiled program on WinXP). Once you've defined the basics of what you want to monitor on each machine and how you want to monitor it, it's a trivial task to create a tarball to put all the necessary files in the correct places, presuming the architecure and OS are the same across the board. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mds at helices.org Wed Jun 9 23:10:08 2004 From: mds at helices.org (Michael D Schleif) Date: Wed, 9 Jun 2004 16:10:08 -0500 Subject: Debian b0rkage ??? Message-ID: <20040609211008.GN4649@Bragi.private.network> I am running Debian, mostly testing and some unstable. I installed nagios from testing, and most of it was working. I was having problems with status, as documented here: Those patches appeared to resolve the problem. I remain confused why Debian does not show a bug against this: I was going to write the maintainer, when I noticed that unstable has a newer version: # apt-cache policy nagios-mysql nagios-mysql: Installed: 2:1.2-3.1 Candidate: 2:1.2-3.1 Version Table: *** 2:1.2-3.1 0 500 http://mirror.cs.wisc.edu unstable/main Packages 100 /var/lib/dpkg/status 2:1.1-11 0 990 http://mirror.cs.wisc.edu testing/main Packages 2:1.0-4.bunk 0 500 http://www.fs.tum.de woody/bunk-1/main Packages So, I upgraded to that version, which resulted in the five (5) crucial definition errors documented below. I _purged_ the entire package, and installed unstable from scratch -- same problem: # sudo /usr/sbin/nagios -v /etc/nagios/nagios.cfg Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 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 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 host group escalations... Checked 0 host group 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 0 commands. Checking time periods... Checked 0 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 5 Here is my main configuration: # grep -v '^\(#\|$\)' nagios.cfg log_file=/var/log/nagios/nagios.log cfg_file=/etc/nagios/checkcommands.cfg cfg_file=/etc/nagios/misccommands.cfg cfg_file=/etc/nagios/contactgroups.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/dependencies.cfg cfg_file=/etc/nagios/escalations.cfg cfg_file=/etc/nagios/hostgroups.cfg cfg_file=/etc/nagios/hosts.cfg cfg_file=/etc/nagios/services.cfg cfg_file=/etc/nagios/timeperiods.cfg resource_file=/etc/nagios/resource.cfg status_file=/var/log/nagios/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/var/log/nagios/rw/nagios.cmd comment_file=/var/log/nagios/comment.log downtime_file=/var/log/nagios/downtime.log lock_file=/var/log/nagios/nagios.lock temp_file=/var/log/nagios/nagios.tmp log_rotation_method=d log_archive_path=/var/log/nagios/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/var/log/nagios/status.sav retention_update_interval=60 use_retained_program_state=0 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=nagios admin_pager=pagenagios I made certain that the configuration files were the same between testing and unstable. Here is a file listing: # ls -al /etc/nagios/ total 152 drwxr-xr-x 4 nagios www-data 4096 Jun 9 15:32 . drwxr-xr-x 122 root root 8192 Jun 9 14:56 .. -rw-r--r-- 1 nagios nagios 1139 Mar 27 03:37 apache.conf -rw-r--r-- 1 nagios nagios 17835 Jun 9 15:32 cgi.cfg -rw-r--r-- 1 nagios nagios 4427 Mar 27 03:37 checkcommands.cfg -rw-r--r-- 1 nagios nagios 681 Mar 27 03:37 command.cfg -rw-r--r-- 1 nagios nagios 2031 Jun 9 01:14 contactgroups.cfg -rw-r--r-- 1 nagios nagios 1894 Jun 9 01:20 contacts.cfg -rw-r--r-- 1 nagios nagios 1662 Mar 27 03:37 dependencies.cfg -rw-r--r-- 1 nagios nagios 2256 Mar 27 03:37 escalations.cfg -rw-r--r-- 1 nagios nagios 2245 Jun 9 01:15 hostgroups.cfg -rw-r--r-- 1 nagios nagios 7231 Jun 9 00:57 hosts.cfg -rw-r----- 1 nagios www-data 44 Jun 9 15:21 htpasswd.users -rw-r--r-- 1 nagios nagios 4250 Mar 27 03:37 misccommands.cfg -rw-r--r-- 1 nagios nagios 21163 Jun 9 14:37 nagios.cfg -rw-r--r-- 1 nagios nagios 3365 Jun 8 08:55 resource.cfg -rw-r--r-- 1 nagios nagios 21643 Jun 9 14:17 services.cfg drwxr-xr-x 2 nagios nagios 4096 Jun 9 14:36 stylesheets -rw-r--r-- 1 nagios nagios 1589 Mar 27 03:37 timeperiods.cfg drwxr-xr-x 2 nagios nagios 4096 Jun 9 15:07 tmp Where do I go from here? What am I missing? What do you think? -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From jamie.baddeley at vpc.co.nz Wed Jun 9 23:25:28 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 10 Jun 2004 09:25:28 +1200 Subject: Debian b0rkage ??? In-Reply-To: <20040609211008.GN4649@Bragi.private.network> References: <20040609211008.GN4649@Bragi.private.network> Message-ID: <1086816328.3292.4.camel@titan.fx.net.nz> why don't you run nag1.2 from backports.org on stable? It seems to me that your cfg files are what's wrong. Is there actually some sane definitions in services.cfg etc? good luck. jamie On Thu, 2004-06-10 at 09:10, Michael D Schleif wrote: > I am running Debian, mostly testing and some unstable. I installed > nagios from testing, and most of it was working. I was having problems > with status, as documented here: > > > > Those patches appeared to resolve the problem. I remain confused why > Debian does not show a bug against this: > > > > I was going to write the maintainer, when I noticed that unstable has a > newer version: > > # apt-cache policy nagios-mysql > nagios-mysql: > Installed: 2:1.2-3.1 > Candidate: 2:1.2-3.1 > Version Table: > *** 2:1.2-3.1 0 > 500 http://mirror.cs.wisc.edu unstable/main Packages > 100 /var/lib/dpkg/status > 2:1.1-11 0 > 990 http://mirror.cs.wisc.edu testing/main Packages > 2:1.0-4.bunk 0 > 500 http://www.fs.tum.de woody/bunk-1/main Packages > > So, I upgraded to that version, which resulted in the five (5) crucial > definition errors documented below. I _purged_ the entire package, and > installed unstable from scratch -- same problem: > > # sudo /usr/sbin/nagios -v /etc/nagios/nagios.cfg > Nagios 1.2 > Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) > Last Modified: 02-02-2004 > 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 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 host group escalations... > Checked 0 host group 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 0 commands. > Checking time periods... > Checked 0 time periods. > Checking for circular paths between hosts... > Checking for circular service execution dependencies... > Checking global event handlers... > Checking obsessive compulsive service processor command... > Checking misc settings... > > Total Warnings: 0 > Total Errors: 5 > > > Here is my main configuration: > > # grep -v '^\(#\|$\)' nagios.cfg > log_file=/var/log/nagios/nagios.log > cfg_file=/etc/nagios/checkcommands.cfg > cfg_file=/etc/nagios/misccommands.cfg > cfg_file=/etc/nagios/contactgroups.cfg > cfg_file=/etc/nagios/contacts.cfg > cfg_file=/etc/nagios/dependencies.cfg > cfg_file=/etc/nagios/escalations.cfg > cfg_file=/etc/nagios/hostgroups.cfg > cfg_file=/etc/nagios/hosts.cfg > cfg_file=/etc/nagios/services.cfg > cfg_file=/etc/nagios/timeperiods.cfg > resource_file=/etc/nagios/resource.cfg > status_file=/var/log/nagios/status.log > nagios_user=nagios > nagios_group=nagios > check_external_commands=1 > command_check_interval=-1 > command_file=/var/log/nagios/rw/nagios.cmd > comment_file=/var/log/nagios/comment.log > downtime_file=/var/log/nagios/downtime.log > lock_file=/var/log/nagios/nagios.lock > temp_file=/var/log/nagios/nagios.tmp > log_rotation_method=d > log_archive_path=/var/log/nagios/archives > use_syslog=1 > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=0 > log_external_commands=1 > log_passive_service_checks=1 > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=0 > service_reaper_frequency=10 > sleep_time=1 > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > retain_state_information=1 > state_retention_file=/var/log/nagios/status.sav > retention_update_interval=60 > use_retained_program_state=0 > interval_length=60 > use_agressive_host_checking=0 > execute_service_checks=1 > accept_passive_service_checks=1 > enable_notifications=1 > enable_event_handlers=1 > process_performance_data=0 > obsess_over_services=0 > check_for_orphaned_services=0 > check_service_freshness=1 > freshness_check_interval=60 > aggregate_status_updates=1 > status_update_interval=15 > enable_flap_detection=0 > low_service_flap_threshold=5.0 > high_service_flap_threshold=20.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > date_format=us > illegal_object_name_chars=`~!$%^&*|'"<>?,()= > illegal_macro_output_chars=`~$&|'"<> > admin_email=nagios > admin_pager=pagenagios > > > I made certain that the configuration files were the same between > testing and unstable. Here is a file listing: > > # ls -al /etc/nagios/ > total 152 > drwxr-xr-x 4 nagios www-data 4096 Jun 9 15:32 . > drwxr-xr-x 122 root root 8192 Jun 9 14:56 .. > -rw-r--r-- 1 nagios nagios 1139 Mar 27 03:37 apache.conf > -rw-r--r-- 1 nagios nagios 17835 Jun 9 15:32 cgi.cfg > -rw-r--r-- 1 nagios nagios 4427 Mar 27 03:37 checkcommands.cfg > -rw-r--r-- 1 nagios nagios 681 Mar 27 03:37 command.cfg > -rw-r--r-- 1 nagios nagios 2031 Jun 9 01:14 contactgroups.cfg > -rw-r--r-- 1 nagios nagios 1894 Jun 9 01:20 contacts.cfg > -rw-r--r-- 1 nagios nagios 1662 Mar 27 03:37 dependencies.cfg > -rw-r--r-- 1 nagios nagios 2256 Mar 27 03:37 escalations.cfg > -rw-r--r-- 1 nagios nagios 2245 Jun 9 01:15 hostgroups.cfg > -rw-r--r-- 1 nagios nagios 7231 Jun 9 00:57 hosts.cfg > -rw-r----- 1 nagios www-data 44 Jun 9 15:21 htpasswd.users > -rw-r--r-- 1 nagios nagios 4250 Mar 27 03:37 misccommands.cfg > -rw-r--r-- 1 nagios nagios 21163 Jun 9 14:37 nagios.cfg > -rw-r--r-- 1 nagios nagios 3365 Jun 8 08:55 resource.cfg > -rw-r--r-- 1 nagios nagios 21643 Jun 9 14:17 services.cfg > drwxr-xr-x 2 nagios nagios 4096 Jun 9 14:36 stylesheets > -rw-r--r-- 1 nagios nagios 1589 Mar 27 03:37 timeperiods.cfg > drwxr-xr-x 2 nagios nagios 4096 Jun 9 15:07 tmp > > > Where do I go from here? What am I missing? > > What do you think? -- ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mds at helices.org Wed Jun 9 23:49:30 2004 From: mds at helices.org (Michael D Schleif) Date: Wed, 9 Jun 2004 16:49:30 -0500 Subject: Debian b0rkage ??? In-Reply-To: <1086816328.3292.4.camel@titan.fx.net.nz> References: <20040609211008.GN4649@Bragi.private.network> <1086816328.3292.4.camel@titan.fx.net.nz> Message-ID: <20040609214930.GO4649@Bragi.private.network> * Jamie Baddeley [2004:06:10:09:25:28+1200] scribed: > why don't you run nag1.2 from backports.org on stable? > > It seems to me that your cfg files are what's wrong. Is there actually > some sane definitions in services.cfg etc? > > good luck. > > jamie > > On Thu, 2004-06-10 at 09:10, Michael D Schleif wrote: > > I am running Debian, mostly testing and some unstable. I installed > > nagios from testing, and most of it was working. I was having problems > > with status, as documented here: > > > > > > > > Those patches appeared to resolve the problem. I remain confused why > > Debian does not show a bug against this: > > > > > > > > I was going to write the maintainer, when I noticed that unstable has a > > newer version: > > > > # apt-cache policy nagios-mysql > > nagios-mysql: > > Installed: 2:1.2-3.1 > > Candidate: 2:1.2-3.1 > > Version Table: > > *** 2:1.2-3.1 0 > > 500 http://mirror.cs.wisc.edu unstable/main Packages > > 100 /var/lib/dpkg/status > > 2:1.1-11 0 > > 990 http://mirror.cs.wisc.edu testing/main Packages > > 2:1.0-4.bunk 0 > > 500 http://www.fs.tum.de woody/bunk-1/main Packages > > > > So, I upgraded to that version, which resulted in the five (5) crucial > > definition errors documented below. I _purged_ the entire package, and > > installed unstable from scratch -- same problem: As I stated, this was working with testing (2:1.1-11), and b0rken with unstable (2:1.2-3.1). Apparently, some are successfully using unstable. So, I agree that there is probably something wrong with my cfg's. However, I diff'd all the original package cfg's that I am using between the two (2) versions, and I cannot find a difference. I will consider backports, if I find that the official DEB's are b0rken beyond usability. However, since I am _not_ running woody, I fail to see a benefit? Here are the functional contents of /etc/nagios/services.cfg: define service{ name generic-service active_checks_enabled 0 passive_checks_enabled 0 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 0 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define service{ use generic-service host_name gw service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups router-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } define service{ use generic-service check_command check_ping!100.0,20%!500.0,60% check_period 24x7 contact_groups w2k-admins host_name balder is_volatile 0 max_check_attempts 3 normal_check_interval 5 notification_interval 120 notification_options c,r notification_period 24x7 retry_check_interval 1 service_description PING } define service{ use generic-service check_command check_ping!100.0,20%!500.0,60% check_period 24x7 contact_groups linux-admins host_name bragi is_volatile 0 max_check_attempts 3 normal_check_interval 5 notification_interval 240 notification_options c,r notification_period 24x7 retry_check_interval 1 service_description PING } define service{ use generic-service check_command check_http check_period 24x7 contact_groups web-admins host_name bragi is_volatile 0 max_check_attempts 3 normal_check_interval 5 notification_interval 120 notification_options w,u,c,r notification_period 24x7 retry_check_interval 1 service_description HTTP } define service{ use generic-service check_command check_pop check_period 24x7 contact_groups mail-admins host_name trout is_volatile 0 max_check_attempts 3 normal_check_interval 5 notification_interval 120 notification_options w,u,c,r notification_period 24x7 retry_check_interval 1 service_description POP3 } define service{ use generic-service check_command check_smtp check_period 24x7 contact_groups mail-admins host_name trout is_volatile 0 max_check_attempts 3 normal_check_interval 3 notification_interval 120 notification_options w,u,c,r notification_period 24x7 retry_check_interval 1 service_description SMTP } define service{ use generic-service check_command check_users!75!150 check_period 24x7 contact_groups linux-admins host_name bragi is_volatile 0 max_check_attempts 3 normal_check_interval 5 notification_interval 240 notification_options w,u,c,r notification_period 24x7 retry_check_interval 2 service_description Current Users } define service{ use generic-service check_command check_procs!150!200!RSZDT check_period 24x7 contact_groups linux-admins host_name bragi is_volatile 0 max_check_attempts 3 normal_check_interval 5 notification_interval 240 notification_options w,u,c,r notification_period 24x7 retry_check_interval 2 service_description Total Processes } -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From kerry.cox at ksl.com Wed Jun 9 23:56:46 2004 From: kerry.cox at ksl.com (Kerry Cox) Date: Wed, 09 Jun 2004 15:56:46 -0600 Subject: nrpe installation on clients In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B64C7@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B64C7@mismail2.ena.com> Message-ID: <1086818205.31221.93.camel@quasi.ksl.com> On Wed, 2004-06-09 at 15:07, Marc Powell wrote: > Only the NRPE client, it's config file and the specific plugins you > intend to use. NRPE really isn't that difficult to get going. Right, which is what I did. However, the docs with NRPE did not specify that the check_* scripts needed to be on the remote host as well. I had to figure that out. The Nagios FAQ page is good for most debugging but I think it ignores this fact. And yes, it is an easy matter to simply tar all the scripts up and place them on whatever box you want. I am simply partial to the bblient script included with Big Brother. It's fairly automated. > > regarding setting up the client. Again, I had to have the check_* > > scripts on the remote client for the Nagios host to see anything. > > Nagios has to be able to run the plugin on the remote machine so you > must put plugins there that are specific to the OS and architecture. It > can't just push the plugin and have it execute on the remote machine > because a) that's very very insecure and b) it could be a completely > foreign architecture (try running an ELF compiled program on WinXP). > Once you've defined the basics of what you want to monitor on each > machine and how you want to monitor it, it's a trivial task to create a > tarball to put all the necessary files in the correct places, presuming > the architecure and OS are the same across the board. Right. Again, it sounded like the entire Nagios program had to be installed, but if you only need the plugins, then couldn't you just simply create a /usr/local/nagios/libexec directory and run them there? Otherwise, I like Nagios and am working to migrate all the monitoring to it specifically. I would just like to reduce the amount of time involved in getting the clients set up. Thanks. KJ ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tech at gnuconsulting.com Thu Jun 10 00:12:25 2004 From: tech at gnuconsulting.com (David Bishop) Date: Wed, 9 Jun 2004 16:12:25 -0600 Subject: Debian b0rkage ??? In-Reply-To: <20040609214930.GO4649@Bragi.private.network> References: <20040609211008.GN4649@Bragi.private.network> <1086816328.3292.4.camel@titan.fx.net.nz> <20040609214930.GO4649@Bragi.private.network> Message-ID: <200406091612.25563.tech@gnuconsulting.com> > > > # apt-cache policy nagios-mysql > Here are the functional contents of /etc/nagios/services.cfg: Are you actually using mysql? Are you sure you don't want nagios-text? I had a similar problem when trying to use nagios-pgsql (I couldn't figure out how to make it use the pgsql server), but when I went back to nagios-text, everything worked fine. D.A.Bishop ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mds at helices.org Thu Jun 10 00:23:06 2004 From: mds at helices.org (Michael D Schleif) Date: Wed, 9 Jun 2004 17:23:06 -0500 Subject: Debian b0rkage ??? In-Reply-To: <200406091612.25563.tech@gnuconsulting.com> References: <20040609211008.GN4649@Bragi.private.network> <1086816328.3292.4.camel@titan.fx.net.nz> <20040609214930.GO4649@Bragi.private.network> <200406091612.25563.tech@gnuconsulting.com> Message-ID: <20040609222306.GP4649@Bragi.private.network> * David Bishop [2004:06:09:16:12:25-0600] scribed: > > > > > # apt-cache policy nagios-mysql > > > Here are the functional contents of /etc/nagios/services.cfg: > > > Are you actually using mysql? Are you sure you don't want nagios-text? I had > a similar problem when trying to use nagios-pgsql (I couldn't figure out how > to make it use the pgsql server), but when I went back to nagios-text, > everything worked fine. Aha! How can I check for mysql usage? Yes, I want to use mysql. The testing version _did_ actually use mysql. I suppose that this is as good a road to go down as any. How can I best determine this? And, if not, how can I get it using mysql? What do you think? -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From marc at ena.com Thu Jun 10 00:26:36 2004 From: marc at ena.com (Marc Powell) Date: Wed, 9 Jun 2004 17:26:36 -0500 Subject: nrpe installation on clients Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B64C8@mismail2.ena.com> > -----Original Message----- > From: Kerry Cox [mailto:kerry.cox at ksl.com] > Sent: Wednesday, June 09, 2004 4:57 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] nrpe installation on clients > > On Wed, 2004-06-09 at 15:07, Marc Powell wrote: > > Only the NRPE client, it's config file and the specific plugins you > > intend to use. NRPE really isn't that difficult to get going. > > Right, which is what I did. However, the docs with NRPE did not specify > that the check_* scripts needed to be on the remote host as well. I had > to figure that out. The Nagios FAQ page is good for most debugging but I > think it ignores this fact. The check_* files _are_ the plugins (everything in libexec actually). What other files are you talking about that you believe to be the plugins? > Right. Again, it sounded like the entire Nagios program had to be > installed, but if you only need the plugins, then couldn't you just > simply create a /usr/local/nagios/libexec directory and run them there? Yes. They don't even have to be in that specific directory as long as your nrpe.cfg points to the right place. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From langseth at aero.und.edu Thu Jun 10 00:45:48 2004 From: langseth at aero.und.edu (Ryan Langseth) Date: Wed, 09 Jun 2004 17:45:48 -0500 Subject: nrpe installation on clients In-Reply-To: <1086818205.31221.93.camel@quasi.ksl.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B64C7@mismail2.ena.com> <1086818205.31221.93.camel@quasi.ksl.com> Message-ID: <40C7931C.40006@aero.und.edu> Kerry Cox wrote: > On Wed, 2004-06-09 at 15:07, Marc Powell wrote: > >>Only the NRPE client, it's config file and the specific plugins you >>intend to use. NRPE really isn't that difficult to get going. > > > Right, which is what I did. However, the docs with NRPE did not specify > that the check_* scripts needed to be on the remote host as well. I had > to figure that out. The Nagios FAQ page is good for most debugging but I > think it ignores this fact. > And yes, it is an easy matter to simply tar all the scripts up and place > them on whatever box you want. I am simply partial to the bblient script > included with Big Brother. It's fairly automated. > > >>>regarding setting up the client. Again, I had to have the check_* >>>scripts on the remote client for the Nagios host to see anything. >> >>Nagios has to be able to run the plugin on the remote machine so you >>must put plugins there that are specific to the OS and architecture. It >>can't just push the plugin and have it execute on the remote machine >>because a) that's very very insecure and b) it could be a completely >>foreign architecture (try running an ELF compiled program on WinXP). >>Once you've defined the basics of what you want to monitor on each >>machine and how you want to monitor it, it's a trivial task to create a >>tarball to put all the necessary files in the correct places, presuming >>the architecure and OS are the same across the board. > > > Right. Again, it sounded like the entire Nagios program had to be > installed, but if you only need the plugins, then couldn't you just > simply create a /usr/local/nagios/libexec directory and run them there? > Otherwise, I like Nagios and am working to migrate all the monitoring to > it specifically. I would just like to reduce the amount of time involved > in getting the clients set up. > Thanks. > KJ > Do you have any type of network file system on your network? For our implementation of nrpe we setup a nfs directory with the plugins and the config file. Now I can update the plugins and the config file in one place, also note that if you make changes to the config file the daemons need to be restarted. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Ryan Langseth UND Aerospace Systems Team langseth at aero.und.edu ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Jun 10 00:54:47 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 9 Jun 2004 15:54:47 -0700 (PDT) Subject: nrpe installation on clients In-Reply-To: <40C7931C.40006@aero.und.edu> References: <370ACCFA5BB3B346A31222E5559BF91F1B64C7@mismail2.ena.com> <1086818205.31221.93.camel@quasi.ksl.com> <40C7931C.40006@aero.und.edu> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 CFengine is also a handy way to handle maintaining NRPE installations. - -Jason Martin On Wed, 9 Jun 2004, Ryan Langseth wrote: > > > Kerry Cox wrote: > > On Wed, 2004-06-09 at 15:07, Marc Powell wrote: > > > >>Only the NRPE client, it's config file and the specific plugins you > >>intend to use. NRPE really isn't that difficult to get going. > > > > > > Right, which is what I did. However, the docs with NRPE did not specify > > that the check_* scripts needed to be on the remote host as well. I had > > to figure that out. The Nagios FAQ page is good for most debugging but I > > think it ignores this fact. > > And yes, it is an easy matter to simply tar all the scripts up and place > > them on whatever box you want. I am simply partial to the bblient script > > included with Big Brother. It's fairly automated. > > > > > >>>regarding setting up the client. Again, I had to have the check_* > >>>scripts on the remote client for the Nagios host to see anything. > >> > >>Nagios has to be able to run the plugin on the remote machine so you > >>must put plugins there that are specific to the OS and architecture. It > >>can't just push the plugin and have it execute on the remote machine > >>because a) that's very very insecure and b) it could be a completely > >>foreign architecture (try running an ELF compiled program on WinXP). > >>Once you've defined the basics of what you want to monitor on each > >>machine and how you want to monitor it, it's a trivial task to create a > >>tarball to put all the necessary files in the correct places, presuming > >>the architecure and OS are the same across the board. > > > > > > Right. Again, it sounded like the entire Nagios program had to be > > installed, but if you only need the plugins, then couldn't you just > > simply create a /usr/local/nagios/libexec directory and run them there? > > Otherwise, I like Nagios and am working to migrate all the monitoring to > > it specifically. I would just like to reduce the amount of time involved > > in getting the clients set up. > > Thanks. > > KJ > > > Do you have any type of network file system on your network? For our > implementation of nrpe we setup a nfs directory with the plugins and the > config file. Now I can update the plugins and the config file in one > place, also note that if you make changes to the config file the daemons > need to be restarted. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: GNOME Foundation > > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > > GNOME Users and Developers European Conference, 28-30th June in Norway > > http://2004/guadec.org > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAx5VDl2ODWuqVSBMRAtxFAKCI3B73rRWg/XukPa82eELfsby0aACfUX7F 5FeSUX2ZdHzrPnHnb40H6rE= =lsbE -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Thu Jun 10 04:22:50 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 09 Jun 2004 21:22:50 -0500 Subject: disable notifications weirdness Message-ID: <20040610022250.42095.qmail@restricted.dyndns.org> Hey guys, There is something weird going on in my nagios. I clicked the "Disable notifications for this service" as the administrator then it adds the icon with the red x beside. This means, notification has been disabled. But after a few hours, I get notifications again and the icon with red x disappears. Why does it get enabled? Please help. Thanks. Neil ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Thu Jun 10 06:11:10 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 09 Jun 2004 23:11:10 -0500 Subject: my nagios cfg and -s output Message-ID: <20040610041110.50024.qmail@restricted.dyndns.org> Hey guys, I need some help. I modified my nagios settings in such a way that checking will be in an interval of every 15s. It works. But what I found out now is that, sometimes, before a check can get scheduled, it takes longer now. The reason I did the 15s interval is because of a ping check I created. I tell nagios to connect an nrpe agent every 15seconds in windows which tells it to execute ping. This means that I will have more data of response time for a minute(really helps me with network issue isolation if there are any). Then have the retrieved data sent to an rrd db file which I also use to create line graph. :) Btw, there is another variable in services.cfg that I set so that for other service check, I set the interval to 4 which becomes 1 minute. Also, I have added the output of my -s so you can tell me if my nagios system is not performing very well. Below is the nagios.cfg and the output. Thanks guys. Neil ---------- log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=5s command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=1 log_service_retries=0 log_host_retries=0 #log_event_handlers=1 log_event_handlers=0 # log_initital_states previosly 0 #log_initial_states=0 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=45 #service_reaper_frequency=20 service_reaper_frequency=15s sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav #retention_update_interval=60 retention_update_interval=10 #use_retained_program_state=0 use_retained_program_state=1 interval_length=15 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 #process_performance_data=0 process_performance_data=1 obsess_over_services=0 #check_for_orphaned_services=0 check_for_orphaned_services=1 check_service_freshness=1 #freshness_check_interval=60 freshness_check_interval=300 #aggregate_status_updates=1 aggregate_status_updates=0 status_update_interval=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=nagios admin_pager=pagenagios SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 134 Total hosts: 59 Command check interval: 5 sec Check reaper interval: 15 sec Inter-check delay method: SMART Average check interval: 107.910 sec Inter-check delay: 0.805 sec Interleave factor method: SMART Average services per host: 2.271 Service interleave factor: 3 Initial service check scheduling info: -------------------------------------- First scheduled check: 1086838392 -> Wed Jun 9 20:33:12 2004 Last scheduled check: 1086838499 -> Wed Jun 9 20:34:59 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 19 Recommend value: 57 ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bdunn at rdac.com.au Thu Jun 10 09:57:47 2004 From: bdunn at rdac.com.au (Brad Dunn) Date: Thu, 10 Jun 2004 15:57:47 +0800 Subject: my nagios cfg and -s output Message-ID: <47287D7F1C9A1C4B99EB7D407FCEE69604C768@rdaex01.rdac.com.au> Hello everyone, I send an email because I am running out of options for a problem I am trying to solve. I current have a requirement to query a windows group, local would be fine. For a list of users of that group (ie administrators) Using the windows command I receive the desired result Local administrators \\127.0.0.1 >> userlist.txt My problem really is I need to find out if certain accounts are disabled. I am able to use the following command against the users one by one in that list ie. Net user administrator My question, does anyone have any nagios plugins that indicate user statistics from a remote box? This would help me out so much. Apologies if my request is in the wrong spot. - Brad -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil Sent: Thursday, 10 June 2004 12:11 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] my nagios cfg and -s output Hey guys, I need some help. I modified my nagios settings in such a way that checking will be in an interval of every 15s. It works. But what I found out now is that, sometimes, before a check can get scheduled, it takes longer now. The reason I did the 15s interval is because of a ping check I created. I tell nagios to connect an nrpe agent every 15seconds in windows which tells it to execute ping. This means that I will have more data of response time for a minute(really helps me with network issue isolation if there are any). Then have the retrieved data sent to an rrd db file which I also use to create line graph. :) Btw, there is another variable in services.cfg that I set so that for other service check, I set the interval to 4 which becomes 1 minute. Also, I have added the output of my -s so you can tell me if my nagios system is not performing very well. Below is the nagios.cfg and the output. Thanks guys. Neil ---------- log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=5s command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=1 log_service_retries=0 log_host_retries=0 #log_event_handlers=1 log_event_handlers=0 # log_initital_states previosly 0 #log_initial_states=0 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=45 #service_reaper_frequency=20 service_reaper_frequency=15s sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav #retention_update_interval=60 retention_update_interval=10 #use_retained_program_state=0 use_retained_program_state=1 interval_length=15 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 #process_performance_data=0 process_performance_data=1 obsess_over_services=0 #check_for_orphaned_services=0 check_for_orphaned_services=1 check_service_freshness=1 #freshness_check_interval=60 freshness_check_interval=300 #aggregate_status_updates=1 aggregate_status_updates=0 status_update_interval=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=nagios admin_pager=pagenagios SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 134 Total hosts: 59 Command check interval: 5 sec Check reaper interval: 15 sec Inter-check delay method: SMART Average check interval: 107.910 sec Inter-check delay: 0.805 sec Interleave factor method: SMART Average services per host: 2.271 Service interleave factor: 3 Initial service check scheduling info: -------------------------------------- First scheduled check: 1086838392 -> Wed Jun 9 20:33:12 2004 Last scheduled check: 1086838499 -> Wed Jun 9 20:34:59 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 19 Recommend value: 57 ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maca02 at atlas.cz Thu Jun 10 10:49:56 2004 From: maca02 at atlas.cz (=?ISO-8859-2?Q?Tom=E1=B9_Macek?=) Date: Thu, 10 Jun 2004 10:49:56 +0200 (CEST) Subject: problems with history In-Reply-To: <1086801697.1340.7.camel@localhost.localdomain> References: <1086724094.1336.4.camel@localhost.localdomain> <1086801697.1340.7.camel@localhost.localdomain> Message-ID: Hi! Yes, I can promise this too! I was either thinking about some script, that would rename the file. It would be surely rather simpler solution. But I know the C language, so I decided to do something with the source code of nagios. But both this patch and the script are not the proper solution, but can't tip if it's the bug of nagios or there is a mistake somewhere else. Nowadays I will not write the script, this patch works fine for 10 days. I have sometimes a bit of time to look for where the problem is, so I PROMISE to write to you, if I find where is the problem. Best regards Tomas On Wed, 9 Jun 2004, [ISO-8859-1] Horv?th Tam?s wrote: > Hi! > > Thank you the patch! > > I'm going to write a shell script, which simply append the -23- file (if > it exists) to the end of the -00-. But is it not a clebver solution. > > I can't think that this problem is because of our big computer load. I > monitor 385 hosts with 504 services, but everithing is fine (more or > less). Some people in the world runs 1 main nagios process on 1 computer > for much more hosts and services and I never heard about this problem. > > I have to dig myself into the problem, but unfortunately I have no time > this month. > > If I found the solution I will send it to you. Can you promise this too? > > Bye, Tamas! > > > > > > > > From Peter.Jevos at Oriflame-SW.Com Thu Jun 10 11:02:39 2004 From: Peter.Jevos at Oriflame-SW.Com (Jevos, Peter) Date: Thu, 10 Jun 2004 11:02:39 +0200 Subject: network monitor portal Message-ID: Hello , I'm tryng to find a solution to design network monitor portal. I'm using Nagios, excelent tool for monitoring availability and warnning messages. But Nagios is missing graphs , total reports of bandwidth , etc. Of course, I know something about rrdtool and other NMS like JFNMS, OpenNMS, ... .but none don't match up my visions. RRDtool (I used Cacti, Cricket) know excellent graphs, but has a limited possibilities of graphing various time periods ( for immediately detecting of problems). 5 minutes is sometimes too late for detecting problems. I found RTG, great real traffic grabber and reporter of data flow traffic, but it is mainly used for traffic, not for other stuff ( CPU, threshold of mail servers, oracle servers, mysql db servers,..). I'd like to use Nagios as main base of my system, and other tool or programs to using real time traffic ( 30 sec, 1 minute), monitoring servers (oracle, mail, db) and reports of data flows Did anyone make that portal before? Any ideas how to design it together? thanx a lot , pet -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan.hopkins at uk.easynet.net Thu Jun 10 11:09:28 2004 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Thu, 10 Jun 2004 10:09:28 +0100 Subject: Blank Notifications Message-ID: <251F83C07099B54EB727A3B9D784451A07674DD4@vulcan.shepton.office.easynet.net> It could be unrelated to Nagios - we had this effect recently, and embarassingly enough it was down to depleted diskspace breaking the mailer. Just a thought. -- Dan Hopkins -----Original Message----- From: Reutzel, Shane [mailto:Shane.Reutzel at MemberWorks.com] Sent: 09 June 2004 13:58 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Blank Notifications I am using Nagios 1.0 on RedHat Enterprise 3.0. I have been monitoring for several months now and recently turned on the notifications. Most of the time I received the notifications as normal with all the content, but for some reason I start receiving notifications with no content or blank. This may go on for a day before I start getting normal notifications again. Does anybody know the solution to this problem or anyway to help troubleshoot this? Any response will be appreciated. -Shane ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spyou at club-internet.fr Thu Jun 10 11:15:50 2004 From: spyou at club-internet.fr (Spyou) Date: Thu, 10 Jun 2004 11:15:50 +0200 Subject: network monitor portal In-Reply-To: References: Message-ID: <6.0.3.0.0.20040610111305.01e35ec0@poproxy.kaema.com> At 11:02 10/06/2004, Jevos, Peter wrote: > Of course, I know something about rrdtool and other NMS like JFNMS, > OpenNMS, .... .but none don't match up my visions. RRDtool (I used Cacti, > Cricket) know excellent graphs, but has a limited possibilities of > graphing various time periods ( for immediately detecting of problems). 5 > minutes is sometimes too late for detecting problems. I found RTG, great > real traffic grabber and reporter of data flow traffic, but it is mainly > used for traffic, not for other stuff ( CPU, threshold of mail servers, > oracle servers, mysql db servers,..). Hmmm .. afaik, RRDtool can handle data every seconds >Did anyone make that portal before? I've made some scripts to gather data from Nagios and inject them into RRDs .. but it's not as "real time" as you might want it to be. And since i'm a realy bad coder, it's impossible to release them now .. ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 10 12:00:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Jun 2004 12:00:40 +0200 Subject: network monitor portal In-Reply-To: <6.0.3.0.0.20040610111305.01e35ec0@poproxy.kaema.com> References: <6.0.3.0.0.20040610111305.01e35ec0@poproxy.kaema.com> Message-ID: <40C83148.2050508@op5.se> Spyou wrote: > At 11:02 10/06/2004, Jevos, Peter wrote: > >> Of course, I know something about rrdtool and other NMS like JFNMS, >> OpenNMS, .... .but none don't match up my visions. RRDtool (I used >> Cacti, Cricket) know excellent graphs, but has a limited >> possibilities of graphing various time periods ( for immediately >> detecting of problems). 5 minutes is sometimes too late for detecting >> problems. I found RTG, great real traffic grabber and reporter of data >> flow traffic, but it is mainly used for traffic, not for other stuff ( >> CPU, threshold of mail servers, oracle servers, mysql db servers,..). > Use cacti for graphing and backtrack maintenance, and Nagios for real-time alerts and stuff like that. > > Hmmm .. afaik, RRDtool can handle data every seconds > >> Did anyone make that portal before? > > > I've made some scripts to gather data from Nagios and inject them into > RRDs .. but it's not as "real time" as you might want it to be. > > And since i'm a realy bad coder, it's impossible to release them now .. > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 10 12:23:12 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Jun 2004 12:23:12 +0200 Subject: nrpe installation on clients In-Reply-To: <1086818205.31221.93.camel@quasi.ksl.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B64C7@mismail2.ena.com> <1086818205.31221.93.camel@quasi.ksl.com> Message-ID: <40C83690.7010104@op5.se> Kerry Cox wrote: > On Wed, 2004-06-09 at 15:07, Marc Powell wrote: > >>Only the NRPE client, it's config file and the specific plugins you >>intend to use. NRPE really isn't that difficult to get going. > > > Right, which is what I did. However, the docs with NRPE did not specify > that the check_* scripts needed to be on the remote host as well. I had > to figure that out. nrpe --help, as well as the message at the end of compilation tells you exactly that. Also, it might not be too far fetched to say that it actually should be pretty obvious when you configure it (and yes, it's mentioned in the config file as well). > The Nagios FAQ page is good for most debugging but I > think it ignores this fact. Nagios and NRPE are two different projects. Ethan has left NRPE to me so he can focus on Nagios. I've added a README to NRPE which explains how things are and how they should be configured. When I find the time, I'll make a man-page out of it as well. > And yes, it is an easy matter to simply tar all the scripts up and place > them on whatever box you want. I am simply partial to the bblient script > included with Big Brother. It's fairly automated. > This might be included with NRPE v2.2 > >>>regarding setting up the client. Again, I had to have the check_* >>>scripts on the remote client for the Nagios host to see anything. >> >>Nagios has to be able to run the plugin on the remote machine so you >>must put plugins there that are specific to the OS and architecture. It >>can't just push the plugin and have it execute on the remote machine >>because a) that's very very insecure and b) it could be a completely >>foreign architecture (try running an ELF compiled program on WinXP). >>Once you've defined the basics of what you want to monitor on each >>machine and how you want to monitor it, it's a trivial task to create a >>tarball to put all the necessary files in the correct places, presuming >>the architecure and OS are the same across the board. > > > Right. Again, it sounded like the entire Nagios program had to be > installed, but if you only need the plugins, then couldn't you just > simply create a /usr/local/nagios/libexec directory and run them there? You can put it anywhere you want, so long as you configure nrpe properly. > Otherwise, I like Nagios and am working to migrate all the monitoring to > it specifically. I would just like to reduce the amount of time involved > in getting the clients set up. You can make a script to propagate it you know. It's really not that hard. If I get around to writing one, I'll include it with the next version. > Thanks. > KJ > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Thu Jun 10 12:54:42 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 10 Jun 2004 22:54:42 +1200 Subject: network monitor portal In-Reply-To: References: Message-ID: <1086864882.17849.235.camel@munter> I've been looking at similar things. Cricket is looking favourable for general purpose, RTG is looking good for real time port specific stuff. In my hunt, I stumbled across nisca http://nisca.sourceforge.net/ -I've not even looked beyond a cursory once over, but I thought I'd mention it. With the greatest of respect, Apan seems like a reinvention of the wheel to me. jamie On Thu, 2004-06-10 at 21:02, Jevos, Peter wrote: > Hello , > I'm tryng to find a solution to design network monitor portal. I'm > using Nagios, excelent tool for monitoring availability and warnning > messages. But Nagios is missing graphs , total reports of bandwidth , > etc. > Of course, I know something about rrdtool and other NMS like JFNMS, > OpenNMS, ... .but none don't match up my visions. RRDtool (I used > Cacti, Cricket) know excellent graphs, but has a > limited possibilities of graphing various time periods ( for > immediately detecting of problems). 5 minutes is sometimes too late > for detecting problems. I found RTG, great real traffic grabber and > reporter of data flow traffic, but it is mainly used for traffic, not > for other stuff ( CPU, threshold of mail servers, oracle servers, > mysql db servers,..). > I'd like to use Nagios as main base of my system, and other tool or > programs to using real time traffic ( 30 sec, 1 minute), monitoring > servers (oracle, mail, db) and reports of data flows > Did anyone make that portal before? > Any ideas how to design it together? > thanx a lot , pet ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeramy.Eling at britax-pmg.com Thu Jun 10 13:17:39 2004 From: Jeramy.Eling at britax-pmg.com (Jeramy Eling) Date: Thu, 10 Jun 2004 12:17:39 +0100 Subject: Extended Service Information Message-ID: <5CD3BFF77DFFD411BCD100D0B720F94501AF2224@probe.britax-pmg.com> Hi, Thanks for the response to the post. I have tried all the suggestions but still I get no image/link next to the service. Does anyone have any other suggestions? Many Thanks Jez. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of kevin Sent: 09 June 2004 17:07 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Extended Service Information Jeramy Eling wrote: > Hi All, > > I am trying, with very little success to get the extended service information to work in Nagios. I have spent the last few days trying to add the details to just one service, and no matter what I seem to do I just cannot get it to display. I have put my sample file below that I am working with:- > > define serviceextinfo{ > host_name adslfirewall > service_description PING > notes_url http://nagios/test2.html > icon_image win40.gif > icon_image_alt ADSL PING > } > > Can anyone give me any hints/tips on how I can get this working, I have read the documentation over and over and checked out the mailing-list but to no avail, I am using Nagios 1.2 on RedHat 9.0. > > Thanks in advance > > Jez > The serviceextinfo that the check_traffic program made for me looks like this. define serviceextinfo{ host_name storage4 service_description netapp notes_url /nagios/cgi-bin/storage4_netapp.cgi icon_image traffic-icon.jpg icon_image_alt View graphs } So I would try changing the notes_url. Also, for the icon to work it should be located in /nagios/share/images/logos/ You should also check the nagios.cfg file to make sure that the serviceextinfo file is being loaded as a config file. There should be a line that looks like this. cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg After all that you should be able to restart nagios and see your note. Kevin ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 10 13:48:13 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Jun 2004 13:48:13 +0200 Subject: Extended Service Information In-Reply-To: <5CD3BFF77DFFD411BCD100D0B720F94501AF2224@probe.britax-pmg.com> References: <5CD3BFF77DFFD411BCD100D0B720F94501AF2224@probe.britax-pmg.com> Message-ID: <40C84A7D.5040401@op5.se> Jeramy Eling wrote: > Hi, > > Thanks for the response to the post. I have tried all the suggestions but still I get no image/link next to the service. > > Does anyone have any other suggestions? > Make sure there is an uncommented line saying (something like) xedtemplateconfigfile=/usr/local/nagios/etc/serviceextinfo.cfg > Many Thanks > > Jez. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of kevin > Sent: 09 June 2004 17:07 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Extended Service Information > > > Jeramy Eling wrote: > >>Hi All, >> >>I am trying, with very little success to get the extended service information to work in Nagios. I have spent the last few days trying to add the details to just one service, and no matter what I seem to do I just cannot get it to display. I have put my sample file below that I am working with:- >> >>define serviceextinfo{ >> host_name adslfirewall >> service_description PING >> notes_url http://nagios/test2.html >> icon_image win40.gif >> icon_image_alt ADSL PING >> } >> >>Can anyone give me any hints/tips on how I can get this working, I have read the documentation over and over and checked out the mailing-list but to no avail, I am using Nagios 1.2 on RedHat 9.0. >> >>Thanks in advance >> >>Jez >> > > The serviceextinfo that the check_traffic program made for me looks like > this. > define serviceextinfo{ > host_name storage4 > service_description netapp > notes_url /nagios/cgi-bin/storage4_netapp.cgi > icon_image traffic-icon.jpg > icon_image_alt View graphs > } > So I would try changing the notes_url. Also, for the icon to work it > should be located in /nagios/share/images/logos/ > You should also check the nagios.cfg file to make sure that the > serviceextinfo file is being loaded as a config file. There should be a > line that looks like this. > cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg > After all that you should be able to restart nagios and see your note. > > Kevin > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seppy at chartermi.net Thu Jun 10 14:05:11 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Thu, 10 Jun 2004 08:05:11 -0400 (EDT) Subject: Line Limit for a Nagios Configuration In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B64C6@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B64C6@mismail2.ena.com> Message-ID: On Wed, 9 Jun 2004, Marc Powell wrote: > Brian E. Seppanen wrote: > > Hi Folks: > > > > Is there some sort of line limit for nagios when it reads in a > > configuration file. > > > > The reason I ask is I have to create daily a configuration file that > > monitors about 3952 hosts, and growing each day. When I create my > > configuration I get an error when doing the syntax check. > > > > Error: Could not add object property in file > > '/usr/local/nagios/etc/devic.cfg' on line 27670. > > There is a limit on how long a line can be. It's defined in > xdata/xodtemplate.h: > > #define MAX_XODTEMPLATE_INPUT_BUFFER 49152 > > I believe the default is 8192 bytes but as you can see, I've raised mine > to 49152 (and higher) with no problems. Thanks for the info, that appears to have fixed the issue. I took the length of my hostgroup members lines in bytes using wc and added some wiggle room for growth and that seems to work. Thanks again. Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Thu Jun 10 15:15:05 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 10 Jun 2004 08:15:05 -0500 Subject: my nagios cfg and -s output In-Reply-To: <47287D7F1C9A1C4B99EB7D407FCEE69604C768@rdaex01.rdac.com.au> References: <47287D7F1C9A1C4B99EB7D407FCEE69604C768@rdaex01.rdac.com.au> Message-ID: <20040610131506.90942.qmail@restricted.dyndns.org> Hey dude, You should have created another thread. There is a possibility that members here will not notice my post anymore. :( Brad Dunn writes: > Hello everyone, I send an email because I am running out of options for > a problem I am trying to solve. > > I current have a requirement to query a windows group, local would be > fine. For a list of users of that group (ie administrators) > > Using the windows command I receive the desired result > Local administrators \\127.0.0.1 >> userlist.txt > > My problem really is I need to find out if certain accounts are > disabled. I am able to use the following command against the users one > by one in that list ie. > > Net user administrator > > > My question, does anyone have any nagios plugins that indicate user > statistics from a remote box? This would help me out so much. Apologies > if my request is in the wrong spot. > > - Brad > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil > Sent: Thursday, 10 June 2004 12:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] my nagios cfg and -s output > > Hey guys, > > I need some help. I modified my nagios settings in such a way that > checking will be in an interval of every 15s. It works. But what I found > out now is that, sometimes, before a check can get scheduled, it takes > longer now. The reason I did the 15s interval is because of a ping check > I created. I tell nagios to connect an nrpe agent every 15seconds in > windows which tells it to execute ping. This means that I will have more > data of response time for a minute(really helps me with network issue > isolation if there are any). Then have the retrieved data sent to an rrd > db file which I also use to create line graph. :) Btw, there is another > variable in services.cfg that I set so that for other service check, I > set the interval to 4 which becomes 1 minute. > > Also, I have added the output of my -s so you can tell me if my nagios > system is not performing very well. > > Below is the nagios.cfg and the output. > > Thanks guys. > > Neil > > ---------- > > log_file=/usr/local/nagios/var/nagios.log > cfg_file=/usr/local/nagios/etc/checkcommands.cfg > cfg_file=/usr/local/nagios/etc/misccommands.cfg > cfg_file=/usr/local/nagios/etc/contactgroups.cfg > cfg_file=/usr/local/nagios/etc/contacts.cfg > cfg_file=/usr/local/nagios/etc/dependencies.cfg > cfg_file=/usr/local/nagios/etc/escalations.cfg > cfg_file=/usr/local/nagios/etc/hostgroups.cfg > cfg_file=/usr/local/nagios/etc/hosts.cfg > cfg_file=/usr/local/nagios/etc/services.cfg > cfg_file=/usr/local/nagios/etc/timeperiods.cfg > resource_file=/usr/local/nagios/etc/resource.cfg > status_file=/usr/local/nagios/var/status.log > nagios_user=nagios > nagios_group=nagios > check_external_commands=1 > command_check_interval=5s > command_file=/usr/local/nagios/var/rw/nagios.cmd > comment_file=/usr/local/nagios/var/comment.log > downtime_file=/usr/local/nagios/var/downtime.log > lock_file=/usr/local/nagios/var/nagios.lock > temp_file=/usr/local/nagios/var/nagios.tmp > log_rotation_method=d > log_archive_path=/usr/local/nagios/var/archives > use_syslog=0 > log_notifications=1 > log_service_retries=0 > log_host_retries=0 > #log_event_handlers=1 > log_event_handlers=0 > # log_initital_states previosly 0 > #log_initial_states=0 > log_initial_states=1 > log_external_commands=1 > log_passive_service_checks=1 > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=45 > #service_reaper_frequency=20 > service_reaper_frequency=15s > sleep_time=1 > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/status.sav > #retention_update_interval=60 > retention_update_interval=10 > #use_retained_program_state=0 > use_retained_program_state=1 > interval_length=15 > use_agressive_host_checking=0 > execute_service_checks=1 > accept_passive_service_checks=1 > enable_notifications=1 > enable_event_handlers=1 > #process_performance_data=0 > process_performance_data=1 > obsess_over_services=0 > #check_for_orphaned_services=0 > check_for_orphaned_services=1 > check_service_freshness=1 > #freshness_check_interval=60 > freshness_check_interval=300 > #aggregate_status_updates=1 > aggregate_status_updates=0 > status_update_interval=15 > enable_flap_detection=1 > low_service_flap_threshold=5.0 > high_service_flap_threshold=20.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > date_format=us > illegal_object_name_chars=`~!$%^&*|'"<>?,()= > illegal_macro_output_chars=`~$&|'"<> > admin_email=nagios > admin_pager=pagenagios > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 134 > Total hosts: 59 > > Command check interval: 5 sec > Check reaper interval: 15 sec > > Inter-check delay method: SMART > Average check interval: 107.910 sec > Inter-check delay: 0.805 sec > > Interleave factor method: SMART > Average services per host: 2.271 > Service interleave factor: 3 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1086838392 -> Wed Jun 9 20:33:12 > 2004 > Last scheduled check: 1086838499 -> Wed Jun 9 20:34:59 > 2004 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 19 > Recommend value: 57 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! > GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kareem at wayout.net Thu Jun 10 16:13:21 2004 From: kareem at wayout.net (Kareem Mahgoub) Date: Thu, 10 Jun 2004 17:13:21 +0300 Subject: check_mrtg Message-ID: <049301c44ef5$198531d0$1d8e79a3@kareem2k> Hi list, I am using Nagios 1.0 ( I know it is old but it doesn't give me any problem) On Solaris 5.9 Nagios-plugins 1.3.1 I just need to understand something regarding the plugin "check_mrtg" If i have a config file for more than a single router with multiple interfaces, is there a way to monitor per interface or at leaset per router? Any help would be very much appreciated, Best Regards, Kareem -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmcburnett at msmgmt.com Thu Jun 10 17:17:55 2004 From: jmcburnett at msmgmt.com (McBurnett, Jim) Date: Thu, 10 Jun 2004 11:17:55 -0400 Subject: MIB for Cisco VOIP? Message-ID: <9BF6F06C4BC90746ADD6806746492A339F80B7@msmmail01.msmgmt.com> Sometime ago I remember someone on here Discussing Cisco MIBS for VOIP. But I can't seem to find any links or information now.. Does someone have it handy? Thanks, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at tac.esi.net Thu Jun 10 17:34:59 2004 From: chris at tac.esi.net (Chris Hammond) Date: Thu, 10 Jun 2004 11:34:59 -0400 Subject: Check_nt services - $ in service name Message-ID: <1086881699.5020.10.camel@nocsup> I am trying to check a service named MSSQL$BKUPEXEC. Even with double quotes around it, it still only sees it as MSSQL$. Is there something else I need to do?? Thanks Chris -- Chris Hammond ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Thu Jun 10 17:44:15 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 10 Jun 2004 10:44:15 -0500 Subject: network monitor portal In-Reply-To: <1086864882.17849.235.camel@munter> References: <1086864882.17849.235.camel@munter> Message-ID: <20040610154415.2126.qmail@restricted.dyndns.org> Hey guys, I have done similar things before and it is currently running. I modified my nagios in such a way interval is 15seconds. If you look at my April 4 log(topmost), http://restricted.dyndns.org, you will see the screenshot of vmstat being plotted as a graph by rrdtool. The scripts I have there are old and have converted them to perl since I wanted more flexibility when doing math. I have also done another script which grabs ping response time from one node to another host(not the regular nagios ping plugin), parse the output of ping, and have the data sent to rrd, then plot it. It's awesome. Right now, everything is manually written but I am used to it. :) Once I find time, I will write a php frontend for it. just my 2 cents... Jamie Baddeley writes: > I've been looking at similar things. Cricket is looking favourable for > general purpose, RTG is looking good for real time port specific stuff. > In my hunt, I stumbled across nisca http://nisca.sourceforge.net/ > -I've not even looked beyond a cursory once over, but I thought I'd > mention it. > > With the greatest of respect, Apan seems like a reinvention of the wheel > to me. > > jamie > > On Thu, 2004-06-10 at 21:02, Jevos, Peter wrote: >> Hello , >> I'm tryng to find a solution to design network monitor portal. I'm >> using Nagios, excelent tool for monitoring availability and warnning >> messages. But Nagios is missing graphs , total reports of bandwidth , >> etc. >> Of course, I know something about rrdtool and other NMS like JFNMS, >> OpenNMS, ... .but none don't match up my visions. RRDtool (I used >> Cacti, Cricket) know excellent graphs, but has a >> limited possibilities of graphing various time periods ( for >> immediately detecting of problems). 5 minutes is sometimes too late >> for detecting problems. I found RTG, great real traffic grabber and >> reporter of data flow traffic, but it is mainly used for traffic, not >> for other stuff ( CPU, threshold of mail servers, oracle servers, >> mysql db servers,..). >> I'd like to use Nagios as main base of my system, and other tool or >> programs to using real time traffic ( 30 sec, 1 minute), monitoring >> servers (oracle, mail, db) and reports of data flows >> Did anyone make that portal before? >> Any ideas how to design it together? >> thanx a lot , pet > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From imzbushman at hotmail.com Thu Jun 10 18:13:42 2004 From: imzbushman at hotmail.com (Joe Bush) Date: Thu, 10 Jun 2004 12:13:42 -0400 Subject: Notifications Report Problem Message-ID: After setting up Nagios, I'm finding out that its sending out the email notifications when services are down, but the notification history doesn't show up when I select the Notification report. Am I missing something in my configuration? _________________________________________________________________ MSN 9 Dial-up Internet Access fights spam and pop-ups ? now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/ ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From selaschuk at adlc.ca Thu Jun 10 19:55:27 2004 From: selaschuk at adlc.ca (Stephen Elaschuk) Date: Thu, 10 Jun 2004 11:55:27 -0600 Subject: MySQL Communication Error Message-ID: I have nagios installed, configured and running properly. However any attempt to access any of the cgis gives the error: Whoops! Error: Could not read host and service status information! Checking the mysql log, every time I attempt to access any cgi, an entry similar to the following is created: 040610 11:48:01 Aborted connection 764 to db: 'nagios' user: 'nagioscgi' host: `localhost' (Got an error reading communication packets) nagios was configured with the following command: ./configure --with-mysql-lib=/usr/local/mysql/lib --with-mysql-inc=/usr/local/mysql/include --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include --with-mysql-xdata Can anyone help? Stephen Elaschuk Computer Technician Pembina Hills Regional Division No.7 Phone: (780) 674-8535 selaschuk at adlc.ca ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Jun 10 20:02:51 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 10 Jun 2004 13:02:51 -0500 Subject: Check_nt services - $ in service name In-Reply-To: <1086881699.5020.10.camel@nocsup> References: <1086881699.5020.10.camel@nocsup> Message-ID: <1086890571.26685.0.camel@localhost> Have you tried escaping it? (\$)? On Thu, 2004-06-10 at 11:34 -0400, Chris Hammond wrote: > I am trying to check a service named MSSQL$BKUPEXEC. Even with double > quotes around it, it still only sees it as MSSQL$. Is there something > else I need to do?? > > Thanks > Chris > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tech at gnuconsulting.com Thu Jun 10 20:46:42 2004 From: tech at gnuconsulting.com (David Bishop) Date: Thu, 10 Jun 2004 12:46:42 -0600 Subject: Debian b0rkage ??? In-Reply-To: <20040609222306.GP4649@Bragi.private.network> References: <20040609211008.GN4649@Bragi.private.network> <200406091612.25563.tech@gnuconsulting.com> <20040609222306.GP4649@Bragi.private.network> Message-ID: <200406101246.42055.tech@gnuconsulting.com> On Wednesday 09 June 2004 4:23 pm, Michael D Schleif wrote: > * David Bishop [2004:06:09:16:12:25-0600] scribed: > > > > > > > > > # apt-cache policy nagios-mysql > > > > > > > > > Here are the functional contents of /etc/nagios/services.cfg: > > > > > > > > Are you actually using mysql? Are you sure you don't want nagios-text? > > I had a similar problem when trying to use nagios-pgsql (I couldn't > > figure out how to make it use the pgsql server), but when I went back to > > nagios-text, everything worked fine. > > Aha! How can I check for mysql usage? > > Yes, I want to use mysql. The testing version _did_ actually use mysql. > > I suppose that this is as good a road to go down as any. How can I best > determine this? And, if not, how can I get it using mysql? > > What do you think? Unfortunately, as I said, I never did get it to work with a database. Your two courses of action are either to switch to -text, or get the source (apt-get source), compile it yourself, debug it, send the fix to the debian maintainer, and continue to enjoy life :-) Or, wait until it get fixed by the maintainer... D.A.Bishop ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at tac.esi.net Thu Jun 10 21:02:20 2004 From: chris at tac.esi.net (Chris Hammond) Date: Thu, 10 Jun 2004 15:02:20 -0400 Subject: Check_nt services - $ in service name In-Reply-To: <1086890571.26685.0.camel@localhost> References: <1086881699.5020.10.camel@nocsup> <1086890571.26685.0.camel@localhost> Message-ID: <1086894140.5020.21.camel@nocsup> Thanks for the reply Jeff but no I didn't. I'm not sure of the proper syntax for doing that but will go look it up now. Thanks Chris On Thu, 2004-06-10 at 13:02 -0500, jeff vier wrote: > Have you tried escaping it? (\$)? > > On Thu, 2004-06-10 at 11:34 -0400, Chris Hammond wrote: > > I am trying to check a service named MSSQL$BKUPEXEC. Even with double > > quotes around it, it still only sees it as MSSQL$. Is there something > > else I need to do?? > > > > Thanks > > Chris > > > -- Chris Hammond ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at tac.esi.net Thu Jun 10 21:15:52 2004 From: chris at tac.esi.net (Chris Hammond) Date: Thu, 10 Jun 2004 15:15:52 -0400 Subject: Check_nt services - $ in service name In-Reply-To: <1086894515.26685.4.camel@localhost> References: <1086881699.5020.10.camel@nocsup> <1086890571.26685.0.camel@localhost> <1086894140.5020.21.camel@nocsup> <1086894515.26685.4.camel@localhost> Message-ID: <1086894952.5020.23.camel@nocsup> That is where I am at now. Forgot to remove the double quotes. When it comes to even basic programming type skills, I am not the sharpest tool in the shed. :) Chris On Thu, 2004-06-10 at 14:08 -0500, jeff vier wrote: > It's \$ (that's why I put that in there :)) > > So, you'd say MSSQL\$BKUPEXEC > > On Thu, 2004-06-10 at 15:02 -0400, Chris Hammond wrote: > > Thanks for the reply Jeff but no I didn't. I'm not sure of the proper > > syntax for doing that but will go look it up now. > > > > Thanks > > Chris > > > > On Thu, 2004-06-10 at 13:02 -0500, jeff vier wrote: > > > Have you tried escaping it? (\$)? > > > > > > On Thu, 2004-06-10 at 11:34 -0400, Chris Hammond wrote: > > > > I am trying to check a service named MSSQL$BKUPEXEC. Even with double > > > > quotes around it, it still only sees it as MSSQL$. Is there something > > > > else I need to do?? > > > > > > > > Thanks > > > > Chris > > > > > > > > -- Chris Hammond ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at tac.esi.net Thu Jun 10 21:30:18 2004 From: chris at tac.esi.net (Chris Hammond) Date: Thu, 10 Jun 2004 15:30:18 -0400 Subject: Check_nt services - $ in service name In-Reply-To: <1086894515.26685.4.camel@localhost> References: <1086881699.5020.10.camel@nocsup> <1086890571.26685.0.camel@localhost> <1086894140.5020.21.camel@nocsup> <1086894515.26685.4.camel@localhost> Message-ID: <1086895818.5020.29.camel@nocsup> Ok, now it is giving me this; MSSQL$BKUPEXEC$ #'check_nt_service' command definition define command{ command_name check_nt_service command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -d SHOWALL -l $ARG1$ } check_command check_nt_service! MSSQL\$BKUPEXEC Thanks Chris On Thu, 2004-06-10 at 14:08 -0500, jeff vier wrote: > It's \$ (that's why I put that in there :)) > > So, you'd say MSSQL\$BKUPEXEC > > On Thu, 2004-06-10 at 15:02 -0400, Chris Hammond wrote: > > Thanks for the reply Jeff but no I didn't. I'm not sure of the proper > > syntax for doing that but will go look it up now. > > > > Thanks > > Chris > > > > On Thu, 2004-06-10 at 13:02 -0500, jeff vier wrote: > > > Have you tried escaping it? (\$)? > > > > > > On Thu, 2004-06-10 at 11:34 -0400, Chris Hammond wrote: > > > > I am trying to check a service named MSSQL$BKUPEXEC. Even with double > > > > quotes around it, it still only sees it as MSSQL$. Is there something > > > > else I need to do?? > > > > > > > > Thanks > > > > Chris > > > > > > > > -- Chris Hammond ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Jun 10 21:35:45 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 10 Jun 2004 14:35:45 -0500 Subject: Check_nt services - $ in service name In-Reply-To: <1086895818.5020.29.camel@nocsup> References: <1086881699.5020.10.camel@nocsup> <1086890571.26685.0.camel@localhost> <1086894140.5020.21.camel@nocsup> <1086894515.26685.4.camel@localhost> <1086895818.5020.29.camel@nocsup> Message-ID: <1086896145.26685.12.camel@localhost> okay. Not sure why that would be - it's giving you that as the return value? One thing I notice is that you have a space after your ! in your check_command def. I don't think that it'd like that. I don't think this will do it, but *occasionally* in Unixland, things like to be double escaped when being 'passed' like it is here. So you could try check_command check_nt_service!MSSQL\\$BKUPEXEC But I'd be surprised if that did it :) You might also try defining another command and setting the -l to MSSQL\$BKUPEXEC (or maybe just MSSQL$BKUPEXEC) explicitly instead of using the ARG1 macro. On Thu, 2004-06-10 at 15:30 -0400, Chris Hammond wrote: > Ok, now it is giving me this; > > MSSQL$BKUPEXEC$ > > #'check_nt_service' command definition > define command{ > command_name check_nt_service > command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -p > 1248 -v SERVICESTATE -d SHOWALL -l $ARG1$ > } > > check_command check_nt_service! MSSQL\$BKUPEXEC > > Thanks > Chris > > On Thu, 2004-06-10 at 14:08 -0500, jeff vier wrote: > > It's \$ (that's why I put that in there :)) > > > > So, you'd say MSSQL\$BKUPEXEC > > > > On Thu, 2004-06-10 at 15:02 -0400, Chris Hammond wrote: > > > Thanks for the reply Jeff but no I didn't. I'm not sure of the proper > > > syntax for doing that but will go look it up now. > > > > > > Thanks > > > Chris > > > > > > On Thu, 2004-06-10 at 13:02 -0500, jeff vier wrote: > > > > Have you tried escaping it? (\$)? > > > > > > > > On Thu, 2004-06-10 at 11:34 -0400, Chris Hammond wrote: > > > > > I am trying to check a service named MSSQL$BKUPEXEC. Even with double > > > > > quotes around it, it still only sees it as MSSQL$. Is there something > > > > > else I need to do?? > > > > > > > > > > Thanks > > > > > Chris > > > > > > > > > > > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan at canadawebhosting.com Thu Jun 10 22:20:57 2004 From: ryan at canadawebhosting.com (Ryan Bohn) Date: Thu, 10 Jun 2004 13:20:57 -0700 Subject: notifications Message-ID: Greetings Nagios users, Need some help regarding notifications sent to pagers. Right now I have a contact group setup to get all host and service notifications. I want to be able to have a pager get the same notifications, but only for specific hosts (for host alerts and services on the host). As I understand the template based setup, I would have to create a least two specific host groups, one that would have the contact group set to it's normal location for hosts that shouldn't go to pager, the other with the normal and pager contacts for hosts that we want the pager notifications as well. It would then be more complex for the services; if I wanted to monitor http on 5 hosts, but only 3 that should send notifications to a pager, I would need to create two services with the contacts set. Is there a better way to do this? I already have host groups setup based on types of hosts, so I don't want to be changing them. As well, I don't want to have to duplicate service entries just to have notifications sent to an additional place for select hosts. In other words, is there a setting to make all notifications for a specific host (host and service alerts) go to an additional contact? Thanks. --- Ryan Bohn Sys Admin & Tech Support DevelopersNetwork.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at tac.esi.net Thu Jun 10 22:50:37 2004 From: chris at tac.esi.net (Chris Hammond) Date: Thu, 10 Jun 2004 16:50:37 -0400 Subject: Check_nt services - $ in service name In-Reply-To: <1086896145.26685.12.camel@localhost> References: <1086881699.5020.10.camel@nocsup> <1086890571.26685.0.camel@localhost> <1086894140.5020.21.camel@nocsup> <1086894515.26685.4.camel@localhost> <1086895818.5020.29.camel@nocsup> <1086896145.26685.12.camel@localhost> Message-ID: <1086900637.5020.41.camel@nocsup> Okay, from the command line MSSQL\$BKUPEXEC reports properly. MSSQL$BKUPEXEC: Started. However by the time it makes it to the Nagios frontend it is MSSQL$BKUPEXEC$: Unknown. So your initial recommendation was correct but now something else is sticking it's nose were it doesn't belong. :) Chris On Thu, 2004-06-10 at 14:35 -0500, jeff vier wrote: > okay. > > Not sure why that would be - it's giving you that as the return value? > > One thing I notice is that you have a space after your ! in your > check_command def. I don't think that it'd like that. > > I don't think this will do it, but *occasionally* in Unixland, things > like to be double escaped when being 'passed' like it is here. > So you could try > check_command check_nt_service!MSSQL\\$BKUPEXEC > But I'd be surprised if that did it :) > > You might also try defining another command and setting the -l > to MSSQL\$BKUPEXEC (or maybe just MSSQL$BKUPEXEC) explicitly instead of > using the ARG1 macro. > > On Thu, 2004-06-10 at 15:30 -0400, Chris Hammond wrote: > > Ok, now it is giving me this; > > > > MSSQL$BKUPEXEC$ > > > > #'check_nt_service' command definition > > define command{ > > command_name check_nt_service > > command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -p > > 1248 -v SERVICESTATE -d SHOWALL -l $ARG1$ > > } > > > > check_command check_nt_service! MSSQL\$BKUPEXEC > > > > Thanks > > Chris > > > > On Thu, 2004-06-10 at 14:08 -0500, jeff vier wrote: > > > It's \$ (that's why I put that in there :)) > > > > > > So, you'd say MSSQL\$BKUPEXEC > > > > > > On Thu, 2004-06-10 at 15:02 -0400, Chris Hammond wrote: > > > > Thanks for the reply Jeff but no I didn't. I'm not sure of the proper > > > > syntax for doing that but will go look it up now. > > > > > > > > Thanks > > > > Chris > > > > > > > > On Thu, 2004-06-10 at 13:02 -0500, jeff vier wrote: > > > > > Have you tried escaping it? (\$)? > > > > > > > > > > On Thu, 2004-06-10 at 11:34 -0400, Chris Hammond wrote: > > > > > > I am trying to check a service named MSSQL$BKUPEXEC. Even with double > > > > > > quotes around it, it still only sees it as MSSQL$. Is there something > > > > > > else I need to do?? > > > > > > > > > > > > Thanks > > > > > > Chris > > > > > > > > > > > > > > > -- Chris Hammond ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.boysen at colinx.com Thu Jun 10 23:11:28 2004 From: brian.boysen at colinx.com (brian.boysen at colinx.com) Date: Thu, 10 Jun 2004 17:11:28 -0400 Subject: Problems with freshness checking Message-ID: Hi, I've just gotten on this news list to investigate a problem I've seen. I looked through the archives and someone named Fabio Lo Votrico posted a question here about passive service checks indicating stale and Nagios "forcing an immediate check", even though the log showed a PROCESS_SERVICE_CHECK_RESULT within the allotted amount of time. Was this answered off the mailing list (or the answer just didn't make it into the archives)? If so where could I find it? When I've seen it, an external service logged 144 PROCESS_SERVICE_CHECK_RESULTS with the same timestamp into the log (I'm guessing this means that all the results came in on the same processing of the external commands file), then about 2 minutes later Nagios entered a message indicating the service(s) timed out and it was forcing an active check. The active check being a check_dummy!2 would doom this service at that point because it's scheduled to fail. >From what I can see the processing of the service checks into the "same queue for active checks" (sqfac) (from docs/passivechecks.html) is forked off. The machine is a SUNW Ultra-250. Could the processing into the active then for Nagios to recognize them in the "queue" (sqfac) take 2 minutes? I changed from the check_dummy!2 command to something that checks around for the status two nights ago, but now one service always times out and fails 20% of the time. The command_check_interval is -1. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlyons30 at yahoo.com Thu Jun 10 23:32:18 2004 From: jlyons30 at yahoo.com (Jon Lyons) Date: Thu, 10 Jun 2004 14:32:18 -0700 (PDT) Subject: Performance Graphs (Nagat, Nagmin?) Message-ID: <20040610213218.27633.qmail@web60810.mail.yahoo.com> Just wondering what others are using to graph performance data ie Ping. Currently monitoring 200 networking devices, and would like to dump the ping response times into rdd or mrtg. Nagat looks like it's been improved since I first tried it(never worked), anyone have any suggestions? __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ronw at paradise.net.nz Fri Jun 11 00:07:38 2004 From: ronw at paradise.net.nz (Ron Wilson) Date: Fri, 11 Jun 2004 10:07:38 +1200 Subject: Reading Event Logs Message-ID: <40C9846A.9843.94CB889@localhost> I need some help. What is the easiest way for Nagios to read event logs on Windows servers and extract alerts/warnings etc and then process nagios alerts if necessary -- Ron Wilson City of Sails Auckland Whenever people agree with me I always feel I must be wrong. Oscar Wilde (1854 - 1900) ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Fri Jun 11 01:19:28 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 10 Jun 2004 18:19:28 -0500 Subject: Reading Event Logs In-Reply-To: <40C9846A.9843.94CB889@localhost> References: <40C9846A.9843.94CB889@localhost> Message-ID: <20040610231928.36331.qmail@restricted.dyndns.org> Use snare and nsca, and have nagios addon, ncsa daemon listen too :) Here is what I wrote before: #!/usr/bin/perl use POSIX; use Time::Local; my $message = join (' ', at ARGV); my ($host, $msg) = $message =~ /\s([a-z]{6})\sMSWinEventLog.*\s[A-Z]{1}[a-z]{1}[a-z]{1}\s\d{2}\s\d{2}:\d{2} :\d{2}\s\d{4}.*Service\sControl\sManager.*(The\sWorld.*state.)/x; if ( $msg =~ /running state/ ) { $nagios_code = 0; # Ok } elsif ( $msg =~ /stopped state/ ) { $nagios_code = 2; # Critical } else { exit; } ($Second, $Minute, $Hour, $Day, $Month, $Year, $WeekDay, $DayOfYear, $IsDST) = localtime(time); $epoch = mktime($Second,$Minute,$Hour,$Day,$Month,$Year,$WeekDay,0,-1); my $cmd = "[$epoch] PROCESS_SERVICE_CHECK_RESULT;$host;w3svc;$nagios_code;$msg"; my $echo = '/bin/echo'; my $pipe = '/usr/local/nagios/var/rw/nagios.cmd'; system "$echo \"$cmd\" >> $pipe"; I have to create a new one to refresh my mind about it :) Ron Wilson writes: > I need some help. > What is the easiest way for Nagios to read event logs on Windows servers > and extract alerts/warnings etc and then process nagios alerts if necessary > -- > > Ron Wilson > City of Sails > Auckland > > Whenever people agree with me I always feel I must be wrong. > Oscar Wilde (1854 - 1900) > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Fri Jun 11 01:22:13 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 10 Jun 2004 18:22:13 -0500 Subject: disable notifications weirdness In-Reply-To: <20040610022250.42095.qmail@restricted.dyndns.org> References: <20040610022250.42095.qmail@restricted.dyndns.org> Message-ID: <20040610232213.36564.qmail@restricted.dyndns.org> Anyone please can look at this? Thanks :) Neil writes: > Hey guys, > > There is something weird going on in my nagios. I clicked the "Disable > notifications for this service" as the administrator then it adds the icon > with the red x beside. This means, notification has been disabled. But > after a few hours, I get notifications again and the icon with red x > disappears. Why does it get enabled? > > Please help. > > Thanks. > > Neil > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mds at helices.org Fri Jun 11 03:34:21 2004 From: mds at helices.org (Michael D Schleif) Date: Thu, 10 Jun 2004 20:34:21 -0500 Subject: Debian b0rkage ??? In-Reply-To: <200406101246.42055.tech@gnuconsulting.com> References: <20040609211008.GN4649@Bragi.private.network> <200406091612.25563.tech@gnuconsulting.com> <20040609222306.GP4649@Bragi.private.network> <200406101246.42055.tech@gnuconsulting.com> Message-ID: <20040611013421.GC22027@Bragi.private.network> * David Bishop [2004:06:10:12:46:42-0600] scribed: > On Wednesday 09 June 2004 4:23 pm, Michael D Schleif wrote: > > * David Bishop [2004:06:09:16:12:25-0600] scribed: > > > > > > > > > > > > # apt-cache policy nagios-mysql > > > > > > > > > > > > > Here are the functional contents of /etc/nagios/services.cfg: > > > > > > > > > > > > Are you actually using mysql? Are you sure you don't want nagios-text? > > > I had a similar problem when trying to use nagios-pgsql (I couldn't > > > figure out how to make it use the pgsql server), but when I went back to > > > nagios-text, everything worked fine. > > > > Aha! How can I check for mysql usage? > > > > Yes, I want to use mysql. The testing version _did_ actually use mysql. > > > > I suppose that this is as good a road to go down as any. How can I best > > determine this? And, if not, how can I get it using mysql? > > > > What do you think? > > Unfortunately, as I said, I never did get it to work with a database. Your > two courses of action are either to switch to -text, or get the source > (apt-get source), compile it yourself, debug it, send the fix to the debian > maintainer, and continue to enjoy life :-) Or, wait until it get fixed by > the maintainer... Yes, sorry about that -- I didn't understand what you have been through. Subsequently, I found that Debian Bug # 235139 is actually about this issue -- 104 days old ;< Not sure what I am going to do about this yet . . . Thank you, for your input. -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From Ben at clewett.org.uk Fri Jun 11 09:27:33 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Fri, 11 Jun 2004 08:27:33 +0100 Subject: Performance Graphs (Nagat, Nagmin?) In-Reply-To: <20040610213218.27633.qmail@web60810.mail.yahoo.com> References: <20040610213218.27633.qmail@web60810.mail.yahoo.com> Message-ID: <40C95EE5.1040302@clewett.org.uk> I would advise the use of PerfParse http://perfparse.sourceforge.net/ This will store and graph any data collected by Nagios. There will be a new version (0.08) published some time today. Regards, Ben. Jon Lyons wrote: > Just wondering what others are using to graph > performance data ie Ping. Currently monitoring 200 > networking devices, and would like to dump the ping > response times into rdd or mrtg. Nagat looks like it's > been improved since I first tried it(never worked), > anyone have any suggestions? > > > > > __________________________________ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.com/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. >>From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand-MYUYVTIkhZ8 at public.gmane.org Fri Jun 11 09:35:49 2004 From: Philipp.Sand-MYUYVTIkhZ8 at public.gmane.org (Sand Philipp) Date: Fri, 11 Jun 2004 09:35:49 +0200 Subject: Dell Openmanage and Compaq/HP Insight Manager 7 Message-ID: <945C3F9C3F209144A12CB725111FC08D5E6E65@sygomail1.goe.ad.sycor.de> Hi, In my company we're planning to use nagios as our primary Monitoring Tool. We used MRTG, BigBrother, the Compaq Insight Manager and the Dell Openmanage Tools so far, but we're searching for a Tool, whic can combine the most functions of all those tools in one. And I think Nagios is able to manage that. My question is, are there any Plugins to get the Data from the Insight Manager or the Openmange? I found sometink like check_insight, but couldn't get it running :-/ So far i got not so much skills in perl or snmp, otherwise I think i wouldn't be a big thing to script a soloution, right? Thanks in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand-MYUYVTIkhZ8 at public.gmane.org www.sycor.de ------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sonar at xs4all.nl Fri Jun 11 10:09:26 2004 From: sonar at xs4all.nl (sonar at xs4all.nl) Date: Fri, 11 Jun 2004 10:09:26 +0200 (CEST) Subject: Dell Openmanage and Compaq/HP Insight Manager 7 Message-ID: <12206.212.206.62.50.1086941366.squirrel@webmail.xs4all.nl> We configured Openmanage once to send snmptraps to Nagios. I've attached some configs to get you going. The configs are not complete, we've only used them for testing a couple of months ago..... Cheers, Frank -------------- next part -------------- A non-text attachment was scrubbed... Name: dell-openmanage.cfg Type: application/octet-stream Size: 559 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: submit_check_result Type: application/octet-stream Size: 265 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snmptrapd.conf Type: application/octet-stream Size: 5315 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: handle-dell-openmanage-trap Type: application/octet-stream Size: 5716 bytes Desc: not available URL: From smalhotra at dataarmor.net Fri Jun 11 11:50:11 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Fri, 11 Jun 2004 15:20:11 +0530 Subject: Checking freshness Time period Message-ID: <005201c44f99$8092a020$0222040b@sumit> Hi , I am using nagios 1.2 and nsca in combination . Both works great together. I have configured for freshness check evrey 15 minutes( As shown below) . In case it fails an alert is genrated via command noreport. It works fine for 24*7 monitoring of services Problem comes when i want some service to be checked for 16*5 . I get alerts even when i have configured the service are configured for 16*5(check period) ( Although i am able to suppress teh alerts using notification period i.e. by setting it to 16*5) but still there is a red alert in the web interface .I would have loved to get a wall of "GREEN". ############################################## define service { name generic-service-passive ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' freshness_threshold 1800 ; default 15 minutes check_command no-report notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REgISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use generic-service-passive ; Name of service template to use host_name Ababa service_description Check Oracle is_volatile 0 check_period 16x5 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 16x5 notification_options w,u,c,r } ######################################## Any Solutions ??? Thanks. Regards, Sumit -------------- next part -------------- An HTML attachment was scrubbed... URL: From Karim.Amri at uptime.be Fri Jun 11 12:34:42 2004 From: Karim.Amri at uptime.be (Amri Karim) Date: Fri, 11 Jun 2004 12:34:42 +0200 Subject: enable performance data doesn't work Message-ID: <5F81A07409E7134F8713970C7BB0BE5F01E10251@w2ks-e2k.iconos.be> Hi, I'm having this strange problem, I can't enable performance data processing on a nagios machine (Debian). I have enabled this before on many machines. Perhaps I'm overlooking something? The problem is that nagios never touches /var/log/nagios/service-perfdata.out I don't think its a permission issue either because when I do a su - nagios, I can create the file. Any ideas? Here is my config: miscommand.cfg -------------- define command{ command_name process-service-perfdata command_line /usr/bin/printf "%b" "$LASTCHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT $\t$STATETYPE$\t$EXECUTIONTIME$\t$LATENCY$\t$OUTPUT$\t$PERFDATA$" >> /var/log/nagios/service-perfdata.out } nagios.cfg ---------- process_performance_data=1 service_perfdata_command=process-service-perfdata services.cfg ------------ define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 0 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 0 event_handler_enabled 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define service{ use generic-service host_name Server_1 service_description ping is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nagios notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Christian.Bock at liz.lsa-net.de Fri Jun 11 13:23:18 2004 From: Christian.Bock at liz.lsa-net.de (Bock, Christian) Date: Fri, 11 Jun 2004 13:23:18 +0200 Subject: Disabled service checks are still checked Message-ID: <53B7932F94C4DE49B3A9AD98715FCF2C1D3F14@lrpc79.liz.lsa-net.de> Hello, the problem is: I disabled ( almost all ) service and host checks and installed perfdata. When doing a tail -f serviceperf.log the disabled checks still appear, btw. what is the difference betwen the "X" and the "P" disabled services??? How to stop nagios checking the disabled services??? thanks chris ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Jun 11 14:21:38 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 11 Jun 2004 08:21:38 -0400 Subject: Context Sensitive Help Message-ID: <5593DA408212D511B0910002A513501F0655936A@phsexch20.mgh.harvard.edu> Hi there -- I am running Nagios 1.2 and context-sensitive help is supposedly unavailable even though the option to have it available is configured in the cgi.cfg file. The line in question is show_context_help=1. Is there another place I need to check in order for the service to be available? ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giliardo at ufv.br Fri Jun 11 14:48:44 2004 From: giliardo at ufv.br (Giliardo Carlos Freitas) Date: Fri, 11 Jun 2004 09:48:44 -0300 Subject: (no subject) Message-ID: <20040611124844.17741.qmail@calipso.cpd.ufv.br> Hello, How can i monitoring a chach-proxy service in Nagios? Thanks Giliardo ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From psimek at jcu.cz Fri Jun 11 15:31:41 2004 From: psimek at jcu.cz (Petr Simek) Date: Fri, 11 Jun 2004 15:31:41 +0200 (=?iso-8859-2?Q?St=F8edn=ED_Evropa_=28letn=ED__=E8as=29?=) Subject: (no subject) In-Reply-To: <20040611124844.17741.qmail@calipso.cpd.ufv.br> References: <20040611124844.17741.qmail@calipso.cpd.ufv.br> Message-ID: On Fri, 11 Jun 2004, Giliardo Carlos Freitas wrote: > Hello, > > How can i monitoring a chach-proxy service in Nagios? I am define new command in checkcommands.cfg : # 'check_squid' command definition define command{ command_name check_squid command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ -u $ARG2$ } and add new service check at host with cache proxy : define service{ use generic-service ; Name of service template to use host_name cache service_description SQUID is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 20 retry_check_interval 5 contact_groups linux-admins-aps notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_squid!3128!http://www.url.dom } Check command connects to squid and require the URL. It's possible to check www server that originally provide this url and make service dependency that squid check is dependent on http check. > Giliardo *------------------------------------------------------------------------* | Petr Simek APS JU | | psimek at jcu.cz | *------------------------------------------------------------------------* ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Fri Jun 11 15:49:06 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Fri, 11 Jun 2004 09:49:06 -0400 Subject: Dell Openmanage and Compaq/HP Insight Manager 7 In-Reply-To: <945C3F9C3F209144A12CB725111FC08D5E6E65@sygomail1.goe.ad.sycor.de> References: <945C3F9C3F209144A12CB725111FC08D5E6E65@sygomail1.goe.ad.sycor.de> Message-ID: <1086961746.4396.33.camel@pel> On Fri, 2004-06-11 at 03:35, Sand Philipp wrote: > Hi, > > In my company we're planning to use nagios as our primary Monitoring > Tool. We used MRTG, BigBrother, the Compaq Insight Manager and the > Dell Openmanage Tools so far, but we're searching for a Tool, whic can > combine the most functions of all those tools in one. And I think > Nagios is able to manage that. > > My question is, are there any Plugins to get the Data from the Insight > Manager or the Openmange? I found sometink like check_insight, but > couldn't get it running :-/ > > So far i got not so much skills in perl or snmp, otherwise I think i > wouldn't be a big thing to script a soloution, right? I wrote a plugin for checking openmanage through snmp. You can get it here: http://www.duke.edu/~sean/nagios/ There is one known bug.. hardware log errors show up as errors in an unknown component. This is because I couldn't figure out which OID to look at to see if the error was coming from the hardware log. Please feel free to use it. I'd appreciate any feedback you might have on it. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Fri Jun 11 16:13:34 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 11 Jun 2004 08:13:34 -0600 Subject: enable performance data doesn't work Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E921B@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Hi, > > I'm having this strange problem, I can't enable performance data > processing on a nagios machine (Debian). I have enabled this > before on > many machines. > Perhaps I'm overlooking something? The problem is that nagios never > touches /var/log/nagios/service-perfdata.out > [snip] Try also enabling Performance Data from the Nagios web interface, on the Process Info page. I ran into this problem not so long ago, and it was driving me crazy until I stumbled upon this. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Fri Jun 11 16:26:24 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 11 Jun 2004 09:26:24 -0500 (CDT) Subject: Dell Openmanage and Compaq/HP Insight Manager 7 In-Reply-To: <12206.212.206.62.50.1086941366.squirrel@webmail.xs4all.nl> References: <12206.212.206.62.50.1086941366.squirrel@webmail.xs4all.nl> Message-ID: On Fri, 11 Jun 2004 sonar at xs4all.nl wrote: > We configured Openmanage once to send snmptraps to Nagios. I have a similar problem, I'd like to monitor statistics on the Dell hardware, but without SNMP. Have you seen the following, (found it on the Nagios Propaganda page): http://www.dell.com/downloads/global/power/1q04-sch.pdf The newest OM software contains a command line utility omreport that lets you query the hardware without relying on SNMP. The Dell guys even supply a Nagios plugin. Look for this Dell OM tarball on Dell's website: om37_lnx_managed_system_A00-1.tar.gz Is there a similar non-SNMP way to do this with Compaq hardware? I don't have any currently but we need to support it going forward. Thanks. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeramy.Eling at britax-pmg.com Fri Jun 11 16:43:35 2004 From: Jeramy.Eling at britax-pmg.com (Jeramy Eling) Date: Fri, 11 Jun 2004 15:43:35 +0100 Subject: Extended Service Information - A Really annoying issue Message-ID: <5CD3BFF77DFFD411BCD100D0B720F945198499@probe.britax-pmg.com> Hi, I have checked and that line does exist and still nothing. It is right below the extended host information directive and that is working great. This is starting to pose a problem, I want to start and use Nagios and replace my current monitoring solution and my boss likes it to. However I need this function working so we can add more details etc. to certain services. Having spent most of this week trying to solve the problem I am all out of ideas, any more pointers would be greatly appreciate Jez -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Andreas Ericsson Sent: 10 June 2004 12:48 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Extended Service Information Jeramy Eling wrote: > Hi, > > Thanks for the response to the post. I have tried all the suggestions but still I get no image/link next to the service. > > Does anyone have any other suggestions? > Make sure there is an uncommented line saying (something like) xedtemplateconfigfile=/usr/local/nagios/etc/serviceextinfo.cfg > Many Thanks > > Jez. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of kevin > Sent: 09 June 2004 17:07 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Extended Service Information > > > Jeramy Eling wrote: > >>Hi All, >> >>I am trying, with very little success to get the extended service information to work in Nagios. I have spent the last few days trying to add the details to just one service, and no matter what I seem to do I just cannot get it to display. I have put my sample file below that I am working with:- >> >>define serviceextinfo{ >> host_name adslfirewall >> service_description PING >> notes_url http://nagios/test2.html >> icon_image win40.gif >> icon_image_alt ADSL PING >> } >> >>Can anyone give me any hints/tips on how I can get this working, I have read the documentation over and over and checked out the mailing-list but to no avail, I am using Nagios 1.2 on RedHat 9.0. >> >>Thanks in advance >> >>Jez >> > > The serviceextinfo that the check_traffic program made for me looks like > this. > define serviceextinfo{ > host_name storage4 > service_description netapp > notes_url /nagios/cgi-bin/storage4_netapp.cgi > icon_image traffic-icon.jpg > icon_image_alt View graphs > } > So I would try changing the notes_url. Also, for the icon to work it > should be located in /nagios/share/images/logos/ > You should also check the nagios.cfg file to make sure that the > serviceextinfo file is being loaded as a config file. There should be a > line that looks like this. > cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg > After all that you should be able to restart nagios and see your note. > > Kevin > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tech at gnuconsulting.com Fri Jun 11 17:34:43 2004 From: tech at gnuconsulting.com (David Bishop) Date: Fri, 11 Jun 2004 09:34:43 -0600 Subject: Debian b0rkage ??? In-Reply-To: <20040611013421.GC22027@Bragi.private.network> References: <20040609211008.GN4649@Bragi.private.network> <200406101246.42055.tech@gnuconsulting.com> <20040611013421.GC22027@Bragi.private.network> Message-ID: <200406110934.43386.tech@gnuconsulting.com> > Yes, sorry about that -- I didn't understand what you have been through. > Subsequently, I found that Debian Bug # 235139 > is actually > about this issue -- 104 days old ;< > > Not sure what I am going to do about this yet . . . Well, the last comment on that bug indicates that Guido will be doing an NMU to fix the bug, probably soon. You might want to email him directly to see what the status is, and possibly get the patch and build your own .deb. D.A.Bishop ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at fragit.net Fri Jun 11 18:56:26 2004 From: alex at fragit.net (Alex Burger) Date: Fri, 11 Jun 2004 12:56:26 -0400 Subject: Dell Openmanage and Compaq/HP Insight Manager 7 In-Reply-To: <945C3F9C3F209144A12CB725111FC08D5E6E65@sygomail1.goe.ad.sycor.de> References: <945C3F9C3F209144A12CB725111FC08D5E6E65@sygomail1.goe.ad.sycor.de> Message-ID: <40C9E43A.1020508@fragit.net> Sand Philipp wrote: > In my company we're planning to use nagios as our primary Monitoring > Tool. We used MRTG, BigBrother, the Compaq Insight Manager and the Dell > Openmanage Tools so far, but we're searching for a Tool, whic can > combine the most functions of all those tools in one. And I think Nagios > is able to manage that. > > My question is, are there any Plugins to get the Data from the Insight > Manager or the Openmange? I found sometink like check_insight, but > couldn't get it running :-/ I use SNMPTT to forward SNMP traps received from the Compaq Insight Agents running on each server to Nagios. I have converted the MIB files from the Compaq Management CD (CD with Insight Manager) for use with SNMPTT. I currently have 344 traps defined. With this setup, I get alerts such as: -Tape Drive Status Change: Status is now offline. -Tape Drive Cleaning Required: Status is now degraded -Corr Mem Errors Require a Replacement Memory Module.: Correctable memory errs require a replacement memory module. -Physical Drive Status Change: Status is now predictiveFailure for a physical drive on bus 0, bay 1. Basically, anything you see in the error log for a server in Insight Manager, you should be able to get in to Nagios using SNMP traps. Insight Manager is not needed as the traps are sent directly to SNMPTRAPD (Net-SNMP), handled by SNMPTT and forwared to Nagios. You may still want to have Insight Manager around so you can query config info etc on servers or look at the internal logs. See http://www.snmptt.org and http://www.snmptt.org/docs/snmptt.shtml#Nagios-Netsaint for more info. Alex > So far i got not so much skills in perl or snmp, otherwise I think i > wouldn't be a big thing to script a soloution, right? > > Thanks in advance! > Philipp > > > _____________________________ > > *Philipp Sand* > OC-CC-TEC-SYS > > *SYCOR GmbH* > Heinrich-von-Stephan-Stra?e 1-5 > D - 37073 G?ttingen > > Telefon +49 (0) 551 / 490 - 0 > Telefax +49 (0) 551 / 490 - 2000 > > _philipp.sand at sycor.de_ > ___www.sycor.de___ __ > ------------------------------------------------ > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Fri Jun 11 19:19:43 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Fri, 11 Jun 2004 14:19:43 -0300 (BRT) Subject: Multiple Dependency Message-ID: Is it possible to define multiple dependency on host_name and dependent_host_name variables? For example: define hostdependency{ host_name Host A, Host B dependent_host_name Host 1, Host 2, Host 3, Host 4 notification_failure_criteria d } This happens in my network. The clients (Host 1,2,3,4) can be checked just if the gateway (Host A) and the Disk Server (Host B) are UP. What about hostgroups in service/hostdependency? It would be much easier to say: define hostdependency{ hostgroup_name servers-grp dependent_hostgroup_name clients-grp notification_failure_criteria d } I did not see it on the documentation, nor in FAQs. -- Leonardo Henrique Machado ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Fri Jun 11 19:45:46 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Fri, 11 Jun 2004 14:45:46 -0300 (BRT) Subject: Multiple Dependency In-Reply-To: References: Message-ID: Yes, it's all possible. :) . I have just tested it. On Fri, 11 Jun 2004, Leonardo Henrique Machado wrote: > > Is it possible to define multiple dependency on host_name and > dependent_host_name variables? > > > For example: > > > define hostdependency{ > host_name Host A, Host B > dependent_host_name Host 1, Host 2, Host 3, Host 4 > notification_failure_criteria d > } > > This happens in my network. The clients (Host 1,2,3,4) can be > checked just if the gateway (Host A) and the Disk Server (Host > B) are UP. > > > What about hostgroups in service/hostdependency? It would be much easier > to say: > > define hostdependency{ > hostgroup_name servers-grp > dependent_hostgroup_name clients-grp > notification_failure_criteria d > } > > > I did not see it on the documentation, nor in FAQs. > > > -- > Leonardo Henrique Machado > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Leonardo Henrique Machado ?ltimo Per?odo em Ci?ncia da Computacao Universidade Federal de Minas Gerais ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Jun 11 19:52:13 2004 From: teng at dataway.com (Tedman Eng) Date: Fri, 11 Jun 2004 10:52:13 -0700 Subject: Disabled service checks are still checked Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC726C@dw-mail.dataway.com> The "X" means it will still actively check but not notify. The "P" means it will no longer actively check, but can receive passive checks. "Check freshness" will initiate an active check if a passive-only service has aged beyond the threshold. There is alt text that pops up when you hover your mouse over the pictures for a little bit. > -----Original Message----- > From: Bock, Christian [mailto:Christian.Bock at liz.lsa-net.de] > Sent: Friday, June 11, 2004 4:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Disabled service checks are still checked > > > Hello, > > the problem is: > > I disabled ( almost all ) service and host checks > and installed perfdata. When doing a tail -f serviceperf.log > the disabled checks still appear, btw. what is the > difference betwen the "X" and the "P" disabled services??? > How to stop nagios checking the disabled services??? > > thanks > > chris > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Fri Jun 11 08:40:49 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Fri, 11 Jun 2004 08:40:49 +0200 Subject: Notifications Report Problem In-Reply-To: References: Message-ID: <200406110840.49812.Michael.Huettig@Medien-Systempartner.de> Am Donnerstag, 10. Juni 2004 18:13 schrieb Joe Bush: > After setting up Nagios, I'm finding out that its sending out the email > notifications when services are down, but the notification history doesn't > show up when I select the Notification report. Am I missing something in my > configuration? Hi Joe, in nagios.cfg you find: # NOTIFICATION LOGGING OPTION # If you don't want notifications to be logged, set this value to 0. # If notifications should be logged, set the value to 1. log_notifications=1 Regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Fri Jun 11 22:41:17 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Fri, 11 Jun 2004 17:41:17 -0300 (BRT) Subject: Multiple Dependency on Services In-Reply-To: References: Message-ID: Another problem, this one I have already tested. How can I depend on multiple services? define servicedependency{ host_nameHost B service_descriptionService ServiceA,ServiceB dependent_host_nameHost C dependent_service_description ServiceF,ServiceG execution_failure_criteria o notification_failure_criteria n } Nagios thinks that ServiceA,ServiceB are together a single service! Isn't it reasonable to have multiple service definitions, since multiple hosts definitions are possible? -- Leonardo Henrique Machado ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gemeosdf at yahoo.com.br Sat Jun 12 21:55:14 2004 From: gemeosdf at yahoo.com.br (=?iso-8859-1?q?Marcos=20&=20Marcelo?=) Date: Sat, 12 Jun 2004 16:55:14 -0300 (ART) Subject: addons and plugin Message-ID: <20040612195514.56146.qmail@web51402.mail.yahoo.com> Hi Folks, What is the difference between addons and plugin? tks, Marcelo ______________________________________________________________________ Yahoo! Messenger - Fale com seus amigos online. Instale agora! http://br.download.yahoo.com/messenger/ ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gemeosdf at yahoo.com.br Sun Jun 13 00:30:05 2004 From: gemeosdf at yahoo.com.br (=?iso-8859-1?q?Marcos=20&=20Marcelo?=) Date: Sat, 12 Jun 2004 19:30:05 -0300 (ART) Subject: nrpe execution on remote file Message-ID: <20040612223005.49756.qmail@web51403.mail.yahoo.com> Hi folks, I would like to know if nrpe addon can open file on remote host or executed some commands. I have an plugin check which get some informatition from a remote file. And the error message using the command ./check_nrpe -H 10.0.0.1 -c command CHECK_NRPE:Response packet had invalid CRC32. However, when I executed the check like ./ckeck in the local machine it works. Does it a limitation of NRPE? Did anybody have the same problem? tks, Marcelo --------------------------------- Yahoo! Messenger - Fale com seus amigos online. Instale agora! -------------- next part -------------- An HTML attachment was scrubbed... URL: From wp.junior at terra.com.br Sun Jun 13 00:47:35 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Sat, 12 Jun 2004 19:47:35 -0300 Subject: Software for configure nagios In-Reply-To: <20040612195514.56146.qmail@web51402.mail.yahoo.com> References: <20040612195514.56146.qmail@web51402.mail.yahoo.com> Message-ID: <20040612224425.0E9B33C024@cuenca.terra.com.br> Hi all. I configure my nagios (1.2) directly the cfg files, but I've around 120 hosts and weekly changes. What is the better friendly software to configure nagios, nagat or nagmin? Is there any other software? I'm planning to upgrado to nagios 2.0, do nagat and nagmin work with this version? Regards, Wilson ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_fenton at yahoo.com Sun Jun 13 04:41:24 2004 From: greg_fenton at yahoo.com (Greg Fenton) Date: Sat, 12 Jun 2004 19:41:24 -0700 (PDT) Subject: FAQ F0058 enhancement suggestion Message-ID: <20040613024124.8962.qmail@web52906.mail.yahoo.com> I recently became responsible for a set of servers that use Nagios to make sure each other is alive. During a networking problem (VPN issues), I went to the CGI interface to shut off notifications but got the "external commands cannot execute" error. I found the FAQ entry: http://www.nagios.org/faqs/viewfaq.php?faq_id=58 which points to the permissions for the users/groups and dirs of "external commands". This, however, did not answer the particular problem I was facing. When I finally broke down and started reading through the docs (I was not involved in the initial config/install), I found out what "external commands" means and found that they weren't enabled. I have at least one suggestion from this experience. The FAQ entry would probably be better pointing at: http://nagios.sourceforge.net/docs/1_0/extcommands.html rather than http://nagios.sourceforge.net/docs/1_0/commandfile.html The big issue I ran into is one of terminology. The term "external command" makes sense now, but when I got started down this path my view is that a CGI which is part of the installation would not be considered an "external command" to the system. I don't know if would confuse the issue for others, but adding something like "(e.g. CGIs)" to the table of contents entry for "External Commands" would also have saved me a bit of reading. Don't get me wrong....I don't mind having done the reading. But if this task had been handed off to a non-programmer sys-admin, I'm sure they would have completely glazed over before getting past the section "Installing Nagios". Hope this proves helpful to some, greg_fenton. ===== Greg Fenton greg_fenton at yahoo.com __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_fenton at yahoo.com Sun Jun 13 19:38:53 2004 From: greg_fenton at yahoo.com (Greg Fenton) Date: Sun, 13 Jun 2004 10:38:53 -0700 (PDT) Subject: Unable to enable notifications Message-ID: <20040613173853.76827.qmail@web52905.mail.yahoo.com> Nagios 1.2 RH 7.3 Apache 1.3.27 I disabled service notifications via the CGI interface during a recent network issue. Now that the networking is resolved, when I enable the notifications I see an entry in var/rw/nagios.cmd (the command_file), but after waiting beyond the command_check_interval the entry is still in the command_file and the CGI interface shows that the notifications is disabled. In fact, its been more than 12 hrs now and its still not enabled. check_external_commands=1 command_check_interval=1 interval_length=60 command_file=/home/nagios/var/rw/nagios.cmd Any ideas where I should check next? Is there a config file I can manually tweak for the time being to get this re-enabled? Thanks in advance, greg_fenton. ===== Greg Fenton greg_fenton at yahoo.com __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Jun 14 02:46:22 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 14 Jun 2004 10:46:22 +1000 Subject: Null mailer - no notifications for contacts that want to view CGIs only (maybe notif to an ML) Message-ID: <20040614104621.A265@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, Does anyone else have a situation where contacts (ie those who want to view the Nag CGIs) do _not_ want individual notifications - perhaps because one of the other contacts is a non personal contact that corresponds to a mailing list and those responsible for the host/service read this mailing list ? Alternatively, a site may require that instead of personal notification, all host and service faults are entered into a 'request tracking' or 'service desk' system but authenticated access to the CGIs is still required for the host/service administrators. I have dealt with this by defining a null notification command ('test 1 -eq 1' but maybe the Bourne shell ':' ['A null command that returns a 0 (true) exit value.'] is better) but Nag must still fork a shell to run this. Is a better way simply to - not define notification commands - leave them out - in the contact template - individually define notification commands for each contact that requires notification ? If that is the case, some of the benefit of the contacts template is lost since most contacts will require notification. OTOH it seems quite sensible and feasable to do this. Is it possible to define a notification command that does _not_ oblige Nagios to fork /bin/sh ? What do others do about this ? Is there any interest in hacking the 1.x notification code to simply skip further processing ('No-op, no-op the angel did say) for a token representing a 'null mailer' ? Perhaps a better way of dealing with this and other related problems is by having more than one level of inheritance from templates - many templates can be constructed that inherit attributes from any parent template and its parents. This may in fact be how it is done in Nag 2.x. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Mon Jun 14 03:41:05 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 14 Jun 2004 13:41:05 +1200 Subject: hostextinfo templates stopped working Message-ID: <006a01c451b0$a8b93320$b004d882@itss.auckland.ac.nz> I have a problem here someone may know the answer to. All of the templates in my hostextinfo file have stopped working, for some reason. I know the hostextinfo file is being processed, because the notes_url (defined against each host) is being processed. However, the icon_image is defined in a template, and this is not being read. I know the icon file is readable, because if I move the definition into the host proper then it works. Here is a snippet: # Template define hostextinfo{ name os-linux icon_image linux40.gif statusmap_image linux40.gd2 icon_image_alt Linux } # Host definition define hostextinfo { host_name MyHost use os-linux notes_url https://monitor/cgi-bin/routers2.cgi?rtr=hosts-unix/myhost.cfg&if=__summary } The notes_url works, the icon_image doesn't. The strangest thing is that, up until a week ago, it all worked. I don't know at what point it suddenly ceased to work, unfortunately -- we've been doing a lot of work on the configuration. This works: define hostextinfo { host_name MyHost icon_image linux40.gif statusmap_image linux40.gd2 icon_image_alt Linux notes_url https://monitor/cgi-bin/routers2.cgi?rtr=hosts-unix/myhost.cfg&if=__summary } but I'd prefer to continue to use templates if possible. Does anyone recognise this problem? Any ideas as to why it has suddenly stopped working? Thanks in advance for any help... Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From s.shipway at auckland.ac.nz Mon Jun 14 03:52:51 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 14 Jun 2004 13:52:51 +1200 Subject: hostextinfo templates stopped working In-Reply-To: <006a01c451b0$a8b93320$b004d882@itss.auckland.ac.nz> References: <006a01c451b0$a8b93320$b004d882@itss.auckland.ac.nz> Message-ID: <007101c451b2$4d02bc70$b004d882@itss.auckland.ac.nz> Well, after working on this for the last 3 hours, wouldn't you know that I'd find the answer immediately after posting to the list? For thos of you interested in the cause of my problem (and for posterity) the reason was this - there was *one* hostextinfo definition using a misspelt template name, and this stopped *all* templates from working, and no error messages were logged anywhere. I worked this out by slowly deleting every definition from the file in turn. The offending one was the last in the file (typical). Maybe Nagios should produce some error messages when it finds inconsistencies in the extinfo files, as it does for errors in the other files? Thanks for letting me waste your time, Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From mkingsbury at airvananet.com Mon Jun 14 04:37:31 2004 From: mkingsbury at airvananet.com (Michael Kingsbury) Date: Sun, 13 Jun 2004 22:37:31 -0400 Subject: Null mailer - no notifications for contacts that want to view CGIs only (maybe notif to an ML) Message-ID: <41B9D8A6CE9E0A4583291742EECF3CCB037AFD33@mail.wirelessworld.airvananet.com> I would think you could just setup notification hours of 'none' (as defined by the sample configs). Essentially, the time period is 00:00-00:00 - and therefore, they get no notifications. Nice and easy. -mike -----Original Message----- From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] Sent: Sunday, June 13, 2004 8:46 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Null mailer - no notifications for contacts that want to view CGIs only (maybe notif to an ML) Dear Ladies and Gentlemen, Does anyone else have a situation where contacts (ie those who want to view the Nag CGIs) do _not_ want individual notifications - perhaps because one of the other contacts is a non personal contact that corresponds to a mailing list and those responsible for the host/service read this mailing list ? Alternatively, a site may require that instead of personal notification, all host and service faults are entered into a 'request tracking' or 'service desk' system but authenticated access to the CGIs is still required for the host/service administrators. I have dealt with this by defining a null notification command ('test 1 -eq 1' but maybe the Bourne shell ':' ['A null command that returns a 0 (true) exit value.'] is better) but Nag must still fork a shell to run this. Is a better way simply to - not define notification commands - leave them out - in the contact template - individually define notification commands for each contact that requires notification ? If that is the case, some of the benefit of the contacts template is lost since most contacts will require notification. OTOH it seems quite sensible and feasable to do this. Is it possible to define a notification command that does _not_ oblige Nagios to fork /bin/sh ? What do others do about this ? Is there any interest in hacking the 1.x notification code to simply skip further processing ('No-op, no-op the angel did say) for a token representing a 'null mailer' ? Perhaps a better way of dealing with this and other related problems is by having more than one level of inheritance from templates - many templates can be constructed that inherit attributes from any parent template and its parents. This may in fact be how it is done in Nag 2.x. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 14 09:31:28 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Jun 2004 09:31:28 +0200 Subject: hostextinfo templates stopped working In-Reply-To: <007101c451b2$4d02bc70$b004d882@itss.auckland.ac.nz> References: <007101c451b2$4d02bc70$b004d882@itss.auckland.ac.nz> Message-ID: <40CD5450.70109@op5.se> Steve Shipway wrote: > Well, after working on this for the last 3 hours, wouldn't you know that I'd > find the answer immediately after posting to the list? > > For thos of you interested in the cause of my problem (and for posterity) > the reason was this - there was *one* hostextinfo definition using a > misspelt template name, and this stopped *all* templates from working, and > no error messages were logged anywhere. > That's because the hostextinfo is non-critical to nagios operations, and Nagios doesn't read them. The GUI does, but they don't log anything, so it's an entirely different matter. > I worked this out by slowly deleting every definition from the file in turn. > The offending one was the last in the file (typical). > > Maybe Nagios should produce some error messages when it finds > inconsistencies in the extinfo files, as it does for errors in the other > files? > In Nagios 2.0, hostextinfo is considered to be an object configuration file just like anything else so Nagios reads it, verifies it and caches it. > Thanks for letting me waste your time, > You're welcome. We don't do much at work until after lunch anyway. ;-) > Steve > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gurhan.kocak at ttnet.net.tr Mon Jun 14 09:39:01 2004 From: gurhan.kocak at ttnet.net.tr (=?iso-8859-9?Q?G=FCrhan_Ko=E7ak?=) Date: Mon, 14 Jun 2004 10:39:01 +0300 Subject: Is this critical or not for Nagios? Message-ID: <20040614073721.WLWW2508.fep02.ttnet.net.tr@tru64> Hi all, I prepared a script to return description of the queried slot with its temperature for Redback BRAS devices. Everything seems to be ok, but Nagios does not think the service is critical although the return value is as the following? Slot Temperature OK 14-06-2004 10:23:18 2d 17h 56m 25s 1/3 SNMP CRITICAL - *38* Temperature sensor on slot 2 How can I make Nagios to see this service is critical? Is the format or content of the return value is wrong? Kind regards. Gurhan Kocak System Support Engineer Alcatel Teletas ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Mon Jun 14 09:42:14 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Mon, 14 Jun 2004 09:42:14 +0200 Subject: (no subject) In-Reply-To: References: Message-ID: <200406140942.15148.Michael.Huettig@Medien-Systempartner.de> Am Freitag, 11. Juni 2004 15:31 schrieb Petr Simek: > On Fri, 11 Jun 2004, Giliardo Carlos Freitas wrote: > > Hello, > > > > How can i monitoring a chach-proxy service in Nagios? > > I am define new command in checkcommands.cfg : > > # 'check_squid' command definition > define command{ > command_name check_squid > command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ -u > $ARG2$ } > ok, this works fine but how do the proxy-check with authentication? ./check_http -H myproxy.com -p 8080 -u http://someurl.com HTTP ok: HTTP/1.0 407 Proxy authentication required - 0.005 second response time |time= 0.005 Regards Michael > and add new service check at host with cache proxy : > > define service{ > use generic-service ; Name of > service template to use > > host_name cache > service_description SQUID > is_volatile 0 > check_period 24x7 > max_check_attempts 2 > normal_check_interval 20 > retry_check_interval 5 > contact_groups linux-admins-aps > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_squid!3128!http://www.url.dom > } > > Check command connects to squid and require the URL. It's possible to > check www server that originally provide this url and make service > dependency that squid check is dependent on http check. > > > Giliardo > > *------------------------------------------------------------------------* > > | Petr Simek APS JU | > | psimek at jcu.cz | > > *------------------------------------------------------------------------* ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Jun 14 09:53:26 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 14 Jun 2004 17:53:26 +1000 Subject: Null mailer - no notifications for contacts that want to view CGIs only (maybe notif to an ML) In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Sun, Jun 13, 2004 at 08:31:43PM -0700 References: Message-ID: <20040614175324.A225@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am writing to thank you for your letter and say. On Sun, Jun 13, 2004 at 08:31:43PM -0700, nagios-users-request at lists.sourceforge.net wrote: > Message: 5 > Subject: RE: [Nagios-users] Null mailer - no notifications for contacts that want to view CGIs only (maybe notif to an ML) > Date: Sun, 13 Jun 2004 22:37:31 -0400 > From: "Michael Kingsbury" > > I would think you could just setup notification hours of 'none' (as = > defined by the sample configs).=20 > > Essentially, the time period is 00:00-00:00 - and therefore, they get no = > notifications. Nice and easy. > This is a wonderful answer. Thank you very much for this simple, elegant and, after you said it, obvious solution. Hi-Ho Hi-ho its time to fire up vi (ci contacts.cfg; vi contacts.cfg) > -mike Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 14 10:05:25 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Jun 2004 10:05:25 +0200 Subject: Is this critical or not for Nagios? In-Reply-To: <20040614073721.WLWW2508.fep02.ttnet.net.tr@tru64> References: <20040614073721.WLWW2508.fep02.ttnet.net.tr@tru64> Message-ID: <40CD5C45.9040304@op5.se> G?rhan Ko?ak wrote: > Hi all, > > I prepared a script to return description of the queried slot with its > temperature for Redback BRAS devices. Everything seems to be ok, but Nagios > does not think the service is critical although the return value is as the > following? > > Slot Temperature OK 14-06-2004 10:23:18 2d 17h 56m 25s 1/3 SNMP CRITICAL - > *38* Temperature sensor on slot 2 > That's not the return value. That's the output of the script. The return value is the exit status of the script/program. > How can I make Nagios to see this service is critical? Is the format or > content of the return value is wrong? > By having it exit with a status other than 0. In shell-scripts, this is done with exit 1 for critical. In C, it's done by exit(1); (again, for critical), or, from the 'main()' function, return(1); (parentheses are optional to the return call). Read nagiosplugin development guidelines. It's at http://www.nagios.org or http://sourceforge.net/projects/nagiosplug Browse around a little, and I'm sure you'll find it one place or another. > Kind regards. > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.koch at eurodata.de Mon Jun 14 10:30:17 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Mon, 14 Jun 2004 10:30:17 +0200 Subject: Is this critical or not for Nagios? In-Reply-To: <20040614073721.WLWW2508.fep02.ttnet.net.tr@tru64> References: <20040614073721.WLWW2508.fep02.ttnet.net.tr@tru64> Message-ID: <1087201817.797.15.camel@dresden.eurodata.de> Hi, nagios handel the exit-code from the check script. if your check script end with the exit-code 2, the nagios say is it critical. The Text who nagios give out is your coment. -> You can exit with exit-code 2, but print OK. Than the nagios-server set the check to red and write OK Exit-code 0 - ok 1 - Warning 2 - Critical 3 - Unknown 4 - Dependent Andreas Am Mo, den 14.06.2004 schrieb G?rhan Ko?ak um 9:39: > Hi all, > > I prepared a script to return description of the queried slot with its > temperature for Redback BRAS devices. Everything seems to be ok, but Nagios > does not think the service is critical although the return value is as the > following? > > Slot Temperature OK 14-06-2004 10:23:18 2d 17h 56m 25s 1/3 SNMP CRITICAL - > *38* Temperature sensor on slot 2 > > How can I make Nagios to see this service is critical? Is the format or > content of the return value is wrong? > > Kind regards. > > Gurhan Kocak > System Support Engineer > Alcatel Teletas > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mcalpinecomputing.net Mon Jun 14 10:37:45 2004 From: peter at mcalpinecomputing.net (Peter McAlpine) Date: Mon, 14 Jun 2004 04:37:45 -0400 Subject: Null mailer - ... thanks! In-Reply-To: <20040614175324.A225@IPAustralia.Gov.AU> References: <20040614175324.A225@IPAustralia.Gov.AU> Message-ID: <1087202264.6499.25.camel@pitc> I'd also like to take this time to say thank-you to all you question-answerers who take the time to help out those like myself who sometimes have gotten stuck on an issue or three. -Peter On Mon, 2004-06-14 at 03:53, Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > I am writing to thank you for your letter and say. > > On Sun, Jun 13, 2004 at 08:31:43PM -0700, nagios-users-request at lists.sourceforge.net wrote: > > > Message: 5 > > Subject: RE: [Nagios-users] Null mailer - no notifications for contacts that want to view CGIs only (maybe notif to an ML) > > Date: Sun, 13 Jun 2004 22:37:31 -0400 > > From: "Michael Kingsbury" > > > > I would think you could just setup notification hours of 'none' (as = > > defined by the sample configs).=20 > > > > Essentially, the time period is 00:00-00:00 - and therefore, they get no = > > notifications. Nice and easy. > > > > This is a wonderful answer. > > Thank you very much for this simple, elegant and, after you said > it, obvious solution. > > Hi-Ho Hi-ho its time to fire up vi (ci contacts.cfg; vi contacts.cfg) > > > -mike > > Yours sincerely. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From gurhan.kocak at ttnet.net.tr Mon Jun 14 10:56:58 2004 From: gurhan.kocak at ttnet.net.tr (=?iso-8859-9?Q?G=FCrhan_Ko=E7ak?=) Date: Mon, 14 Jun 2004 11:56:58 +0300 Subject: Is this critical or not for Nagios? In-Reply-To: <1087201817.797.15.camel@dresden.eurodata.de> References: <1087201817.797.15.camel@dresden.eurodata.de> Message-ID: <20040614085519.XJMP2508.fep02.ttnet.net.tr@tru64> By using the exit code, script worked successfuly. Thanks for your comments. Gurhan Kocak -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Koch Sent: Monday, June 14, 2004 11:30 AM To: G?rhan Ko?ak Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Is this critical or not for Nagios? Hi, nagios handel the exit-code from the check script. if your check script end with the exit-code 2, the nagios say is it critical. The Text who nagios give out is your coment. -> You can exit with exit-code 2, but print OK. Than the nagios-server set the check to red and write OK Exit-code 0 - ok 1 - Warning 2 - Critical 3 - Unknown 4 - Dependent Andreas Am Mo, den 14.06.2004 schrieb G?rhan Ko?ak um 9:39: > Hi all, > > I prepared a script to return description of the queried slot with its > temperature for Redback BRAS devices. Everything seems to be ok, but > Nagios does not think the service is critical although the return > value is as the following? > > Slot Temperature OK 14-06-2004 10:23:18 2d 17h 56m 25s 1/3 SNMP > CRITICAL - > *38* Temperature sensor on slot 2 > > How can I make Nagios to see this service is critical? Is the format > or content of the return value is wrong? > > Kind regards. > > Gurhan Kocak > System Support Engineer > Alcatel Teletas > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From evgeni.vachkov at investis.com Mon Jun 14 13:40:00 2004 From: evgeni.vachkov at investis.com (Evgeni Vachkov) Date: 14 Jun 2004 12:40:00 +0100 Subject: Distributed monitoring problem. Message-ID: <1087213200.3966.110.camel@spudgun.dhcp.internal> Hi all, I have a problem with nagios distributed monitoring. Nagios 1.2 Apache/2.0.40 There is a central/master server passively collecting data from 2 distributed/slave servers. The central server is configured to do some monitoring aswell. The distributed servers monitor separate subnets and send all data to the central server via NSCA. There is no active polling of data from the central server. All critical allerts for the hosts monitored ny the central server are emailed ok. All allerts from the distributed servers are received ok by the central server. If there is a critical service allert, the central server notes the description of the problem on the `service detail` page, but still stays with green (ok) clolour and no email is set out. Anyone had a similar problem? Is there something I am doing wrong. Your help is appreciated. Regards, -- Evgeni Vachkov MEng LPIC MCP Systems Engineer Investis www.investis.com 85 Clerkenwell Road London EC1R 5AR T. +44 (0)20 7071 8506 F. +44 (0)20 7071 8501 Investis clients won five out of eight awards at the IR Best Practice Website Awards 2004, including Best FTSE 100, Best FTSE 250 and Best Smaller Quoted Company, and the Grand Prix Best Overall Website. The contents of this email including its attachments (if any) are confidential and may be privileged. If you are not the intended recipient you should not copy it or use it for any purpose nor disclose its contents to any other person. Please notify the person named above if this email has been sent to you in error. Registered office: address as above; registered in England and Wales: number 3930926. -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-scrshot.png Type: image/png Size: 73301 bytes Desc: not available URL: From wim.degeeter at bt.com Sun Jun 13 23:10:07 2004 From: wim.degeeter at bt.com (wim.degeeter at bt.com) Date: Sun, 13 Jun 2004 22:10:07 +0100 Subject: nrpe.cfg question Message-ID: Hi, In the nrpe.cfg you can define (with 'allowed_hosts') which server is allowed to access to the Nagios port to check the commands. When I want that no pre-defined IP address can access this port what do I have to do. When I uncomment this option I've got this error: Host 'IP Address' is not allowed to talk to us. Any ideas ?? Thanks and regards, Wim -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2638 bytes Desc: not available URL: From dimitry at al.org.ua Mon Jun 14 14:27:27 2004 From: dimitry at al.org.ua (Dmitry Alyabyev) Date: Mon, 14 Jun 2004 15:27:27 +0300 Subject: Host is down but there aren't any futher alerts Message-ID: <200406141527.27973.dimitry@al.org.ua> Hello Interesting thing happened to one my server - host is down (and it's true) for 3h:30m but I've got only one alert (and notification as well) about this - nothing later. It happens for the first time and only with this host - all others are monitored ok. This host is checked by ping and one service check. I've restarted nagios - it's still be quite about this host Host State Information: Host Status: DOWN Status Information: CRITICAL - Plugin timed out after 10 seconds Last Status Check: 14-06-2004 15:14:35 Status Data Age: 0d 0h 0m 17s Last State Change: 14-06-2004 11:44:13 Current State Duration: 0d 3h 30m 39s Last Host Notification: 14-06-2004 11:44:13 Current Notification Number: 1 Is This Host Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 14-06-2004 15:14:45 Host Checks: ENABLED Host Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED Any ideas what can be wrong in my situation ? Nagios 1.2 (compiled without any SQL DB), FreeBSD 4.9, -- Dimitry ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Mon Jun 14 14:50:24 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 14 Jun 2004 08:50:24 -0400 Subject: (no subject) Message-ID: <5593DA408212D511B0910002A513501F0655936D@phsexch20.mgh.harvard.edu> Hi there -- I am running Nagios 1.2 and context-sensitive help is supposedly unavailable even though the option to have it available is configured in the cgi.cfg file. The line in question is show_context_help=1. Is there another place I need to check in order for the service to be available? ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 14 14:51:55 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Jun 2004 14:51:55 +0200 Subject: nrpe.cfg question In-Reply-To: References: Message-ID: <40CD9F6B.6050104@op5.se> wim.degeeter at bt.com wrote: > Hi, > > In the nrpe.cfg you can define (with 'allowed_hosts') which server is > allowed to access to the Nagios port to check the commands. When I > want that no pre-defined IP address can access this port what do I > have to do. When I uncomment this option I've got this error: Host 'IP Address' > is not allowed to talk to us. > This is, as of yet, unsupported in NRPE. I'm adding support to allow ranges of IP-addresses (including wildcard), but insofar, it's not supported. > Any ideas ?? > To hack your way quickly around it, you can add a line saying return(TRUE); to the top of the is_allowed_host() function in nrpe.c. > Thanks and regards, > Wim -- Sourcerer / Andreas Ericsson - NRPE Maintainer OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 14 15:07:56 2004 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Mon, 14 Jun 2004 14:07:56 +0100 Subject: Host is down but there aren't any further alerts Message-ID: <418B502A3861E242AFDED453F3D5B89CB6679E@i2km99-ukbr.domain1.systemhost.net> Afternoon Dimitry, You have probably got a different setting for this host as opposed to your other host config. Take a look at your hosts.cfg notification_interval 60 ; Number of minutes to wait be fore re-notifying that a host is still down > If set to zero you only get 1 notification notifications_enabled 1 ; Host notifications are enabled and also look at http://nagios.sourceforge.net/docs/1_0/notifications.html This covers how notifications are raised and should solve all your problems. Hope this helps Tom -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Dmitry Alyabyev Sent: 14 June 2004 13:27 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host is down but there aren't any futher alerts Hello Interesting thing happened to one my server - host is down (and it's true) for 3h:30m but I've got only one alert (and notification as well) about this - nothing later. It happens for the first time and only with this host - all others are monitored ok. This host is checked by ping and one service check. I've restarted nagios - it's still be quite about this host Host State Information: Host Status: DOWN Status Information: CRITICAL - Plugin timed out after 10 seconds Last Status Check: 14-06-2004 15:14:35 Status Data Age: 0d 0h 0m 17s Last State Change: 14-06-2004 11:44:13 Current State Duration: 0d 3h 30m 39s Last Host Notification: 14-06-2004 11:44:13 Current Notification Number: 1 Is This Host Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 14-06-2004 15:14:45 Host Checks: ENABLED Host Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED Any ideas what can be wrong in my situation ? Nagios 1.2 (compiled without any SQL DB), FreeBSD 4.9, -- Dimitry ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at heise.de Mon Jun 14 15:10:41 2004 From: nagios-users at heise.de (Michael Fischer v. Mollard) Date: Mon, 14 Jun 2004 15:10:41 +0200 Subject: Duration of a state / laststatechange Message-ID: <88649BF3D2DA3A293D625F68@eulerei.admin.heise.de> Hi all, I want to have notifications containing the duration of a failure state, as you get with BigBrother ("Service X recovered Problem has been resolved after Y seconds"). I tried to build such messages using $TIMET$ - $LASTSTATECHANGE$ in the email notification. Unfortunately $TIMET$ - $LASTSTATECHANGE$ seems to be allway zero. Any other hints? Thanks -- Michael Fischer v. Mollard, Netzwerkadministration Heise Zeitschriften Verlag GmbH & Co KG Helstorfer Stra?e 7 D-30625 Hannover Tel: +49 511 5352 477; Email: Michael.Fischer.von.Mollard at heise.de ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From psimek at jcu.cz Mon Jun 14 15:36:07 2004 From: psimek at jcu.cz (Petr Simek) Date: Mon, 14 Jun 2004 15:36:07 +0200 (=?iso-8859-2?Q?St=F8edn=ED_Evropa_=28letn=ED__=E8as=29?=) Subject: (no subject) In-Reply-To: <200406140942.15148.Michael.Huettig@Medien-Systempartner.de> References: <200406140942.15148.Michael.Huettig@Medien-Systempartner.de> Message-ID: On Mon, 14 Jun 2004, Michael Huettig wrote: > > # 'check_squid' command definition > > define command{ > > command_name check_squid > > command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ -u > > $ARG2$ } > > > > ok, this works fine but how do the proxy-check with authentication? > > ./check_http -H myproxy.com -p 8080 -u http://someurl.com > HTTP ok: HTTP/1.0 407 Proxy authentication required - 0.005 second response > time |time= 0.005 > > Regards > > Michael You can write own check_http_with_pass script in bash or C and use utility wget who have parameters : --proxy-user=user --proxy-passwd=password The script will be only parameters formatter for wget, wget with -O - option write content of required url to stdout, where You can grep for some string and if is there, script return 0 and write some info message to stdout like as check_http . *------------------------------------------------------------------------* | Petr Simek APS JU | | psimek at jcu.cz | *------------------------------------------------------------------------* ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitch at acetechgroup.com Mon Jun 14 16:04:38 2004 From: mitch at acetechgroup.com (mitchell perilstein) Date: Mon, 14 Jun 2004 10:04:38 -0400 Subject: check_dhcp to localhost? Message-ID: <1087221878.29252.7.camel@localhost> Greetings, Is there something that prevents check_dhcp from receiving DHCPOFFERs if the plugin and the dhcp server are on the same machine? The plugin works fine if they're NOT on the same machine. I specify the interface to the same interface the dhcpd is running, and the server says it gets the DHCPREQUEST and sends back a DHCPOFFER. I also tried tying the mac address to the server's address, no matter. Compiled plugin with DEBUG, no hints there. Debian linux 2.4 kernel. Thanks, and good day, -- Mitchell Perilstein ACE Technology Group, LLC http://www.acetechgroup.com (484) 713-0075 ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Mon Jun 14 16:07:37 2004 From: MG at ev3.net (Wheeler, MG) Date: Mon, 14 Jun 2004 09:07:37 -0500 Subject: Host is down but there aren't any further alerts Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030D1B@mail.ev3.net> I have that with all of my hosts for some reason. They only give me one host down notification. I'm working through it as I got no response from the list and will keep you posted if I find a solution. Please let me know if you find a solution for yours as well. MG Wheeler -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Dmitry Alyabyev Sent: Monday, June 14, 2004 7:27 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host is down but there aren't any futher alerts Hello Interesting thing happened to one my server - host is down (and it's true) for 3h:30m but I've got only one alert (and notification as well) about this - nothing later. It happens for the first time and only with this host - all others are monitored ok. This host is checked by ping and one service check. I've restarted nagios - it's still be quite about this host Host State Information: Host Status: DOWN Status Information: CRITICAL - Plugin timed out after 10 seconds Last Status Check: 14-06-2004 15:14:35 Status Data Age: 0d 0h 0m 17s Last State Change: 14-06-2004 11:44:13 Current State Duration: 0d 3h 30m 39s Last Host Notification: 14-06-2004 11:44:13 Current Notification Number: 1 Is This Host Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 14-06-2004 15:14:45 Host Checks: ENABLED Host Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED Any ideas what can be wrong in my situation ? Nagios 1.2 (compiled without any SQL DB), FreeBSD 4.9, -- Dimitry ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _____________________________________________________________________ Message scanned for viruses _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Jun 14 16:27:31 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 14 Jun 2004 08:27:31 -0600 Subject: addons and plugin Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E923A@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Hi Folks, > > What is the difference between addons and plugin? > > tks, > Marcelo Plugins are necessary for Nagios to check services on hosts. Add-Ons are generally not necessary, although they extend the functionality of Nagios in many ways. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Mon Jun 14 16:36:47 2004 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 14 Jun 2004 07:36:47 -0700 (PDT) Subject: PerfParse Help? Message-ID: <20040614143647.93537.qmail@web60806.mail.yahoo.com> Is anyone using perfparse? I've compiled the apps and created the MySQL database but I get this error when I execute perfparse, not sure where to look.. nagios-new# /usr/local/bin/perfparse -n 40 -r "SELECT file_name, line_in_file, last_line_hash, pid, file_name FROM perfdata_state WHERE domain = '03B6BA87'" failed: Lost connection to MySQL server during query nagios-new# /usr/local/bin/perfparse --show_config sDBUser: 'nagios' sDBName: 'nagios' sDBPass: 'nagios' sDBHost: '10.128.16.17' sDropFile: '/tmp/perfparse.drop' sServiceLogFile: '/var/spool/nagios/serviceperf.log' sHostLogFile: '/var/spool/nagios/hostperf.log' __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Jun 14 16:33:58 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 14 Jun 2004 08:33:58 -0600 Subject: Unable to enable notifications Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E923B@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Nagios 1.2 > RH 7.3 > Apache 1.3.27 > > I disabled service notifications via the CGI interface during a recent > network issue. Now that the networking is resolved, when I enable the > notifications I see an entry in var/rw/nagios.cmd (the command_file), > but after waiting beyond the command_check_interval the entry is still > in the command_file and the CGI interface shows that the notifications > is disabled. In fact, its been more than 12 hrs now and its still > not enabled. > > check_external_commands=1 > command_check_interval=1 > interval_length=60 > command_file=/home/nagios/var/rw/nagios.cmd > > Any ideas where I should check next? > Is there a config file I can manually tweak for the time being to get > this re-enabled? > > Thanks in advance, > greg_fenton. > > ===== > Greg Fenton > greg_fenton at yahoo.com > Make sure that you don't have more than one copy of Nagios running. Stop Nagios, and then use the 'ps' command to insure that there are not more Nagios processes still going. If you find some, kill them all. Then start Nagios and see if this fixes the error. At one point I added a sleep command to the Nagios init script, in the restart between start and stop. This fixed the issue for me. However, someone else has recently rewritten the init script and now it will actually wait for all of the Nagios processes to die and only then restart the process. I've been using this since I saw it on the list a few weeks ago. Search the archive and you should be able to locate it. If multiple Nagios processes are causing this issue, the rewritten init script will definitely help you out in the future. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smalhotra at dataarmor.net Mon Jun 14 17:01:08 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Mon, 14 Jun 2004 20:31:08 +0530 Subject: Checking freshness Time period References: <005201c44f99$8092a020$0222040b@sumit> Message-ID: <014401c45220$6f45e820$3a4007d2@hotwire> Can anybody help on this ???? -Sumit ----- Original Message ----- From: Sumit Malhotra To: Nagios List Sent: Friday, June 11, 2004 3:20 PM Subject: [Nagios-users] Checking freshness Time period Hi , I am using nagios 1.2 and nsca in combination . Both works great together. I have configured for freshness check evrey 15 minutes( As shown below) . In case it fails an alert is genrated via command noreport. It works fine for 24*7 monitoring of services Problem comes when i want some service to be checked for 16*5 . I get alerts even when i have configured the service are configured for 16*5(check period) ( Although i am able to suppress teh alerts using notification period i.e. by setting it to 16*5) but still there is a red alert in the web interface .I would have loved to get a wall of "GREEN". ############################################## define service { name generic-service-passive ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' freshness_threshold 1800 ; default 15 minutes check_command no-report notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REgISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use generic-service-passive ; Name of service template to use host_name Ababa service_description Check Oracle is_volatile 0 check_period 16x5 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 16x5 notification_options w,u,c,r } ######################################## Any Solutions ??? Thanks. Regards, Sumit -------------- next part -------------- An HTML attachment was scrubbed... URL: From greg_fenton at yahoo.com Mon Jun 14 16:45:13 2004 From: greg_fenton at yahoo.com (Greg Fenton) Date: Mon, 14 Jun 2004 07:45:13 -0700 (PDT) Subject: Unable to enable notifications In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E923B@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E923B@golden-m.mactec.com> Message-ID: <20040614144513.43071.qmail@web52910.mail.yahoo.com> --- "Cook, Garry" wrote: > > Make sure that you don't have more than one copy of Nagios running. > Thanks for the reply, but this does not appear to be the issue: $ ps -ef | grep nagios nagios 5163 1 0 Jun12 ? 00:00:00 /home/nagios/bin/nagios -d /home root 5269 5155 0 09:36 pts/0 00:00:00 grep nagios $ Any other ideas? Restarting Nagios does not re-enable the notifications either. This means that there is a setting somewhere on disk indicating that the notifications are disabled. Where would that be? Thanks, greg_fenton ===== Greg Fenton greg_fenton at yahoo.com __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Mon Jun 14 17:12:00 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 14 Jun 2004 10:12:00 -0500 Subject: nagios archives in var/archives Message-ID: <20040614151200.24205.qmail@restricted.dyndns.org> Hey guys, Look at this: -rw-rw-r-- 1 nagios nagios 1023305 Jun 1 23:59 nagios-06-02-2004-00.log -rw-rw-r-- 1 nagios nagios 969582 Jun 2 23:59 nagios-06-03-2004-00.log -rw-rw-r-- 1 nagios nagios 1018123 Jun 3 23:59 nagios-06-04-2004-00.log -rw-rw-r-- 1 nagios nagios 1030579 Jun 4 23:59 nagios-06-05-2004-00.log -rw-rw-r-- 1 nagios nagios 975405 Jun 5 23:59 nagios-06-06-2004-00.log -rw-rw-r-- 1 nagios nagios 809465 Jun 6 23:59 nagios-06-07-2004-00.log -rw-rw-r-- 1 nagios nagios 932407 Jun 7 23:59 nagios-06-08-2004-00.log -rw-rw-r-- 1 nagios nagios 33 Jun 9 00:00 nagios-06-09-2004-00.log -rw-rw-r-- 1 nagios nagios 33 Jun 10 00:00 nagios-06-10-2004-00.log -rw-rw-r-- 1 nagios nagios 33 Jun 11 00:00 nagios-06-11-2004-00.log -rw-rw-r-- 1 nagios nagios 33 Jun 12 00:00 nagios-06-12-2004-00.log -rw-rw-r-- 1 nagios nagios 33 Jun 13 00:00 nagios-06-13-2004-00.log -rw-rw-r-- 1 nagios nagios 33 Jun 14 00:00 nagios-06-14-2004-00.log What could be the reason why nagios stopped archiving? I still have about 400mb of free disk. The small file contains the following message: [1087196400] LOG ROTATION: DAILY Any help will be greatly appreciated. Thanks. Neil ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Mon Jun 14 17:20:07 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 14 Jun 2004 10:20:07 -0500 Subject: 2 emails upon recovery of any services Message-ID: <20040614152007.24849.qmail@restricted.dyndns.org> Hey guys, Been wondering lately why I am getting 2 emails when a service gets a recovery. Here is my contacts.cfg define contact{ contact_name nagios alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-via-email host_notification_commands host-notify-via-email email neil at intranetwm.net } my contactgroups.cfg define contactgroup{ contactgroup_name web-admins alias Web Administrators members nagios } and here is my services.cfg define service{ use generic-service ; Name of service template to use host_name web801,web802 service_description Florence - Webpage is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 4 retry_check_interval 4 contact_groups web-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http_string!/FLORENCE/LOGIN.ASP!SUBMIT!5!10 } Any ideas? I also checked my mailq and there aren't any spooled emails. Thanks again. Neil ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Mon Jun 14 17:20:25 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Mon, 14 Jun 2004 12:20:25 -0300 (BRT) Subject: WRL (VRML) exits with "improper SFString" message Message-ID: I am trying to install a plugin for 3dStatus map. I installed freewrl but the window closes before showing anything. The error msg is: ------------------------------------------ -bash-2.05b$ PARSE ERROR: '' XXX ' WorldInfo{ title "Nagios 3-D Network Status View', improper SFString -bash-2.05b$ ------------------------------------------- any suggestion? -- Leonardo Henrique Machado Universidade Federal de Minas Gerais ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From evgeni.vachkov at investis.com Mon Jun 14 17:20:20 2004 From: evgeni.vachkov at investis.com (Evgeni Vachkov) Date: 14 Jun 2004 16:20:20 +0100 Subject: AW: Distributed monitoring problem. In-Reply-To: <481EAEA6BAED9A4EAF26BA149197AA3E87F76E@office1.online.krone.at> References: <481EAEA6BAED9A4EAF26BA149197AA3E87F76E@office1.online.krone.at> Message-ID: <1087226420.4140.125.camel@spudgun.dhcp.internal> from commands.cfg: ----------------------------------------------------------------- #'submit-check-result' required for the Nagios clustering and notifications define command{ command_name submit-check-result command_line /usr/lib/nagios/plugins/eventhandlers/distributed-monitoring/submit_check_result_via_nsca $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } ----------------------------------------------------------------- /usr/lib/nagios/plugins/eventhandlers/distributed-monitoring/submit_check_result_via_nsca: --------------------------------------------------- #!/bin/sh # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = return_code (An integer that determines the state # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, # 3=UNKNOWN). # $4 = plugin_output (A text string that should be used # as the plugin output for the service check)s echocmd="/bin/echo -e" NscaBin="/usr/bin/send_nsca" NscaCfg="/etc/nagios/send_nsca.cfg" NagiosHost="192.168.21.12" cmdline="$1;$2;$3;$4" $echocmd "$1\t$2\t$3\t$4\n" | $NscaBin $NagiosHost -c $NscaCfg $echocmd "$1\t$2\t$3\t$4\n" >> /etc/nagios/test --------------------------------------------------- I have added the last line to see the output. /etc/nagios/test: --------------------------------------------------- st-scm2 sometimes-rpc5-tcp-32771 OK TCP OK - 0.003 second response time on port 32771 192-168-30-56 discard-tcp-9 CRITICAL Connection refused by host 192-168-30-56 shell-tcp-514 CRITICAL Connection refused by host 192-168-30-56 time-tcp-37 OK TCP OK - 0.004 second response time on port 37 192-168-30-58 finger-tcp-79 CRITICAL Connection refused by host 192-168-30-58 sometimes-rpc7-tcp-32772 OK TCP OK - 0.014 second response time on port 32772 192-168-30-85 discard-tcp-9 CRITICAL Connection refused by host 192-168-30-85 shell-tcp-514 CRITICAL Connection refused by host 192-168-30-85 time-tcp-37 OK TCP OK - 0.004 second response time on port 37 192-168-30-87 finger-tcp-79 CRITICAL Connection refused by host 192-168-30-87 sometimes-rpc7-tcp-32772 OK TCP OK - 0.001 second response time on port 32772 --------------------------------------------------- Your help is appreciated. Regards, On Mon, 2004-06-14 at 14:42, Helmut Januschka wrote: > how does your send_nsca commandline look like? > looks like the exit code is missing > > > cu > > -----Urspr?ngliche Nachricht----- > Von: Evgeni Vachkov [mailto:evgeni.vachkov at investis.com] > Gesendet: Montag, 14. Juni 2004 13:40 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Distributed monitoring problem. > > > Hi all, > I have a problem with nagios distributed monitoring. > Nagios 1.2 > Apache/2.0.40 > > > There is a central/master server passively collecting data from 2 distributed/slave servers. The central server is configured to do some monitoring aswell. The distributed servers monitor separate subnets and send all data to the central server via NSCA. There is no active polling of data from the central server. > > All critical allerts for the hosts monitored ny the central server are emailed ok. > > All allerts from the distributed servers are received ok by the central server. If there is a critical service allert, the central server notes the description of the problem on the `service detail` page, but still stays with green (ok) clolour and no email is set out. > > Anyone had a similar problem? Is there something I am doing wrong. > > Your help is appreciated. > > Regards, > > -- Evgeni Vachkov MEng LPIC MCP Systems Engineer Investis www.investis.com 85 Clerkenwell Road London EC1R 5AR T. +44 (0)20 7071 8506 F. +44 (0)20 7071 8501 Investis clients won five out of eight awards at the IR Best Practice Website Awards 2004, including Best FTSE 100, Best FTSE 250 and Best Smaller Quoted Company, and the Grand Prix Best Overall Website. The contents of this email including its attachments (if any) are confidential and may be privileged. If you are not the intended recipient you should not copy it or use it for any purpose nor disclose its contents to any other person. Please notify the person named above if this email has been sent to you in error. Registered office: address as above; registered in England and Wales: number 3930926. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Mon Jun 14 17:31:31 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Mon, 14 Jun 2004 08:31:31 -0700 Subject: Host is down but there aren't any further alerts In-Reply-To: <2F29C1E275BF4F4E9DCAE48033A00B9D01030D1B@mail.ev3.net> References: <2F29C1E275BF4F4E9DCAE48033A00B9D01030D1B@mail.ev3.net> Message-ID: <834FFBCA47D6F745BC2AC278@cadabra-dsl.stanford.edu> --On Monday, June 14, 2004 9:07 AM -0500 "Wheeler, MG" wrote: > I have that with all of my hosts for some reason. They only give me one > host down notification. I'm working through it as I got no response from > the list and will keep you posted if I find a solution. Please let me > know if you find a solution for yours as well. We've seen this as well, and although I too have written to the list about it several times, over several months, as well as other colleagues of mine at Stanford, there has never been an answer as to why Nagios fails to alert more than once in the host down scenario. My only guess at this point is that the developers feel that this isn't of much concern, since no effort seems to be spent on figuring out what is broken in the Nagios code in this respect. Personally, I think having only a single host down notification is a major issue, but I guess that's my own reasoning... --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben at clewett.org.uk Mon Jun 14 17:50:49 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Mon, 14 Jun 2004 16:50:49 +0100 Subject: nagios archives in var/archives In-Reply-To: <20040614151200.24205.qmail@restricted.dyndns.org> References: <20040614151200.24205.qmail@restricted.dyndns.org> Message-ID: <40CDC959.3040001@clewett.org.uk> Just a thought. The second set of files are a minute after the first set. Is the rotation being completed twice? The second time from an empty log file, wiping the already rotated log? Ben Neil wrote: > Hey guys, > Look at this: > -rw-rw-r-- 1 nagios nagios 1023305 Jun 1 23:59 > nagios-06-02-2004-00.log > -rw-rw-r-- 1 nagios nagios 969582 Jun 2 23:59 > nagios-06-03-2004-00.log > -rw-rw-r-- 1 nagios nagios 1018123 Jun 3 23:59 > nagios-06-04-2004-00.log > -rw-rw-r-- 1 nagios nagios 1030579 Jun 4 23:59 > nagios-06-05-2004-00.log > -rw-rw-r-- 1 nagios nagios 975405 Jun 5 23:59 > nagios-06-06-2004-00.log > -rw-rw-r-- 1 nagios nagios 809465 Jun 6 23:59 > nagios-06-07-2004-00.log > -rw-rw-r-- 1 nagios nagios 932407 Jun 7 23:59 > nagios-06-08-2004-00.log > -rw-rw-r-- 1 nagios nagios 33 Jun 9 00:00 > nagios-06-09-2004-00.log > -rw-rw-r-- 1 nagios nagios 33 Jun 10 00:00 > nagios-06-10-2004-00.log > -rw-rw-r-- 1 nagios nagios 33 Jun 11 00:00 > nagios-06-11-2004-00.log > -rw-rw-r-- 1 nagios nagios 33 Jun 12 00:00 > nagios-06-12-2004-00.log > -rw-rw-r-- 1 nagios nagios 33 Jun 13 00:00 > nagios-06-13-2004-00.log > -rw-rw-r-- 1 nagios nagios 33 Jun 14 00:00 > nagios-06-14-2004-00.log > What could be the reason why nagios stopped archiving? I still have > about 400mb of free disk. > The small file contains the following message: > [1087196400] LOG ROTATION: DAILY > Any help will be greatly appreciated. > Thanks. > Neil > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >> From Windows to Linux, servers to mobile, InstallShield X is the > > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Mon Jun 14 18:21:23 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 14 Jun 2004 11:21:23 -0500 Subject: nagios archives in var/archives In-Reply-To: <40CDC959.3040001@clewett.org.uk> References: <20040614151200.24205.qmail@restricted.dyndns.org> <40CDC959.3040001@clewett.org.uk> Message-ID: <20040614162123.29665.qmail@restricted.dyndns.org> This started happening when I modified my nagios.cfg's interval from the default 1 minute to 15s. The reason I brought it down is for getting ping response every 15s. I will restore it back to 60 but, is there a way to have a service check be in the interval of 15s even if our default is 60 seconds? Thanks. Ben Clewett writes: > Just a thought. The second set of files are a minute after the first set. > Is the rotation being completed twice? The second time from an empty log > file, wiping the already rotated log? > > Ben > > Neil wrote: > >> Hey guys, >> Look at this: >> -rw-rw-r-- 1 nagios nagios 1023305 Jun 1 23:59 >> nagios-06-02-2004-00.log >> -rw-rw-r-- 1 nagios nagios 969582 Jun 2 23:59 >> nagios-06-03-2004-00.log >> -rw-rw-r-- 1 nagios nagios 1018123 Jun 3 23:59 >> nagios-06-04-2004-00.log >> -rw-rw-r-- 1 nagios nagios 1030579 Jun 4 23:59 >> nagios-06-05-2004-00.log >> -rw-rw-r-- 1 nagios nagios 975405 Jun 5 23:59 >> nagios-06-06-2004-00.log >> -rw-rw-r-- 1 nagios nagios 809465 Jun 6 23:59 >> nagios-06-07-2004-00.log >> -rw-rw-r-- 1 nagios nagios 932407 Jun 7 23:59 >> nagios-06-08-2004-00.log >> -rw-rw-r-- 1 nagios nagios 33 Jun 9 00:00 >> nagios-06-09-2004-00.log >> -rw-rw-r-- 1 nagios nagios 33 Jun 10 00:00 >> nagios-06-10-2004-00.log >> -rw-rw-r-- 1 nagios nagios 33 Jun 11 00:00 >> nagios-06-11-2004-00.log >> -rw-rw-r-- 1 nagios nagios 33 Jun 12 00:00 >> nagios-06-12-2004-00.log >> -rw-rw-r-- 1 nagios nagios 33 Jun 13 00:00 >> nagios-06-13-2004-00.log >> -rw-rw-r-- 1 nagios nagios 33 Jun 14 00:00 >> nagios-06-14-2004-00.log >> What could be the reason why nagios stopped archiving? I still have about >> 400mb of free disk. >> The small file contains the following message: >> [1087196400] LOG ROTATION: DAILY >> Any help will be greatly appreciated. >> Thanks. >> Neil >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by the new InstallShield X. >> >>> From Windows to Linux, servers to mobile, InstallShield X is the >> >> one installation-authoring solution that does it all. Learn more and >> evaluate today! http://www.installshield.com/Dev2Dev/0504 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk being >> sent to /dev/null >> > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwalcik at mail.utexas.edu Mon Jun 14 18:17:11 2004 From: jwalcik at mail.utexas.edu (Jacob Walcik) Date: Mon, 14 Jun 2004 11:17:11 -0500 Subject: questions about redundant monitoring Message-ID: <4A69E27A-BE1E-11D8-8CF0-000A95BDD3B4@mail.utexas.edu> i'm trying to setup a second host to do redundant monitoring as per the documentation here: http://nagios.sourceforge.net/docs/1_0/redundancy.html#scenario_1 one change i've made to the setup outlined in the documentation is that i want the second host to take over notifications based on the state of the nagios process, not the state of the primary host. i *thought* i had everything setup properly, however when i shut nagios off on the primary host, the script to enable notifications (copied link above) on the secondary host never seems to be executed after the secondary host determines that the service is down. i've verified that the script works when executed by either root or by the nagios user with the proper parameters. when i run it as either user, i see the event in the log, and notifications become active. i can use the same script to shut the notifications off again. any ideas as to what may be the source of the problem? i'm using nagios 1.2 on gentoo linux on the secondary host. the primary is still nagios 1.0 on a redhat 7.3 machine (for whatever that's worth). here are the relevant configuration snippets, if there's anything else that might be helpful, please let me know... # Service definition check_remote_nagios define service{ use generic-service host_name dastardly service_description CHECKNAGIOS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups laits notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_remote_nagios event_handler handle-master-host-event } # 'handle-master-host-event' command definition define command{ command_name handle-master-host-event command_line /usr/nagios/libexec/eventhandlers/handle-master-host-event $HOSTSTATE$ $STATETYPE$ } -- jacob walcik jwalcik at mail.utexas.edu ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mshirley at ysi.com Mon Jun 14 18:30:24 2004 From: mshirley at ysi.com (mshirley at ysi.com) Date: Mon, 14 Jun 2004 12:30:24 -0400 Subject: Format of downtime.log file and creating reoccurring downtimes Message-ID: >From the archives this has been asked a few times but no one seems to know the answer and there is no specifics on the website. I have a reoccurring downtime every week when a computer goes down for backups. There is some script in the "extras" section that supposedly does it but the syntax it's using and the files it's trying to write to seem like it was written for a version long long past. I've got no problem writing my own scripts and crons but I need to figure out how the HOST_DOWNTIME external command works. Here are 2 examples of downtimes that were created using the cgi. [1087216929] HOST_DOWNTIME;8;host;1087218000;1087221600;1;3600;mark;test [1087217063] HOST_DOWNTIME;9;host;1087225200;1087228800;1;3600;mark;test These two downtimes were created for testing purposes each for one hour first from 09:00:00 to 10:00:00 and the other from 11:00:00 to 12:00:00. >From what i can tell by comparing this output and the supposed output of the broken script obviously HOST_DOWNTIME is the command, 8 and 9 are the downtime id's, host is the host, then 2 sets of numbers that make no sense to me at all,1 for fixed,3600 for the length of downtime in seconds, author, and comment. After looking more carefully it seems the script transforms a standard 'date' from something like 2004-06-14 into 1087185600. The command used is 'date -d "040614 HH:MM:SS" +%s'. From the date manpage 'date -d "string"' simply takes a date string input and turns it into a date, the real magic is done using the +%s format which seems to be "number of seconds since 1970-01-01 UTC". The first set of numbers 1087216929 i believe is the time the downtime was created. The second set of numbers 1087218000 is the start time of the first downtime 'date -d "20040614 09:00:00" +%s'. The third set of numbers 1087221600 is the end time of the first downtime 'expr 1087218000 + 3600' where 1087218000 is the start time, 3600 is the number of seconds the downtime will continue (that's one hour). So to brief it all out and give an example of what it all consists of .... [date +%s] HOST_DOWNTIME;downtime id;host;date "start date start time" +%s;expr 'date "start date start time" +%s' + duration of downtime;1 or 0 fixed;duration;author;comment [current date] downtime command;downtime id;host;start date time in +%s format;start date time in +%s plus the number of seconds for downtime;1 or 0 fixed;duration;author;comment Also, after changes have been made to the downtime.log they don't seem to take 100% effect until nagios is reloaded. They show up when you goto the downtime cgi but they do not show up as activated for that particular host. The service downtime looks very similar with a few different fields but could easily be adapted the same as host_downtime. So in the time it's taken me to write this email it seems i might have just answered my own question but since no one else has been able to answer it or i haven't been able to find anything on it then i suppose I'll post this anyway. Just in case someone else is looking for the same answer. The writing of a script should be pretty easy so if anyone has anything to add then by all means. Mark Shirley IT Helpdesk YSI Incorporated ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Mon Jun 14 18:34:55 2004 From: shorn at lssi.net (Spencer Horn) Date: Mon, 14 Jun 2004 12:34:55 -0400 Subject: check_ntp Message-ID: <40CDD3AF.5010707@lssi.net> Why would NTP be alarming critical if the offset is less than 60 seconds? default is 60 right? is my syntax incorrect? Thanks, Spencer # 'check_nntp' command definition define command{ command_name check_nntp command_line /usr/local/nagios/libexec/check_nntp $HOSTADDRESS$ } raptor NTP CRITICAL 06-14-2004 12:25:28 17d 3h 9m 6s 1/1 server 208.62.207.124, stratum 0, offset 0.000000, delay 0.00000 [nagios at nagiosr0 libexec]$./check_ntp No target host specified Usage: check_ntp -H [-w ] [-c ] [-v verbose] [nagios at nagiosr0 libexec]$./check_ntp --help check_ntp (nagios-plugins 1.3.0-beta2) 1.9 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 2000 Bo Kersey/Karl DeBisschop Usage: check_ntp -H [-w ] [-c ] [-v verbose] = Clock offset in seconds at which a warning message will be generated. Defaults to 60. = Clock offset in seconds at which a critical message will be generated. Defaults to 120. The same warning and critical values are used to check against the dispersion column of ntpdc/xntpdc for the host being queried. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: comment.gif Type: image/gif Size: 900 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: redhat.gif Type: image/gif Size: 1321 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ack.gif Type: image/gif Size: 891 bytes Desc: not available URL: From Ben at clewett.org.uk Mon Jun 14 18:35:36 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Mon, 14 Jun 2004 17:35:36 +0100 Subject: nagios archives in var/archives In-Reply-To: <20040614162123.29665.qmail@restricted.dyndns.org> References: <20040614151200.24205.qmail@restricted.dyndns.org> <40CDC959.3040001@clewett.org.uk> <20040614162123.29665.qmail@restricted.dyndns.org> Message-ID: <40CDD3D8.6080803@clewett.org.uk> Maybe there is a bug in Nagios when it does log rotation: if (time == "11:59") rotate() If you have reduced the time to 15s, it might be doing the above three to four times. Wiping your good logs after the first attempt. It would explain the time difference. But thats only a guess... Ben Neil wrote: > This started happening when I modified my nagios.cfg's interval from the > default 1 minute to 15s. The reason I brought it down is for getting > ping response every 15s. I will restore it back to 60 but, is there a > way to have a service check be in the interval of 15s even if our > default is 60 seconds? > Thanks. > Ben Clewett writes: > >> Just a thought. The second set of files are a minute after the first >> set. Is the rotation being completed twice? The second time from an >> empty log file, wiping the already rotated log? >> Ben >> Neil wrote: >> >>> Hey guys, >>> Look at this: >>> -rw-rw-r-- 1 nagios nagios 1023305 Jun 1 23:59 >>> nagios-06-02-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 969582 Jun 2 23:59 >>> nagios-06-03-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 1018123 Jun 3 23:59 >>> nagios-06-04-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 1030579 Jun 4 23:59 >>> nagios-06-05-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 975405 Jun 5 23:59 >>> nagios-06-06-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 809465 Jun 6 23:59 >>> nagios-06-07-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 932407 Jun 7 23:59 >>> nagios-06-08-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 33 Jun 9 00:00 >>> nagios-06-09-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 33 Jun 10 00:00 >>> nagios-06-10-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 33 Jun 11 00:00 >>> nagios-06-11-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 33 Jun 12 00:00 >>> nagios-06-12-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 33 Jun 13 00:00 >>> nagios-06-13-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 33 Jun 14 00:00 >>> nagios-06-14-2004-00.log >>> What could be the reason why nagios stopped archiving? I still have >>> about 400mb of free disk. >>> The small file contains the following message: >>> [1087196400] LOG ROTATION: DAILY >>> Any help will be greatly appreciated. >>> Thanks. >>> Neil >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by the new InstallShield X. >>> >>>> From Windows to Linux, servers to mobile, InstallShield X is the >>> >>> >>> one installation-authoring solution that does it all. Learn more and >>> evaluate today! http://www.installshield.com/Dev2Dev/0504 >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >> >> > > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Jun 14 18:32:05 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 14 Jun 2004 10:32:05 -0600 Subject: PerfParse Help? Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9249@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Is anyone using perfparse? I've compiled the apps and > created the MySQL database but I get this error when I > execute perfparse, not sure where to look.. > > nagios-new# /usr/local/bin/perfparse -n 40 -r > "SELECT file_name, line_in_file, last_line_hash, pid, > file_name FROM perfdata_state WHERE domain = > '03B6BA87'" failed: > Lost connection to MySQL server during query > > > nagios-new# /usr/local/bin/perfparse --show_config > sDBUser: 'nagios' > sDBName: 'nagios' > sDBPass: 'nagios' > sDBHost: '10.128.16.17' > sDropFile: '/tmp/perfparse.drop' > sServiceLogFile: '/var/spool/nagios/serviceperf.log' > sHostLogFile: '/var/spool/nagios/hostperf.log' > There are a few people using it so far. It works great on my site. I must admit that I had some trouble setting it up at first, but Ben Clewett was really helpful in troubleshooting. I've been working on a How-To for the project, and Yves Mettier has contributed quite a bit to the latest version (v.0.08), which should be much easier for folks to implement. >From the project page at http://sourceforge.net/projects/perfparse you can find a link to the Mailing Lists. You should join perfparse-users and post your questions there. When you do repost your question to the other list, it would be best to include the versions that you are running for Nagios, Nagios Plugins, PerfParse, and MySQL. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From n3tvicious-nagios at yahoo.es Mon Jun 14 18:29:59 2004 From: n3tvicious-nagios at yahoo.es (n3tvicious-nagios at yahoo.es) Date: Mon, 14 Jun 2004 18:29:59 +0200 (CEST) Subject: check_snmp returns bad exit-code Message-ID: <20040614162959.86487.qmail@web53304.mail.yahoo.com> Hi! I have a "little" problem with the check_snmp exit-code. It returns always Warnings or Criticals but not OKs. Here are some tests (I removed the ip and the oid): Without warning and critical range in the command line ( I don't know if it should return an ok in this case) #check_snmp -H -C public -o SNMP WARNING - 90 #echo $? 1 ---------------------- In this test it should return an OK code because I set <10 = Warning and <5 = Critical #check_snmp -H -C public -o -w 10:100 -c 5:100 SNMP WARNING - 90 #echo $? 1 ---------------------- This test it's correct because I set <91 = Warning and <5 = Critical #check_snmp -H -C public -o -w 91:100 -c 5:100 SNMP WARNING - *90* #echo $? 1 ---------------------- This test it's correct because I set <95 = Warning and <91 = Critical #check_snmp -H -C public -o -w 95:100 -c 91:100 SNMP CRITICAL - *90* #echo $? 2 ---------------------- Someone could help me a bit? Thanks for read! ===== .. //\/ e t . \/ i c i o u s .. __________________________________________ Yahoo! lanza su nueva tecnolog?a de b?squedas ?te atreves a comparar? http://busquedas.yahoo.es ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Mon Jun 14 18:57:02 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Mon, 14 Jun 2004 13:57:02 -0300 (BRT) Subject: Problemas to create a GD2 images Message-ID: I have created an transparent image using gimp. Then saved as png. Used: pngtogd2 file.png file.gd2 0 1 But file.gd2 still has a white background on statusmap! Why that? -- Leonardo Henrique Machado ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Mon Jun 14 19:09:58 2004 From: shorn at lssi.net (Spencer Horn) Date: Mon, 14 Jun 2004 13:09:58 -0400 Subject: check_ntp In-Reply-To: <40CDD3AF.5010707@lssi.net> References: <40CDD3AF.5010707@lssi.net> Message-ID: <40CDDBE6.1080507@lssi.net> this one not the other sorry. # 'check_ntp' command definition define command{ command_name check_ntp command_line /usr/local/nagios/libexec/check_ntp -H $HOSTADDRESS$ -v } Spencer Horn wrote: > Why would NTP be alarming critical if the offset is less than 60 > seconds? default is 60 right? is my syntax incorrect? > > Thanks, > Spencer > > > # 'check_nntp' command definition > define command{ > command_name check_nntp > command_line /usr/local/nagios/libexec/check_nntp $HOSTADDRESS$ > } > > raptor > > > > > > > NTP > > > > > > > > > CRITICAL 06-14-2004 12:25:28 17d 3h 9m 6s 1/1 server > 208.62.207.124, stratum 0, offset 0.000000, delay 0.00000 > > > [nagios at nagiosr0 libexec]$./check_ntp > No target host specified > Usage: check_ntp -H [-w ] [-c ] [-v verbose] > [nagios at nagiosr0 libexec]$./check_ntp --help > check_ntp (nagios-plugins 1.3.0-beta2) 1.9 > The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute > copies of the plugins under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING. > Copyright (c) 2000 Bo Kersey/Karl DeBisschop > > Usage: check_ntp -H [-w ] [-c ] [-v verbose] > > = Clock offset in seconds at which a warning message will be > generated. > Defaults to 60. > = Clock offset in seconds at which a critical message will be > generated. > Defaults to 120. > > The same warning and critical values are used to check against the > dispersion > column of ntpdc/xntpdc for the host being queried. > > Send email to nagios-users at lists.sourceforge.net if you have questions > regarding use of this software. To submit patches or suggest improvements, > send email to nagiosplug-devel at lists.sourceforge.net > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 900 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1321 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 891 bytes Desc: not available URL: From pla at softflare.com Mon Jun 14 20:02:09 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 14 Jun 2004 19:02:09 +0100 Subject: check_ntp In-Reply-To: <40CDD3AF.5010707@lssi.net> References: <40CDD3AF.5010707@lssi.net> Message-ID: <20040614180209.26453.qmail@minnow.softflare.net> Spencer Horn writes: > Why would NTP be alarming critical if the offset is less than 60 seconds? It isn't returning critical because the offset is less than 60s, it is returning critical because the offset is 0s. Yes, I know that 0 is leass than 60, but you would get OK for 0.1s, 0.01s, 0.001s, 0.0001s... 0s is special-cased. The code assumes that an offset of 0s is bogus because it assumes that nobody is running a stratum 0 server. For most people, that is true. :) > CRITICAL 06-14-2004 12:25:28 17d 3h 9m 6s 1/1 > server 208.62.207.124, stratum 0, offset 0.000000, delay 0.00000 There's your problem. Your server is at stratum zero, so the offset is (normally) exactly 0, which check_ntp decides can't be right. I'd suggest search for the word "bogus" and then a couple of lines down from that change: if ($offset == 0) {undef $offset;} to: if ($offset == 0 and $stratum) {undef $offset;} Note: the above has not been tested and it's been another long day, so no guarantees. Actually, I'd change it to: undef $offset if ($offset == 0 and $stratum); because that is more idiomatic perl and executes fractionally faster. Actually, I'd change it to: undef $offset unless ($offset or not $stratum); because that's even more idiomatic perl. There is always more than one way to do it. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Mon Jun 14 20:30:51 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 14 Jun 2004 20:30:51 +0200 Subject: HTTPS access to Nagios web pages Message-ID: <1087237851.1333.32.camel@localhost.localdomain> Hi folks! I would like to give HTTPS access to our Nagios installation. Is it related to Nagios, or I have to configure Apache? I use Nagios 1.1 on Debian Linux with v 2.4.18 kernel. I installed my Nagios on January this year and it works very well. So I don't want it to crash. Can you give me some tips how should I begin? Thanks, Tamas! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Mon Jun 14 20:34:33 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 14 Jun 2004 20:34:33 +0200 Subject: Notification inconsistences? Message-ID: <1087238073.1332.37.camel@localhost.localdomain> Hello everybody! I use Nagios 1.1 on Debian Linux (2.4.18) and disabled UNREACHABLE notifications. According to the documentation if a child host goes down Nagios will checks its parent. If parent host goes down too, only one DOWN notification will be sent which belongs to the parent. The child status will be UNREACHABLE and no notification will be sent about it. This seems to be work more or less. Sometimes I get DOWN notifications first from a child and some minor time later from its parent too. I saw in the event log, that in these cases Nagios schedule the child check behind the parent check. Is that got to do with it? I appreciate your help. Tamas! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.boysen at colinx.com Mon Jun 14 20:50:21 2004 From: brian.boysen at colinx.com (brian.boysen at colinx.com) Date: Mon, 14 Jun 2004 14:50:21 -0400 Subject: Out of Order Passive Check Results Message-ID: I have a problem with Passive Checks timing out. >From nagios.log, the services appear to have result commands still coming into the system. The difference in timestamps from the last message to the timeout message is way too low for the service to timeout. I thought that the commands were taking too long to get through the IPC and get registered, but that isn't the case (or at least when I send through a message with an invalid host and service the warning message only takes a couple of seconds to appear in the log). By looking at the source code, the first thing I found out is that the timestamp in the nagios.log [1087236197] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;;;0; does not correspond to the time used for the freshness check. I prepended the timestamp for the result to the message to see those times and print the timestamp at the check. I also added print statement of the timestamps in the write_svc_msg and read_svc_msg to track their progress through the system. I've got one instance where a message with a much earlier timestamp appears after several others. There's the section of nagios.log [1087217984] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host;svc;0;1087217971Keep Alive [1087218044] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host;svc;0;1087218034Keep Alive [1087218105] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host;svc;0;1087218098Keep Alive [1087218164] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host;svc;0;1087218161Keep Alive [1087218282] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host;vsc;0;1087218224Keep Alive [1087218343] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host;svc;0;1087218287Keep Alive [1087218403] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host;svc;0;1087218350Keep Alive [1087218464] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host;svc;0;1087218413Keep Alive [1087218534] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host;svc;0;1087218476Keep Alive [1087218551] Warning: The results of service 'svc' on host 'host' are stale by 80 seconds (threshold=500 seconds). I'm forcing an immediate check of the service. I did a grep -n of the stdout for each of the timestamps, and here's the result. 9872:write 1087217971 9896:read 1087217971 10478:checking 1087217971 at 1087218551 8379:write 1087218034 8405:read 1087218034 8549:checking 1087218034 at 1087218251 8720:checking 1087218034 at 1087218311 9164:write 1087218098 9165:write 1087218098 9166:write 1087218098 9167:write 1087218098 9173:read 1087218098 9174:read 1087218098 9176:read 1087218098 9177:read 1087218098 9197:checking 1087218098 at 1087218491 9202:checking 1087218098 at 1087218491 9220:checking 1087218098 at 1087218491 8214:write 1087218161 8238:read 1087218161 8260:checking 1087218161 at 1087218191 8484:write 1087218161 8555:read 1087218161 8789:write 1087218161 8798:read 1087218161 8885:checking 1087218161 at 1087218371 8645:write 1087218224 8681:write 1087218224 8726:read 1087218224 8727:read 1087218224 8852:write 1087218287 8853:write 1087218287 8901:read 1087218287 8930:read 1087218287 9051:checking 1087218287 at 1087218431 9269:write 1087218413 9281:read 1087218413 10500:write 1087218476 10515:read 1087218476 You can see that 7971 (the cause of the problem) get written at line 9872 and read at line 9896 well after everyone, but 1087218476. That actually gets written after the timeout occurs. This is an issue right. It's always possible I'm delusional, I've been trying to figure out this problem for 3 days straight. Has anyone else seen something like this? (I'm currently working on getting this to consistently reproduce, but it's bear.) -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Mon Jun 14 20:28:37 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 14 Jun 2004 12:28:37 -0600 Subject: nagios archives in var/archives Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9251@golden-m.mactec.com> Never tried this, don't know if it will work, but what if you left your default interval set to 60 seconds, and then changed your service check interval to '.25'? -g nagios-users-admin at lists.sourceforge.net wrote: > This started happening when I modified my nagios.cfg's > interval from the > default 1 minute to 15s. The reason I brought it down is for getting > ping response every 15s. I will restore it back to 60 but, is > there a way to have > a service check be in the interval of 15s even if our default > is 60 seconds? > > Thanks. > > Ben Clewett writes: > >> Just a thought. The second set of files are a minute after the >> first set. Is the rotation being completed twice? The second time >> from an empty log file, wiping the already rotated log? >> >> Ben >> >> Neil wrote: >> >>> Hey guys, >>> Look at this: >>> -rw-rw-r-- 1 nagios nagios 1023305 Jun 1 23:59 >>> nagios-06-02-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 969582 Jun 2 23:59 >>> nagios-06-03-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 1018123 Jun 3 23:59 >>> nagios-06-04-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 1030579 Jun 4 23:59 >>> nagios-06-05-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 975405 Jun 5 23:59 >>> nagios-06-06-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 809465 Jun 6 23:59 >>> nagios-06-07-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 932407 Jun 7 23:59 >>> nagios-06-08-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 33 Jun 9 00:00 >>> nagios-06-09-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 33 Jun 10 00:00 >>> nagios-06-10-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 33 Jun 11 00:00 >>> nagios-06-11-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 33 Jun 12 00:00 >>> nagios-06-12-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 33 Jun 13 00:00 >>> nagios-06-13-2004-00.log >>> -rw-rw-r-- 1 nagios nagios 33 Jun 14 00:00 >>> nagios-06-14-2004-00.log What could be the reason why nagios >>> stopped archiving? I still have about 400mb of free disk. The small >>> file contains the following message: [1087196400] LOG ROTATION: >>> DAILY >>> Any help will be greatly appreciated. >>> Thanks. >>> Neil ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Jun 14 21:01:34 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 14 Jun 2004 12:01:34 -0700 (PDT) Subject: HTTPS access to Nagios web pages In-Reply-To: <1087237851.1333.32.camel@localhost.localdomain> References: <1087237851.1333.32.camel@localhost.localdomain> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You'll just need to configure apache. Nagios will not require any configuration changes. - -Jason Martin On Mon, 14 Jun 2004, Horvath Tamas wrote: > Hi folks! > > I would like to give HTTPS access to our Nagios installation. Is it > related to Nagios, or I have to configure Apache? > > I use Nagios 1.1 on Debian Linux with v 2.4.18 kernel. > I installed my Nagios on January this year and it works very well. So I > don't want it to crash. > > Can you give me some tips how should I begin? > > Thanks, Tamas! > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAzfYZl2ODWuqVSBMRAnh6AKCZOBewkp8/nvTaITTSW8m3shMdiACgjAb8 sYlu7wRPWOyivRsH1X28kvU= =hJvf -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 14 22:19:54 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Jun 2004 22:19:54 +0200 Subject: Host is down but there aren't any further alerts In-Reply-To: <834FFBCA47D6F745BC2AC278@cadabra-dsl.stanford.edu> References: <2F29C1E275BF4F4E9DCAE48033A00B9D01030D1B@mail.ev3.net> <834FFBCA47D6F745BC2AC278@cadabra-dsl.stanford.edu> Message-ID: <40CE086A.2030209@op5.se> Quanah Gibson-Mount wrote: > > > --On Monday, June 14, 2004 9:07 AM -0500 "Wheeler, MG" wrote: > >> I have that with all of my hosts for some reason. They only give me one >> host down notification. I'm working through it as I got no response from >> the list and will keep you posted if I find a solution. Please let me >> know if you find a solution for yours as well. > > > We've seen this as well, and although I too have written to the list > about it several times, over several months, as well as other colleagues > of mine at Stanford, there has never been an answer as to why Nagios > fails to alert more than once in the host down scenario. My only guess > at this point is that the developers feel that this isn't of much > concern, since no effort seems to be spent on figuring out what is > broken in the Nagios code in this respect. Personally, I think having > only a single host down notification is a major issue, but I guess > that's my own reasoning... > Read up on notification_interval and escalations. It's all well documented. Making sure you're running the latest stable release can't really hurt either. > --Quanah > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 14 22:44:29 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Jun 2004 22:44:29 +0200 Subject: nagios archives in var/archives In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E9251@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E9251@golden-m.mactec.com> Message-ID: <40CE0E2D.8080104@op5.se> Cook, Garry wrote: > Never tried this, don't know if it will work, but what if you left your > default interval set to 60 seconds, and then changed your service check > interval to '.25'? > > -g > I'm chopping on it, adding some code that makes it read the extentions s, m and h (with m being default) for seconds, minutes and hours, respectively. It's terribly slow going though, since I've got about a dozen other projects at hand simultaneously. > nagios-users-admin at lists.sourceforge.net wrote: > >>This started happening when I modified my nagios.cfg's >>interval from the >>default 1 minute to 15s. The reason I brought it down is for getting >>ping response every 15s. I will restore it back to 60 but, is >>there a way to have >>a service check be in the interval of 15s even if our default >>is 60 seconds? >> >>Thanks. >> >>Ben Clewett writes: >> >> >>>Just a thought. The second set of files are a minute after the >>> first set. Is the rotation being completed twice? The second time >>>from an empty log file, wiping the already rotated log? >>> >>>Ben >>> >>>Neil wrote: >>> >>> >>>>Hey guys, >>>>Look at this: >>>>-rw-rw-r-- 1 nagios nagios 1023305 Jun 1 23:59 >>>>nagios-06-02-2004-00.log >>>>-rw-rw-r-- 1 nagios nagios 969582 Jun 2 23:59 >>>>nagios-06-03-2004-00.log >>>>-rw-rw-r-- 1 nagios nagios 1018123 Jun 3 23:59 >>>>nagios-06-04-2004-00.log >>>>-rw-rw-r-- 1 nagios nagios 1030579 Jun 4 23:59 >>>>nagios-06-05-2004-00.log >>>>-rw-rw-r-- 1 nagios nagios 975405 Jun 5 23:59 >>>>nagios-06-06-2004-00.log >>>>-rw-rw-r-- 1 nagios nagios 809465 Jun 6 23:59 >>>>nagios-06-07-2004-00.log >>>>-rw-rw-r-- 1 nagios nagios 932407 Jun 7 23:59 >>>>nagios-06-08-2004-00.log >>>>-rw-rw-r-- 1 nagios nagios 33 Jun 9 00:00 >>>>nagios-06-09-2004-00.log >>>>-rw-rw-r-- 1 nagios nagios 33 Jun 10 00:00 >>>>nagios-06-10-2004-00.log >>>>-rw-rw-r-- 1 nagios nagios 33 Jun 11 00:00 >>>>nagios-06-11-2004-00.log >>>>-rw-rw-r-- 1 nagios nagios 33 Jun 12 00:00 >>>>nagios-06-12-2004-00.log >>>>-rw-rw-r-- 1 nagios nagios 33 Jun 13 00:00 >>>>nagios-06-13-2004-00.log >>>>-rw-rw-r-- 1 nagios nagios 33 Jun 14 00:00 >>>>nagios-06-14-2004-00.log What could be the reason why nagios >>>>stopped archiving? I still have about 400mb of free disk. The small >>>>file contains the following message: [1087196400] LOG ROTATION: >>>>DAILY >>>>Any help will be greatly appreciated. >>>>Thanks. >>>>Neil > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 14 22:39:26 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Jun 2004 22:39:26 +0200 Subject: check_ntp In-Reply-To: <40CDD3AF.5010707@lssi.net> References: <40CDD3AF.5010707@lssi.net> Message-ID: <40CE0CFE.2070701@op5.se> Spencer Horn wrote: > Why would NTP be alarming critical if the offset is less than 60 seconds? > default is 60 right? is my syntax incorrect? > > Thanks, > Spencer > > > # 'check_nntp' command definition > define command{ > command_name check_nntp > command_line /usr/local/nagios/libexec/check_nntp $HOSTADDRESS$ > } > check_nntp is a plugin to check news servers. Just thought you ough to know. [ ridiculous html anchors cut away ] > CRITICAL 06-14-2004 12:25:28 17d 3h 9m 6s 1/1 server 208.62.207.124, > stratum 0, offset 0.000000, delay 0.00000 > If I were a plugin checking time-servers, stratum 0 would definitely make me nervous. Stratum 1 servers are the ntp 'root'-servers, so stratum 0 doesn't really exist. > > [nagios at nagiosr0 libexec]$./check_ntp > No target host specified > Usage: check_ntp -H [-w ] [-c ] [-v verbose] > [nagios at nagiosr0 libexec]$./check_ntp --help > check_ntp (nagios-plugins 1.3.0-beta2) 1.9 Upgrading your plugins to a non-beta release should help things running smoothly. 1.3.1 (stable) has been around for some time now, you know. -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 14 22:50:23 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Jun 2004 22:50:23 +0200 Subject: Notification inconsistences? In-Reply-To: <1087238073.1332.37.camel@localhost.localdomain> References: <1087238073.1332.37.camel@localhost.localdomain> Message-ID: <40CE0F8F.2090702@op5.se> Horvath Tamas wrote: > Hello everybody! > > I use Nagios 1.1 on Debian Linux (2.4.18) and disabled UNREACHABLE > notifications. According to the documentation if a child host goes down > Nagios will checks its parent. If parent host goes down too, only one > DOWN notification will be sent which belongs to the parent. The child > status will be UNREACHABLE and no notification will be sent about it. > > This seems to be work more or less. Sometimes I get DOWN notifications > first from a child and some minor time later from its parent too. I saw > in the event log, that in these cases Nagios schedule the child check > behind the parent check. Is that got to do with it? > Yup. Nagios doesn't delay sending the host-notification until it has checked parents, so sometimes excess notifications are sent out. The theory is 'when in doubt, get it out' (which also conforms to parachute malfunctions but not the sexually perverted). I'm working on a quicker way to do this for the entire route (moving the parent-checking logic somewhat out of nagios) in no-time, but I need to bring it up with Ethan before I actually commit myself. I hate it when good work's being thrown to waste. > I appreciate your help. > > Tamas! -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.traylen at rl.ac.uk Mon Jun 14 23:00:50 2004 From: s.traylen at rl.ac.uk (Steve Traylen) Date: Mon, 14 Jun 2004 22:00:50 +0100 (BST) Subject: checking if nrpe is running at all. Message-ID: Hi, I am checking 30 things or so on 400 nodes via nrpe excecutions. What I see sometimes particularly when a host is dead but still in a pingable state is that if nrpe can not be reached then I get 30 failiures from each of things I am monitoring that nrpe has timed out. I really only want to see one message that nrpe is not available. So I thought I would make a nrpe check to see if nrpe was running at all and then make this a service dependency for all the others. However when I came to make the service dependency I see I have to specify host names eg define servicedependency{ host_name WWW1 service_description Apache Web Server dependent_host_name WWW1 dependent_service_description Main Web Site execution_failure_criteria n notification_failure_criteria w,u,c } and so if I want to do this I would have to make 30*400 entries to do what I wanted. Making 30 entries would have been okay. Is there a better of way of doing what I want to do? Steve -- Steve Traylen s.traylen at rl.ac.uk http://www.gridpp.ac.uk/ ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Mon Jun 14 23:29:12 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Mon, 14 Jun 2004 14:29:12 -0700 Subject: Host is down but there aren't any further alerts In-Reply-To: <40CE086A.2030209@op5.se> References: <2F29C1E275BF4F4E9DCAE48033A00B9D01030D1B@mail.ev3.net> <834FFBCA47D6F745BC2AC278@cadabra-dsl.stanford.edu> <40CE086A.2030209@op5.se> Message-ID: --On Monday, June 14, 2004 10:19 PM +0200 Andreas Ericsson wrote: > > Read up on notification_interval and escalations. It's all well > documented. 1) We don't use escalations. 2) The notification interval is just fine. I emailed my config before, no one here saw any issues with it. And there have been plenty of people who see this issue, and I have yet to see a *single response* that addresses a fix to the problem. > Making sure you're running the latest stable release can't really hurt > either. Oh, has there been a new release since 1.2? The website doesn't seem to think so. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Tue Jun 15 00:20:21 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 14 Jun 2004 23:20:21 +0100 Subject: check_ntp In-Reply-To: <40CE0CFE.2070701@op5.se> References: <40CDD3AF.5010707@lssi.net> <40CE0CFE.2070701@op5.se> Message-ID: <20040614222021.25110.qmail@minnow.softflare.net> Andreas Ericsson writes: > If I were a plugin checking time-servers, stratum 0 would definitely make > me nervous. Stratum 1 servers are the ntp 'root'-servers, so stratum 0 > doesn't really exist. Stratum 0 is quite clearly defined and is a legitimate stratum. It means that no reference is defined. In such cases it is debateable whether the plugin should return OK (everything is working as configured) or critical (everything is working as configured but your configuration is not what most people would consider to be useful). I would prefer it to point out that there is what appears to be an obvious configuration problem, because it's the kind of thing that can get forgotten in configuring up a server. But perhaps some people have legitimate, if bizarre, reasons for wanting an NTP server at stratum 0 - certainly that's how this guy is running his and he seems happy with it that way. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ddunham at taos.com Tue Jun 15 01:02:48 2004 From: ddunham at taos.com (Darren Dunham) Date: Mon, 14 Jun 2004 16:02:48 -0700 (PDT) Subject: check_ntp In-Reply-To: <40CE0CFE.2070701@op5.se> from "Andreas Ericsson" at Jun 14, 2004 10:39:26 PM References: <40CE0CFE.2070701@op5.se> Message-ID: <200406142302.QAA30358@redwood.taos.com> > If I were a plugin checking time-servers, stratum 0 would definitely > make me nervous. Stratum 1 servers are the ntp 'root'-servers, so > stratum 0 doesn't really exist. That's true. Does check_ntp distinguish between associated 'servers' and local 'clocks'? -- Darren Dunham ddunham at taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Mon Jun 14 23:21:02 2004 From: td3201 at yahoo.com (Terry) Date: Mon, 14 Jun 2004 14:21:02 -0700 (PDT) Subject: service_check_timeout - for particular service Message-ID: <20040614212102.78214.qmail@web60308.mail.yahoo.com> Hello, I run a service which takes a pretty long time to run, up to 6 minutes at times. Is there a way to set a service_check_timeout for that service only? I am only seeing it being available for all services. Thanks for the help! ===== Terry __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dimitry at al.org.ua Tue Jun 15 09:18:59 2004 From: dimitry at al.org.ua (Dmitry Alyabyev) Date: Tue, 15 Jun 2004 10:18:59 +0300 Subject: Host is down but there aren't any further alerts In-Reply-To: <418B502A3861E242AFDED453F3D5B89CB6679E@i2km99-ukbr.domain1.systemhost.net> References: <418B502A3861E242AFDED453F3D5B89CB6679E@i2km99-ukbr.domain1.systemhost.net> Message-ID: <200406151018.59839.dimitry@al.org.ua> Hello Tom On Monday 14 June 2004 16:07, tom.welsh at bt.com wrote: > Afternoon Dimitry, > > You have probably got a different setting for this host as opposed to your > other host config. > > Take a look at your hosts.cfg > > notification_interval 60 ; Number of minutes to wait be fore re-notifying > that a host is still down > If set to zero you only get 1 notification > notifications_enabled 1 ; Host notifications are enabled this point seems to be ok here # Generic host definition template define host{ name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 checks_enabled 1 register 0 ; DONT REGISTER THIS DEFINITION } define host{ use generic-host ; Name of host template to use host_name name-of-my-server alias Alias here address x.x.x.x check_command check-host-alive max_check_attempts 2 notification_interval 10 notification_period 24x7 notification_options d,u,r } -- Dimitry ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From afarrer at africonnect.com Tue Jun 15 10:30:08 2004 From: afarrer at africonnect.com (Alex Farrer) Date: Tue, 15 Jun 2004 09:30:08 +0100 Subject: nagios archives in var/archives In-Reply-To: <20040614151200.24205.qmail@restricted.dyndns.org> References: <20040614151200.24205.qmail@restricted.dyndns.org> Message-ID: <5.2.1.1.2.20040615092324.030b4f80@195.206.160.253> I had this exact same problem only it was a month or so back, and i'm struggling to remember what caused it and how I fixed it in the end. I have a vague recollection of it being something to do with the settings in nagios.cfg, perhaps to do with assuming host states are up or something like that. Perhaps if the state of the host doesn't change nothing gets logged in the new daily log, if Nagios was to stop and restart during log rotation? Anyway, i'm kind of clutching at straws here, but i'm pretty sure that you just need to play with a couple of those settings to fix it. Alex At 10:12 14/06/2004 -0500, you wrote: >Hey guys, >Look at this: >-rw-rw-r-- 1 nagios nagios 1023305 Jun 1 23:59 >nagios-06-02-2004-00.log >-rw-rw-r-- 1 nagios nagios 969582 Jun 2 23:59 >nagios-06-03-2004-00.log >-rw-rw-r-- 1 nagios nagios 1018123 Jun 3 23:59 >nagios-06-04-2004-00.log >-rw-rw-r-- 1 nagios nagios 1030579 Jun 4 23:59 >nagios-06-05-2004-00.log >-rw-rw-r-- 1 nagios nagios 975405 Jun 5 23:59 >nagios-06-06-2004-00.log >-rw-rw-r-- 1 nagios nagios 809465 Jun 6 23:59 >nagios-06-07-2004-00.log >-rw-rw-r-- 1 nagios nagios 932407 Jun 7 23:59 >nagios-06-08-2004-00.log >-rw-rw-r-- 1 nagios nagios 33 Jun 9 00:00 >nagios-06-09-2004-00.log >-rw-rw-r-- 1 nagios nagios 33 Jun 10 00:00 >nagios-06-10-2004-00.log >-rw-rw-r-- 1 nagios nagios 33 Jun 11 00:00 >nagios-06-11-2004-00.log >-rw-rw-r-- 1 nagios nagios 33 Jun 12 00:00 >nagios-06-12-2004-00.log >-rw-rw-r-- 1 nagios nagios 33 Jun 13 00:00 >nagios-06-13-2004-00.log >-rw-rw-r-- 1 nagios nagios 33 Jun 14 00:00 >nagios-06-14-2004-00.log >What could be the reason why nagios stopped archiving? I still have about >400mb of free disk. >The small file contains the following message: >[1087196400] LOG ROTATION: DAILY >Any help will be greatly appreciated. >Thanks. >Neil > > >------------------------------------------------------- >This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the >one installation-authoring solution that does it all. Learn more and >evaluate today! http://www.installshield.com/Dev2Dev/0504 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. ::: Messages without supporting info will risk being >sent to /dev/null > > From Wengrzik at ewr.de Tue Jun 15 11:03:00 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Tue, 15 Jun 2004 11:03:00 +0200 Subject: Switchports 3 COM Message-ID: <90D32590BAD135448DC12C1EA3EB448210B08D@epsewr01.ewrlan.ewr.int> Hello! How can i check each port of an f.e. 3Com switch? Any Ideas?? Thanks a lot! ____________________________________________ EWR Aktiengesellschaft Andreas Wengrzik / Informations- und Datenverarbeitung Postfach 13 45, 67545 Worms Lutherring 5, 67547 Worms Tel.: + 49 6241 848-339 Fax.: + 49 6241 848-1215 mailto:wengrzik at ewr.de http://www.ewr.de __________________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From n3tvicious-nagios at yahoo.es Tue Jun 15 11:06:59 2004 From: n3tvicious-nagios at yahoo.es (=?iso-8859-1?q?NetVicious?=) Date: Tue, 15 Jun 2004 11:06:59 +0200 (CEST) Subject: check_snmp returns bad exit-code In-Reply-To: <20040614162959.86487.qmail@web53304.mail.yahoo.com> References: <20040614162959.86487.qmail@web53304.mail.yahoo.com> Message-ID: <20040615090659.5171.qmail@web53309.mail.yahoo.com> Solved by compiling the nagios-plugins on this machine. I have also added some extra mibs to the mibs directory and these files had root:root -rw-r--r-- rights so nagios user couldn't read this mibs when using snmpget. Sorry for all! --- n3tvicious-nagios at yahoo.es escribi?: > Hi! > > I have a "little" problem with the check_snmp exit-code. It returns > always Warnings or Criticals but not OKs. > > Here are some tests (I removed the ip and the oid): > > Without warning and critical range in the command line ( I don't > know > if it should return an ok in this case) > > #check_snmp -H -C public -o > SNMP WARNING - 90 > #echo $? > 1 > > ---------------------- > > In this test it should return an OK code because I set <10 = > Warning > and <5 = Critical > > #check_snmp -H -C public -o -w 10:100 -c 5:100 > SNMP WARNING - 90 > #echo $? > 1 > > ---------------------- > > This test it's correct because I set <91 = Warning and <5 = > Critical > > #check_snmp -H -C public -o -w 91:100 -c 5:100 > SNMP WARNING - *90* > #echo $? > 1 > > > ---------------------- > > This test it's correct because I set <95 = Warning and <91 = > Critical > > #check_snmp -H -C public -o -w 95:100 -c 91:100 > SNMP CRITICAL - *90* > #echo $? > 2 > > ---------------------- > > Someone could help me a bit? > > Thanks for read! ===== .. //\/ e t . \/ i c i o u s .. ______________________________________________________________________ Yahoo! lanza su nueva tecnolog?a de b?squedas ?te atreves a comparar? http://busquedas.yahoo.es ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nixon at nsc.liu.se Tue Jun 15 12:30:44 2004 From: nixon at nsc.liu.se (Leif Nixon) Date: Tue, 15 Jun 2004 12:30:44 +0200 Subject: check_ntp In-Reply-To: <20040614180209.26453.qmail@minnow.softflare.net> (Paul L. Allen's message of "Mon, 14 Jun 2004 19:02:09 +0100") References: <40CDD3AF.5010707@lssi.net> <20040614180209.26453.qmail@minnow.softflare.net> Message-ID: "Paul L. Allen" writes: > Yes, I know that 0 is > leass than 60, but you would get OK for 0.1s, 0.01s, 0.001s, > 0.0001s... 0s is special-cased. The code assumes that an offset of 0s > is bogus > because it assumes that nobody is running a stratum 0 server. I have stared at that line of code several times without understanding it. Why would an offset of 0 be bogus? It just means that ntpd estimates that the local clock currently is off by less than 0.0005 milliseconds (or something like that), which is not an infrequent occurence on my systems. The estimated offset varies continuously, and sometimes just happens to hit 0.000 ms. I'm using a replacement plugin which simply checks the output from "ntpq -c peers " and returns CRITICAL on connection refused and WARNING if ntpd isn't currently synced somewhere. Basically, we trust ntpd to do its job. If it says it is synced we believe it keeps the local system time from drifting. The logic here is that if we *don't* trust ntpd, there is little point in trusting it to report correct offset and jitter values either. -- Leif Nixon Systems expert ------------------------------------------------------------ National Supercomputer Centre Linkoping University ------------------------------------------------------------ ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From needhelpwithnagios at arcor.de Tue Jun 15 12:28:05 2004 From: needhelpwithnagios at arcor.de (Gordon Meiser) Date: Tue, 15 Jun 2004 12:28:05 +0200 Subject: Want to use Nagios to inform admins about Snort alerts! Message-ID: <1751398330.20040615122805@arcor.de> Hello people, need help with nagios! In now searched a long time and many internetsides, but i got still no answer on my question. I searched in this emaillist too, but i didn't find an answer. "Is there any possibility to inform nagios, if the ids snort is detecting an intrusion and generating an alert?" Is there a plugin or a special check to solve this problem? If not, is someone able to help me anyway with my problem? Thanks for your help -- mailto: needhelpwithnagios at arcor.de ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Tue Jun 15 13:19:30 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Tue, 15 Jun 2004 07:19:30 -0400 Subject: check_ntp In-Reply-To: References: <40CDD3AF.5010707@lssi.net> <20040614180209.26453.qmail@minnow.softflare.net> Message-ID: <40CEDB42.4030006@debisschop.net> Leif Nixon wrote: > "Paul L. Allen" writes: > > >>Yes, I know that 0 is >>leass than 60, but you would get OK for 0.1s, 0.01s, 0.001s, >>0.0001s... 0s is special-cased. The code assumes that an offset of 0s >>is bogus >>because it assumes that nobody is running a stratum 0 server. > > > I have stared at that line of code several times without understanding > it. Why would an offset of 0 be bogus? It just means that ntpd > estimates that the local clock currently is off by less than 0.0005 > milliseconds (or something like that), which is not an infrequent > occurence on my systems. The estimated offset varies continuously, and > sometimes just happens to hit 0.000 ms. > > I'm using a replacement plugin which simply checks the output from > "ntpq -c peers " and returns CRITICAL on connection refused and > WARNING if ntpd isn't currently synced somewhere. > > Basically, we trust ntpd to do its job. If it says it is synced we > believe it keeps the local system time from drifting. The logic here > is that if we *don't* trust ntpd, there is little point in trusting it > to report correct offset and jitter values either. > Two short points: 1) the original concept goes back some, but if memory serves I put it in and I put it in to trap a real error, not just because I didn't like 0. Again, only by memory, it might be that if localhost was listed as a stratum 10 server, and the higher strata servers failed, you would eventually get a 0 offset because uor were checking you local clock against your local clock - in other words, 0 indicated a loss of connection to higher strata servers. 2) A lot has chnged since then - we use different utilities to connect to NTP that are more informative than when that code was written and NTP itself is more mature. We clearly should go back and revist that section of code. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Tue Jun 15 13:28:27 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 15 Jun 2004 12:28:27 +0100 Subject: check_ntp In-Reply-To: References: <40CDD3AF.5010707@lssi.net> <20040614180209.26453.qmail@minnow.softflare.net> Message-ID: <20040615112827.25732.qmail@minnow.softflare.net> Leif Nixon writes: > I have stared at that line of code several times without understanding > it. Why would an offset of 0 be bogus? Because the guy who wrote the plugin thinks that it can only arise in circumstances when ntpd is not configured in a useful way. He's probably right. > The estimated offset varies continuously, and sometimes just happens to > hit 0.000 ms. I don't believe that of the server you showed us the results for. It was at stratum zero, which means it has NO references. That means it's running from the local clock with NO attempt to correct for drift. Which means that as a source of time it is useless, unless you have replaced the cheap quartz crystal oscillator on your motherboard with an atomic clock. If you have things configured to use the local clock with a drift file and the external references go away then you end up (if you follow convention) at stratum 10, not stratum 0. > Basically, we trust ntpd to do its job. If it says it is synced we > believe it keeps the local system time from drifting. And if you have no references then it is not synched to anything, drifts all over the place, and is at stratum zero with an offset of precisely zero. I can think of valid reasons why that might be exactly what you want to happen (twice a year) as a kluge for a badly-designed application package running on a network of Windows machines. Other than that it is a configuration error which the plugin reports as being critical. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Tue Jun 15 15:07:21 2004 From: MG at ev3.net (Wheeler, MG) Date: Tue, 15 Jun 2004 08:07:21 -0500 Subject: Host is down but there aren't any further alerts Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030D4F@mail.ev3.net> Been there, done that! Read all the FAQ's as well. Everyone keeps saying to check the notifications_interval which is the first (and basic step.) but seeing the basic questions people keep asking I can understand that reply only I've gone through that top to bottom. I've included ALL my configs in earlier posts as well. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Andreas Ericsson Sent: Monday, June 14, 2004 3:20 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Host is down but there aren't any further alerts Quanah Gibson-Mount wrote: > > > --On Monday, June 14, 2004 9:07 AM -0500 "Wheeler, MG" wrote: > >> I have that with all of my hosts for some reason. They only give me one >> host down notification. I'm working through it as I got no response from >> the list and will keep you posted if I find a solution. Please let me >> know if you find a solution for yours as well. > > > We've seen this as well, and although I too have written to the list > about it several times, over several months, as well as other colleagues > of mine at Stanford, there has never been an answer as to why Nagios > fails to alert more than once in the host down scenario. My only guess > at this point is that the developers feel that this isn't of much > concern, since no effort seems to be spent on figuring out what is > broken in the Nagios code in this respect. Personally, I think having > only a single host down notification is a major issue, but I guess > that's my own reasoning... > Read up on notification_interval and escalations. It's all well documented. Making sure you're running the latest stable release can't really hurt either. > --Quanah > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _____________________________________________________________________ Message scanned for viruses _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wp.junior at terra.com.br Tue Jun 15 15:30:16 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Tue, 15 Jun 2004 10:30:16 -0300 Subject: FW: Inconsistent downtime report Message-ID: <20040615132645.3B7AD3C06D@estero.terra.com.br> Hi all. Could anybody look for this question? I'm in trouble with this problem. I've upgraded to nagios 1.2 expecting some change, but the problem persists. How can I get 99.194% UP and 16.558% DOWN (Scheduled)? As I said before, looking at "Host Downtime" entries I get the total of 7h downtime, not the "5d 0h 42m 20s" showed by the report below. What I need is to sum the Time UP and the Scheduled Downtime in order to obtain the availability from my responsibility. Please, help me. Best regards. Wilson -----Original Message----- From: Wilson Pires Jr [mailto:wp.junior at terra.com.br] Sent: quarta-feira, 2 de junho de 2004 15:49 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Inconsistent downtime report Hi all. I run nagios 1.0 in a Red Hat 9. Everything is going well, except by an "error", I suppose, in the "Availability Reports". The problem occurs regarding "scheduled downtime". When I open a ticket to a telecom operator to recover a link, I start a "scheduled downtime" for this link. I always use flexible downtime as I don't know the recover time. When I'm going to report the monthly availability, I used to add the "Total UP time", "Scheduled DOWN time" and "Scheduled UNREACHABLE time". So I have the availability added the 3rd part time responsibility. Problem: many times the "scheduled downtime" plus "Total uptime" is more than 100%. Like the example bellow. If I sum the "Host downtime" entries in the "Host log entry" I get the correct value. The example bellow shows "DOWN Scheduled" "5d 0h 42m 20s", but if I get the values from "Host log entry", the actual time is around 7 hours. State Type / Reason Time % Total Time % Known Time UP Unscheduled 25d 9h 26m 14s 97.190% 99.194% Scheduled 4d 17h 39m 10s 15.276% 15.591% Total 30d 3h 5m 24s 97.190% 99.194% DOWN Unscheduled 49705d 11h 38m 39s 0.790% 0.806% Scheduled 5d 0h 42m 20s 16.224% 16.558% Total 0d 5h 52m 43s 0.790% 0.806% UNREACHABLE Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% Undetermined Nagios Not Running 0d 15h 1m 53s 2.020% Insufficient Data 0d 0h 0m 0s 0.000% Total 0d 15h 1m 53s 2.020% All Total 31d 0h 0m 0s 100.000% 100.000% Does anybody can help me? Regards, Wilson ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martin at idefix.net Tue Jun 15 15:24:40 2004 From: martin at idefix.net (martin at idefix.net) Date: Tue, 15 Jun 2004 15:24:40 +0200 (CEST) Subject: moving from RedHat to Debian Message-ID: <200406151324.i5FDOeCB015453@idefix.net> Hi all, I've been running Nagios (with MySQL support) on a RedHat 8 system for almost a year now and its been doing fine. As we're changing our systems into Debian now, I compiled the same code on a fresh Debian system, copied the complete MySQL environment and etc. etc. Now MySQL is running smoothly, but when I try to start Nagios is complains ... [1087304349] Finished daemonizing... (New PID=10857) [1087304349] Error: Failed to grab database configuration information for status data [1087304349] Error: Failed to grab database configuration information for retention data [1087304349] Caught SIGSEGV, shutting down... Nagios -is- allowed to access the DB, and all tables are present. Does anyone have a clue what is going wrong ? Thanks, Martin -- Tin will not rust or give in but melts directly when heated =B-) ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nixon at nsc.liu.se Tue Jun 15 15:35:48 2004 From: nixon at nsc.liu.se (Leif Nixon) Date: Tue, 15 Jun 2004 15:35:48 +0200 Subject: check_ntp In-Reply-To: <20040615112827.25732.qmail@minnow.softflare.net> (Paul L. Allen's message of "Tue, 15 Jun 2004 12:28:27 +0100") References: <40CDD3AF.5010707@lssi.net> <20040614180209.26453.qmail@minnow.softflare.net> <20040615112827.25732.qmail@minnow.softflare.net> Message-ID: "Paul L. Allen" writes: > Leif Nixon writes: >> >> The estimated offset varies continuously, and sometimes just happens >> to hit 0.000 ms. > > I don't believe that of the server you showed us the results for. You are confusing me with somebody else. I just jumped into the thread and pointed out that check_ntp is strange. The system that the thread started with does indeed seem flaky. I'm talking about my systems, which check_ntp used to send alerts for even when they worked perfectly, just because offset happened to hit 0.000. -- Leif Nixon Systems expert ------------------------------------------------------------ National Supercomputer Centre Linkoping University ------------------------------------------------------------ ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giliardo at ufv.br Tue Jun 15 15:24:26 2004 From: giliardo at ufv.br (Giliardo Carlos Freitas) Date: Tue, 15 Jun 2004 10:24:26 -0300 Subject: Plugin check_mssql.sh Message-ID: <20040615132426.24972.qmail@calipso.cpd.ufv.br> Hello! I am using puglin check_mssql.sh to verify the status of a MS SqlServer. When i execute the plugin in the shell i get the follow message: >> OK - MS SQL Server 2000 has 21 user(s) connected: 9 xxxx, 1 xxxx, 2 xxx, 1 sa, 4 xxx, 2 xxxx, 2 xxx. But in Nagios i get the follow message: >> OK - MS SQL Server 2000 has 0 user(s) connected. This occur in all servers i tested. In nagios the number of users connected is not correct. Someone can help me? Giliardo ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Tue Jun 15 15:55:17 2004 From: shorn at lssi.net (Spencer Horn) Date: Tue, 15 Jun 2004 09:55:17 -0400 Subject: check_ntp In-Reply-To: <40CE0CFE.2070701@op5.se> References: <40CDD3AF.5010707@lssi.net> <40CE0CFE.2070701@op5.se> Message-ID: <40CEFFC5.9080906@lssi.net> This morning nagios shows ntp as, raptor NTP CRITICAL 06-15-2004 09:48:05 18d 0h 31m 15s 1/1 server 208.62.207.124, stratum 16, offset 7.837323, delay 0.02776 notice the stratum has changed? What would cause that? offset is still less than 60 and alarming critical. Thanks, Spencer Andreas Ericsson wrote: > > > Spencer Horn wrote: > >> Why would NTP be alarming critical if the offset is less than 60 >> seconds? default is 60 right? is my syntax incorrect? >> >> Thanks, >> Spencer >> >> >> # 'check_nntp' command definition >> define command{ >> command_name check_nntp >> command_line /usr/local/nagios/libexec/check_nntp >> $HOSTADDRESS$ >> } >> > > check_nntp is a plugin to check news servers. Just thought you ough to > know. > > [ ridiculous html anchors cut away ] > >> CRITICAL 06-14-2004 12:25:28 17d 3h 9m 6s 1/1 >> server 208.62.207.124, stratum 0, offset 0.000000, delay 0.00000 > > > If I were a plugin checking time-servers, stratum 0 would definitely > make me nervous. Stratum 1 servers are the ntp 'root'-servers, so > stratum 0 doesn't really exist. > >> >> [nagios at nagiosr0 libexec]$./check_ntp >> No target host specified >> Usage: check_ntp -H [-w ] [-c ] [-v verbose] >> [nagios at nagiosr0 libexec]$./check_ntp --help >> check_ntp (nagios-plugins 1.3.0-beta2) 1.9 > > > Upgrading your plugins to a non-beta release should help things > running smoothly. 1.3.1 (stable) has been around for some time now, > you know. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: comment.gif Type: image/gif Size: 900 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: redhat.gif Type: image/gif Size: 1321 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ack.gif Type: image/gif Size: 891 bytes Desc: not available URL: From hyloth at yahoo.com Tue Jun 15 16:10:41 2004 From: hyloth at yahoo.com (Shawn L.) Date: Tue, 15 Jun 2004 07:10:41 -0700 (PDT) Subject: Problems with Escalations Message-ID: <20040615141041.14867.qmail@web60002.mail.yahoo.com> Hiya guys. I'm new to Nagios and absolutely love it, but I'm having problems setting up escalations. I've read through the docs, but I keep getting the following error when I run nagios -v.... Error: Service escalation for service 'PING' on host 'host.com' is not defined anywhere! Checked 1 service escalations. Any help would be greatly appreciated. shawn __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Tue Jun 15 16:38:58 2004 From: td3201 at yahoo.com (Terry) Date: Tue, 15 Jun 2004 07:38:58 -0700 (PDT) Subject: service_check_timeout - for particular service Message-ID: <20040615143858.20103.qmail@web60308.mail.yahoo.com> Hello, I run a service which takes a pretty long time to run, up to 6 minutes at times. Is there a way to set a service_check_timeout for that service only? I am only seeing it being available for all services. Thanks for the help! Terry __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Tue Jun 15 16:51:31 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 15 Jun 2004 09:51:31 -0500 (CDT) Subject: check_ntp In-Reply-To: References: Message-ID: On Tue, 15 Jun 2004, Leif Nixon wrote: > I have stared at that line of code several times without understanding > it. Leif, I agree with your view. Why should a perfect sync be an error? I can understand the stratum 16 or stratum 0 as a warning, but assuming I have a stratum 2 as my peer I shouldn't get an error if my offset falls to 0.00000. That's what ntpd is supposed to do! Thanks. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Tue Jun 15 16:55:23 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 15 Jun 2004 09:55:23 -0500 (CDT) Subject: Want to use Nagios to inform admins about Snort alerts! In-Reply-To: <1751398330.20040615122805@arcor.de> References: <1751398330.20040615122805@arcor.de> Message-ID: On Tue, 15 Jun 2004, Gordon Meiser wrote: > "Is there any possibility to inform nagios, if the ids snort is > detecting an intrusion and generating an alert?" > One way would be to configure snort to log to syslog (or syslog-ng if you're so inclined.) From there, you could run check_log against the snort syslog and pattern match for nefariousness. I'd spend a considerable effort to tune snort prior to attempting the above. Good luck. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From corsis_tom at yahoo.com Tue Jun 15 17:09:46 2004 From: corsis_tom at yahoo.com (Thomas Quinlan) Date: Tue, 15 Jun 2004 08:09:46 -0700 (PDT) Subject: Scheduling Daily Downtime? In-Reply-To: References: Message-ID: <20040615150946.77452.qmail@web20729.mail.yahoo.com> We have a server that is monitored in Nagios, and it needs to be down for half an hour every evening. I've consulted the documentation, and I understand the difference between "fixed" and "flexible". However, what I want is repetitive "fixed" downtime. As it stands right now, every day I have to go in and turn on downtime, or else I get woken up at 3.30am when the alerts go off. How do I set it up so that downtime is scheduled for a particular server every day at the same time? Thanks in advance. Tom __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 15 17:32:54 2004 From: marc at ena.com (Marc Powell) Date: Tue, 15 Jun 2004 10:32:54 -0500 Subject: Scheduling Daily Downtime? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B652E@mismail2.ena.com> Thomas Quinlan wrote: > We have a server that is monitored in Nagios, and it needs to be down > for half an hour every evening. I've consulted the documentation, > and I understand the difference between "fixed" and "flexible". > However, what I want is repetitive "fixed" downtime. As it stands > right now, every day I have to go in and turn on downtime, or else I > get woken up at 3.30am when the alerts go off. > > How do I set it up so that downtime is scheduled for a particular > server every day at the same time? You could schedule a cron job to send the appropriate external commands to nagios _or_ you could define a time period that excludes your scheduled downtime and assign it to the notification_period for the host and services so you don't get notified during that window or assign it to the check_period for the services so that they just aren't checked during that window. http://www.nagios.org/faqs/viewfaq.php?faq_id=80 -- Marc ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jun 15 17:32:20 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 15 Jun 2004 08:32:20 -0700 (PDT) Subject: Scheduling Daily Downtime? In-Reply-To: <20040615150946.77452.qmail@web20729.mail.yahoo.com> References: <20040615150946.77452.qmail@web20729.mail.yahoo.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - From the FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=80&expand=false&showdesc=false - -Jason Martin On Tue, 15 Jun 2004, Thomas Quinlan wrote: > We have a server that is monitored in Nagios, and it > needs to be down for half an hour every evening. I've > consulted the documentation, and I understand the > difference between "fixed" and "flexible". However, > what I want is repetitive "fixed" downtime. As it > stands right now, every day I have to go in and turn > on downtime, or else I get woken up at 3.30am when the > alerts go off. > > How do I set it up so that downtime is scheduled for a > particular server every day at the same time? > > Thanks in advance. > > Tom > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD4DBQFAzxaKl2ODWuqVSBMRAlbsAJ4m+At2VgO3cEt9eD3HAkZr9R9lWwCWN+eo gmXcCqAQ2AA08Y1h22noEA== =JWcX -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CBallowe at usg.com Tue Jun 15 17:37:50 2004 From: CBallowe at usg.com (Ballowe, Charles) Date: Tue, 15 Jun 2004 10:37:50 -0500 Subject: Exclude or otherwise? Message-ID: I have a server in a server group but it routinely trips the threshold for CPU load during a certain window every day. This is expected and we'd rather not generate a page on it. Is there a clean way -- other than moving this server out of the hostgroup into it's own group and defining a special service that has that window disabled for alerts? Basically - I'd like to find some way to handle exceptions to rules without major changes to configurations when they come up. Any suggestions? -Charlie ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonb at teletouch.net Tue Jun 15 17:56:32 2004 From: jasonb at teletouch.net (Jason Branscum) Date: Tue, 15 Jun 2004 10:56:32 -0500 (CDT) Subject: Additional Fields in Notifications Message-ID: <4581.192.168.70.209.1087314992.squirrel@mail.teletouch.net> Greets all When replacing WhatsUp with Nagios, I neglected to check for a certain functionality that some of my staff rely on. Currently in WhatsUp, there are "Notes" fields which contain text, we use them to store contact information on sites; ie circuit numbers, contact phone numbers, etc. We're all paged with this information and need not logon to a PC to look this information up; its just handy. I've come up with only one solution; to recode check_ping to parse a txt file for a site name and include the site information whenever a return is WARN or CRIT. Before I went out coding this, I wanted to see if anyone had any bright ideas on how to email out extra fields per host. Jason Jason Branscum Network / Server Administrator ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Tue Jun 15 17:55:23 2004 From: twelsh at square-box.com (Tom Welsh) Date: Tue, 15 Jun 2004 16:55:23 +0100 Subject: Plugin check_mssql.sh In-Reply-To: <20040615132426.24972.qmail@calipso.cpd.ufv.br> References: <20040615132426.24972.qmail@calipso.cpd.ufv.br> Message-ID: Hi Gillardo, Are you executing the plugin on the command line as the Nagios user? If not that will be why it works one place and not the other. Cheers Tom Welsh -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Giliardo Carlos Freitas Sent: 15 June 2004 14:24 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin check_mssql.sh Hello! I am using puglin check_mssql.sh to verify the status of a MS SqlServer. When i execute the plugin in the shell i get the follow message: >> OK - MS SQL Server 2000 has 21 user(s) connected: 9 xxxx, 1 xxxx, 2 xxx, 1 sa, 4 xxx, 2 xxxx, 2 xxx. But in Nagios i get the follow message: >> OK - MS SQL Server 2000 has 0 user(s) connected. This occur in all servers i tested. In nagios the number of users connected is not correct. Someone can help me? Giliardo ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Tue Jun 15 18:00:08 2004 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 15 Jun 2004 09:00:08 -0700 (PDT) Subject: PerfParse Help? In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E9249@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E9249@golden-m.mactec.com> Message-ID: <20040615160009.22035.qmail@web60805.mail.yahoo.com> Ok, I finally got PerfParse installed and running, but only 6 hosts out of 200 are being displayed with graphs, I've updated to the latest plugings, and I can see all hosts in the view raw data section(see below), also perfparse is running very very slow. I've run the perfpase scripts many times, but only the 6 hosts are displayed, all my hosts have ping defined as a service.. 190-Waukegan-Rd PING UP 2004-06-15 15:48:18 PING OK - Packet loss = 0%, RTA = 9.81 ms 400-McHenry-Rd PING UP 2004-06-15 15:48:18 PING OK - Packet loss = 0%, RTA = 9.95 ms Nordstrom PING UP 2004-06-15 15:48:18 PING OK - Packet loss = 0%, RTA = 9.06 ms Wellness-Park-Center PING UP 2004-06-15 15:48:28 PING OK - Packet loss = 0%, RTA = 9.93 ms __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben at clewett.org.uk Tue Jun 15 18:10:28 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Tue, 15 Jun 2004 17:10:28 +0100 Subject: [Perfparse-devel] RE: PerfParse Help? In-Reply-To: <20040615160009.22035.qmail@web60805.mail.yahoo.com> References: <20040615160009.22035.qmail@web60805.mail.yahoo.com> Message-ID: <40CF1F74.2030904@clewett.org.uk> Jon, Can you manually run one of the plugins which does not produce a graph. This should produce performance data after the '|'. For example: DISK OK - free space: /boot 35 MB (76%);| /boot=34MB;35;40;0;45 If you do not have any data, or a '|', then you may need to try the latest snapshot from http://nagiosplug.sourceforge.net, which at time of writing I see are: http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-HEAD-200406150514.tar.gz If this is not the case, please let me know. Regards, Ben. Jon Lyons wrote: > Ok, I finally got PerfParse installed and running, but > only 6 hosts out of 200 are being displayed with > graphs, I've updated to the latest plugings, and I can > see all hosts in the view raw data section(see below), > also perfparse is running very very slow. I've run the > perfpase scripts many times, but only the 6 hosts are > displayed, all my hosts have ping defined as a > service.. > > 190-Waukegan-Rd PING UP 2004-06-15 > 15:48:18 PING OK - Packet loss = 0%, RTA = 9.81 ms > > 400-McHenry-Rd PING UP 2004-06-15 15:48:18 > PING OK - Packet loss = 0%, RTA = 9.95 ms > Nordstrom PING UP 2004-06-15 15:48:18 > PING OK - Packet loss = 0%, RTA = 9.06 ms > Wellness-Park-Center PING UP 2004-06-15 > 15:48:28 PING OK - Packet loss = 0%, RTA = 9.93 ms > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Perfparse-devel mailing list > Perfparse-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perfparse-devel > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zac at corenap.com Tue Jun 15 18:13:33 2004 From: zac at corenap.com (Zac Israel) Date: Tue, 15 Jun 2004 11:13:33 -0500 Subject: Problems with Escalations In-Reply-To: <20040615141041.14867.qmail@web60002.mail.yahoo.com> References: <20040615141041.14867.qmail@web60002.mail.yahoo.com> Message-ID: <20040615161333.GB1809@corenap.com> This usually means that in your services.cfg file you have not defined the ping service check for this host. If this is not the case, could you please include pieces of you escalation.cfg, service.cfg and hosts.cfg. Hope this helps. Zac On Tue, Jun 15, 2004 at 07:10:41AM -0700, Shawn L. wrote: > Hiya guys. > > I'm new to Nagios and absolutely love it, but I'm > having problems setting up escalations. I've read > through the docs, but I keep getting the following > error when I run nagios -v.... > > Error: Service escalation for service 'PING' on host > 'host.com' is not defined anywhere! > Checked 1 service escalations. > > Any help would be greatly appreciated. > > shawn > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 15 18:33:28 2004 From: marc at ena.com (Marc Powell) Date: Tue, 15 Jun 2004 11:33:28 -0500 Subject: Additional Fields in Notifications Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6534@mismail2.ena.com> Jason Branscum wrote: > Greets all > > When replacing WhatsUp with Nagios, I neglected to check for a > certain functionality that some of my staff rely on. Currently in > WhatsUp, there are "Notes" fields which contain text, we use them to > store contact information on sites; ie circuit numbers, contact phone > numbers, etc. > We're all paged with this information and need not logon to a PC to > look this information up; its just handy. > > I've come up with only one solution; to recode check_ping to parse a > txt file for a site name and include the site information whenever a > return is WARN or CRIT. Before I went out coding this, I wanted to > see if anyone had any bright ideas on how to email out extra fields > per host. Nagios does have the ability to add host/service specific external information links but they're can't be included in the notifications. Why not modify the host/service_notify_by_email command? It's just a script and so can be as simple or as complicated as you need it to be. Given the parameters you can pass to the notification script (http://nagios.sourceforge.net/docs/1_0/macros.html), it should be a fairly trivial task to pull whatever other additional information you require in your notifications from a flat file or DB or wherever you store it. It could be as simple as duplicating the WhatsUp information in flat files named after the host_name in Nagios and just cat it into the email you're sending. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 15 18:36:24 2004 From: marc at ena.com (Marc Powell) Date: Tue, 15 Jun 2004 11:36:24 -0500 Subject: Exclude or otherwise? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6535@mismail2.ena.com> Ballowe, Charles wrote: > I have a server in a server group but it routinely trips the > threshold for CPU load during a certain window every day. This is > expected and we'd rather not generate a page on it. Is there a clean > way -- other than moving this server out of the hostgroup into it's > own group and defining a special service that has that window > disabled for alerts? > > Basically - I'd like to find some way to handle exceptions to rules > without major changes to configurations when they come up. Any > suggestions? Very similar to a question asked and answered just a couple of hours ago. Define a time period that excludes your window and apply it as the notification_period for the host/service. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Jun 15 18:15:13 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 15 Jun 2004 10:15:13 -0600 Subject: PerfParse Help? Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9260@golden-m.mactec.com> Jon Lyons wrote: > Ok, I finally got PerfParse installed and running, but > only 6 hosts out of 200 are being displayed with > graphs, I've updated to the latest plugings, and I can > see all hosts in the view raw data section(see below), > also perfparse is running very very slow. I've run the > perfpase scripts many times, but only the 6 hosts are > displayed, all my hosts have ping defined as a > service.. > [snip] Perhaps someone else can explain this in greater detail, but from looking at my setup, the raw data seems to show exactly what the plugins would 'normally' show - host, service, status, check time, and output. There does not appear to be any Performance Data listed here. Perhaps if the perfdata was also included in the rawdata table we could easily see which plugins support perfdata and which do not. I think that the 6 hosts that you have graphs for are the only ones being checked by plugins that support perfdata. If in doubt about a plugin, run it from the command line and see if there is a pipe and perfdata returned after the normal output. I'm fairly sure that the check_ping does not yet have support for perfdata enabled, but my plugins are from CVS about two weeks ago, so that could have changed. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flakmagnet at tabletop-battlezone.com Tue Jun 15 18:39:23 2004 From: flakmagnet at tabletop-battlezone.com (Flak Magnet) Date: Tue, 15 Jun 2004 12:39:23 -0400 Subject: Exclude or otherwise? In-Reply-To: References: Message-ID: <40CF263B.2080505@tabletop-battlezone.com> Ballowe, Charles wrote: > I have a server in a server group but it routinely trips the threshold for > CPU load during a certain window every day. This is expected and we'd rather > not generate a page on it. Is there a clean way -- other than moving this > server out of the hostgroup into it's own group and defining a special > service that has that window disabled for alerts? > > Basically - I'd like to find some way to handle exceptions to rules without > major changes to configurations when they come up. Any suggestions? I'm relatively new to using nagios, but from what I know, I would recommend making the services that you have exceptions to the rule for as a registered template then using that template to define your exception. Just a wild guess, but from the sound of it, you're using hostgroup_name in the service def to tell nagios which hosts have the service. You're necessarily giving up some flexibility if that's the case. It wouldn't be a major change to config files to instead use host_name and the service templates to get what your after. By way of example, I think you have something like: define service{ hostgroup_name HOSTGROUP check_command SOMESERVICE!threshold other service directives ... } But if you instead: define service{ name template.service.SOMESERVICE host_name comma,delimiated,list,of,hosts check_command SOMESERVICE!threshold other service directives ... } define service{ use template.service.SOMESERVICE host_name exception_to_rule_host(s) check_command SOMESERVICE!differentthreshold } The service description in the second service definition of the second example will over-ride JUST the check_command for your exceptional host. Did that make any darned sense at all? You're welcome to RTFM, of course for the details of what I describe. Alternatively if you send me the service definition that you've referred to I'll send you the changes that I suggest. Your preference. A link to the FM that you might want to R: http://nagios.sourceforge.net/docs/1_0/templaterecursion.html -- --Tim The moment one accepts the idea that dissent is unpatriotic, one wastes the sacrifices of every true patriot that's ever lived. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Tue Jun 15 19:24:27 2004 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 15 Jun 2004 10:24:27 -0700 (PDT) Subject: PerfParse Help? In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E9260@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E9260@golden-m.mactec.com> Message-ID: <20040615172427.66531.qmail@web60802.mail.yahoo.com> Yep, 99% of my checks are with the check_ping plugin, allthough check_ifstatus does reports the performance numbers, but doesn't show up in the graphs... Just spent the entire day trying to fix my MYsql client so I can try this and none of my checks are supported yet....ARGH! --- "Cook, Garry" wrote: > Jon Lyons wrote: > > Ok, I finally got PerfParse installed and running, > but > > only 6 hosts out of 200 are being displayed with __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Tue Jun 15 19:56:41 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 15 Jun 2004 19:56:41 +0200 Subject: HTTPS access to Nagios web pages Message-ID: <1087322201.1380.15.camel@localhost.localdomain> Thank you Jason! I bought an Apach book and read that among other things (download SSLeay, and Apach-SSL pacth, etc.) I have to recomplie Apache. Now I use Apache 1.3.1 with Nagios 1.1. As I can see in the Nagios FAQ there is two minor problems with Apache 2.0 but these can be repair easily. Is it recommended to upgrade our Apache to 2.0.xx? What are the pros and cons of Apache 2.0 with Nagios? I appreciate your help! Tamas! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giliardo at ufv.br Tue Jun 15 19:57:18 2004 From: giliardo at ufv.br (Giliardo Carlos Freitas) Date: Tue, 15 Jun 2004 14:57:18 -0300 Subject: Plugin check_mssql.sh In-Reply-To: <20040615155746.A06F25C4212@magni.cpd.ufv.br> References: <20040615155746.A06F25C4212@magni.cpd.ufv.br> Message-ID: <20040615175718.11566.qmail@calipso.cpd.ufv.br> Hi Tom, I executed the plugin as nagios user and as root user, both in shell and both work fine. But in the nagios(web) the script don't work. I pretended that the variables in the script do not keep our values when the script is executed in nagios(web). I tried change the permissions, but the problem has go on. Giliardo Tom Welsh writes: > Hi Gillardo, > > Are you executing the plugin on the command line as the Nagios user? If not > that will be why it works one place and not the other. > > Cheers > > Tom Welsh > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Giliardo > Carlos Freitas > Sent: 15 June 2004 14:24 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugin check_mssql.sh > > Hello! > > I am using puglin check_mssql.sh to verify the status of a MS SqlServer. > When i execute the plugin in the shell i get the follow message: > > >>> OK - MS SQL Server 2000 has 21 user(s) connected: 9 xxxx, 1 xxxx, 2 xxx, > 1 sa, 4 xxx, 2 xxxx, 2 xxx. > > But in Nagios i get the follow message: > > >>> OK - MS SQL Server 2000 has 0 user(s) connected. > > This occur in all servers i tested. In nagios the number of users connected > is not correct. Someone can help me? > > Giliardo > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Tue Jun 15 20:06:46 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 15 Jun 2004 20:06:46 +0200 Subject: Notification inconsistences Message-ID: <1087322806.1380.19.camel@localhost.localdomain> Thank you Andreas! These situations happens very rarely so I can leave with them until your new code will be finished. Is this will be part of Nagios 2.0? Bye, Tamas! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jun 15 20:04:08 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 15 Jun 2004 11:04:08 -0700 (PDT) Subject: HTTPS access to Nagios web pages In-Reply-To: <1087322201.1380.15.camel@localhost.localdomain> References: <1087322201.1380.15.camel@localhost.localdomain> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I wasn't aware of any Apache 2.0 problems, there really shouldn't be any abnormal interaction between the two. - -Jason Martin On Tue, 15 Jun 2004, Horvath Tamas wrote: > Thank you Jason! > > I bought an Apach book and read that among other things (download > SSLeay, and Apach-SSL pacth, etc.) I have to recomplie Apache. > > Now I use Apache 1.3.1 with Nagios 1.1. As I can see in the Nagios FAQ > there is two minor problems with Apache 2.0 but these can be repair > easily. > > Is it recommended to upgrade our Apache to 2.0.xx? What are the pros and > cons of Apache 2.0 with Nagios? > > I appreciate your help! > > Tamas! > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAzzodl2ODWuqVSBMRAjoKAKCJ7xO+aPLgXMfY7MQENK7/xI1MqACgnnAr 1jalvZw5ibl0Uvp7gfl+Wy0= =WB1s -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CBallowe at usg.com Tue Jun 15 20:09:10 2004 From: CBallowe at usg.com (Ballowe, Charles) Date: Tue, 15 Jun 2004 13:09:10 -0500 Subject: Exclude or otherwise? Message-ID: If I do that will it override the one that is applied to the group membership? I.E. i have a server "bar" that is a member of group "foo" and foo is listed in the service, for example: define service{ use default hostgroup_name foo service_description MEMORY contact_groups admins check_command check_nt_mem!85!90 } I use this hostgroup in several other places and this host is a single exception for the service. Are you suggesting that a second version of this service only applied to a single host will prevent that host from notifying outside of that window without removing that host from the hostgroup? If so, that's easy enough and clean enough. I'd rather not remove it from the logical grouping and have to add it to all of the service definitions on its own when the goal is to only change its parameters for one. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: Tuesday, June 15, 2004 11:36 AM > To: Ballowe, Charles; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Exclude or otherwise? > > Ballowe, Charles wrote: > > I have a server in a server group but it routinely trips > the threshold > > for CPU load during a certain window every day. This is > expected and > > we'd rather not generate a page on it. Is there a clean way > -- other > > than moving this server out of the hostgroup into it's own > group and > > defining a special service that has that window > > disabled for alerts? > > > > Basically - I'd like to find some way to handle exceptions to rules > > without major changes to configurations when they come up. Any > > suggestions? > > Very similar to a question asked and answered just a couple > of hours ago. Define a time period that excludes your window > and apply it as the notification_period for the host/service. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) > Conference Learn from the experts at JavaOne(SM), Sun's > Worldwide Java Developer Conference, June 28 - July 1 at the > Moscone Center in San Francisco, CA REGISTER AND SAVE! > http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Tue Jun 15 20:43:49 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 15 Jun 2004 20:43:49 +0200 Subject: Access the Nagios web interface from the Internet? Message-ID: <1087325029.1379.40.camel@localhost.localdomain> Hi Folks! Our colleges asked me to make our Nagios web site accessible from the Internet. Our Nagios box is in our Intranet and it will be very complicated to move it to the DMZ. I have to options: configure a remote access VPN to our LAN or let firewalls allow HTTPS access to the Nagios box. They would like the second (and easier to implement) one, but I think this solution is more vulnerable than the 1st one: crackers can exploit Linux or Apache or Nagios CGI vulnerabilities. Is there any recommendation how can a Nagios web interface be accessible from the Internet in a secure way? Thank you for any help, tips, suggestions. Tamas ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aharrison at gmail.com Tue Jun 15 21:33:28 2004 From: aharrison at gmail.com (Andy Harrison) Date: Tue, 15 Jun 2004 15:33:28 -0400 Subject: Access the Nagios web interface from the Internet? In-Reply-To: <1087325029.1379.40.camel@localhost.localdomain> References: <1087325029.1379.40.camel@localhost.localdomain> Message-ID: On 15 Jun 2004 20:43:49 +0200, Horvath Tamas wrote: > > Hi Folks! > > Our colleges asked me to make our Nagios web site accessible from the > Internet. > > Our Nagios box is in our Intranet and it will be very complicated to > move it to the DMZ. > > I have to options: configure a remote access VPN to our LAN > or let firewalls allow HTTPS access to the Nagios box. > > They would like the second (and easier to implement) one, but I think > this solution is more vulnerable than the 1st one: crackers can exploit > Linux or Apache or Nagios CGI vulnerabilities. > > Is there any recommendation how can a Nagios web interface be accessible > from the Internet in a secure way? > > Thank you for any help, tips, suggestions. > > Tamas > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > I've done it with an ssh tunnel myself. I've used something like: ssh -P -N -f -L 60443:localhost:443 nagios.example.com Just pop open a browser and access https://localhost:60443 If the nagios server isn't directly accessible via ssh, you could do: ssh -P -N -f -L 60443:nagios.example.com:443 firewall.example.com Then when you access https://localhost:60443 it will hit the firewall and forward on to the nagios server. If the web server is confused about the localhost request, just add another hostname in the hosts file. So where you see 127.0.0.1 localhost, append nagios.example.com to that line. -- Andy Harrison ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zac at corenap.com Tue Jun 15 21:38:47 2004 From: zac at corenap.com (Zac Israel) Date: Tue, 15 Jun 2004 14:38:47 -0500 Subject: Additional Fields in Notifications In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B6534@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B6534@mismail2.ena.com> Message-ID: <20040615193847.GD1809@corenap.com> We were used to this same mechanism, to fix I did a simple edit to misccommands.cfg and resource.cfg, the changes are : resource.cfg: $USER2$=`grep $HOSTNAME$ /opt/nagios/var/customer/Info` # where I store the info I want to include misccommands.cfg: define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\nNotes:$USER2$" | /usr/bin/mailx -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } Hope this helps. Zac On Tue, Jun 15, 2004 at 11:33:28AM -0500, Marc Powell wrote: > > Greets all > > > > When replacing WhatsUp with Nagios, I neglected to check for a > > certain functionality that some of my staff rely on. Currently in > > WhatsUp, there are "Notes" fields which contain text, we use them to > > store contact information on sites; ie circuit numbers, contact phone > > numbers, etc. > > We're all paged with this information and need not logon to a PC to > > look this information up; its just handy. > > > > I've come up with only one solution; to recode check_ping to parse a > > txt file for a site name and include the site information whenever a > > return is WARN or CRIT. Before I went out coding this, I wanted to > > see if anyone had any bright ideas on how to email out extra fields > > per host. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Tue Jun 15 22:07:13 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Tue, 15 Jun 2004 13:07:13 -0700 Subject: Host is down but there aren't any further alerts In-Reply-To: References: <2F29C1E275BF4F4E9DCAE48033A00B9D01030D1B@mail.ev3.net> <834FFBCA47D6F745BC2AC278@cadabra-dsl.stanford.edu> <40CE086A.2030209@op5.se> Message-ID: <3165941F502FAE6FADB29C1D@cadabra.stanford.edu> --On Monday, June 14, 2004 2:29 PM -0700 Quanah Gibson-Mount wrote: > > > --On Monday, June 14, 2004 10:19 PM +0200 Andreas Ericsson > wrote: > >> >> Read up on notification_interval and escalations. It's all well >> documented. > > 1) We don't use escalations. > 2) The notification interval is just fine. I emailed my config before, > no one here saw any issues with it. And there have been plenty of people > who see this issue, and I have yet to see a *single response* that > addresses a fix to the problem. define host { name ldap-host-template check_command check-host-alive max_check_attempts 2 notification_interval 30 notification_period 24x7 notification_options d,u,r register 0 } As I read that, when the host goes down, check twice. After that, notify. Continue notifying every 30 minutes, 24 hours a day 7 days a week. I'd be happy to know if I'm mistaken. It certainly does the first notification -- just never follows up. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From meck at chilitech.net Tue Jun 15 22:24:45 2004 From: meck at chilitech.net (Michael Eck) Date: Tue, 15 Jun 2004 16:24:45 -0400 Subject: Using ! in check_command Message-ID: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> Greetings, Is there a trick than anybody knows of the use a ! as a character in a password for a check_command? The obvious problem is that it's also the field delimiter. ---- Michael Eck Chilitech Internet Solutions Network Operations Center 570-323-2166 http://www.chilitech.net -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2365 bytes Desc: not available URL: From jhmartin at toger.us Tue Jun 15 22:55:29 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 15 Jun 2004 13:55:29 -0700 (PDT) Subject: NSClient & Exchange Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is anyone using NSClient on a MS Exchange server? I'm looking to collect a few affirmations that NSClient hasn't broken other Exchange installations to support a proposal to install it here. Thanks, - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAz2JOl2ODWuqVSBMRAlv5AJ95U2mn8hnMT7z4c0OJT3QCDDHVPwCgi8pb A9ax5ccUC3j1fW7j9oVlbn4= =y6dC -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tradergt at smelser.org Tue Jun 15 22:56:58 2004 From: tradergt at smelser.org (Jeff Smelser) Date: Tue, 15 Jun 2004 15:56:58 -0500 Subject: Nagios/Apache Message-ID: <200406151557.04396.tradergt@smelser.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I used nagios when it was netsaint.. I would like to use it again but I couldn't find anywhere if I could run nagios out of one server. My web server would be on a difference server. Would I still be able to see it from the web? A link of info would be great. googling didn't find anything. Thanks, Jeff - -- Where there's smoke there's fire, but where there's a vague fishy odor, it could be any number of things. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAz2Kgld4MRA3gEwYRAllIAKCRJ7exUUQeY/Cj7kjQv6L4RnICigCcC9Pu 202RotYCkNill5wB6HZelic= =LJHr -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tchagas at uolinc.com Tue Jun 15 23:12:48 2004 From: tchagas at uolinc.com (Thales Maia) Date: Tue, 15 Jun 2004 18:12:48 -0300 Subject: Using ! in check_command In-Reply-To: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> References: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> Message-ID: <1087333968.20814.2.camel@meriadoc.intranet> Use \! On Tue, 2004-06-15 at 17:24, Michael Eck wrote: > Greetings, > Is there a trick than anybody knows of the use a ! as a character in a > password for a check_command? > The obvious problem is that it's also the field delimiter. > > ---- > Michael Eck > Chilitech Internet Solutions > Network Operations Center > 570-323-2166 > http://www.chilitech.net -- THALES MAIA CHAGAS Sysadmin - UOL S/A ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Jun 15 23:11:56 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 15 Jun 2004 15:11:56 -0600 Subject: Using ! in check_command Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9274@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Greetings, > Is there a trick than anybody knows of the use a ! as a character in a > password for a check_command? > The obvious problem is that it's also the field delimiter. > Have you tried a backslash escape? myCommunity!String = myCommunity\!String Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aharrison at gmail.com Tue Jun 15 23:30:06 2004 From: aharrison at gmail.com (Andy Harrison) Date: Tue, 15 Jun 2004 17:30:06 -0400 Subject: Using ! in check_command In-Reply-To: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> References: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> Message-ID: On Tue, 15 Jun 2004 16:24:45 -0400, Michael Eck wrote: > > Greetings, > Is there a trick than anybody knows of the use a ! as a character in a > password for a check_command? > The obvious problem is that it's also the field delimiter. > Sorry for being obtuse, but if you're going to do something like embed a password right in a plain text config file, you might as well just change the password to straight alpha. -- Andy Harrison ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mattm at parcom.net Tue Jun 15 23:50:25 2004 From: mattm at parcom.net (Matt) Date: Tue, 15 Jun 2004 14:50:25 -0700 Subject: Install Problems Fedora 2 Message-ID: <200406151453775.SM01356@PARCOMMB> Hello, Has anyone tried to install Nagios 1.2 on Fedora 2 yet? Currently I am attempting to do so BUT, I have hit a snag. My Error: make[1]: *** [statusmap.cgi] Error 1 What I have done: 1. Downloaded the latest Nagios package, uploaded and followed the instructions to the "Run the Configure Script" part. 2. Ran Configure script, had the GD problem (no surprise) 3. Went and installed GD and the libraries needed for the image stuff. 4. Re-ran configure script, all was good! 4. Ran Make All 5. Ran into the error above. I have successfully installed Nagios/Netsaint on many different machines (all running some version of Redhat - latest would be RH8) and I have never run into this issue. I am at a loss right now and I hope that someone else has some clues as to what the issue may be? =) Thank you, Matt PS - I am installing from source, which I have always done with no issue. One question I do have is whether anyone has used the RPM and how they like it. Maybe I should give that a shot? ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Wed Jun 16 00:16:07 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 15 Jun 2004 17:16:07 -0500 Subject: Using ! in check_command In-Reply-To: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> References: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> Message-ID: <1087337767.10931.23.camel@localhost> On Tue, 2004-06-15 at 15:24 -0500, Michael Eck wrote: > Greetings, > Is there a trick than anybody knows of the use a ! as a character in a > password for a check_command? > The obvious problem is that it's also the field delimiter. Have you tried escaping it? ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Wed Jun 16 00:33:26 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 15 Jun 2004 17:33:26 -0500 Subject: Using ! in check_command In-Reply-To: <1087338759.4979.18.camel@localhost> References: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> <1087337767.10931.23.camel@localhost> <1087338759.4979.18.camel@localhost> Message-ID: <1087338806.10931.26.camel@localhost> On Tue, 2004-06-15 at 18:32 -0400, Chris Hammond wrote: > Very popular answer isn't it Jeff. :) It's often correct, so, yes :) Unfamiliarity with escaping reserved characters seems to be a problem with non-Unix folk coming into the field. I think it's a lot better than the Windoze answer (which would be "don't use that character"). > On Tue, 2004-06-15 at 18:16, jeff vier wrote: > > On Tue, 2004-06-15 at 15:24 -0500, Michael Eck wrote: > > > Greetings, > > > Is there a trick than anybody knows of the use a ! as a character in a > > > password for a check_command? > > > The obvious problem is that it's also the field delimiter. > > > > Have you tried escaping it? > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at bluecobras.com Wed Jun 16 00:32:40 2004 From: chris at bluecobras.com (Chris Hammond) Date: Tue, 15 Jun 2004 18:32:40 -0400 Subject: Using ! in check_command In-Reply-To: <1087337767.10931.23.camel@localhost> References: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> <1087337767.10931.23.camel@localhost> Message-ID: <1087338759.4979.18.camel@localhost> Very popular answer isn't it Jeff. :) Chris On Tue, 2004-06-15 at 18:16, jeff vier wrote: > On Tue, 2004-06-15 at 15:24 -0500, Michael Eck wrote: > > Greetings, > > Is there a trick than anybody knows of the use a ! as a character in a > > password for a check_command? > > The obvious problem is that it's also the field delimiter. > > Have you tried escaping it? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at bluecobras.com Wed Jun 16 00:38:42 2004 From: chris at bluecobras.com (Chris Hammond) Date: Tue, 15 Jun 2004 18:38:42 -0400 Subject: NT service with "$" in the name Message-ID: <1087339122.4979.22.camel@localhost> Hey Jeff, don't know if you didn't see the last message I sent on the subject but here it is. Okay, from the command line MSSQL\$BKUPEXEC reports properly. MSSQL$BKUPEXEC: Started. However by the time it makes it to the Nagios frontend it is MSSQL$BKUPEXEC$: Unknown. So your initial recommendation was correct but now something else is sticking it"s nose were it doesn"t belong. :) Have any ideas? ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at bluecobras.com Wed Jun 16 00:29:44 2004 From: chris at bluecobras.com (Chris Hammond) Date: Tue, 15 Jun 2004 18:29:44 -0400 Subject: NSClient & Exchange In-Reply-To: References: Message-ID: <1087338584.4979.16.camel@localhost> I have the nsclient service running on multiple servers running exchange from Win2k/Exchange 5.5 throught Win2k3/Exchange 2k3 with not apparent issues. Chris On Tue, 2004-06-15 at 16:55, Jason Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Is anyone using NSClient on a MS Exchange server? I'm looking to collect a > few affirmations that NSClient hasn't broken other Exchange installations > to support a proposal to install it here. > > Thanks, > - -Jason Martin > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQFAz2JOl2ODWuqVSBMRAlv5AJ95U2mn8hnMT7z4c0OJT3QCDDHVPwCgi8pb > A9ax5ccUC3j1fW7j9oVlbn4= > =y6dC > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at bluecobras.com Wed Jun 16 00:41:23 2004 From: chris at bluecobras.com (Chris Hammond) Date: Tue, 15 Jun 2004 18:41:23 -0400 Subject: Using ! in check_command In-Reply-To: <1087338806.10931.26.camel@localhost> References: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> <1087337767.10931.23.camel@localhost> <1087338759.4979.18.camel@localhost> <1087338806.10931.26.camel@localhost> Message-ID: <1087339283.4979.25.camel@localhost> On Tue, 2004-06-15 at 18:33, jeff vier wrote: > On Tue, 2004-06-15 at 18:32 -0400, Chris Hammond wrote: > > Very popular answer isn't it Jeff. :) > > It's often correct, so, yes :) It was with my $. > Unfamiliarity with escaping reserved characters seems to be a problem > with non-Unix folk coming into the field. I think it's a lot better > than the Windoze answer (which would be "don't use that character"). How true. :) Chris ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misaochankun at speakeasy.net Wed Jun 16 01:36:08 2004 From: misaochankun at speakeasy.net (Misao) Date: Tue, 15 Jun 2004 18:36:08 -0500 Subject: Install Problems Fedora 2 In-Reply-To: <200406151453775.SM01356@PARCOMMB> References: <200406151453775.SM01356@PARCOMMB> Message-ID: I have Nagios running on Fedora Core 1, but there is a kernel version difference among other things between the two. No idea what your issue might be though. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Matt Sent: Tuesday, June 15, 2004 4:50 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Install Problems Fedora 2 Hello, Has anyone tried to install Nagios 1.2 on Fedora 2 yet? Currently I am attempting to do so BUT, I have hit a snag. My Error: make[1]: *** [statusmap.cgi] Error 1 What I have done: 1. Downloaded the latest Nagios package, uploaded and followed the instructions to the "Run the Configure Script" part. 2. Ran Configure script, had the GD problem (no surprise) 3. Went and installed GD and the libraries needed for the image stuff. 4. Re-ran configure script, all was good! 4. Ran Make All 5. Ran into the error above. I have successfully installed Nagios/Netsaint on many different machines (all running some version of Redhat - latest would be RH8) and I have never run into this issue. I am at a loss right now and I hope that someone else has some clues as to what the issue may be? =) Thank you, Matt PS - I am installing from source, which I have always done with no issue. One question I do have is whether anyone has used the RPM and how they like it. Maybe I should give that a shot? ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aharrison at gmail.com Wed Jun 16 03:13:01 2004 From: aharrison at gmail.com (Andy Harrison) Date: Tue, 15 Jun 2004 21:13:01 -0400 Subject: Nagios/Apache In-Reply-To: <200406151557.04396.tradergt@smelser.org> References: <200406151557.04396.tradergt@smelser.org> Message-ID: On Tue, 15 Jun 2004 15:56:58 -0500, Jeff Smelser wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I used nagios when it was netsaint.. I would like to use it again but I > couldn't find anywhere if I could run nagios out of one server. My web server > would be on a difference server. Would I still be able to see it from the > web? > > A link of info would be great. googling didn't find anything. A web server is not provided, so you'll need to either have apache installed on that server or export the nagios dir so you can mount it from the web server. -- Andy Harrison ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orh at kn24.no Wed Jun 16 07:13:32 2004 From: orh at kn24.no (Odd-Rune Hansen) Date: Wed, 16 Jun 2004 07:13:32 +0200 (CEST) Subject: NSClient & Exchange In-Reply-To: References: Message-ID: <65145.80.203.47.105.1087362812.squirrel@mail.kn24.no> Hi; The only problem I've experienced is that a TCP/IP port conflict might occur, so you may want to change the default port of 1248 that NSClient uses to something higher. (As far as I recall, the conflicting process was the MAD.EXE, Microsoft Exchange System Attendant.) Best regards -Odd-Rune > Is anyone using NSClient on a MS Exchange server? I'm looking to collect a > few affirmations that NSClient hasn't broken other Exchange installations > to support a proposal to install it here. > > Thanks, > - -Jason Martin ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smalhotra at dataarmor.net Wed Jun 16 08:06:33 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Wed, 16 Jun 2004 11:36:33 +0530 Subject: Checking freshness Time period References: <005201c44f99$8092a020$0222040b@sumit> <014401c45220$6f45e820$3a4007d2@hotwire> Message-ID: <02ed01c45368$152c5e70$0222040b@sumit> Looks like nobody has the answer ??? -Sumit ----- Original Message ----- From: Sumit Malhotra To: Nagios List Sent: Monday, June 14, 2004 8:31 PM Subject: Re: [Nagios-users] Checking freshness Time period Can anybody help on this ???? -Sumit ----- Original Message ----- From: Sumit Malhotra To: Nagios List Sent: Friday, June 11, 2004 3:20 PM Subject: [Nagios-users] Checking freshness Time period Hi , I am using nagios 1.2 and nsca in combination . Both works great together. I have configured for freshness check evrey 15 minutes( As shown below) . In case it fails an alert is genrated via command noreport. It works fine for 24*7 monitoring of services Problem comes when i want some service to be checked for 16*5 . I get alerts even when i have configured the service are configured for 16*5(check period) ( Although i am able to suppress teh alerts using notification period i.e. by setting it to 16*5) but still there is a red alert in the web interface .I would have loved to get a wall of "GREEN". ############################################## define service { name generic-service-passive ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' freshness_threshold 1800 ; default 15 minutes check_command no-report notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REgISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use generic-service-passive ; Name of service template to use host_name Ababa service_description Check Oracle is_volatile 0 check_period 16x5 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 16x5 notification_options w,u,c,r } ######################################## Any Solutions ??? Thanks. Regards, Sumit -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Wed Jun 16 09:04:51 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Wed, 16 Jun 2004 09:04:51 +0200 Subject: Plugin check_mssql.sh In-Reply-To: <20040615175718.11566.qmail@calipso.cpd.ufv.br> References: <20040615155746.A06F25C4212@magni.cpd.ufv.br> <20040615175718.11566.qmail@calipso.cpd.ufv.br> Message-ID: <40CFF113.5010202@dhl.com> Gillardo, Could you post your relevant parts from your configs? Thanks, Tom Giliardo Carlos Freitas wrote: > Hi Tom, > I executed the plugin as nagios user and as root user, both in shell > and both work fine. But in the nagios(web) the script don't work. I > pretended that the variables in the script do not keep our values when > the script is executed in nagios(web). I tried change the permissions, > but the problem has go on. > Giliardo > Tom Welsh writes: > >> Hi Gillardo, >> Are you executing the plugin on the command line as the Nagios user? >> If not >> that will be why it works one place and not the other. >> Cheers >> Tom Welsh >> >> >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Giliardo >> Carlos Freitas >> Sent: 15 June 2004 14:24 >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Plugin check_mssql.sh >> Hello! >> I am using puglin check_mssql.sh to verify the status of a MS >> SqlServer. When i execute the plugin in the shell i get the follow >> message: >> >>>> OK - MS SQL Server 2000 has 21 user(s) connected: 9 xxxx, 1 xxxx, 2 >>>> xxx, >>> >> 1 sa, 4 xxx, 2 xxxx, 2 xxx. >> But in Nagios i get the follow message: >> >>>> OK - MS SQL Server 2000 has 0 user(s) connected. >>> >> >> This occur in all servers i tested. In nagios the number of users >> connected is not correct. Someone can help me? >> Giliardo >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> any issue. ::: Messages without supporting info will risk being sent >> to /dev/null >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Tom De Blende Senior Infrastructure Analyst DHL European Coordination Center - IT Department Tel +32 2 713 42 62 Fax +32 2 713 52 00 ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Wed Jun 16 09:23:11 2004 From: twelsh at square-box.com (Tom Welsh) Date: Wed, 16 Jun 2004 08:23:11 +0100 Subject: Plugin check_mssql.sh In-Reply-To: <20040615175718.11566.qmail@calipso.cpd.ufv.br> References: <20040615175718.11566.qmail@calipso.cpd.ufv.br> Message-ID: Hi Gillardo, Can you post the command line you are using from shell and the output and also your nagios check_command for your mssql check. Cheers Tom -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Giliardo Carlos Freitas Sent: 15 June 2004 18:57 To: Tom Welsh Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Plugin check_mssql.sh Hi Tom, I executed the plugin as nagios user and as root user, both in shell and both work fine. But in the nagios(web) the script don't work. I pretended that the variables in the script do not keep our values when the script is executed in nagios(web). I tried change the permissions, but the problem has go on. Giliardo Tom Welsh writes: > Hi Gillardo, > > Are you executing the plugin on the command line as the Nagios user? If not > that will be why it works one place and not the other. > > Cheers > > Tom Welsh > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Giliardo > Carlos Freitas > Sent: 15 June 2004 14:24 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugin check_mssql.sh > > Hello! > > I am using puglin check_mssql.sh to verify the status of a MS SqlServer. > When i execute the plugin in the shell i get the follow message: > > >>> OK - MS SQL Server 2000 has 21 user(s) connected: 9 xxxx, 1 xxxx, 2 xxx, > 1 sa, 4 xxx, 2 xxxx, 2 xxx. > > But in Nagios i get the follow message: > > >>> OK - MS SQL Server 2000 has 0 user(s) connected. > > This occur in all servers i tested. In nagios the number of users connected > is not correct. Someone can help me? > > Giliardo > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist.nagios at inlan.inmics.fi Wed Jun 16 10:12:03 2004 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Wed, 16 Jun 2004 11:12:03 +0300 Subject: Servicedependicy problem Message-ID: <1087373523.40d000d32f314@imp.inmics.fi> Hi, I've set following dependencies to a few hosts: define servicedependency{ host_name router service_description PING dependent_host_name switch1,switch2 dependent_service_description * execution_failure_criteria w,u,c ; These are the criteria for which check execution will be supressed notification_failure_criteria n ; These are the criteria for which notifications will be supressed } define hostdependency{ host_name router dependent_host_name switch1,switch2 notification_failure_criteria d,u } The goal is that I don't want to get any alerts from hosts switch1 and switch2, if router is down or critical. With this configuration, if router is critical, I get this alert: State: CRITICAL Date/Time: Wed Jun 16 10:58:15 EEST 2004 Additional Info: CRITICAL - Plugin timed out after 10 seconds and the same alert for both switch1 and switch2. Have I missed something in the depency configuration? -MiikaT ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at miwi-dv.com Wed Jun 16 12:11:59 2004 From: lists at miwi-dv.com (lists at miwi-dv.com) Date: Wed, 16 Jun 2004 12:11:59 +0200 Subject: NT service with "$" in the name Message-ID: <77AFA7FE1D1F6D4DBCB63CBC5066A2B45BEDCD@ws_server.intern.westernsystems.de> Chris, depending on who gets in your way, MSSQL$$BKUPEXEC or something as ugly as MSSQL\$\$BKUPEXEC might help. cheers MiWi -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Chris Hammond Sent: Wednesday, June 16, 2004 12:39 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NT service with "$" in the name Hey Jeff, don't know if you didn't see the last message I sent on the subject but here it is. Okay, from the command line MSSQL\$BKUPEXEC reports properly. MSSQL$BKUPEXEC: Started. However by the time it makes it to the Nagios frontend it is MSSQL$BKUPEXEC$: Unknown. So your initial recommendation was correct but now something else is sticking it"s nose were it doesn"t belong. :) Have any ideas? ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smalhotra at dataarmor.net Wed Jun 16 12:17:40 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Wed, 16 Jun 2004 15:47:40 +0530 Subject: Relation between Freshness Check period and service check period Message-ID: <002501c4538b$29bfc610$0222040b@sumit> Hi , Is there any relation between freshness check period and service check period ?? I have observed both work independently i.e. if the freshnesss check is 10 minutes and service check period is 16*5 The active check(check_command) will be executed out of the service check period(16*5) Am i missing something ??? Thanks in advance. Regards, Sumit ##### define service { name generic-service-passive ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' freshness_threshold 1800 ; default 15 minutes check_command no-report notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REgISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use generic-service-passive ; Name of service template to use host_name ABC service_description report is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r freshness_threshold 600 check_command no-report } -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmartin at gsi-kc.com Wed Jun 16 13:34:48 2004 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Wed, 16 Jun 2004 06:34:48 -0500 Subject: false host down alerts Message-ID: Hi, We have several nagios servers doing a total of about 1300 service checks and 300 host checks using Nagios 1.2 and Nagios plugins 1.3.1. Unfortunately something a little annoying keeps happening, not to mention strange: Nagios keeps sending HOST DOWN alerts when our hosts are not down. For example we do a ping check and HTTP-QA check for a website. Nagios will send a HOST DOWN alert, but at the same time, the ping check and HTTP check will both be just fine. Nagios will think the host is down for quite some time, but it keeps doing the ping and HTTP-QA checks anyway despite thinking the host is down. The only way I can make it think the host is back up is to totally restart Nagios, then it forgets that it thought the host was down (even with retain_state_information=1) At first this happened to a couple load balanced websites and mail servers we had. Now this is happening to several other sites and mail servers that are not being load balanced. Every time it says a host is down like this, I can SSH into the Nagios server, and ping the exact hostname Nagios is using (either the FQDN or the IP depending on what Nagios is using in hosts.cfg for the given site), and the ping has no problems at all. Just to give an example - we often get HOST DOWN warnings for "mail.ikea-usa.net" even though our SMTP and ping checks continue to be OK long after the "HOST DOWN" alert. We also have this problem with https://www.verepay.cc - but I think that's because we have ping turned off in our firewall for that site at the moment. Our load balanced anti-spam/virus mail servers located at scrubber.gsi-kc.com also suffer from this problem but I've never had any troubles pinging them. Just throwing out those examples incase anyone notices anything particularly wrong with them, since Nagios seems to like those sites the best for doing this odd "HOST DOWN" behavior. Here's what I'll see in the nagios.log file: [1087381552] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;1;Socket timeout after 10 seconds [1087381562] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;2;Socket timeout after 10 seconds [1087381572] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;3;Socket timeout after 10 seconds [1087381582] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;4;Socket timeout after 10 seconds [1087381592] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;5;Socket timeout after 10 seconds [1087381602] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;6;Socket timeout after 10 seconds [1087381612] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;7;Socket timeout after 10 seconds [1087381622] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;8;Socket timeout after 10 seconds [1087381632] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;9;Socket timeout after 10 seconds [1087381642] HOST ALERT: scrubber.gsi-kc.com;DOWN;HARD;10;Socket timeout after 10 seconds How can that be when I can do this at the same time? [root at kgsinm05 var]# ping scrubber.gsi-kc.com PING scrubber.gsi-kc.com (205.247.222.244) 56(84) bytes of data. 64 bytes from scrubber.gsi-kc.com (205.247.222.244): icmp_seq=1 ttl=240 time=28.3 ms 64 bytes from scrubber.gsi-kc.com (205.247.222.244): icmp_seq=2 ttl=240 time=26.8 ms Thanks!! Jeremy -------------- next part -------------- An HTML attachment was scrubbed... URL: From meck at chilitech.net Wed Jun 16 14:32:04 2004 From: meck at chilitech.net (Michael Eck) Date: Wed, 16 Jun 2004 08:32:04 -0400 Subject: Using ! in check_command In-Reply-To: <1087338759.4979.18.camel@localhost> References: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> <1087337767.10931.23.camel@localhost> <1087338759.4979.18.camel@localhost> Message-ID: <2E7E372E-BF91-11D8-9A82-000A95D9C698@chilitech.net> I did try escaping it. Is that supposed to work? I didin't see that documented and still had a problem when it was escaped . On Jun 15, 2004, at 6:32 PM, Chris Hammond wrote: > Very popular answer isn't it Jeff. :) > > Chris > > On Tue, 2004-06-15 at 18:16, jeff vier wrote: >> On Tue, 2004-06-15 at 15:24 -0500, Michael Eck wrote: >>> Greetings, >>> Is there a trick than anybody knows of the use a ! as a character in >>> a >>> password for a check_command? >>> The obvious problem is that it's also the field delimiter. >> >> Have you tried escaping it? >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >> Conference, June 28 - July 1 at the Moscone Center in San Francisco, >> CA >> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code >> NWMGYKND >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code > NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Eck Chilitech Internet Solutions Network Operations Center 570-323-2166 http://www.chilitech.net -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2365 bytes Desc: not available URL: From meck at chilitech.net Wed Jun 16 14:31:12 2004 From: meck at chilitech.net (Michael Eck) Date: Wed, 16 Jun 2004 08:31:12 -0400 Subject: Using ! in check_command In-Reply-To: References: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> Message-ID: <0E86F31E-BF91-11D8-9A82-000A95D9C698@chilitech.net> Be obtuse, that's fine. 1) It's a read-only community string for a device that only responds to snmp requests from one host. 2) The file on the monitor station is only readable by the nagios user and root. 3) There are only two shell accounts on the machine, which is firewalled to only accept connection from a few trusted hosts. I'm not worried. On Jun 15, 2004, at 5:30 PM, Andy Harrison wrote: > On Tue, 15 Jun 2004 16:24:45 -0400, Michael Eck > wrote: >> >> Greetings, >> Is there a trick than anybody knows of the use a ! as a character in a >> password for a check_command? >> The obvious problem is that it's also the field delimiter. >> > > Sorry for being obtuse, but if you're going to do something like embed > a password right in a plain text config file, you might as well just > change the password to straight alpha. > > > -- > Andy Harrison > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code > NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Eck Chilitech Internet Solutions Network Operations Center 570-323-2166 http://www.chilitech.net -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2365 bytes Desc: not available URL: From chris at bluecobras.com Wed Jun 16 14:51:45 2004 From: chris at bluecobras.com (Chris Hammond) Date: Wed, 16 Jun 2004 08:51:45 -0400 Subject: Using ! in check_command In-Reply-To: <2E7E372E-BF91-11D8-9A82-000A95D9C698@chilitech.net> References: <0B712FB0-BF0A-11D8-B489-000A95D9C698@chilitech.net> <1087337767.10931.23.camel@localhost> <1087338759.4979.18.camel@localhost> <2E7E372E-BF91-11D8-9A82-000A95D9C698@chilitech.net> Message-ID: <1087390304.7052.3.camel@localhost> I had a somewhat similar issue with a check_nt command to monitor services. The service is MSSQL$BKUPEXEC. To get a proper response from the check on the command line I had to do MSSQL/$BKUPEXEC. On the command line, this works fine. However, Nagios shows me MSSQL$BKUPEXEC$: Unknown. Not sure how to remove that last "$". Chris On Wed, 2004-06-16 at 08:32, Michael Eck wrote: > I did try escaping it. Is that supposed to work? I didin't see that > documented and still had a problem when it was escaped > > . > On Jun 15, 2004, at 6:32 PM, Chris Hammond wrote: > > > Very popular answer isn't it Jeff. :) > > > > Chris > > > > On Tue, 2004-06-15 at 18:16, jeff vier wrote: > >> On Tue, 2004-06-15 at 15:24 -0500, Michael Eck wrote: > >>> Greetings, > >>> Is there a trick than anybody knows of the use a ! as a character in > >>> a > >>> password for a check_command? > >>> The obvious problem is that it's also the field delimiter. > >> > >> Have you tried escaping it? > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > >> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > >> Conference, June 28 - July 1 at the Moscone Center in San Francisco, > >> CA > >> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code > >> NWMGYKND > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code > > NWMGYKND > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 Eck > Chilitech Internet Solutions > Network Operations Center > 570-323-2166 > http://www.chilitech.net ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.koch at eurodata.de Wed Jun 16 15:06:20 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Wed, 16 Jun 2004 15:06:20 +0200 Subject: false host down alerts In-Reply-To: References: Message-ID: <1087391180.1373.536.camel@dresden.eurodata.de> How do you check, that the host is down. Please copy in your checkcommands.cfg the # 'check-host-alive' command definition Andreas Am Mi, den 16.06.2004 schrieb Martin, Jeremy um 13:34: > Hi, > > > > We have several nagios servers doing a total of about 1300 service > checks and 300 host checks using Nagios 1.2 and Nagios plugins 1.3.1. > > > > Unfortunately something a little annoying keeps happening, not to > mention strange: > > > > Nagios keeps sending HOST DOWN alerts when our hosts are not down. For > example we do a ping check and HTTP-QA check for a website. Nagios > will send a HOST DOWN alert, but at the same time, the ping check and > HTTP check will both be just fine. Nagios will think the host is down > for quite some time, but it keeps doing the ping and HTTP-QA checks > anyway despite thinking the host is down. The only way I can make it > think the host is back up is to totally restart Nagios, then it > forgets that it thought the host was down (even with > retain_state_information=1) > > > > At first this happened to a couple load balanced websites and mail > servers we had. Now this is happening to several other sites and mail > servers that are not being load balanced. Every time it says a host is > down like this, I can SSH into the Nagios server, and ping the exact > hostname Nagios is using (either the FQDN or the IP depending on what > Nagios is using in hosts.cfg for the given site), and the ping has no > problems at all. > > > > Just to give an example - we often get HOST DOWN warnings for > "mail.ikea-usa.net" even though our SMTP and ping checks continue to > be OK long after the "HOST DOWN" alert. We also have this problem with > https://www.verepay.cc - but I think that's because we have ping > turned off in our firewall for that site at the moment. Our load > balanced anti-spam/virus mail servers located at scrubber.gsi-kc.com > also suffer from this problem but I've never had any troubles pinging > them. Just throwing out those examples incase anyone notices anything > particularly wrong with them, since Nagios seems to like those sites > the best for doing this odd "HOST DOWN" behavior. > > > > Here's what I'll see in the nagios.log file: > > > > [1087381552] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;1;Socket > timeout after 10 seconds > > [1087381562] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;2;Socket > timeout after 10 seconds > > [1087381572] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;3;Socket > timeout after 10 seconds > > [1087381582] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;4;Socket > timeout after 10 seconds > > [1087381592] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;5;Socket > timeout after 10 seconds > > [1087381602] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;6;Socket > timeout after 10 seconds > > [1087381612] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;7;Socket > timeout after 10 seconds > > [1087381622] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;8;Socket > timeout after 10 seconds > > [1087381632] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;9;Socket > timeout after 10 seconds > > [1087381642] HOST ALERT: scrubber.gsi-kc.com;DOWN;HARD;10;Socket > timeout after 10 seconds > > > > How can that be when I can do this at the same time? > > > > [root at kgsinm05 var]# ping scrubber.gsi-kc.com > > PINGscrubber.gsi-kc.com (205.247.222.244) 56(84) bytes of data. > > 64 bytes from scrubber.gsi-kc.com (205.247.222.244): icmp_seq=1 > ttl=240 time=28.3 ms > > 64 bytes from scrubber.gsi-kc.com (205.247.222.244): icmp_seq=2 > ttl=240 time=26.8 ms > > > > Thanks!! > > Jeremy -- ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adamemery at sbcglobal.net Wed Jun 16 15:02:51 2004 From: adamemery at sbcglobal.net (Adam Emery) Date: Wed, 16 Jun 2004 08:02:51 -0500 Subject: Install Problems Fedora 2 Message-ID: <000001c453a2$3e6e9b60$0208090a@a1> What does your ./configure look like. I just last night got nagios up and running on fedora 2 with the following, obviously you might have to tweak it a litte: ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-msyql-xdata --with-mysql-lib=/usr/local/mysql/lib --with-mysql-inc=/usr/local/mysql/include --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Matt Sent: Tuesday, June 15, 2004 4:50 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Install Problems Fedora 2 Hello, Has anyone tried to install Nagios 1.2 on Fedora 2 yet? Currently I am attempting to do so BUT, I have hit a snag. My Error: make[1]: *** [statusmap.cgi] Error 1 What I have done: 1. Downloaded the latest Nagios package, uploaded and followed the instructions to the "Run the Configure Script" part. 2. Ran Configure script, had the GD problem (no surprise) 3. Went and installed GD and the libraries needed for the image stuff. 4. Re-ran configure script, all was good! 4. Ran Make All 5. Ran into the error above. I have successfully installed Nagios/Netsaint on many different machines (all running some version of Redhat - latest would be RH8) and I have never run into this issue. I am at a loss right now and I hope that someone else has some clues as to what the issue may be? =) -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Jun 16 15:08:16 2004 From: marc at ena.com (Marc Powell) Date: Wed, 16 Jun 2004 08:08:16 -0500 Subject: Nagios/Apache Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B653D@mismail2.ena.com> > -----Original Message----- > From: Andy Harrison [mailto:aharrison at gmail.com] > Sent: Tuesday, June 15, 2004 8:13 PM > To: Jeff Smelser > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios/Apache > > On Tue, 15 Jun 2004 15:56:58 -0500, Jeff Smelser > wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > I used nagios when it was netsaint.. I would like to use it again but I > > couldn't find anywhere if I could run nagios out of one server. My web > server > > would be on a difference server. Would I still be able to see it from > the > > web? > > > > A link of info would be great. googling didn't find anything. > > A web server is not provided, so you'll need to either have apache > installed on that server or export the nagios dir so you can mount it > from the web server. > A side note to this is that if you export the directory via NFS you will not be able to issue external commands to nagios at all; this means any commands through the web interface. The command channel is created as a named pipe which isn't supported over NFS. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartin at gsi-kc.com Wed Jun 16 15:12:38 2004 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Wed, 16 Jun 2004 08:12:38 -0500 Subject: false host down alerts Message-ID: > How do you check, that the host is down. Please copy in your > checkcommands.cfg the > # 'check-host-alive' command definition Here is the command (excuse the wordwrap): define command { command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } So the only difference between that and my check_ping definition is check-host-alive is only doing one ping, check_ping is doing 5 pings. Very strange because when it says HOST DOWN, the separate ping check will be 0% packet loss, so I'd think "-p 1" would work fine. I can do this ok: [jeremy at kgsinm05 etc]# /nagios/libexec/check_ping -H scrubber.gsi-kc.com -w 3000.0,80% -c 5000.0,100% -p 1 PING OK - Packet loss = 0%, RTA = 26.25 ms Maybe there is a better command to use for my check-host-alive? Cheers Jeremy ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giliardo at ufv.br Wed Jun 16 15:21:27 2004 From: giliardo at ufv.br (Giliardo Carlos Freitas) Date: Wed, 16 Jun 2004 10:21:27 -0300 Subject: Plugin check_mssql.sh In-Reply-To: References: Message-ID: <20040616132127.1537.qmail@calipso.cpd.ufv.br> Tom, I solve the problem, but i dont discover the cause of the problem. I change the follows lines in the check_mssql.sh tsqlcmd=`which tsql` catcmd=`which cat` grepcmd=`which grep` rmcmd=`which rm` ... to tsqlcmd="/usr/local/bin/tsql" catcmd=`which cat` grepcmd=`which grep` rmcmd=`which rm` ... When i use tsqlcmd=`which tsql` the variable below that line dont keep ours values(i debuged them), but if i change the line to tsqlcmd="/usr/local/bin/tsql" all variables work fine.Very strange, no? Giliardo Tom Welsh writes: > > > Hi Gillardo, > > Can you post the command line you are using from shell and the output and > also your nagios check_command for your mssql check. > > Cheers > > Tom > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Giliardo > Carlos Freitas > Sent: 15 June 2004 18:57 > To: Tom Welsh > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Plugin check_mssql.sh > > Hi Tom, > > I executed the plugin as nagios user and as root user, both in shell and > both work fine. But in the nagios(web) the script don't work. I pretended > that the variables in the script do not keep our values when the script is > executed in nagios(web). I tried change the permissions, but the problem has > > go on. > > Giliardo > > Tom Welsh writes: > >> Hi Gillardo, >> >> Are you executing the plugin on the command line as the Nagios user? If > not >> that will be why it works one place and not the other. >> >> Cheers >> >> Tom Welsh >> >> >> >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Giliardo >> Carlos Freitas >> Sent: 15 June 2004 14:24 >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Plugin check_mssql.sh >> >> Hello! >> >> I am using puglin check_mssql.sh to verify the status of a MS SqlServer. >> When i execute the plugin in the shell i get the follow message: >> >> >>>> OK - MS SQL Server 2000 has 21 user(s) connected: 9 xxxx, 1 xxxx, 2 xxx, >> 1 sa, 4 xxx, 2 xxxx, 2 xxx. >> >> But in Nagios i get the follow message: >> >> >>>> OK - MS SQL Server 2000 has 0 user(s) connected. >> >> This occur in all servers i tested. In nagios the number of users > connected >> is not correct. Someone can help me? >> >> Giliardo >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.koch at eurodata.de Wed Jun 16 15:25:36 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Wed, 16 Jun 2004 15:25:36 +0200 Subject: false host down alerts In-Reply-To: References: Message-ID: <1087392335.1373.540.camel@dresden.eurodata.de> Set in the check_ping the timeout to 20 seconds. command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 -t 20 your check run in the timeout. Why...!? I hope it was better... Am Mi, den 16.06.2004 schrieb Martin, Jeremy um 15:12: > > How do you check, that the host is down. Please copy in your > > checkcommands.cfg the > > # 'check-host-alive' command definition > > Here is the command (excuse the wordwrap): > > define command { > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c > 5000.0,100% -p 1 > } > > > So the only difference between that and my check_ping definition is > check-host-alive is only doing one ping, check_ping is doing 5 pings. > Very strange because when it says HOST DOWN, the separate ping check > will be 0% packet loss, so I'd think "-p 1" would work fine. > > I can do this ok: > [jeremy at kgsinm05 etc]# /nagios/libexec/check_ping -H scrubber.gsi-kc.com > -w 3000.0,80% -c 5000.0,100% -p 1 > PING OK - Packet loss = 0%, RTA = 26.25 ms > > > Maybe there is a better command to use for my check-host-alive? > > Cheers > Jeremy -- ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Wed Jun 16 15:55:44 2004 From: td3201 at yahoo.com (Terry) Date: Wed, 16 Jun 2004 06:55:44 -0700 (PDT) Subject: service_check_timeout - for particular service Message-ID: <20040616135544.85326.qmail@web60302.mail.yahoo.com> No love here? Any inside knowledge of this functionality would be very cool, thanks! > Hello, > > I run a service which takes a pretty long time to run, > up to 6 minutes at times. Is there a way to set a > service_check_timeout for that service only? I am > only seeing it being available for all services. > Thanks for the help! ===== Terry __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at yahoo.com Wed Jun 16 15:49:07 2004 From: td3201 at yahoo.com (Terry) Date: Wed, 16 Jun 2004 06:49:07 -0700 (PDT) Subject: service_check_timeout - for particular service Message-ID: <20040616134907.76309.qmail@web60305.mail.yahoo.com> No love here? Any inside knowledge of this functionality would be very cool, thanks! > Hello, > > I run a service which takes a pretty long time to run, > up to 6 minutes at times. Is there a way to set a > service_check_timeout for that service only? I am > only seeing it being available for all services. > Thanks for the help! ===== Terry __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KMueller at netsuite.com Wed Jun 16 15:49:09 2004 From: KMueller at netsuite.com (Mueller, Karl) Date: Wed, 16 Jun 2004 06:49:09 -0700 Subject: Servicedependicy problem Message-ID: <3A83D9BECDDF58468F068F6CA1C36AB957C517@corpmail.corp.netledger.com> (You didnt send the full email, which in this case is OK, but in future emails, send more :) ) (Free hint) Try setting switch1 and switch2 as having a 'parent' of router (in the host definitions) instead of a host dependency. That's separate from your problem, though. The problem is: you need notification_failure_criteria set to 'c,u,w', not 'n'. >From the documentation: If you specify n (none) as an option, the notification dependency will never fail and notifications for the dependent service will always be sent out. Karl -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of MiikaT Sent: Wednesday, June 16, 2004 1:12 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Servicedependicy problem Hi, I've set following dependencies to a few hosts: define servicedependency{ host_name router service_description PING dependent_host_name switch1,switch2 dependent_service_description * execution_failure_criteria w,u,c ; These are the criteria for which check execution will be supressed notification_failure_criteria n ; These are the criteria for which notifications will be supressed } define hostdependency{ host_name router dependent_host_name switch1,switch2 notification_failure_criteria d,u } The goal is that I don't want to get any alerts from hosts switch1 and switch2, if router is down or critical. With this configuration, if router is critical, I get this alert: State: CRITICAL Date/Time: Wed Jun 16 10:58:15 EEST 2004 Additional Info: CRITICAL - Plugin timed out after 10 seconds and the same alert for both switch1 and switch2. Have I missed something in the depency configuration? -MiikaT ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flakmagnet at tabletop-battlezone.com Wed Jun 16 15:53:59 2004 From: flakmagnet at tabletop-battlezone.com (Flak Magnet) Date: Wed, 16 Jun 2004 09:53:59 -0400 Subject: "Cost" of Nagios Message-ID: <40D050F7.5000201@tabletop-battlezone.com> Part of my employer's employee review process includes a requirement to submit, in writing a continuous improvment suggestion, something that basically improves efficience in some way. The implementation of Nagios definitely fits the bill as an improvment over our network monitoring prior to Nagios was our users. (*Ring* Hey, I can't check my email!) I'm just having trouble trying to quantify the savings... Does anybody here pay for (or charge for) a Nagios installation? I figure if I can get an idea of what Nagios costs to implement, then I can base my continuous improvment paperwork on that... (Considering the time that CI takes in a given year, a CI has already been submitted to do away with the CI process entirely... It was rejected by the people who were hired specifically to run our CI process... go figure) -- --Tim "I'm gonna need you to go ahead and come in on Sunday, m'kay?" -- Office Space ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Wed Jun 16 16:01:01 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 16 Jun 2004 07:01:01 -0700 Subject: false host down alerts In-Reply-To: <1087392335.1373.540.camel@dresden.eurodata.de> References: <1087392335.1373.540.camel@dresden.eurodata.de> Message-ID: --On Wednesday, June 16, 2004 3:25 PM +0200 Andreas Koch wrote: > Set in the check_ping the timeout to 20 seconds. > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c > 5000.0,100% -p 1 -t 20 > > your check run in the timeout. Why...!? I've seen this happen when the server running the checks was not powerful/fast enough to keep up with all the checks that needed to be processed. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfountain at rbinc.com Wed Jun 16 16:01:06 2004 From: jfountain at rbinc.com (Jennifer Fountain) Date: Wed, 16 Jun 2004 10:01:06 -0400 Subject: Apache/Nagios issue Message-ID: <263BA4045D3FA84D9C1B09F5F959B9B602A6AE8E@picasso.rb.net> Hi all: I am not sure what is going on but when I changed the password of a user, I get the following error: Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. If you think this is a server error, please contact the webmaster This is the command I used: htpasswd /usr/local/nagios/share/.htaccess user1 Can anyone shed any light as to what is going on? Thanks for your help! Kind Regards, Jennifer Fountain R&B Inc 3400 E Walnut Street Colmar, PA 18915 ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 16 16:15:58 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 16 Jun 2004 16:15:58 +0200 Subject: Notification inconsistences In-Reply-To: <1087322806.1380.19.camel@localhost.localdomain> References: <1087322806.1380.19.camel@localhost.localdomain> Message-ID: <40D0561E.6030005@op5.se> [ regarding DOWN alerts when child is checked before parent ] Horvath Tamas wrote: > Thank you Andreas! > > These situations happens very rarely so I can leave with them until your > new code will be finished. > > Is this will be part of Nagios 2.0? > I don't know. What I will do is write a plugin that is capable of performing several check-host-alive thingies in a parallellized manner, thus moving *some* of the logic for it out of Nagios. For this to work, Nagios needs to be modified slightly, so that the following rules can be used with the plugin. 1. The plugin should check a host by ping AND tcp-connectivity. 2. The plugin should never return non-zero due to its own internal workings. 3. The plugin should be able to determine which host is 'first' in the chain. 4. The plugin should only report down for the first host that actually IS down in a chain. For rule 3 above to work, Nagios needs to be modified somewhat. This is Ethan's job, so I can't really say when (or even if) it will make it in. I'll write to him right away though, and offer to fix this up. > Bye, Tamas! > Ciao. -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Wed Jun 16 16:31:50 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 16 Jun 2004 16:31:50 +0200 Subject: Restart Windows Service if down... Message-ID: <90D32590BAD135448DC12C1EA3EB448210B0BF@epsewr01.ewrlan.ewr.int> Hello! Anyone knows if it?s possible to start or restart services in windows if some service runs into failure?? Thanks for your help! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfountain at rbinc.com Wed Jun 16 16:46:17 2004 From: jfountain at rbinc.com (Jennifer Fountain) Date: Wed, 16 Jun 2004 10:46:17 -0400 Subject: Apache/Nagios issue Message-ID: <263BA4045D3FA84D9C1B09F5F959B9B602A6AF01@picasso.rb.net> Disregard this email. User error. Sorry! > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Jennifer Fountain > Sent: Wednesday, June 16, 2004 10:01 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Apache/Nagios issue > Sensitivity: Private > > Hi all: > > I am not sure what is going on but when I changed the > password of a user, I get the following error: > > Server error! > The server encountered an internal error and was unable to > complete your request. Either the server is overloaded or > there was an error in a CGI script. > If you think this is a server error, please contact the webmaster > > This is the command I used: > > htpasswd /usr/local/nagios/share/.htaccess user1 > > Can anyone shed any light as to what is going on? > > Thanks for your help! > > Kind Regards, > > Jennifer Fountain > R&B Inc > 3400 E Walnut Street > Colmar, PA 18915 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) > Conference Learn from the experts at JavaOne(SM), Sun's > Worldwide Java Developer Conference, June 28 - July 1 at the > Moscone Center in San Francisco, CA REGISTER AND SAVE! > http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 17:04:58 2004 From: marc at ena.com (Marc Powell) Date: Wed, 16 Jun 2004 10:04:58 -0500 Subject: Apache/Nagios issue Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6543@mismail2.ena.com> Jennifer Fountain wrote: > Hi all: > > I am not sure what is going on but when I changed the password of a > user, I get the following error: > > Server error! > The server encountered an internal error and was unable to complete > your request. Either the server is overloaded or there was an error > in a CGI script. > If you think this is a server error, please contact the webmaster > > This is the command I used: > > htpasswd /usr/local/nagios/share/.htaccess user1 > > Can anyone shed any light as to what is going on? That's an apache error message and your apache error log _should_ contain more information detailing the exact nature of the problem. We could speculate all day on the reason but your logs will be more helpful. It could be permissions, it could be an apache misconfiguration or it could be that there is truly an error in the page, whatever it may be, that you are trying to access. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 17:13:42 2004 From: marc at ena.com (Marc Powell) Date: Wed, 16 Jun 2004 10:13:42 -0500 Subject: "Cost" of Nagios Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6545@mismail2.ena.com> Flak Magnet wrote: > Part of my employer's employee review process includes a requirement > to submit, in writing a continuous improvment suggestion, something > that basically improves efficience in some way. > > The implementation of Nagios definitely fits the bill as an > improvment over our network monitoring prior to Nagios was our users. > (*Ring* Hey, I can't check my email!) I'm just having trouble trying > to quantify the savings... > > Does anybody here pay for (or charge for) a Nagios installation? I > figure if I can get an idea of what Nagios costs to implement, then I > can base my continuous improvment paperwork on that... > This might be a good place to start - http://nagios.org/contractsupport/ -- Marc ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Wed Jun 16 17:10:52 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 16 Jun 2004 16:10:52 +0100 Subject: check_ntp In-Reply-To: References: <40CDD3AF.5010707@lssi.net> <20040614180209.26453.qmail@minnow.softflare.net> <20040615112827.25732.qmail@minnow.softflare.net> Message-ID: <20040616151053.5318.qmail@minnow.softflare.net> Leif Nixon writes: > You are confusing me with somebody else. Sorry. > I just jumped into the thread and pointed out that check_ntp is strange. The check for an offset of 0 was probably intended to catch stratum 0, and the five minutes or so after a restart while it's synching. > I'm talking about my systems, which check_ntp used to send alerts for > even when they worked perfectly, just because offset happened to hit > 0.000. I suppose it can happen. In which case it would probably be a good idea to modify the if statement to unless ($offset or $stratum < 10) assuming you fall back to stratum 10 when unsynched. You might want to do additional checking if you are really paranoid and think the offset might be non-zero for any significant length of time when at stratum 0. I'd hesitate to recommend that change go into the CVS because some people may not want to be alerted if NTP isn't synched. After all, if you're using the local clock against a drift file it should stay reasonably accurate for a long time, and if it doesn't your offset check will catch it. OTOH, some people would want to know immediately if there is no synch to external sources. So perhaps a better fix would be to add warning and critical checks for the stratum, with no stratum check performed unless one or both of those were specified as options. Then if you want immediate notification about being loss of synch you could add -s 1:9 -t 3 to flag a warning if you drop below stratum 3 and flag critical if you drop below stratum 9. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Wed Jun 16 17:14:30 2004 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CGEY Contractor for Sprint]) Date: Wed, 16 Jun 2004 10:14:30 -0500 Subject: Restart Windows Service if down... Message-ID: <516DA7BE5D87C8469D89F150CA0B491106639A1E@PDAWB02C.ad.sprint.com> The only way I've been able to do it is to have something on the Windows box that you can call from Nagios and pass the service name to restart. I have a daemon that is written in Perl that runs on our Windows boxes and we just call that using an Event Handler script. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Wengrzik, Andreas Sent: Wednesday, June 16, 2004 9:32 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Restart Windows Service if down... Hello! Anyone knows if it?s possible to start or restart services in windows if some service runs into failure?? Thanks for your help! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Wed Jun 16 17:12:08 2004 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Wed, 16 Jun 2004 10:12:08 -0500 Subject: NSClient & Exchange Message-ID: >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users->admin at lists.sourceforge.net] On Behalf Of Jason Martin >Sent: Tuesday, June 15, 2004 3:55 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] NSClient & Exchange > > >Is anyone using NSClient on a MS Exchange server? I'm looking to collect a >few affirmations that NSClient hasn't broken other Exchange installations >to support a proposal to install it here. > >Thanks, >- -Jason Martin I have had nsclient on two Exchange 2k servers for a couple of years without any problems or conflicts. Tim Van Zee ITS Network Specialist ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason.payne at iland.com Wed Jun 16 17:14:22 2004 From: jason.payne at iland.com (Jason Payne - iland Internet Solutions) Date: Wed, 16 Jun 2004 10:14:22 -0500 Subject: Additional Column in Service Details Message-ID: <7A626FF425518246801C933014AA98F021B8CA@hou-ex01.ihtx.iland.com> Hello. I was wondering if there is a simple way to add an additional column to the Service Detail table. Specifically, a column with the ip address for the host that the service being checked is associated with, or perhaps an addendum to the hostname on the far left like "Host - 192.168.0.1". Best Regards, Jason Payne 273 hosts and counting! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Wed Jun 16 18:42:06 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 16 Jun 2004 11:42:06 -0500 (CDT) Subject: Host/Hostgroup Commands Message-ID: I use the host command "Schedule an immediate check of all services on this host" all the time. So much so that I am looking for a hostgroup equivalent "Schedule an immediate check of all services in this hostgroup." Does anyone else think this is a good idea? I know it is a BFH but thats what I need. Thanks. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Wed Jun 16 19:26:29 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Wed, 16 Jun 2004 13:26:29 -0400 Subject: Additional Column in Service Details In-Reply-To: <7A626FF425518246801C933014AA98F021B8CA@hou-ex01.ihtx.iland.com> References: <7A626FF425518246801C933014AA98F021B8CA@hou-ex01.ihtx.iland.com> Message-ID: <1087406789.4358.24.camel@pel> On Wed, 2004-06-16 at 11:14, Jason Payne - iland Internet Solutions wrote: > Hello. > I was wondering if there is a simple way to add an additional column to the Service Detail table. Specifically, a column with the ip address for the host that the service being checked is associated with, or perhaps an addendum to the hostname on the far left like "Host - 192.168.0.1". > Best Regards, > Jason Payne > 273 hosts and counting! Do your hosts not resolve in DNS? If for some reason they don't, maybe you can add the IP as a comment in the extended host info. Adding more data like that is a waste of space, especially when most people use hostnames that resolve in DNS. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From porus at sgi.com Wed Jun 16 19:39:08 2004 From: porus at sgi.com (Porus Lakdawala) Date: Wed, 16 Jun 2004 10:39:08 -0700 Subject: NSClient & Exchange Message-ID: We are running NSClient (v1.0.7.1) on multiple (20+) Exchange 5.5 servers for over a year at SGI. No sweat. Porus Lakdawala. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of VanZee, Timothy > Sent: Wednesday, June 16, 2004 8:12 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NSClient & Exchange > > > >-----Original Message----- > >From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users->admin at lists.sourceforge.net] On Behalf Of Jason > Martin > >Sent: Tuesday, June 15, 2004 3:55 PM > >To: nagios-users at lists.sourceforge.net > >Subject: [Nagios-users] NSClient & Exchange > > > > > >Is anyone using NSClient on a MS Exchange server? I'm looking to > collect a > >few affirmations that NSClient hasn't broken other Exchange > installations > >to support a proposal to install it here. > > > >Thanks, > >- -Jason Martin > > > I have had nsclient on two Exchange 2k servers for a couple of years > without any problems or conflicts. > > > Tim Van Zee > ITS Network Specialist > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San > Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority > Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Wed Jun 16 20:41:36 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 16 Jun 2004 20:41:36 +0200 Subject: Traceroute via WAP Message-ID: <1087411296.1337.13.camel@localhost.localdomain> Hi Everbody! I've tested the WAP interface of my Nagios (v1.1 on Debian 2.4.18). Almost everything was ok, except traceroute. It didn't give me any output. I've used two different WAP browsers from my PC for the tests. The results wer the same:( Does traceroute work in the real life or does anybody have such a bad experience too? I don't want to make Nagios accessible from the public world until this doesn't work correctly. Thank you very much any reply. Tamas! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Wed Jun 16 20:56:08 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 16 Jun 2004 20:56:08 +0200 Subject: Access the Nagios web interface from the Internet? In-Reply-To: References: <1087325029.1379.40.camel@localhost.localdomain> Message-ID: <1087412168.1337.30.camel@localhost.localdomain> Thank you the info. I don't know too much about ssh tunnel, but it seems to me very interesting. However I've find an Apache-ssl Debian package,so I'm goint to back up my system first, then upgrade my Apache to this ssl capable variant. After that I hope the system will work just as now, but via HTTPS. Thanks everybody who helps me! Tamas! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Wed Jun 16 21:14:27 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 16 Jun 2004 15:14:27 -0400 Subject: "Cost" of Nagios Message-ID: The larger part of your calculation is going to be figuring out how long it takes to get things in Nagios. If you have a contractor come out there and pound on it, it might be really quick. If you have to do it yourself in between your other tasks, it make take you weeks or months (like me!) simply because there's so much to add, document, and figure out parent/child relationships. On the benefits side, I can tell you that without a doubt, you will have a crapload more, in quantity and quality, of documentation on your network. Some of the time/money you dump into getting it set up has a direct payoff because of this. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 > -----Original Message----- > From: Flak Magnet [mailto:flakmagnet at tabletop-battlezone.com] > Sent: Wednesday, June 16, 2004 9:54 AM > To: nagios_list > Subject: [Nagios-users] "Cost" of Nagios > > > Part of my employer's employee review process includes a > requirement to > submit, in writing a continuous improvment suggestion, something that > basically improves efficience in some way. > > The implementation of Nagios definitely fits the bill as an > improvment > over our network monitoring prior to Nagios was our users. (*Ring* > Hey, I can't check my email!) I'm just having trouble trying to > quantify the savings... > > Does anybody here pay for (or charge for) a Nagios installation? I > figure if I can get an idea of what Nagios costs to implement, then I > can base my continuous improvment paperwork on that... > > (Considering the time that CI takes in a given year, a CI has already > been submitted to do away with the CI process entirely... It was > rejected by the people who were hired specifically to run our CI > process... go figure) > > -- > > --Tim > "I'm gonna need you to go ahead and come in on Sunday, > m'kay?" -- Office > Space > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) > Conference Learn from the experts at JavaOne(SM), Sun's > Worldwide Java Developer Conference, June 28 - July 1 at the > Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Valdes at flamenconetworks.com Wed Jun 16 21:55:26 2004 From: Tom.Valdes at flamenconetworks.com (Tom Valdes) Date: Wed, 16 Jun 2004 15:55:26 -0400 Subject: Service checks and retry check interval Message-ID: <662B1A0727FAB64F9A9C34BAFF31E1CA3C6323@telluride.flamenconetworks.com> I currently have my normal_check_interval set to 5 minutes If a service check is missed, I'd like it to retry 5 times before sending a notification and I'd like the retry interval to be 1 minute. (can it be less? Like 10 seconds?) I've tried adding the following to services.cfg max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 Shouldn't this retry a failed check every minute for 5 tries before sending a notification? Using a test server, I pull the plug and Nagios catches the 100% ping loss but if I plug it back in as soon as it notices, Nagios emails me right away and doesn't return an Up state for another 5 minutes? The following is what I receive on the status screen.. It shows a State Type: HARD.. Shouldn't it be in a SOFT state until it completes the max_check_attempts? Current Status: CRITICAL Status Information:FPING CRITICAL - 192.168.100.21 (loss=100.000000% ) Current Attempt:1/10 State Type:HARD Last Check Type:ACTIVE Last Check Time:06-16-2004 15:38:06 Status Data Age: 0d 0h 0m 53s Next Scheduled Active Check: 06-16-2004 15:43:06 Latency:2 seconds Check Duration:< 1 second Last State Change:06-16-2004 15:38:16 Current State Duration: 0d 0h 0m 43s Last Service Notification:N/A Current Notification Number:0 Is This Service Flapping? NO Percent State Change:6.25% In Scheduled Downtime? NO Last Update:06-16-2004 15:38:56 Thanks, tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Wed Jun 16 22:15:30 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 16 Jun 2004 13:15:30 -0700 (PDT) Subject: Service checks and retry check interval In-Reply-To: <662B1A0727FAB64F9A9C34BAFF31E1CA3C6323@telluride.flamenconetworks.com> References: <662B1A0727FAB64F9A9C34BAFF31E1CA3C6323@telluride.flamenconetworks.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 By any chance is the service set to be volatile? That might account for the behavior you are seeing. - -Jason Martin On Wed, 16 Jun 2004, Tom Valdes wrote: > I currently have my normal_check_interval set to 5 minutes > > If a service check is missed, I'd like it to retry 5 times before > sending a notification and I'd like the retry interval to be 1 minute. > (can it be less? Like 10 seconds?) > > > > I've tried adding the following to services.cfg > > max_check_attempts 5 > > normal_check_interval 5 > > retry_check_interval 1 > > > > Shouldn't this retry a failed check every minute for 5 tries before > sending a notification? > > > > Using a test server, I pull the plug and Nagios catches the 100% ping > loss but if I plug it back in as soon as it notices, Nagios emails me > right away and doesn't return an Up state for another 5 minutes? > > > > The following is what I receive on the status screen.. It shows a State > Type: HARD.. Shouldn't it be in a SOFT state until it completes the > max_check_attempts? > > > > Current Status: CRITICAL > > Status Information:FPING CRITICAL - 192.168.100.21 (loss=100.000000% ) > > Current Attempt:1/10 > > State Type:HARD > > Last Check Type:ACTIVE > > Last Check Time:06-16-2004 15:38:06 > > Status Data Age: 0d 0h 0m 53s > > Next Scheduled Active Check: 06-16-2004 15:43:06 > > Latency:2 seconds > > Check Duration:< 1 second > > Last State Change:06-16-2004 15:38:16 > > Current State Duration: 0d 0h 0m 43s > > Last Service Notification:N/A > > Current Notification Number:0 > > Is This Service Flapping? NO > > Percent State Change:6.25% > > In Scheduled Downtime? NO > > Last Update:06-16-2004 15:38:56 > > > > Thanks, > > tom > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFA0Kpxl2ODWuqVSBMRAka1AKCQjZPn/9L8eB3iX68pMsybqErI6QCgkXAs cqkAqwqvQubzdkiw54S6vdM= =lbhH -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Wed Jun 16 22:55:55 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 17 Jun 2004 08:55:55 +1200 Subject: NSClient & Exchange In-Reply-To: References: Message-ID: <01ed01c453e4$51993320$b004d882@itss.auckland.ac.nz> >>Is anyone using NSClient on a MS Exchange server? I'm looking to >collect a >>few affirmations that NSClient hasn't broken other Exchange >installations >>to support a proposal to install it here. We are using it here, on two Exchange servers, one of them very heavily loaded. No problems yet, except that you might want to make sure Exchange is configured to use higher numbered ports only (eg, >10240). By default, exchange starts grabbing ports at 1025 and upwards, so on a busy server it will likely already be using the NSClient port (not a problem when the machine boots up, though, only if the nsclient service is stopped and restarted). We had to make this change, and restart, in order to install NSClient here since the port was already in use. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From MG at ev3.net Wed Jun 16 22:51:49 2004 From: MG at ev3.net (Wheeler, MG) Date: Wed, 16 Jun 2004 15:51:49 -0500 Subject: Host is down but there aren't any further alerts Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030D89@mail.ev3.net> Ok, now I'm really getting frustrated! I got my server sending more that one notification for a given host. Wasn't sure which one of the many things I changed (but documented the changes) had fixed it so I was backing them out one at a time. Inbetween each time I was restarting Nagios. Now I have backed them all out and it seems to continue to work and still page more than once for any given host! I wish I had better news for you others that can't get it working. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Quanah Gibson-Mount Sent: Tuesday, June 15, 2004 3:07 PM To: Andreas Ericsson; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Host is down but there aren't any further alerts --On Monday, June 14, 2004 2:29 PM -0700 Quanah Gibson-Mount wrote: > > > --On Monday, June 14, 2004 10:19 PM +0200 Andreas Ericsson > wrote: > >> >> Read up on notification_interval and escalations. It's all well >> documented. > > 1) We don't use escalations. > 2) The notification interval is just fine. I emailed my config before, > no one here saw any issues with it. And there have been plenty of people > who see this issue, and I have yet to see a *single response* that > addresses a fix to the problem. define host { name ldap-host-template check_command check-host-alive max_check_attempts 2 notification_interval 30 notification_period 24x7 notification_options d,u,r register 0 } As I read that, when the host goes down, check twice. After that, notify. Continue notifying every 30 minutes, 24 hours a day 7 days a week. I'd be happy to know if I'm mistaken. It certainly does the first notification -- just never follows up. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _____________________________________________________________________ Message scanned for viruses _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Wed Jun 16 23:20:54 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 16 Jun 2004 14:20:54 -0700 Subject: "Cost" of Nagios In-Reply-To: References: Message-ID: <3A65A5132145E62B942085BB@cadabra.stanford.edu> --On Wednesday, June 16, 2004 3:14 PM -0400 Robert Nelson wrote: > The larger part of your calculation is going to be figuring out how long > it takes to get things in Nagios. If you have a contractor come out > there and pound on it, it might be really quick. If you have to do it > yourself in between your other tasks, it make take you weeks or months > (like me!) simply because there's so much to add, document, and figure > out parent/child relationships. > > On the benefits side, I can tell you that without a doubt, you will have > a crapload more, in quantity and quality, of documentation on your > network. Some of the time/money you dump into getting it set up has a > direct payoff because of this. Hm... the use of templates minimizes a lot of that, and is quite useful. I generally contrast it to the cost of *not having monitoring*, which I think is a lot higher. ;) --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Wed Jun 16 23:21:47 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 16 Jun 2004 14:21:47 -0700 Subject: Host is down but there aren't any further alerts In-Reply-To: <2F29C1E275BF4F4E9DCAE48033A00B9D01030D89@mail.ev3.net> References: <2F29C1E275BF4F4E9DCAE48033A00B9D01030D89@mail.ev3.net> Message-ID: --On Wednesday, June 16, 2004 3:51 PM -0500 "Wheeler, MG" wrote: > Ok, now I'm really getting frustrated! > > I got my server sending more that one notification for a given host. > Wasn't sure which one of the many things I changed (but documented the > changes) had fixed it so I was backing them out one at a time. Inbetween > each time I was restarting Nagios. Now I have backed them all out and it > seems to continue to work and still page more than once for any given > host! I wish I had better news for you others that can't get it working. Maybe it depends on which way the wind was blowing at start time...? ;) --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Wed Jun 16 23:31:36 2004 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 16 Jun 2004 14:31:36 -0700 (PDT) Subject: "Cost" of Nagios In-Reply-To: <3A65A5132145E62B942085BB@cadabra.stanford.edu> References: <3A65A5132145E62B942085BB@cadabra.stanford.edu> Message-ID: <20040616213136.63847.qmail@web60802.mail.yahoo.com> Or the fact that when you first hear about a problem from the users, it makes your entire dept look like it doesn't know what's going on... :) --- Quanah Gibson-Mount wrote: > > > --On Wednesday, June 16, 2004 3:14 PM -0400 Robert > Nelson > wrote: > > > The larger part of your calculation is going to be > figuring out how long > > it takes to get things in Nagios. If you have a > contractor come out > > there and pound on it, it might be really quick. > If you have to do it > > yourself in between your other tasks, it make take > you weeks or months > > (like me!) simply because there's so much to add, > document, and figure > > out parent/child relationships. > > > > On the benefits side, I can tell you that without > a doubt, you will have > > a crapload more, in quantity and quality, of > documentation on your > > network. Some of the time/money you dump into > getting it set up has a > > direct payoff because of this. > > Hm... the use of templates minimizes a lot of that, > and is quite useful. I > generally contrast it to the cost of *not having > monitoring*, which I think > is a lot higher. ;) > > --Quanah > > > -- > Quanah Gibson-Mount > Principal Software Developer > ITSS/Shared Services > Stanford University > GnuPG Public Key: > http://www.stanford.edu/~quanah/pgp.html > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 > JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's > Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center > in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf > Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 23:42:55 2004 From: marc at ena.com (Marc Powell) Date: Wed, 16 Jun 2004 16:42:55 -0500 Subject: Service checks and retry check interval Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B655A@mismail2.ena.com> ________________________________ >From: Tom Valdes [mailto:Tom.Valdes at flamenconetworks.com] >Sent: Wednesday, June 16, 2004 2:55 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Service checks and retry check interval > I currently have my normal_check_interval set to 5 minutes > If a service check is missed, I'd like it to retry 5 > times before sending a notification and I'd like the > retry interval to be 1 minute. (can it be less? > Like 10 seconds?) >I've tried adding the following to services.cfg > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 1 I presume this is for the service definition. Can we see the complete definition? > Shouldn't this retry a failed check every minute > for 5 tries before sending a notification? For the service above under normal circumstances, yes. I use 5,5,3 to delay notifications by ~15 minutes. > Using a test server, I pull the plug and Nagios > catches the 100% ping loss but if I plug it back > in as soon as it notices, Nagios emails me right > away and doesn't return an Up state for another > 5 minutes? For the service or the host? See below. > The following is what I receive on the status > screen.. It shows a State Type: HARD.. Shouldn't > it be in a SOFT state until it completes the > max_check_attempts? > Current Status: CRITICAL > Status Information:FPING CRITICAL - 192.168.100.21 (loss=100.000000% ) > Current Attempt:1/10 Why is max attempts showing 10 here if it's defined as 5 above? Did you restart nagios after making the change? Do you have multiple nagios processing running? There is a special situation that results when you just 'pull the plug' on a machine you're monitoring. The service check will of course fail on the first attempt. Nagios will then attempt to check the status of the host using the host check_command. It will do this exclusively until max_check_attempts defined for the host is reached and will not attempt to recheck the status of the service if the host is determined to be down or unreachable. At that point nagios will attempt to send a HOST down notification which may be what you are seeing. Because of this special situation, your retry_check_interval for the service has no meaning. AFAIK, nagios just falls back to normal_check_interval until one or more services on the host recovers (and the host by inference). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smitchell at slumberland.com Thu Jun 17 00:09:04 2004 From: smitchell at slumberland.com (Seth Mitchell) Date: Wed, 16 Jun 2004 17:09:04 -0500 Subject: "Cost" of Nagios Message-ID: Yeah - use the templates and shortcuts (e.g., HOSTGROUP_NAME instead of host names, for services), and possibly use things like merges (mail merge) to generate the definitions for the things you can't use shortcuts for, and it will be a snap. This product blows all equivalent retail products out of the water, IMHO. If anything, the configuration requirements are lower. -Seth -----Original Message----- From: Quanah Gibson-Mount [mailto:quanah at stanford.edu] Sent: Wednesday, June 16, 2004 4:21 PM To: nagios_list Subject: RE: [Nagios-users] "Cost" of Nagios --On Wednesday, June 16, 2004 3:14 PM -0400 Robert Nelson wrote: > The larger part of your calculation is going to be figuring out how > long it takes to get things in Nagios. If you have a contractor come > out there and pound on it, it might be really quick. If you have to do > it yourself in between your other tasks, it make take you weeks or > months (like me!) simply because there's so much to add, document, and > figure out parent/child relationships. > > On the benefits side, I can tell you that without a doubt, you will > have a crapload more, in quantity and quality, of documentation on > your network. Some of the time/money you dump into getting it set up > has a direct payoff because of this. Hm... the use of templates minimizes a lot of that, and is quite useful. I generally contrast it to the cost of *not having monitoring*, which I think is a lot higher. ;) --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ________________________________________________________________________ This email has been scanned for viruses by the MessageLabs Email Security System. For more information, contact IT. ________________________________________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Murat.Kuru at comfone.com Thu Jun 17 00:42:02 2004 From: Murat.Kuru at comfone.com (Kuru Murat) Date: Thu, 17 Jun 2004 00:42:02 +0200 Subject: example check_oracle --tablespce Message-ID: <81B2B4AE03A22D4490CD35A0F20F89E01D0A88@thsvml00.togewa.com> Hi All, Can someone post an example on how to use check_oracle --tablespce. It returns always UNKNOWN - Warning level is more then Crit Thank you. Murat Kuru _______________________________________________________________ Comfone Ltd. mailto:sysadmin at comfone.com Murat Kuru Tel: +41 31 341 1414 Systems Analyst Fax: +41 31 341 1455 a TOGEWA group company visit our homepage: www.comfone.com _______________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.Valdes at flamenconetworks.com Thu Jun 17 01:24:45 2004 From: Tom.Valdes at flamenconetworks.com (Tom Valdes) Date: Wed, 16 Jun 2004 19:24:45 -0400 Subject: Service checks and retry check interval Message-ID: <662B1A0727FAB64F9A9C34BAFF31E1CA5A11@telluride.flamenconetworks.com> I had changed the 10 retries to 5 after I grabbed the copy of the status. I did reload Nagios so that's just an old capture. I think I understand what you mean about performing the host check and bypassing a service check, but it seems a retry_check_interval value is not allowed in the hosts.cfg ---------------services.cfg------------------ -------------------------------------------------- define service{ use generic-service ; Name of service template to use host_name Test-Server service_description PING is_volatile 0 check_period workhours max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 contact_groups test-contact notification_interval 960 notification_period workhours notification_options c,r check_command check_fping!50%!100% } -------------------------------------------------- ------------------hosts.cfg------------------- define host{ use generic-host ; Name of host template to use parents switch1 host_name Test-Server alias TestServer address 10.0.0.21 check_command check-host-alive max_check_attempts 5 notification_interval 30 notification_period 24x7 notification_options d,u,r } ---------------------------------------------------- ________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of Marc Powell Sent: Wed 6/16/2004 5:42 PM To: Tom Valdes; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Service checks and retry check interval ________________________________ >From: Tom Valdes [mailto:Tom.Valdes at flamenconetworks.com] >Sent: Wednesday, June 16, 2004 2:55 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Service checks and retry check interval > I currently have my normal_check_interval set to 5 minutes > If a service check is missed, I'd like it to retry 5 > times before sending a notification and I'd like the > retry interval to be 1 minute. (can it be less? > Like 10 seconds?) >I've tried adding the following to services.cfg > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 1 I presume this is for the service definition. Can we see the complete definition? > Shouldn't this retry a failed check every minute > for 5 tries before sending a notification? For the service above under normal circumstances, yes. I use 5,5,3 to delay notifications by ~15 minutes. > Using a test server, I pull the plug and Nagios > catches the 100% ping loss but if I plug it back > in as soon as it notices, Nagios emails me right > away and doesn't return an Up state for another > 5 minutes? For the service or the host? See below. > The following is what I receive on the status > screen.. It shows a State Type: HARD.. Shouldn't > it be in a SOFT state until it completes the > max_check_attempts? > Current Status: CRITICAL > Status Information:FPING CRITICAL - 192.168.100.21 (loss=100.000000% ) > Current Attempt:1/10 Why is max attempts showing 10 here if it's defined as 5 above? Did you restart nagios after making the change? Do you have multiple nagios processing running? There is a special situation that results when you just 'pull the plug' on a machine you're monitoring. The service check will of course fail on the first attempt. Nagios will then attempt to check the status of the host using the host check_command. It will do this exclusively until max_check_attempts defined for the host is reached and will not attempt to recheck the status of the service if the host is determined to be down or unreachable. At that point nagios will attempt to send a HOST down notification which may be what you are seeing. Because of this special situation, your retry_check_interval for the service has no meaning. AFAIK, nagios just falls back to normal_check_interval until one or more services on the host recovers (and the host by inference). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Jun 17 01:38:20 2004 From: marc at ena.com (Marc Powell) Date: Wed, 16 Jun 2004 18:38:20 -0500 Subject: Service checks and retry check interval Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B655B@mismail2.ena.com> That is correct and by design. Nagios must determine the status of a questionable host before it does anything else. If it didn't, the dependency and network reachability logic could be flawed as well as sending out spurious alerts for services on a host that is down when they really should be suppressed (http://nagios.sourceforge.net/docs/1_0/networkreachability.html and the Host Checks section of http://nagios.sourceforge.net/docs/1_0/checkscheduling.html). -- Marc p.s. Please post to the list in plain text format. It makes it much, much easier to reply with proper quoting and you're going to reach a much larger audience who can help you. ________________________________________ From: Tom Valdes [mailto:Tom.Valdes at flamenconetworks.com] Sent: Wednesday, June 16, 2004 6:25 PM To: Marc Powell; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Service checks and retry check interval I had changed the 10 retries to 5 after I grabbed the copy of the status.? I did reload Nagios so that's just an old capture. I think I understand what you mean about performing the host check and bypassing a service check, but it seems?a retry_check_interval?value is not allowed in the hosts.cfg????????? ? ---------------services.cfg------------------ -------------------------------------------------- define service{ ??????? use???????????????????????????? generic-service???????? ; Name of service template to use ??????? host_name???????????????????????Test-Server ??????? service_description???????????? PING ??????? is_volatile???????????????????? 0 ??????? check_period??????????????????? workhours ??????? max_check_attempts??????????????5 ??????? normal_check_interval?????????? 5 ??????? retry_check_interval??????????? 1 ??????? contact_groups????????????????? test-contact ??????? notification_interval?????????? 960 ??????? notification_period???????????? workhours ??????? notification_options??????????? c,r ??????? check_command?????????????????? check_fping!50%!100% ??????? } -------------------------------------------------- ------------------hosts.cfg------------------- define host{ ??????? use???????????????????? generic-host??????????? ; Name of host template to use ??????? parents?????????????????switch1 ??????? host_name??????????Test-Server ??????? alias?????????????????? TestServer ??????? address???????????????? 10.0.0.21 ??????? check_command?????????? check-host-alive ??????? max_check_attempts????? 5 ??????? notification_interval?? 30 ??????? notification_period???? 24x7 ??????? notification_options??? d,u,r ??????? } ---------------------------------------------------- ________________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of Marc Powell Sent: Wed 6/16/2004 5:42 PM To: Tom Valdes; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Service checks and retry check interval ________________________________ >From: Tom Valdes [mailto:Tom.Valdes at flamenconetworks.com] >Sent: Wednesday, June 16, 2004 2:55 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Service checks and retry check interval > I currently have my normal_check_interval set to 5 minutes > If a service check is missed, I'd like it to retry 5 > times before sending a notification and I'd like the > retry interval to be 1 minute.? (can it be less?? > Like 10 seconds?) >I've tried adding the following to services.cfg >??????? max_check_attempts???????? 5 >??????? normal_check_interval??????? 5 >??????? retry_check_interval?????????? 1 I presume this is for the service definition. Can we see the complete definition? > Shouldn't this retry a failed check every minute > for 5 tries before sending a notification? For the service above under normal circumstances, yes. I use 5,5,3 to delay notifications by ~15 minutes. > Using a test server, I pull the plug and Nagios > catches the 100% ping loss but if I plug it back > in as soon as it notices, Nagios emails me right > away and doesn't return an Up state for another > 5 minutes? For the service or the host? See below. > The following is what I receive on the status > screen.. It shows a State Type: HARD.. Shouldn't > it be in a SOFT state until it completes the > max_check_attempts? > Current Status:?? CRITICAL??? > Status Information:FPING CRITICAL - 192.168.100.21 (loss=100.000000% ) > Current Attempt:1/10 Why is max attempts showing 10 here if it's defined as 5 above? Did you restart nagios after making the change? Do you have multiple nagios processing running? There is a special situation that results when you just 'pull the plug' on a machine you're monitoring. The service check will of course fail on the first attempt. Nagios will then attempt to check the status of the host using the host check_command. It will do this exclusively until max_check_attempts defined for the host is reached and will not attempt to recheck the status of the service if the host is determined to be down or unreachable. At that point nagios will attempt to send a HOST down notification which may be what you are seeing. Because of this special situation, your retry_check_interval for the service has no meaning. AFAIK, nagios just falls back to normal_check_interval until one or more services on the host recovers (and the host by inference). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Jun 17 02:14:01 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 17 Jun 2004 10:14:01 +1000 Subject: "Cost" of Nagios In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Wed, Jun 16, 2004 at 04:39:01PM -0700 References: Message-ID: <20040617101400.A17688@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am writing to thank you for your letter and say, On Wed, Jun 16, 2004 at 04:39:01PM -0700, nagios-users-request at lists.sourceforge.net wrote: > Message: 1 > Date: Wed, 16 Jun 2004 09:53:59 -0400 > From: Flak Magnet > > .. snip .. > Does anybody here pay for (or charge for) a Nagios installation? I > figure if I can get an idea of what Nagios costs to implement, then I > can base my continuous improvment paperwork on that... > > (Considering the time that CI takes in a given year, a CI has already > been submitted to do away with the CI process entirely... It was > rejected by the people who were hired specifically to run our CI > process... go figure) > ROFL. I thought only the Public/Civil services did such things. One thing I can assure you of is that Nagios costs _less_ in every conceivable dimension than Tivoli. Easier to install. Easier to configure. Easier to read/understand docco. Easier to provide access control. Easier to get doing even basic things such as notification or escalation. Easier to operate. You haven't lived until you realise that you need to know Prolog to get the best out of the Tivoli TEC rules. One can get a working Nag installation going pretty darn quick. If speed is required, some of the power tools like nmap + CPAN Nagios::Config might get one going very quickly, It sounds like you want to look at the cost of getting any 'Enterprise Management System' in place or alternatively have a look at the ITIL propoganda on the benefits of infrastructure management. > -- > > --Tim > "I'm gonna need you to go ahead and come in on Sunday, m'kay?" -- Office > Space > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Thu Jun 17 04:20:39 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 16 Jun 2004 22:20:39 -0400 Subject: "Cost" of Nagios Message-ID: > Hm... the use of templates minimizes a lot of that, and is > quite useful. I > generally contrast it to the cost of *not having monitoring*, > which I think > is a lot higher. ;) Agreed. However, it wasn't until my second install of Nagios that I started using templates, and the third before I became comfortable with all the shortcuts and tricks. All I'm saying is that it is a non-trivial process to flesh out the configuration files, and *that* is the largest part of the Cost. It also depends a lot on your site documentation. If you have good docs, it's a snap. If you don't...well, you have to make the docs first, which most PHB's will blame on Nagios, not on the lack of pre-existing documentation. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Thu Jun 17 06:40:16 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 16 Jun 2004 23:40:16 -0500 (CDT) Subject: Perl Modules (Was Re: Cost of Nagios) In-Reply-To: <20040617101400.A17688@IPAustralia.Gov.AU> References: <20040617101400.A17688@IPAustralia.Gov.AU> Message-ID: On Thu, 17 Jun 2004, Stanley Hopcroft wrote: > If speed is required, some of the power tools like nmap + CPAN > Nagios::Config might get one going very quickly, If speed is required, Nagios::Config is a non-starter: [root at demetri02 root]# perl -MCPAN -e "install Nagios::Config" CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 16 Jun 2004 22:35:48 GMT Warning: Cannot install Nagios::Config, don't know what it is. Try the command i /Nagios::Config/ to find objects with matching identifiers. [root at demetri02 root]# perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.61) ReadLine support available (try 'install Bundle::CPAN') cpan> i /Nagios/ CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 16 Jun 2004 22:35:48 GMT Distribution H/HO/HOPCROFTS/Nagios-WebTransact-0.16.tar.gz Distribution H/HO/HOPCROFTS/Nagios-WebTransact-Timed-0.06.tar.gz Distribution T/TO/TOBEYA/Nagios-Cmd-0.05.tar.gz Distribution T/TO/TOBEYA/Nagios-Object-0.03.tar.gz Module Nagios::Cmd (T/TO/TOBEYA/Nagios-Cmd-0.05.tar.gz) Module Nagios::Cmd::Read (T/TO/TOBEYA/Nagios-Cmd-0.05.tar.gz) Module Nagios::Config::File (T/TO/TOBEYA/Nagios-Object-0.03.tar.gz) Module Nagios::Object (T/TO/TOBEYA/Nagios-Object-0.03.tar.gz) Module Nagios::Object::Config (T/TO/TOBEYA/Nagios-Object-0.03.tar.gz) Module Nagios::StatusLog (T/TO/TOBEYA/Nagios-Object-0.03.tar.gz) Module Nagios::WebTransact (H/HO/HOPCROFTS/Nagios-WebTransact-0.16.tar.gz) Module Nagios::WebTransact::Timed (H/HO/HOPCROFTS/Nagios-WebTransact-Timed-0.06.tar.gz) cpan> install Nagios::Config::File Too early to specify a build action 'Build'. Do 'Build Build' instead. make: *** [Build] Error 29 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Or am I missing something? --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Jun 17 08:25:03 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 17 Jun 2004 16:25:03 +1000 Subject: Perl Modules (Was Re: Cost of Nagios) In-Reply-To: ; from dmourati@cm.math.uiuc.edu on Wed, Jun 16, 2004 at 11:40:16PM -0500 References: <20040617101400.A17688@IPAustralia.Gov.AU> Message-ID: <20040617162503.B17688@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, Jun 16, 2004 at 11:40:16PM -0500, Demetri Mouratis wrote: > On Thu, 17 Jun 2004, Stanley Hopcroft wrote: > > > If speed is required, some of the power tools like nmap + CPAN > > Nagios::Config might get one going very quickly, > Ho-hum. > If speed is required, Nagios::Config is a non-starter: > > Module Nagios::Config::File > (T/TO/TOBEYA/Nagios-Object-0.03.tar.gz) > Module Nagios::Object (T/TO/TOBEYA/Nagios-Object-0.03.tar.gz) > Module Nagios::Object::Config > (T/TO/TOBEYA/Nagios-Object-0.03.tar.gz) These are the modules I was referring to. Sorry about that. Here is the synopsis use Nagios::Object; my $generic_host = Nagios::Host->new( register => 0, parents => undef, check_command => $some_command, max_check_attempts => 3, checks_enabled => 1, event_handler => $some_command, event_handler_enabled => 0, low_flap_threshhold => 0, high_flap_threshhold => 0, flap_detection_enabled => 0, process_perf_data => 1, retain_status_information => 1, retain_nonstatus_information => 1, notification_interval => $timeperiod, notification_options => [qw(d u r)], notifications_enabled => 1, stalking_options => [qw(o d u)] ); my $localhost = Nagios::Host->new( use => $generic_host, host_name => "localhost", alias => "Loopback", address => "127.0.0.1" ); my $hostname = $localhost->host_name(); printf "max check attempts for $hostname is %s.\n", $localhost->max_check_attempts; $localhost->set_event_handler( Nagios::Command->new( command_name => "new_event_handler", command_line => "/bin/true" ) ); seemingly allowing the lightning quick construction of objects representing the Nag config in template format. Then the dump method ' dump() Output a Nagios define { } block from an object. This is still EXPERIMENTAL, but may eventually be robust enough to use for a configuration GUI. print $object->dump(); ' should output the configuration. > > Too early to specify a build action 'Build'. Do 'Build Build' instead. > make: *** [Build] Error 29 > /usr/bin/make -- NOT OK > Running make test > Can't test without successful make > Running make install > make had returned bad status, install seems impossible > > Or am I missing something? I should have shut up actually. However, this module - does _not_ use Make::Maker (so perl Makefile.PL; make; make test etc fails to work). - uses a CPAN module that quoting from the README 'Installation: If you don't have Module::Build installed, you'll have to install it before you can use this module's installer. That is the only dependency in this module. No, I won't add Make::MakeMaker support. The easiest way to installModule::Build is to do "perl -MCPAN -e 'install Module::Build'". perl Build.PL ./Build ./Build test ./Build install ' I have found Module::Build will not build (sucks to me) on ancient Perls (5.005_03.). However, while I have not verified the utility of Nagios::Object, I trust the author. > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.com > I have probably wasted your and the lists time enough (BTW, congrats on the good showing of the Greek Football team in Euro 2004) I beg your pardon. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.lorenz at fresca.co.uk Thu Jun 17 08:21:28 2004 From: simon.lorenz at fresca.co.uk (Simon Lorenz) Date: Thu, 17 Jun 2004 07:21:28 +0100 Subject: Check individual process CPU & MEM stats Message-ID: Morning all, Is anyone aware of an existing plugin(s) that enable CPU and memory usage data to be grabbed for individual running processes. I need to record performance data for a number of processes (Apache, sendmail, Oracle etc) on a number of *NIX systems. The plugins I have used or found to date only deal with the overall system, user and idle values. Many thanks Simon ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.koch at eurodata.de Thu Jun 17 08:57:55 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Thu, 17 Jun 2004 08:57:55 +0200 Subject: false host down alerts In-Reply-To: References: Message-ID: <1087455475.797.9.camel@dresden.eurodata.de> What you also can do, check your network Interface of RX and TX errors. Am Mi, den 16.06.2004 schrieb Martin, Jeremy um 13:34: > Hi, > > > > We have several nagios servers doing a total of about 1300 service > checks and 300 host checks using Nagios 1.2 and Nagios plugins 1.3.1. > > > > Unfortunately something a little annoying keeps happening, not to > mention strange: > > > > Nagios keeps sending HOST DOWN alerts when our hosts are not down. For > example we do a ping check and HTTP-QA check for a website. Nagios > will send a HOST DOWN alert, but at the same time, the ping check and > HTTP check will both be just fine. Nagios will think the host is down > for quite some time, but it keeps doing the ping and HTTP-QA checks > anyway despite thinking the host is down. The only way I can make it > think the host is back up is to totally restart Nagios, then it > forgets that it thought the host was down (even with > retain_state_information=1) > > > > At first this happened to a couple load balanced websites and mail > servers we had. Now this is happening to several other sites and mail > servers that are not being load balanced. Every time it says a host is > down like this, I can SSH into the Nagios server, and ping the exact > hostname Nagios is using (either the FQDN or the IP depending on what > Nagios is using in hosts.cfg for the given site), and the ping has no > problems at all. > > > > Just to give an example - we often get HOST DOWN warnings for > "mail.ikea-usa.net" even though our SMTP and ping checks continue to > be OK long after the "HOST DOWN" alert. We also have this problem with > https://www.verepay.cc - but I think that's because we have ping > turned off in our firewall for that site at the moment. Our load > balanced anti-spam/virus mail servers located at scrubber.gsi-kc.com > also suffer from this problem but I've never had any troubles pinging > them. Just throwing out those examples incase anyone notices anything > particularly wrong with them, since Nagios seems to like those sites > the best for doing this odd "HOST DOWN" behavior. > > > > Here's what I'll see in the nagios.log file: > > > > [1087381552] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;1;Socket > timeout after 10 seconds > > [1087381562] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;2;Socket > timeout after 10 seconds > > [1087381572] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;3;Socket > timeout after 10 seconds > > [1087381582] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;4;Socket > timeout after 10 seconds > > [1087381592] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;5;Socket > timeout after 10 seconds > > [1087381602] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;6;Socket > timeout after 10 seconds > > [1087381612] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;7;Socket > timeout after 10 seconds > > [1087381622] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;8;Socket > timeout after 10 seconds > > [1087381632] HOST ALERT: scrubber.gsi-kc.com;DOWN;SOFT;9;Socket > timeout after 10 seconds > > [1087381642] HOST ALERT: scrubber.gsi-kc.com;DOWN;HARD;10;Socket > timeout after 10 seconds > > > > How can that be when I can do this at the same time? > > > > [root at kgsinm05 var]# ping scrubber.gsi-kc.com > > PINGscrubber.gsi-kc.com (205.247.222.244) 56(84) bytes of data. > > 64 bytes from scrubber.gsi-kc.com (205.247.222.244): icmp_seq=1 > ttl=240 time=28.3 ms > > 64 bytes from scrubber.gsi-kc.com (205.247.222.244): icmp_seq=2 > ttl=240 time=26.8 ms > > > > Thanks!! > > Jeremy -- ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Thu Jun 17 09:16:18 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 17 Jun 2004 09:16:18 +0200 Subject: Ext Hostinfo Question Message-ID: <945C3F9C3F209144A12CB725111FC08D5E6E6F@sygomail1.goe.ad.sycor.de> Hi, I'm not shure if this Questions fits in here, but maybe someone got the same idea before... I'm using the exthostinfo, everything is ok, now i wonder if it is possible to place a link on that extinfo page, to open an rdp or ssh connection to that host, presuming that i know where rdp and/or putty is installed on the client which is clicking on the link. Would be very great if anyone could help me out on that! Thanks in advance, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From verdon-SVHme89sSHE at public.gmane.org Thu Jun 17 09:45:45 2004 From: verdon-SVHme89sSHE at public.gmane.org (carole verdon) Date: Thu, 17 Jun 2004 09:45:45 +0200 Subject: Check_mailq usage Message-ID: <40D14C29.1020507@cict.fr> Hi, I use the patch of check_mailq submitted by Don Badrak. http://sourceforge.net/tracker/index.php?func=detail&aid=880904&group_id=29880&atid=397599 I don't understand the result of this plugin. When i execute the following command in local mode, i obtain: [nagios-14XT2ufUFtE at public.gmane.org libexec]$./check_mailq -w 20 -c 50 -f /etc/mail/sendmail.cf.delivery (to take the queue directory /var/spool/mqueue1) OK: mailq is empty|unsent=0;20;50;0 Whereas the queue directory /var/spool/mqueue1 contains a lot of files. [nagios-14XT2ufUFtE at public.gmane.org libexec]$ ls -la /var/spool/mqueue1|more total 19208 drwxr-xr-x 2 root mail 356352 Jun 17 08:36 . drwxr-xr-x 17 root root 4096 May 27 11:31 .. -rw------- 1 root root 120 Jun 14 08:43 dfi5E6hCVr020981 -rw------- 1 root root 8491 Jun 14 08:45 dfi5E6jck4023564 -rw------- 1 root root 18003 Jun 14 09:02 dfi5E72Glg006944 -rw------- 1 root root 18003 Jun 14 09:36 dfi5E7aFHI031188 -rw------- 1 root root 18009 Jun 14 09:41 dfi5E7f0Z9001998 -rw------- 1 root root 18009 Jun 14 09:45 dfi5E7jOiU005300 -rw------- 1 root root 18003 Jun 14 09:20 dfi5E7KPYg021585 -rw------- 1 root root 18003 Jun 14 09:21 dfi5E7LAu9021927 -rw------- 1 root root 18003 Jun 14 09:21 dfi5E7LuPY022338 -rw------- 1 root root 18003 Jun 14 09:50 dfi5E7oAii008351 -rw------- 1 root root 18108 Jun 14 09:25 dfi5E7PjTM024651 -rw------- 1 root root 18003 Jun 14 09:52 dfi5E7qkX2010331 -rw------- 1 root root 593 Jun 14 09:55 dfi5E7t2KY011829 -rw------- 1 root root 18108 Jun 14 09:30 dfi5E7UuW0027677 -rw------- 1 root root 18108 Jun 14 09:33 dfi5E7Xx8X029494 -rw------- 1 root root 18003 Jun 14 09:35 dfi5E7ZTbH030643 -rw------- 1 root root 208387 Jun 14 11:51 dfi5E9owJa022588 -rw------- 1 root root 1683 Jun 14 14:21 dfi5ECL3bL013410 -rw------- 1 root root 1904 Jun 14 14:49 dfi5ECndk5002742 -rw------- 1 root root 48 Jun 15 08:41 dfi5ECq4Xn004549 -rw------- 1 root root 1086 Jun 14 14:27 dfi5ECRHMn018953 -rw------- 1 root root 11199 Jun 14 14:58 dfi5ECw3wi009133 -rw------- 1 root root 11199 Jun 14 14:58 dfi5ECw3xC009133 -rw------- 1 root root 11199 Jun 14 14:58 dfi5ECw3xU009133 -rw------- 1 root root 8715 Jun 14 15:48 dfi5EDmXmS015674 -rw------- 1 root root 3063 Jun 14 15:32 dfi5EDWsC4003637 -rw------- 1 root root 38504 Jun 14 16:37 dfi5EEarJ1016521 -rw------- 1 root root 38504 Jun 14 16:38 dfi5EEarJl016521 ........ Why does it find the queue directory is empty? As i'm not a programmer, can someone answer to my question and help me? My OS is a linux v2.4. Carole. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Thu Jun 17 10:01:50 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 17 Jun 2004 10:01:50 +0200 Subject: Ext Hostinfo Question Message-ID: <945C3F9C3F209144A12CB725111FC08D5E6E71@sygomail1.goe.ad.sycor.de> Hi there, I played around a little bit and found out, that this works when you just make a file::// link to the rdp or putty connection. Sometimes those thinks are way to easy :) ________________________________ From: Sand Philipp Sent: Thursday, June 17, 2004 9:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Ext Hostinfo Question Hi, I'm not shure if this Questions fits in here, but maybe someone got the same idea before... I'm using the exthostinfo, everything is ok, now i wonder if it is possible to place a link on that extinfo page, to open an rdp or ssh connection to that host, presuming that i know where rdp and/or putty is installed on the client which is clicking on the link. Would be very great if anyone could help me out on that! Thanks in advance, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 17 10:41:04 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 17 Jun 2004 10:41:04 +0200 Subject: Restart Windows Service if down... In-Reply-To: <516DA7BE5D87C8469D89F150CA0B491106639A1E@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B491106639A1E@PDAWB02C.ad.sprint.com> Message-ID: <40D15920.20908@op5.se> Or you could do it with nrpe_nt. Just issue an int 0x10 in assembly and the machine will reboot. You might want to add a diskflush call before that though. Martin, Stanley G [CGEY Contractor for Sprint] wrote: > The only way I've been able to do it is to have something on the Windows box that you can call from Nagios and pass the service name to restart. I have a daemon that is written in Perl that runs on our Windows boxes and we just call that using an Event Handler script. > > Stanley G. Martin > System Administrator > Sprint - EAS Business Intelligence > Stanley.G.Martin at mail.sprint.com > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Wengrzik, Andreas > Sent: Wednesday, June 16, 2004 9:32 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Restart Windows Service if down... > > Hello! > > Anyone knows if it?s possible to start or restart services in windows if some service runs into failure?? > > Thanks for your help! > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 17 11:03:15 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 17 Jun 2004 11:03:15 +0200 Subject: Check individual process CPU & MEM stats In-Reply-To: References: Message-ID: <40D15E53.7050305@op5.se> Simon Lorenz wrote: > Morning all, > > Is anyone aware of an existing plugin(s) that enable CPU and memory usage > data to be grabbed for individual running processes. I need to record > performance data for a number of processes (Apache, sendmail, Oracle etc) on > a number of *NIX systems. The plugins I have used or found to date only deal > with the overall system, user and idle values. > You'll probably have to write your own. The idea with nagios is to know when something goes haywire. One process going berzerk will cause the load to rise system wide, so it's enough to monitor system wide. The kind of data you're looking to gather seems to be more of a statistics harvesting thing. Have a look at cacti at http://raxnet.net/cacti for that sort of thing. > Many thanks > > Simon > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From IT at barclab.com Thu Jun 17 11:51:52 2004 From: IT at barclab.com (Frederic Vanden Poel) Date: Thu, 17 Jun 2004 11:51:52 +0200 Subject: NRPE 2.0 + static nat = trouble Message-ID: <1087465911.5543.122.camel@pc054> We are using nrpe 2.0 on all our Linux servers. Towards the internal machines, nrpe runs fine and we never get bogus alerts. On the DMZ machines, nrpe daemons started from xinetd sometimes remain in an ESTABLISHED state (netstat) and strace shows nrpe is waiting during a read() syscall. The nrpe setup in xinetd is pretty standard : service nrpe { disable = no flags = REUSE socket_type = stream wait = no user = nagios server = /usr/local/nagios/nrpe server_args = -i -c /etc/nrpe.cfg only_from = 127.0.0.1 aaa.bbb.ccc.ddd log_on_failure += USERID } After a couple of hours there are so many nrpe processes in this state that new connections from the nagios server result in the following error : [06-08-2004 16:14:49] SERVICE ALERT: svr.dmz.com;/var disk;CRITICAL;HARD;4;CHECK_NRPE: Error - Could not complete SSL handshake. which is quite annoying as we are notified with bogus alerts for the services checked through nrpe. The nagios server has a one-to-one static NAT address aaa.bbb.ccc.ddd in the DMZ range, which means that the other DMZ machines see the nagios probes coming from within the DMZ. We also tried to run nrpe as a standalone daemon without xinetd and the problem remains. After a while, the nrpe daemon just gives up without a syslog message. The nrpe problems occurs on all our Linux DMZ servers. We have tried to change connection timeouts on the firewall and through nagios but none of them seem to help. We have a less than ideal workaround by killing all hanging nrpe processes from cron. Any ideas to debug the issue are very welcome. -- Frederic Vanden Poel Network Engineer @ BARC N.V. Phone : +32 (9) 329 23 29 Fax : +32 (9) 329 23 30 ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 17 13:25:32 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 17 Jun 2004 13:25:32 +0200 Subject: NRPE 2.0 + static nat = trouble In-Reply-To: <1087465911.5543.122.camel@pc054> References: <1087465911.5543.122.camel@pc054> Message-ID: <40D17FAC.7040709@op5.se> Frederic Vanden Poel wrote: > We are using nrpe 2.0 on all our Linux servers. > > Towards the internal machines, nrpe runs fine and we never get bogus > alerts. > > On the DMZ machines, nrpe daemons started from xinetd sometimes remain > in an ESTABLISHED state (netstat) and strace shows nrpe is waiting > during a read() syscall. The nrpe setup in xinetd is pretty standard : > What system are you running (Linux, BSD, Solaris, ...)? > service nrpe > { > disable = no > flags = REUSE > socket_type = stream > wait = no > user = nagios > server = /usr/local/nagios/nrpe > server_args = -i -c /etc/nrpe.cfg > only_from = 127.0.0.1 aaa.bbb.ccc.ddd > log_on_failure += USERID > } > > After a couple of hours there are so many nrpe processes in this state > that new connections from the nagios server result in the following > error : > > [06-08-2004 16:14:49] SERVICE ALERT: svr.dmz.com;/var > disk;CRITICAL;HARD;4;CHECK_NRPE: Error - Could not complete SSL > handshake. > > which is quite annoying as we are notified with bogus alerts for the > services checked through nrpe. > > The nagios server has a one-to-one static NAT address aaa.bbb.ccc.ddd in > the DMZ range, which means that the other DMZ machines see the nagios > probes coming from within the DMZ. > > We also tried to run nrpe as a standalone daemon without xinetd and the > problem remains. After a while, the nrpe daemon just gives up without a > syslog message. The nrpe problems occurs on all our Linux DMZ servers. > > We have tried to change connection timeouts on the firewall and through > nagios but none of them seem to help. We have a less than ideal > workaround by killing all hanging nrpe processes from cron. > > Any ideas to debug the issue are very welcome. > You can set debug=1 in your nrpe.conf-file, and if you're really serious about it you can enable debugging at compile-time. Do you think it would be possible to run nrpe with debug=1 for a while and then send me the relevant syslog entries? -- Sourcerer / Andreas Ericsson NRPE Maintainer OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand-MYUYVTIkhZ8 at public.gmane.org Thu Jun 17 15:06:50 2004 From: Philipp.Sand-MYUYVTIkhZ8 at public.gmane.org (Sand Philipp) Date: Thu, 17 Jun 2004 15:06:50 +0200 Subject: Performance Data out of check_ping Message-ID: <945C3F9C3F209144A12CB725111FC08D33F204@sygomail1.goe.ad.sycor.de> Hi, Is there a Plugin for Ping which can produce Performance Data, or is there a workaroud to modify the check_ping Plugin to do so? I startet to use the Perfgraph Addon, which makes pretty Graphs out of the Performance Data many Plugins commit, but the check_ping Plugin isn't able to do this, so far :-/ Thanks in advance. Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand-MYUYVTIkhZ8 at public.gmane.org www.sycor.de ------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From tech-mail at prupref.com Thu Jun 17 14:39:32 2004 From: tech-mail at prupref.com (McKeever Chris) Date: Thu, 17 Jun 2004 07:39:32 -0500 Subject: Restart Windows Service if down... In-Reply-To: <40D15920.20908@op5.se> References: <40D15920.20908@op5.se> Message-ID: <200406171239.i5HCdWg01319@smtp1.prupref.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From orh at kn24.no Thu Jun 17 15:30:26 2004 From: orh at kn24.no (orh at kn24.no) Date: Thu, 17 Jun 2004 15:30:26 +0200 Subject: Restart Windows Service if down... In-Reply-To: <200406171239.i5HCdWg01319@smtp1.prupref.com> References: <40D15920.20908@op5.se> Message-ID: <40D1B912.13109.25B57CC9@localhost> Hi; To (re)start a service in Windows the command "net start " should do. We're currently using NSClient to monitor the Windows' boxes, and it doesn't supply any means of remotely executing arbitrary commands, afaik. NRPE may be able to do this. However, at least in W2K and later, it is possible to specify service recovery options, so that a failing service will cause an action on the system in question. One of the alternatives is to simply restart the failing service. Another is to execute a file. One possibility here would be to create a batch file containing the appropriate "net start" command, as well as a command to submit a passive service check result to Nagios, notifying Nagios that the service in question has failed. If it is desirable to reboot the system with the failing service, the batch file could first submit the check result to Nagios, and secondly reboot the system with the shutdown utility. Best regards -Odd-Rune > > > On Thu, 17 Jun 2004 10:41 , Andreas Ericsson sent: > > >Or you could do it with nrpe_nt. Just issue an > >int 0x10 > >in assembly and the machine will reboot. You might want to add a > >diskflush call before that though. > > > there is something called shutdown.exe on sysinternal.com - from a windows box, you simply run a batch that shuts down the remote > machine. If you have a windows web-server somewhere, the nagios can call a web page from the webserver that then executes the remote > shutdown of any windows box...you probably could figure out a way to call it directly from the linux box as well > > > > >Martin, Stanley G [CGEY Contractor for Sprint] wrote: > >> The only way I've been able to do it is to have something on the Windows box that you can call from Nagios and pass the service name to > restart. I have a daemon that is written in Perl that runs on our Windows boxes and we just call that using an Event Handler script. > >> > >> Stanley G. Martin > >> System Administrator > >> Sprint - EAS Business Intelligence > >> Stanley.G.Martin at mail.sprint.com > >> > >> > >> -----Original Message----- > >> From: nagios-users-admin at lists.sourceforge.net [nagios-users-admin at lists.sourceforge.net','','','')">nagios-users- > admin at lists.sourceforge.net] On Behalf Of Wengrzik, Andreas > >> Sent: Wednesday, June 16, 2004 9:32 AM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] Restart Windows Service if down... > >> > >> Hello! > >> > >> Anyone knows if it?s possible to start or restart services in windows if some service runs into failure?? > >> > >> Thanks for your help! > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > >> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > >> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > >> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > >> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > >> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > >> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > > > >-- > >Andreas Ericsson > >OP5 AB > >+46 (0)733 709032 > >andreas.ericsson at op5.se > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------- > Chris McKeever > If you want to reply directly to me, please use cgmckeever--at--prupref.com > ChicagoReal Estate > > > > > > ---- Prudential Preferred Properties www.prupref.com > Success?Driven?By?Results > ???Results?Driven?By?Commitment > ??????Commitment?Driven?By?Integrity > ?????????We?Are?Prudential?Preferred?Properties > ??????????????? ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Valdes at flamenconetworks.com Thu Jun 17 15:35:07 2004 From: Tom.Valdes at flamenconetworks.com (Tom Valdes) Date: Thu, 17 Jun 2004 09:35:07 -0400 Subject: Service checks and retry check interval Message-ID: <662B1A0727FAB64F9A9C34BAFF31E1CA3C6343@telluride.flamenconetworks.com> Ok, I understand that when the service check fails it moves on to the host check. As you see, my max_check_attempts is set to 5 for the host check. Shouldn't this delay sending out a notification until it checks it 5 times? And once it's down, is there a way to speed up a check to determine recovery? The problem I'm having is that if Nagios misses a ping due to network congestion or whatever, it takes 5 minutes to realize that nothing is really wrong when all that happen was a missed ping which may have been caught if it simply did another check before sending out a notification. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Wednesday, June 16, 2004 7:38 PM To: Tom Valdes; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Service checks and retry check interval That is correct and by design. Nagios must determine the status of a questionable host before it does anything else. If it didn't, the dependency and network reachability logic could be flawed as well as sending out spurious alerts for services on a host that is down when they really should be suppressed (http://nagios.sourceforge.net/docs/1_0/networkreachability.html and the Host Checks section of http://nagios.sourceforge.net/docs/1_0/checkscheduling.html). -- Marc p.s. Please post to the list in plain text format. It makes it much, much easier to reply with proper quoting and you're going to reach a much larger audience who can help you. ________________________________________ From: Tom Valdes [mailto:Tom.Valdes at flamenconetworks.com] Sent: Wednesday, June 16, 2004 6:25 PM To: Marc Powell; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Service checks and retry check interval I had changed the 10 retries to 5 after I grabbed the copy of the status.? I did reload Nagios so that's just an old capture. I think I understand what you mean about performing the host check and bypassing a service check, but it seems?a retry_check_interval?value is not allowed in the hosts.cfg????????? ? ---------------services.cfg------------------ -------------------------------------------------- define service{ ??????? use???????????????????????????? generic-service???????? ; Name of service template to use ??????? host_name???????????????????????Test-Server ??????? service_description???????????? PING ??????? is_volatile???????????????????? 0 ??????? check_period??????????????????? workhours ??????? max_check_attempts??????????????5 ??????? normal_check_interval?????????? 5 ??????? retry_check_interval??????????? 1 ??????? contact_groups????????????????? test-contact ??????? notification_interval?????????? 960 ??????? notification_period???????????? workhours ??????? notification_options??????????? c,r ??????? check_command?????????????????? check_fping!50%!100% ??????? } -------------------------------------------------- ------------------hosts.cfg------------------- define host{ ??????? use???????????????????? generic-host??????????? ; Name of host template to use ??????? parents?????????????????switch1 ??????? host_name??????????Test-Server ??????? alias?????????????????? TestServer ??????? address???????????????? 10.0.0.21 ??????? check_command?????????? check-host-alive ??????? max_check_attempts????? 5 ??????? notification_interval?? 30 ??????? notification_period???? 24x7 ??????? notification_options??? d,u,r ??????? } ---------------------------------------------------- ________________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of Marc Powell Sent: Wed 6/16/2004 5:42 PM To: Tom Valdes; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Service checks and retry check interval ________________________________ >From: Tom Valdes [mailto:Tom.Valdes at flamenconetworks.com] >Sent: Wednesday, June 16, 2004 2:55 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Service checks and retry check interval > I currently have my normal_check_interval set to 5 minutes > If a service check is missed, I'd like it to retry 5 > times before sending a notification and I'd like the > retry interval to be 1 minute.? (can it be less?? > Like 10 seconds?) >I've tried adding the following to services.cfg >??????? max_check_attempts???????? 5 >??????? normal_check_interval??????? 5 >??????? retry_check_interval?????????? 1 I presume this is for the service definition. Can we see the complete definition? > Shouldn't this retry a failed check every minute > for 5 tries before sending a notification? For the service above under normal circumstances, yes. I use 5,5,3 to delay notifications by ~15 minutes. > Using a test server, I pull the plug and Nagios > catches the 100% ping loss but if I plug it back > in as soon as it notices, Nagios emails me right > away and doesn't return an Up state for another > 5 minutes? For the service or the host? See below. > The following is what I receive on the status > screen.. It shows a State Type: HARD.. Shouldn't > it be in a SOFT state until it completes the > max_check_attempts? > Current Status:?? CRITICAL??? > Status Information:FPING CRITICAL - 192.168.100.21 (loss=100.000000% ) > Current Attempt:1/10 Why is max attempts showing 10 here if it's defined as 5 above? Did you restart nagios after making the change? Do you have multiple nagios processing running? There is a special situation that results when you just 'pull the plug' on a machine you're monitoring. The service check will of course fail on the first attempt. Nagios will then attempt to check the status of the host using the host check_command. It will do this exclusively until max_check_attempts defined for the host is reached and will not attempt to recheck the status of the service if the host is determined to be down or unreachable. At that point nagios will attempt to send a HOST down notification which may be what you are seeing. Because of this special situation, your retry_check_interval for the service has no meaning. AFAIK, nagios just falls back to normal_check_interval until one or more services on the host recovers (and the host by inference). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Jun 17 16:36:09 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 17 Jun 2004 09:36:09 -0500 Subject: NT service with "$" in the name In-Reply-To: <1087339122.4979.22.camel@localhost> References: <1087339122.4979.22.camel@localhost> Message-ID: <1087482969.10931.45.camel@localhost> can you resend your checkcommand as it looks now? On Tue, 2004-06-15 at 18:38 -0400, Chris Hammond wrote: > Hey Jeff, don't know if you didn't see the last message I sent on the > subject but here it is. > > Okay, from the command line MSSQL\$BKUPEXEC reports properly. > MSSQL$BKUPEXEC: Started. However by the time it makes it to the > Nagios frontend it is MSSQL$BKUPEXEC$: Unknown. So your initial > recommendation was correct but now something else is sticking it"s > nose were it doesn"t belong. :) > > Have any ideas? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason.payne at iland.com Thu Jun 17 16:22:05 2004 From: jason.payne at iland.com (Jason Payne - iland Internet Solutions) Date: Thu, 17 Jun 2004 09:22:05 -0500 Subject: Additional Column in Service Details Message-ID: <7A626FF425518246801C933014AA98F00C2AF6@hou-ex01.ihtx.iland.com> They resolve fine, but when I get a listing of all of the hosts and services on the same page (in the table form) there isn't acolumn for ip address. I just would like to be able to more easily correlate network outages with ip space. So, for instance, if a firewall chokes I can easily see which downed hosts have ip space behind the firewall without going to the map. -----Original Message----- From: Sean Dilda [mailto:agrajag at dragaera.net] Sent: Wednesday, June 16, 2004 12:26 PM To: Jason Payne - iland Internet Solutions Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Additional Column in Service Details On Wed, 2004-06-16 at 11:14, Jason Payne - iland Internet Solutions wrote: > Hello. > I was wondering if there is a simple way to add an additional column to the Service Detail table. Specifically, a column with the ip address for the host that the service being checked is associated with, or perhaps an addendum to the hostname on the far left like "Host - 192.168.0.1". > Best Regards, > Jason Payne > 273 hosts and counting! Do your hosts not resolve in DNS? If for some reason they don't, maybe you can add the IP as a comment in the extended host info. Adding more data like that is a waste of space, especially when most people use hostnames that resolve in DNS. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunilshriram.borkhedkar at wipro.com Thu Jun 17 16:58:11 2004 From: sunilshriram.borkhedkar at wipro.com (sunilshriram.borkhedkar at wipro.com) Date: Thu, 17 Jun 2004 20:28:11 +0530 Subject: No data from host Message-ID: Hi all, I hav configured 304 services on 40 Win servers.Till now everything eas fine.After adding 7 more servers to the list. nagios shows some of the services as " No data from Host","plugin timeout" etc. What could be the problem ? Did anybody encountered such problem. regards Sunil B Ph:+91-80-2852 0408 Extn: 7876 Mobile : 98861 24770 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Wengrzik at ewr.de Thu Jun 17 16:11:50 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Thu, 17 Jun 2004 16:11:50 +0200 Subject: check_citrix Message-ID: <90D32590BAD135448DC12C1EA3EB448210B0CE@epsewr01.ewrlan.ewr.int> Hello! Anyone can help me an give me a short instruction for using check_citrix ? I donnu what this plug in means with masterbrowser ?!? We don?t have somethin like that. I only have to check if icmp and IMA is running.... Maybe another check like check_citrix?!? Anyone do checks like that?? Thanks a lot! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Thu Jun 17 17:38:40 2004 From: verdon at cict.fr (carole verdon) Date: Thu, 17 Jun 2004 17:38:40 +0200 Subject: Check_mailq usage In-Reply-To: <40D1525E.C65162C6@salomon-sports.com> References: <40D14C29.1020507@cict.fr> <40D1525E.C65162C6@salomon-sports.com> Message-ID: <40D1BB00.9000607@cict.fr> I find what it's my problem. In fact, the /usr/bin/mailq command count the number of "requests" for the queue directory: /var/spool/mqueue [nagios at gw1-mail plugins-scripts]$ ./check_mailq -w 200 -c 500 -f /etc/mail/sendmail.cf -v qpattern before open mailq= /var/spool/mqueue after open, mailq= /usr/bin/mailq qpattern apres if= /var/spool/mqueue /usr/bin/mailq = /var/spool/mqueue (618 requests) size = 618, msg_q = 618 warn=200 crit=500 msg_q = 618 warn=200 crit=500 CRITICAL: mailq is 618 (threshold c = 500)|unsent=618;200;500;0 So when i want run the script to the queue directory: /var/spool/mqueue1, it don't work. [nagios at gw1-mail plugins-scripts]$ ./check_mailq -w 20 -c 50 -f /etc/mail/sendmail.cf.delivery -v qpattern before open mailq= /var/spool/mqueue1 after open, mailq= /usr/bin/mailq OK: mailq is empty|unsent=0;20;50;0 How can i do to take into account /var/spool/mqueue1 /usr/bin/mailq command? Thanks for your help. Carole. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_mailq.pl URL: From nagios at welikegoats.com Thu Jun 17 17:42:40 2004 From: nagios at welikegoats.com (nagios at welikegoats.com) Date: Thu, 17 Jun 2004 15:42:40 +0000 (GMT) Subject: Number of nagios processes Message-ID: I am running nagios only running passive checks. Over the course of a few hours, the number of processes grows and grows, until eventually, the machine crashes out of memory. I have tried changing command_check_interval to various values, including -1, but to no avail. Any suggestions? ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Thu Jun 17 17:45:20 2004 From: pla at softflare.com (Paul L. Allen) Date: Thu, 17 Jun 2004 16:45:20 +0100 Subject: Additional Column in Service Details In-Reply-To: <7A626FF425518246801C933014AA98F00C2AF6@hou-ex01.ihtx.iland.com> References: <7A626FF425518246801C933014AA98F00C2AF6@hou-ex01.ihtx.iland.com> Message-ID: <20040617154520.15738.qmail@minnow.softflare.net> Jason Payne - iland Internet Solutions writes: > So, for instance, if a firewall chokes I can easily see which downed > hosts have ip space behind the firewall without going to the map. Method 1: use hostgroups and put the machines behind the firewall, along with the firewall itself, into their own group. Method 2: use descriptive hostnames like customerx-firewall, customerx-mail, etc. That groups them together in most of the displays, which can be useful even if you also use hostgroups. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at bluecobras.com Thu Jun 17 18:06:46 2004 From: chris at bluecobras.com (Chris Hammond) Date: Thu, 17 Jun 2004 12:06:46 -0400 Subject: NT service with "$" in the name In-Reply-To: <1087482969.10931.45.camel@localhost> References: <1087339122.4979.22.camel@localhost> <1087482969.10931.45.camel@localhost> Message-ID: <40D1C196.90107@bluecobras.com> check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -d SHOWALL -l MSSQL\$BKUPEXEC" This command from the command line yields; MSSQL$BKUPEXEC: Started Called from services with; check_nt_mssqlbkupexec_service! But in the Nagios front end, it shows up as; MSSQL$BKUPEXEC$: Unknown. Thanks again for your time Jeff. I really appreciate it. Chris jeff vier wrote: > can you resend your checkcommand as it looks now? > > On Tue, 2004-06-15 at 18:38 -0400, Chris Hammond wrote: > >>Hey Jeff, don't know if you didn't see the last message I sent on the >>subject but here it is. >> >>Okay, from the command line MSSQL\$BKUPEXEC reports properly. >>MSSQL$BKUPEXEC: Started. However by the time it makes it to the >>Nagios frontend it is MSSQL$BKUPEXEC$: Unknown. So your initial >>recommendation was correct but now something else is sticking it"s >>nose were it doesn"t belong. :) >> >>Have any ideas? ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonb at teletouch.net Thu Jun 17 18:22:48 2004 From: jasonb at teletouch.net (Jason Branscum) Date: Thu, 17 Jun 2004 11:22:48 -0500 (CDT) Subject: Extended Host Notes Message-ID: <2184.192.168.70.209.1087489368.squirrel@mail.teletouch.net> All: I sent out a message a few days ago asking if people had found ways to put "notes" in the notification email.. I got a lot of help and wanted to say thank you! So, with that, I took the suggestions and made a perl script to run a SELECT from MySQL. You will need DBI and DBD::MYSQL installed for this script to work. Just a contribution, nothing more :) The perl script: #!/path/to/perl ################################################################ # nagiosNotes.pl v0.01 # jasonb at teletouch.net # Free free to modify this script to your heart's content, # just remember it comes with no warranty. best o` luck. ################################################################ use DBI(); my ($sql, $noteSQL, $sqlUser, $sqlPass, $sqlHost, $sqlDatabase, $sqlTable); my ($hostName, $notes, $usage, $debug, $debugOutput); $debug = 0; $debugOutput = "/tmp/nagiosNotes.debug"; $sqlUser = "mysqlUsername"; $sqlPass = "mysqlPassword"; $sqlHost = "localhost"; $sqlDatabase = "mysqlDb"; $sqlTable = "mysqlTable"; $echo = "/bin/echo"; $time = localtime; $usage = "usage: nagiosNotes "; $noteSQL = 0; if (!$ARGV[0]) { print $usage; system("$echo \"died at $time, no arg presented\">>$debugOutput"); die; } $hostName = shift @ARGV; chomp $hostname; $hostName =~ tr/A-Z/a-z/; if ($debug) { system("$echo \"$hostName requested at $time\">>$debugOutput"); } $noteSQL = DBI->connect("DBI:mysql:database=$sqlDatabase;host=$sqlHost","$sqlUser","$sqlPass",{'RaiseError'=> 1}); $sql = $noteSQL->prepare("SELECT notes FROM $sqlTable WHERE (hostName = '$hostName')"); $sql->execute(); while (my $ref = $sql->fetchrow_hashref()) { $notes = $ref->{'notes'}; } $sql->finish(); print "$notes"; The SQL Structure: CREATE TABLE `hostnotes` ( `hostName` varchar(32) NOT NULL default '', `notes` varchar(255) NOT NULL default '' ) TYPE=MyISAM; The example row (remember to add new rows with the hostname in _lowercase_): INSERT INTO `hostnotes` VALUES ('router.mynetwork.com', 'CALL SOMEISP IF LINK GOES DOWN, 555-1212'); And finally, add this into your service/host notify commands in misccommands.cfg (assuming the script is in /usr/local/bin) \nNotes: `/usr/local/bin/nagiosNotes.pl $HOSTNAME$`.. mine all-in-all looks like this: /usr/bin/printf "%b" "Notification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nService: $SERVICEDESC$\nState: $SERVICESTATE$\nNotes: `/usr/local/bin/nagiosNotes $HOSTNAME$`\nTimestamp: $DATETIME$\n\nPlugin Output: $OUTPUT$" | /usr/bin/mail -s "$HOSTNAME$($HOSTALIAS$)/$SERVICEDESC$ is $SERVICESTATE$" Enjoy Jason ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason.payne at iland.com Thu Jun 17 19:26:08 2004 From: jason.payne at iland.com (Jason Payne - iland Internet Solutions) Date: Thu, 17 Jun 2004 12:26:08 -0500 Subject: Additional Column in Service Details Message-ID: <7A626FF425518246801C933014AA98F021B8D3@hou-ex01.ihtx.iland.com> I already do both of these things. I suppose i'm not asking for a way to better organize my hosts, rather than asking for a way to add a column to a list of hosts. It's more of a technical question than anything else. Let me be a little more descriptive. I load up the web interface, and click Service Detail on the left. A table pops up. How do I add an addition column to the table, next to hosts, that show the ip address for the host in the table? I'm sure there is a query in the cgi that nabs all of this information out of the status file. I want to know if there is a way to reference the ip address for the host and throw it into that table. An answer to this, obviously, has the ability to broaden my abilities to customize the interface. In other words, I was asking it as an example. Thanks, Jason -----Original Message----- From: Paul L. Allen [mailto:pla at softflare.com] Sent: Thursday, June 17, 2004 10:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Additional Column in Service Details Jason Payne - iland Internet Solutions writes: > So, for instance, if a firewall chokes I can easily see which downed > hosts have ip space behind the firewall without going to the map. Method 1: use hostgroups and put the machines behind the firewall, along with the firewall itself, into their own group. Method 2: use descriptive hostnames like customerx-firewall, customerx-mail, etc. That groups them together in most of the displays, which can be useful even if you also use hostgroups. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 17 19:48:51 2004 From: marc at ena.com (Marc Powell) Date: Thu, 17 Jun 2004 12:48:51 -0500 Subject: Additional Column in Service Details Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6567@mismail2.ena.com> This conversation is probably better suited to nagios-devel. You'll need to look at status.c, find the section of code that displays the specific page you want to edit and make your additions. In Nagios 1.1 it looks like the main host/services display happens around line 3446 (try searching for 'the main list of services'). The variable containing the address looks like it might be 'temp_host->address' but I'm sure if you're able to modify the code to the extent you want then you can determine what it is for sure (or ask on the devel list). -- Marc Jason Payne - iland Internet Solutions wrote: > I already do both of these things. I suppose i'm not asking for a > way to better organize my hosts, rather than asking for a way to add > a column to a list of hosts. It's more of a technical question than > anything else. Let me be a little more descriptive. I load up the > web interface, and click Service Detail on the left. A table pops > up. How do I add an addition column to the table, next to hosts, > that show the ip address for the host in the table? I'm sure there > is a query in the cgi that nabs all of this information out of the > status file. I want to know if there is a way to reference the ip > address for the host and throw it into that table. An answer to > this, obviously, has the ability to broaden my abilities to customize > the interface. In other words, I was asking it as an example. > > Thanks, > Jason > > -----Original Message----- > From: Paul L. Allen [mailto:pla at softflare.com] > Sent: Thursday, June 17, 2004 10:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Additional Column in Service Details > > > Jason Payne - iland Internet Solutions writes: > > > So, for instance, if a firewall chokes I can easily see which downed > > hosts have ip space behind the firewall without going to the map. > > Method 1: use hostgroups and put the machines behind the firewall, > along with the firewall itself, into their own group. > > Method 2: use descriptive hostnames like customerx-firewall, > customerx-mail, etc. That groups them together in most of the > displays, which can be useful even if you also use hostgroups. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 17 19:54:56 2004 From: marc at ena.com (Marc Powell) Date: Thu, 17 Jun 2004 12:54:56 -0500 Subject: Additional Column in Service Details Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B656A@mismail2.ena.com> Actually, looking at the code again I'm not even sure that the host address is even available at the point that page is generated. I encourage you to examine the code in detail to see if it suits your purposes and/or post your query to nagios-devel. -- Marc Jason Payne - iland Internet Solutions wrote: > I already do both of these things. I suppose i'm not asking for a > way to better organize my hosts, rather than asking for a way to add > a column to a list of hosts. It's more of a technical question than > anything else. Let me be a little more descriptive. I load up the > web interface, and click Service Detail on the left. A table pops > up. How do I add an addition column to the table, next to hosts, > that show the ip address for the host in the table? I'm sure there > is a query in the cgi that nabs all of this information out of the > status file. I want to know if there is a way to reference the ip > address for the host and throw it into that table. An answer to > this, obviously, has the ability to broaden my abilities to customize > the interface. In other words, I was asking it as an example. > > Thanks, > Jason > > -----Original Message----- > From: Paul L. Allen [mailto:pla at softflare.com] > Sent: Thursday, June 17, 2004 10:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Additional Column in Service Details > > > Jason Payne - iland Internet Solutions writes: > > > So, for instance, if a firewall chokes I can easily see which downed > > hosts have ip space behind the firewall without going to the map. > > Method 1: use hostgroups and put the machines behind the firewall, > along with the firewall itself, into their own group. > > Method 2: use descriptive hostnames like customerx-firewall, > customerx-mail, etc. That groups them together in most of the > displays, which can be useful even if you also use hostgroups. > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From meck at chilitech.net Thu Jun 17 20:20:41 2004 From: meck at chilitech.net (Michael Eck) Date: Thu, 17 Jun 2004 14:20:41 -0400 Subject: Using ! in check_command - part 2 Message-ID: <0C33D7EC-C08B-11D8-9A71-000A95D9C698@chilitech.net> Original Post: Greetings, Is there a trick than anybody knows of the use a ! as a character in a password for a check_command? The obvious problem is that it's also the field delimiter. Ok, I got lots of replies suggesting that I try to escape my !. I didn't mention it in my first post but I did indeed try that. I tried quotes of several varieties with no luck as well. Has anybody actually gotten this to work or does anybody know that this will work or were they just shots in the dark? Of course I can change the community strings but that's just a cop-out. Any ideas? ---- Michael Eck Chilitech Internet Solutions Network Operations Center 570-323-2166 http://www.chilitech.net -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2365 bytes Desc: not available URL: From Jeremy.Russell at chickasaw.net Thu Jun 17 20:26:24 2004 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Thu, 17 Jun 2004 13:26:24 -0500 Subject: Null mailer - no notifications for contacts that want to view CGIs only (maybe notif to an ML) Message-ID: I you do not need any form of notification at all for a user that can 'view' nagios, it is as simple as creating a user (by whatever authentication mean you use, I authenticate to active Directory in my environment) and then define in the cgi.cfg what the user can see. There is no need to create a contact for that user for them to view the cgi's. _____ From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] Sent: Sunday, June 13, 2004 7:46 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Null mailer - no notifications for contacts that want to view CGIs only (maybe notif to an ML) Dear Ladies and Gentlemen, Does anyone else have a situation where contacts (ie those who want to view the Nag CGIs) do _not_ want individual notifications - perhaps because one of the other contacts is a non personal contact that corresponds to a mailing list and those responsible for the host/service read this mailing list ? Alternatively, a site may require that instead of personal notification, all host and service faults are entered into a 'request tracking' or 'service desk' system but authenticated access to the CGIs is still required for the host/service administrators. I have dealt with this by defining a null notification command ('test 1 -eq 1' but maybe the Bourne shell ':' ['A null command that returns a 0 (true) exit value.'] is better) but Nag must still fork a shell to run this. Is a better way simply to - not define notification commands - leave them out - in the contact template - individually define notification commands for each contact that requires notification ? If that is the case, some of the benefit of the contacts template is lost since most contacts will require notification. OTOH it seems quite sensible and feasable to do this. Is it possible to define a notification command that does _not_ oblige Nagios to fork /bin/sh ? What do others do about this ? Is there any interest in hacking the 1.x notification code to simply skip further processing ('No-op, no-op the angel did say) for a token representing a 'null mailer' ? Perhaps a better way of dealing with this and other related problems is by having more than one level of inheritance from templates - many templates can be constructed that inherit attributes from any parent template and its parents. This may in fact be how it is done in Nag 2.x. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From misaochankun at speakeasy.net Thu Jun 17 21:20:47 2004 From: misaochankun at speakeasy.net (Misao) Date: Thu, 17 Jun 2004 14:20:47 -0500 Subject: Giving check_by_ssh a password In-Reply-To: References: Message-ID: The default behavior of check_by_ssh is to use host keys to log in to an account and run the command you ask it to. This has worked fine except for one unix box. It refuses to accept the key in any way that we have tried, so I want to know if I can just tell check_by_ssh to use a password when it asks for it, or do I have to resort to some other method of checking this box? ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Thu Jun 17 21:23:39 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 17 Jun 2004 21:23:39 +0200 Subject: Popup misbehavior Message-ID: <1087500218.1435.30.camel@localhost.localdomain> Hi folks! I use Nagios 1.1 on Debian Woody, and 800x600 screen resolution. When I click on the Status Map, not every host will appear on the screen. I have to use scroll bars of browser to navigate the other parts of my map. I've noticed a strange popup behavior. Just those popups appear which belong to those icons which I saw first (when the Map showed on the screen after clicking on the Status Map). Those popups which belong to the rest of hosts will not appear. Does anybody know a solution to this annoying thing? Thank you very much, Tamas! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhendrix at stthomas.org Thu Jun 17 23:22:21 2004 From: bhendrix at stthomas.org (Brian Hendrix) Date: Thu, 17 Jun 2004 16:22:21 -0500 Subject: Cell Phone notification Message-ID: I have nagios currently using sendpage to send pages to pagers. This is done the typical way via contacts.cfg configuration below: ################################################################### # 'contactperson' contact definition define contact{ contact_name contactperson alias Contact Person service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,r service_notification_commands notify-by-sendpage host_notification_commands host-notify-by-sendpage service_notification_commands notify-by-email host_notification_commands host-notify-by-email email contactperson at domain.com pager contactperson } I have created in misccommands.cfg, the following notify-by-sendpage definition: ################################################################### # 'notify-by-sendpage' command definition define command{ command_name notify-by-sendpage command_line /usr/bin/snpp -m "Nagios ALERT: Service: $SERVICEDESC$ Host: $HOSTNAME$ Address: $HOSTADDRESS$ State: $SERVICESTATE$ Info: $OUTPUT$ Date: $DATETIME$" $CONTACTPAGER$ } # 'host-notify-by-sendpage' command definition define command{ command_name host-notify-by-sendpage command_line /usr/bin/snpp -m "Nagios ALERT: Service: $SERVICEDESC$ Host: $HOSTNAME$ Address: $HOSTADDRESS$ State: $SERVICESTATE$ Info: $OUTPUT$ Date: $DATETIME$" $CONTACTPAGER$ } I want to now create an additional method of paging still using sendpage but to their cell phone (SMS, text message). Sendpage is configured correctly for this to work. However, how do I add an additional method of notification into the contacts.cfg and the misccommands.cfg? Currently, email notification will interpret the variable $CONTACTEMAIL$ as the email address after email in contacts.cfg. Also pager notification will interpret the variable $CONTACTPAGER$ as the pager ID for sendpage to page to. I want to create a notify-by-textmessage entry in misccommands.cfg using $CONTACTTEXTMSG$ as a variable to be interpreted as textmsg from the contacts.cfg file. Example: (from contacts.cfg) ..... service_notification_commands notify-by-textmsg host_notification_commands host-notify-by-textmsg ..... (from misccommands.cfg) # 'notify-by-textmsg command definition define command{ command_name notify-by-textmsg command_line /usr/bin/snpp -m "Nagios ALERT: Service: $SERVICEDESC$ Host: $HOSTNAME$ Address: $HOSTADDRESS$ State: $SERVICESTATE$ Info: $OUTPUT$ Date: $DATETIME$" $CONTACTTEXTMSG$ } Will this work? Does the variable $CONTACTTEXTMSG$ work correctly? Thanks for your assistance, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~ Brian Hendrix Team Leader DTR Services Saint Thomas Health Services 2000 Church Street Nashville, TN 37236 bhendrix at stthomas.org (615) 284-5297 (work) (615) 222-1704 (fax) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dbadrak-61a5RULNQvYhg10zWICiQg at public.gmane.org Thu Jun 17 23:37:21 2004 From: dbadrak-61a5RULNQvYhg10zWICiQg at public.gmane.org (Don Badrak) Date: Thu, 17 Jun 2004 17:37:21 -0400 Subject: [Nagios-users] Check_mailq usage In-Reply-To: <40D14C29.1020507-SVHme89sSHE@public.gmane.org> References: <40D14C29.1020507@cict.fr> Message-ID: Carole, On Thu, 17 Jun 2004, carole verdon wrote: > Hi, > > I use the patch of check_mailq submitted by Don Badrak. > http://sourceforge.net/tracker/index.php?func=detail&aid=880904&group_id=29880&atid=397599 > > I don't understand the result of this plugin. > > When i execute the following command in local mode, i obtain: > > [nagios-14XT2ufUFtE at public.gmane.org libexec]$./check_mailq -w 20 -c 50 -f /etc/mail/sendmail.cf.delivery (to take the queue directory /var/spool/mqueue1) > > OK: mailq is empty|unsent=0;20;50;0 These numbers mean (I didn't write that part): 0 no message in the queue 20 warning level 50 critical level 0 (hardcoded to 0, not sure what it's for) > Whereas the queue directory /var/spool/mqueue1 contains a lot of files. > [nagios-14XT2ufUFtE at public.gmane.org libexec]$ ls -la /var/spool/mqueue1|more > total 19208 > drwxr-xr-x 2 root mail 356352 Jun 17 08:36 . > drwxr-xr-x 17 root root 4096 May 27 11:31 .. > -rw------- 1 root root 120 Jun 14 08:43 dfi5E6hCVr020981 > -rw------- 1 root root 8491 Jun 14 08:45 dfi5E6jck4023564 > -rw------- 1 root root 18003 Jun 14 09:02 dfi5E72Glg006944 > -rw------- 1 root root 18003 Jun 14 09:36 dfi5E7aFHI031188 > -rw------- 1 root root 18009 Jun 14 09:41 dfi5E7f0Z9001998 > -rw------- 1 root root 18009 Jun 14 09:45 dfi5E7jOiU005300 > -rw------- 1 root root 18003 Jun 14 09:20 dfi5E7KPYg021585 > -rw------- 1 root root 18003 Jun 14 09:21 dfi5E7LAu9021927 > -rw------- 1 root root 18003 Jun 14 09:21 dfi5E7LuPY022338 > -rw------- 1 root root 18003 Jun 14 09:50 dfi5E7oAii008351 > -rw------- 1 root root 18108 Jun 14 09:25 dfi5E7PjTM024651 > -rw------- 1 root root 18003 Jun 14 09:52 dfi5E7qkX2010331 > -rw------- 1 root root 593 Jun 14 09:55 dfi5E7t2KY011829 > -rw------- 1 root root 18108 Jun 14 09:30 dfi5E7UuW0027677 > -rw------- 1 root root 18108 Jun 14 09:33 dfi5E7Xx8X029494 > -rw------- 1 root root 18003 Jun 14 09:35 dfi5E7ZTbH030643 > -rw------- 1 root root 208387 Jun 14 11:51 dfi5E9owJa022588 > -rw------- 1 root root 1683 Jun 14 14:21 dfi5ECL3bL013410 > -rw------- 1 root root 1904 Jun 14 14:49 dfi5ECndk5002742 > -rw------- 1 root root 48 Jun 15 08:41 dfi5ECq4Xn004549 > -rw------- 1 root root 1086 Jun 14 14:27 dfi5ECRHMn018953 > -rw------- 1 root root 11199 Jun 14 14:58 dfi5ECw3wi009133 > -rw------- 1 root root 11199 Jun 14 14:58 dfi5ECw3xC009133 > -rw------- 1 root root 11199 Jun 14 14:58 dfi5ECw3xU009133 > -rw------- 1 root root 8715 Jun 14 15:48 dfi5EDmXmS015674 > -rw------- 1 root root 3063 Jun 14 15:32 dfi5EDWsC4003637 > -rw------- 1 root root 38504 Jun 14 16:37 dfi5EEarJ1016521 > -rw------- 1 root root 38504 Jun 14 16:38 dfi5EEarJl016521 > ........ > > > Why does it find the queue directory is empty? Yes, it has a lot of files, but there are no qf* files (the queue control file). Without a corresponding qf* file, the df* (data file, the actual message) files will stay there. Sounds like you had some problems with your mail system somehow, where either the qf* files didn't get created (sendmail hung or file system problems) or the df* files didn't get deleted. > As i'm not a programmer, can someone answer to my question and help me? > > My OS is a linux v2.4. Don -- Don Badrak 301.763.5534 work Telecommunications Office 301.457.4438 fax U.S. Bureau of the Census Suitland MD, USA ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at intercable.net.ve Thu Jun 17 23:38:26 2004 From: jbautista at intercable.net.ve (Jeyri Bautista) Date: Thu, 17 Jun 2004 17:38:26 -0400 Subject: compile nagios --with-file-perfdata Message-ID: <004701c454b3$6c31d1e0$2605020a@bjeyri> Hi, I?m trying to compile the nagios with the performance data file based, but I execute the ./configure ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-file-perfdata --with-template-extinfo But when I execute make all appear the following error: [user at nagios nagios-1.2]# make all cd ./base && make make[1]: Cambiando a directorio `/usr/src/nagios-1.2/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o commands.o flapp ing.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrdde fault.c ../common/comments.c ../xdata/xcddefault.c ../common/objects.c ../xdata/ xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c perfdata.o ../xdata/x pdfile.c ../common/downtime.c ../xdata/xdddefault.c -lm -o nagios perfdata.o: In function `initialize_performance_data': /usr/src/nagios-1.2/base/perfdata.c:57: undefined reference to `xpddefault_initialize_performance_data' perfdata.o: In function `cleanup_performance_data': /usr/src/nagios-1.2/base/perfdata.c:73: undefined reference to `xpddefault_cleanup_performance_data' perfdata.o: In function `update_service_performance_data': /usr/src/nagios-1.2/base/perfdata.c:103: undefined reference to `xpddefault_update_service_performance_data' perfdata.o: In function `update_host_performance_data': /usr/src/nagios-1.2/base/perfdata.c:127: undefined reference to `xpddefault_update_host_performance_data' collect2: ld devolvi?? el estado de salida 1 make[1]: *** [nagios] Error 1 make[1]: Saliendo directorio `/usr/src/nagios-1.2/base' make: *** [all] Error 2 When I compile whit the --with-default-perfdata all is fine. What can I do to solve that? Thanks, Jeyri -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Thu Jun 17 23:53:39 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 17 Jun 2004 16:53:39 -0500 Subject: NT service with "$" in the name In-Reply-To: <40D1C196.90107@bluecobras.com> References: <1087339122.4979.22.camel@localhost> <1087482969.10931.45.camel@localhost> <40D1C196.90107@bluecobras.com> Message-ID: <1087509219.14021.2.camel@localhost> On Thu, 2004-06-17 at 12:06 -0400, Chris Hammond wrote: > check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -d SHOWALL -l > MSSQL\$BKUPEXEC" Is that ending " intentional? > This command from the command line yields; > > MSSQL$BKUPEXEC: Started > > Called from services with; > > check_nt_mssqlbkupexec_service! Drop that ending ! for sure! > But in the Nagios front end, it shows up as; > > MSSQL$BKUPEXEC$: Unknown. > > Thanks again for your time Jeff. I really appreciate it. > > Chris > > jeff vier wrote: > > can you resend your checkcommand as it looks now? > > > > On Tue, 2004-06-15 at 18:38 -0400, Chris Hammond wrote: > > > >>Hey Jeff, don't know if you didn't see the last message I sent on the > >>subject but here it is. > >> > >>Okay, from the command line MSSQL\$BKUPEXEC reports properly. > >>MSSQL$BKUPEXEC: Started. However by the time it makes it to the > >>Nagios frontend it is MSSQL$BKUPEXEC$: Unknown. So your initial > >>recommendation was correct but now something else is sticking it"s > >>nose were it doesn"t belong. :) > >> > >>Have any ideas? > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Fri Jun 18 00:34:46 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 17 Jun 2004 16:34:46 -0600 Subject: Using ! in check_command - part 2 Message-ID: <41FD7929498A174DAB86C45F28E0EC0D0ABD34@golden-m.mactec.com> ??? SNMP checks work for me with a '!' in the community string. Now, I don't remember if I needed to escape it or not, and I can't get to the box to check it right now, so you may need to try it both ways. However, I did NOT put the community string in the services.cfg or checkcommands.cfg. I wanted to be a little bit more safe, so I assigned it to one of the user variables in resource.cfg. I then added this variable (ie. $USER9$) to my check command as an argument. Whether or not this should really be considered 'safe' might be disputed by some. It's never been compromised and it works in my check commands, so I'm happy. HTH. -g -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Michael Eck Sent: Thu 6/17/2004 12:20 PM To: nagios-users Cc: Subject: [Nagios-users] Using ! in check_command - part 2 Original Post: Greetings, Is there a trick than anybody knows of the use a ! as a character in a password for a check_command? The obvious problem is that it's also the field delimiter. Ok, I got lots of replies suggesting that I try to escape my !. I didn't mention it in my first post but I did indeed try that. I tried quotes of several varieties with no luck as well. Has anybody actually gotten this to work or does anybody know that this will work or were they just shots in the dark? Of course I can change the community strings but that's just a cop-out. Any ideas? ---- Michael Eck -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at bluecobras.com Fri Jun 18 00:52:24 2004 From: chris at bluecobras.com (Chris Hammond) Date: Thu, 17 Jun 2004 18:52:24 -0400 Subject: NT service with "$" in the name In-Reply-To: <1087509219.14021.2.camel@localhost> References: <1087339122.4979.22.camel@localhost> <1087482969.10931.45.camel@localhost> <40D1C196.90107@bluecobras.com> <1087509219.14021.2.camel@localhost> Message-ID: <40D220A8.7090309@bluecobras.com> jeff vier wrote: > On Thu, 2004-06-17 at 12:06 -0400, Chris Hammond wrote: > >>check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -d SHOWALL -l >>MSSQL\$BKUPEXEC" > > > Is that ending " intentional? Actually in my command line tests, "MSSQL\$BKUPEXEC" and MSSQL\$BKUPEXEC yield the same result. Their should have been a beginning " also. >>This command from the command line yields; >> >>MSSQL$BKUPEXEC: Started >> >>Called from services with; >> >>check_nt_mssqlbkupexec_service! > > > Drop that ending ! for sure! That is the service and the ! is the $HOSTADDRESS$. Should I be writing it a different way? Thanks Chris ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jun 18 03:25:55 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 18 Jun 2004 11:25:55 +1000 Subject: check_citrix In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Thu, Jun 17, 2004 at 08:42:02AM -0700 References: Message-ID: <20040618112555.C21360@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Thu, Jun 17, 2004 at 08:42:02AM -0700, nagios-users-request at lists.sourceforge.net wrote: .. snip .. many bytes of multi-part (quoted printable + HTML) deleted from digest. > > From: "Wengrzik, Andreas" > To: > Subject: [Nagios-users] check_citrix > > Hello! > > > Anyone can help me an give me a short instruction for using check_citrix = > ? > I donnu what this plug in means with masterbrowser ?!? We don=B4t have = > somethin like that. > > I only have to check if icmp and IMA is running.... ICA ? > Maybe another check like check_citrix?!? If you only want to check that the ICA server is alive, check_tcp -H citrix_server -p 1494. However, the Citrix client protocol is to use a 'Citrix Master Browser' to locate the server on which the application it wants an ICA session with is running. No 'Citrix Master Browser' == No Citrix service, in many cases. check_citrix simulates an ICA client in discovering a 'Citrix Master Browser' and reporting the address it found. In some cases, you want the 'Citrix Master Browser' to be running on a partic server, so it also checks if the one found is the one you want. As usual check_citrix -h should be informative. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Fri Jun 18 09:19:10 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 18 Jun 2004 09:19:10 +0200 Subject: PerfParse Help? Message-ID: <945C3F9C3F209144A12CB725111FC08D33F20C@sygomail1.goe.ad.sycor.de> Just to make this complete, in the perfparse mailing list is a workaround for the check_ifstatus plugin published. Seems if the original check_ifstatus generates PerformanceData Perfparse can't get handy with. > -----Original Message----- > From: Jon Lyons [mailto:jlyons30 at yahoo.com] > Sent: Tuesday, June 15, 2004 7:24 PM > To: Cook, Garry; nagios-users at lists.sourceforge.net; > perfparse-devel at lists.sourceforge.net > Subject: RE: [Nagios-users] PerfParse Help? > > Yep, 99% of my checks are with the check_ping plugin, > allthough check_ifstatus does reports the performance > numbers, but doesn't show up in the graphs... > > Just spent the entire day trying to fix my MYsql client so I > can try this and none of my checks are supported yet....ARGH! > > > --- "Cook, Garry" wrote: > > Jon Lyons wrote: > > > Ok, I finally got PerfParse installed and running, > > but > > > only 6 hosts out of 200 are being displayed with > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) > Conference Learn from the experts at JavaOne(SM), Sun's > Worldwide Java Developer Conference, June 28 - July 1 at the > Moscone Center in San Francisco, CA REGISTER AND SAVE! > http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand-MYUYVTIkhZ8 at public.gmane.org Fri Jun 18 09:47:09 2004 From: Philipp.Sand-MYUYVTIkhZ8 at public.gmane.org (Sand Philipp) Date: Fri, 18 Jun 2004 09:47:09 +0200 Subject: [Nagios-users] Performance Data out of check_ping Message-ID: <945C3F9C3F209144A12CB725111FC08D33F20D@sygomail1.goe.ad.sycor.de> ups sorry for this post... had no time to read the mailing list the last fewdays :-/ _____ From: Sand Philipp Sent: Thursday, June 17, 2004 3:07 PM To: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org; nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Subject: [Nagios-users] Performance Data out of check_ping Hi, Is there a Plugin for Ping which can produce Performance Data, or is there a workaroud to modify the check_ping Plugin to do so? I startet to use the Perfgraph Addon, which makes pretty Graphs out of the Performance Data many Plugins commit, but the check_ping Plugin isn't able to do this, so far :-/ Thanks in advance. Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand-MYUYVTIkhZ8 at public.gmane.org www.sycor.de ------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From verdon at cict.fr Fri Jun 18 10:03:30 2004 From: verdon at cict.fr (carole verdon) Date: Fri, 18 Jun 2004 10:03:30 +0200 Subject: Check_mailq usage In-Reply-To: References: <40D14C29.1020507@cict.fr> Message-ID: <40D2A1D2.8010001@cict.fr> But i have got the qf* files in /var/spool/mqueue1: [nagios at gw1-mail plugins-scripts]$ ls -la /var/spool/mqueue1|more ... -rw------- 1 root root 1214 Jun 18 08:45 qfi5F7lLQU018592 -rw------- 1 root root 1270 Jun 18 08:38 qfi5F7upaq026391 -rw------- 1 root root 1520 Jun 18 08:45 qfi5F8qxkY015433 -rw------- 1 root root 1303 Jun 18 08:25 qfi5F9lA9f017520 -rw------- 1 root root 1077 Jun 18 08:28 qfi5FA0iYO002193 -rw------- 1 root root 910 Jun 18 08:16 qfi5FACOZD018046 -rw------- 1 root root 1226 Jun 18 08:28 qfi5FAq6Po018406 -rw------- 1 root root 2513 Jun 18 08:35 qfi5FArclt020854 -rw------- 1 root root 2513 Jun 18 08:35 qfi5FB2wV2001275 -rw------- 1 root root 1258 Jun 18 08:19 qfi5FBiTTq018978 -rw------- 1 root root 2223 Jun 18 08:28 qfi5FBQnq6030125 -rw------- 1 root root 1231 Jun 18 08:40 qfi5FBvuj4002931 -rw------- 1 root root 1272 Jun 18 08:45 qfi5FCbjn7032123 -rw------- 1 root root 943 Jun 18 08:31 qfi5FCefJ0002705 -rw------- 1 root root 1878 Jun 18 08:22 qfi5FCjQJS006138 -rw------- 1 root root 1616 Jun 18 08:45 qfi5FCk5El006633 -rw------- 1 root root 2513 Jun 18 08:45 qfi5FCQAPp023249 -rw------- 1 root root 2513 Jun 18 08:45 qfi5FCU7k7026177 -rw------- 1 root root 1275 Jun 18 08:38 qfi5FD7WRd022388 -rw------- 1 root root 1196 Jun 18 08:09 qfi5FDEQ1a027435 -rw------- 1 root root 2513 Jun 18 08:35 qfi5FDU9dP006223 -rw------- 1 root root 911 Jun 18 08:19 qfi5FEFG4n006807 -rw------- 1 root root 2513 Jun 18 08:35 qfi5FENTg0012842 -rw------- 1 root root 1159 Jun 18 08:28 qfi5FFDqRr011585 -rw------- 1 root root 1020 Jun 18 07:50 qfi5FFnFdn002657 -rw------- 1 root root 919 Jun 18 08:03 qfi5FFNnS0017593 -rw------- 1 root root 1233 Jun 18 08:19 qfi5FFPoRN019173 -rw------- 1 root root 993 Jun 18 08:06 qfi5FFxFkg012137 -rw------- 1 root root 1241 Jun 18 08:19 qfi5FGCagP023592 -rw------- 1 root root 1213 Jun 18 08:19 qfi5FGDVOC024196 -rw------- 1 root root 2512 Jun 18 08:19 qfi5FGjWkr014177 -rw------- 1 root root 2513 Jun 18 08:19 qfi5FGw2UF022547 -rw------- 1 root root 1292 Jun 18 08:19 qfi5FHDSLS032581 ........ In fact, i find what it's my problem. The /usr/bin/mailq command count only the number of "requests" for the queue directory: /var/spool/mqueue [nagios at gw1-mail plugins-scripts]$ ./check_mailq -w 200 -c 500 -f /etc/mail/sendmail.cf -v qpattern before open mailq= /var/spool/mqueue after open, mailq= /usr/bin/mailq qpattern apres if= /var/spool/mqueue /usr/bin/mailq = /var/spool/mqueue (618 requests) size = 618, msg_q = 618 warn=200 crit=500 msg_q = 618 warn=200 crit=500 CRITICAL: mailq is 618 (threshold c = 500)|unsent=618;200;500;0 So when i want run the script to the queue directory: /var/spool/mqueue1, it don't work. [nagios at gw1-mail plugins-scripts]$ ./check_mailq -w 20 -c 50 -f /etc/mail/sendmail.cf.delivery -v qpattern before open mailq= /var/spool/mqueue1 after open, mailq= /usr/bin/mailq OK: mailq is empty|unsent=0;20;50;0 To work, the mailq command must be /usr/sbin/sendmail -bp -C configfile_sendmail where configfile_sendmail = /etc/mail/sendmail.cf or /etc/mail/sendmail.cf.delivery How can i do that? Thanks for your help. Carole. Don Badrak wrote: >Carole, > >On Thu, 17 Jun 2004, carole verdon wrote: > > > >>Hi, >> >>I use the patch of check_mailq submitted by Don Badrak. >>http://sourceforge.net/tracker/index.php?func=detail&aid=880904&group_id=29880&atid=397599 >> >>I don't understand the result of this plugin. >> >>When i execute the following command in local mode, i obtain: >> >>[nagios at gw1-mail libexec]$./check_mailq -w 20 -c 50 -f /etc/mail/sendmail.cf.delivery (to take the queue directory /var/spool/mqueue1) >> >>OK: mailq is empty|unsent=0;20;50;0 >> >> > >These numbers mean (I didn't write that part): > > 0 no message in the queue > 20 warning level > 50 critical level > 0 (hardcoded to 0, not sure what it's for) > > > >>Whereas the queue directory /var/spool/mqueue1 contains a lot of files. >> >> > > > >>[nagios at gw1-mail libexec]$ ls -la /var/spool/mqueue1|more >>total 19208 >>drwxr-xr-x 2 root mail 356352 Jun 17 08:36 . >>drwxr-xr-x 17 root root 4096 May 27 11:31 .. >>-rw------- 1 root root 120 Jun 14 08:43 dfi5E6hCVr020981 >>-rw------- 1 root root 8491 Jun 14 08:45 dfi5E6jck4023564 >>-rw------- 1 root root 18003 Jun 14 09:02 dfi5E72Glg006944 >>-rw------- 1 root root 18003 Jun 14 09:36 dfi5E7aFHI031188 >>-rw------- 1 root root 18009 Jun 14 09:41 dfi5E7f0Z9001998 >>-rw------- 1 root root 18009 Jun 14 09:45 dfi5E7jOiU005300 >>-rw------- 1 root root 18003 Jun 14 09:20 dfi5E7KPYg021585 >>-rw------- 1 root root 18003 Jun 14 09:21 dfi5E7LAu9021927 >>-rw------- 1 root root 18003 Jun 14 09:21 dfi5E7LuPY022338 >>-rw------- 1 root root 18003 Jun 14 09:50 dfi5E7oAii008351 >>-rw------- 1 root root 18108 Jun 14 09:25 dfi5E7PjTM024651 >>-rw------- 1 root root 18003 Jun 14 09:52 dfi5E7qkX2010331 >>-rw------- 1 root root 593 Jun 14 09:55 dfi5E7t2KY011829 >>-rw------- 1 root root 18108 Jun 14 09:30 dfi5E7UuW0027677 >>-rw------- 1 root root 18108 Jun 14 09:33 dfi5E7Xx8X029494 >>-rw------- 1 root root 18003 Jun 14 09:35 dfi5E7ZTbH030643 >>-rw------- 1 root root 208387 Jun 14 11:51 dfi5E9owJa022588 >>-rw------- 1 root root 1683 Jun 14 14:21 dfi5ECL3bL013410 >>-rw------- 1 root root 1904 Jun 14 14:49 dfi5ECndk5002742 >>-rw------- 1 root root 48 Jun 15 08:41 dfi5ECq4Xn004549 >>-rw------- 1 root root 1086 Jun 14 14:27 dfi5ECRHMn018953 >>-rw------- 1 root root 11199 Jun 14 14:58 dfi5ECw3wi009133 >>-rw------- 1 root root 11199 Jun 14 14:58 dfi5ECw3xC009133 >>-rw------- 1 root root 11199 Jun 14 14:58 dfi5ECw3xU009133 >>-rw------- 1 root root 8715 Jun 14 15:48 dfi5EDmXmS015674 >>-rw------- 1 root root 3063 Jun 14 15:32 dfi5EDWsC4003637 >>-rw------- 1 root root 38504 Jun 14 16:37 dfi5EEarJ1016521 >>-rw------- 1 root root 38504 Jun 14 16:38 dfi5EEarJl016521 >> ........ >> >> >>Why does it find the queue directory is empty? >> >> > >Yes, it has a lot of files, but there are no qf* files (the queue control >file). Without a corresponding qf* file, the df* (data file, the actual >message) files will stay there. Sounds like you had some problems with >your mail system somehow, where either the qf* files didn't get created >(sendmail hung or file system problems) or the df* files didn't get >deleted. > > > >>As i'm not a programmer, can someone answer to my question and help me? >> >>My OS is a linux v2.4. >> >> > >Don > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From verdon-SVHme89sSHE at public.gmane.org Fri Jun 18 10:51:56 2004 From: verdon-SVHme89sSHE at public.gmane.org (carole verdon) Date: Fri, 18 Jun 2004 10:51:56 +0200 Subject: [Nagios-users] Check_mailq usage In-Reply-To: <40D2A1D2.8010001-SVHme89sSHE@public.gmane.org> References: <40D14C29.1020507@cict.fr> <40D2A1D2.8010001@cict.fr> Message-ID: <40D2AD2C.7080400@cict.fr> Hi all, I solve my problem. I just change the line 88 of check_mailq.pl written by Don Badrak as this: ## open mailq if ( defined $utils::PATH_TO_MAILQ && -x $utils::PATH_TO_MAILQ) { - if (! open (MAILQ, "$utils::PATH_TO_MAILQ | " ) ) + if (! open (MAILQ, "$utils::PATH_TO_MAILQ $configfile | " ) ) So now, the mailq command is /usr/bin/mailq -C/etc/mail/sendmail.cf or /usr/bin/mailq -C/etc/mail/sendmail.cf.delivery if i use the -f option. Carole. carole verdon wrote: > But i have got the qf* files in /var/spool/mqueue1: > > [nagios-14XT2ufUFtE at public.gmane.org plugins-scripts]$ ls -la /var/spool/mqueue1|more > ... > -rw------- 1 root root 1214 Jun 18 08:45 qfi5F7lLQU018592 > -rw------- 1 root root 1270 Jun 18 08:38 qfi5F7upaq026391 > -rw------- 1 root root 1520 Jun 18 08:45 qfi5F8qxkY015433 > -rw------- 1 root root 1303 Jun 18 08:25 qfi5F9lA9f017520 > -rw------- 1 root root 1077 Jun 18 08:28 qfi5FA0iYO002193 > -rw------- 1 root root 910 Jun 18 08:16 qfi5FACOZD018046 > -rw------- 1 root root 1226 Jun 18 08:28 qfi5FAq6Po018406 > -rw------- 1 root root 2513 Jun 18 08:35 qfi5FArclt020854 > -rw------- 1 root root 2513 Jun 18 08:35 qfi5FB2wV2001275 > -rw------- 1 root root 1258 Jun 18 08:19 qfi5FBiTTq018978 > -rw------- 1 root root 2223 Jun 18 08:28 qfi5FBQnq6030125 > -rw------- 1 root root 1231 Jun 18 08:40 qfi5FBvuj4002931 > -rw------- 1 root root 1272 Jun 18 08:45 qfi5FCbjn7032123 > -rw------- 1 root root 943 Jun 18 08:31 qfi5FCefJ0002705 > -rw------- 1 root root 1878 Jun 18 08:22 qfi5FCjQJS006138 > -rw------- 1 root root 1616 Jun 18 08:45 qfi5FCk5El006633 > -rw------- 1 root root 2513 Jun 18 08:45 qfi5FCQAPp023249 > -rw------- 1 root root 2513 Jun 18 08:45 qfi5FCU7k7026177 > -rw------- 1 root root 1275 Jun 18 08:38 qfi5FD7WRd022388 > -rw------- 1 root root 1196 Jun 18 08:09 qfi5FDEQ1a027435 > -rw------- 1 root root 2513 Jun 18 08:35 qfi5FDU9dP006223 > -rw------- 1 root root 911 Jun 18 08:19 qfi5FEFG4n006807 > -rw------- 1 root root 2513 Jun 18 08:35 qfi5FENTg0012842 > -rw------- 1 root root 1159 Jun 18 08:28 qfi5FFDqRr011585 > -rw------- 1 root root 1020 Jun 18 07:50 qfi5FFnFdn002657 > -rw------- 1 root root 919 Jun 18 08:03 qfi5FFNnS0017593 > -rw------- 1 root root 1233 Jun 18 08:19 qfi5FFPoRN019173 > -rw------- 1 root root 993 Jun 18 08:06 qfi5FFxFkg012137 > -rw------- 1 root root 1241 Jun 18 08:19 qfi5FGCagP023592 > -rw------- 1 root root 1213 Jun 18 08:19 qfi5FGDVOC024196 > -rw------- 1 root root 2512 Jun 18 08:19 qfi5FGjWkr014177 > -rw------- 1 root root 2513 Jun 18 08:19 qfi5FGw2UF022547 > -rw------- 1 root root 1292 Jun 18 08:19 qfi5FHDSLS032581 > ........ > > > In fact, i find what it's my problem. The /usr/bin/mailq command count > only the number of "requests" for the queue directory: /var/spool/mqueue > > [nagios-14XT2ufUFtE at public.gmane.org plugins-scripts]$ ./check_mailq -w 200 -c 500 -f > /etc/mail/sendmail.cf -v > qpattern before open mailq= /var/spool/mqueue > after open, mailq= /usr/bin/mailq > qpattern apres if= /var/spool/mqueue > /usr/bin/mailq = /var/spool/mqueue (618 requests) > size = 618, msg_q = 618 warn=200 crit=500 > msg_q = 618 warn=200 crit=500 > CRITICAL: mailq is 618 (threshold c = 500)|unsent=618;200;500;0 > > > So when i want run the script to the queue directory: > /var/spool/mqueue1, it don't work. > > [nagios-14XT2ufUFtE at public.gmane.org plugins-scripts]$ ./check_mailq -w 20 -c 50 -f > /etc/mail/sendmail.cf.delivery -v > qpattern before open mailq= /var/spool/mqueue1 > after open, mailq= /usr/bin/mailq > OK: mailq is empty|unsent=0;20;50;0 > > > To work, the mailq command must be /usr/sbin/sendmail -bp -C > configfile_sendmail where configfile_sendmail = /etc/mail/sendmail.cf > or /etc/mail/sendmail.cf.delivery > > How can i do that? > > Thanks for your help. > > Carole. > > > Don Badrak wrote: > >>Carole, >> >>On Thu, 17 Jun 2004, carole verdon wrote: >> >> >> >>>Hi, >>> >>>I use the patch of check_mailq submitted by Don Badrak. >>>http://sourceforge.net/tracker/index.php?func=detail&aid=880904&group_id=29880&atid=397599 >>> >>>I don't understand the result of this plugin. >>> >>>When i execute the following command in local mode, i obtain: >>> >>>[nagios-14XT2ufUFtE at public.gmane.org libexec]$./check_mailq -w 20 -c 50 -f /etc/mail/sendmail.cf.delivery (to take the queue directory /var/spool/mqueue1) >>> >>>OK: mailq is empty|unsent=0;20;50;0 >>> >>> >> >>These numbers mean (I didn't write that part): >> >> 0 no message in the queue >> 20 warning level >> 50 critical level >> 0 (hardcoded to 0, not sure what it's for) >> >> >> >>>Whereas the queue directory /var/spool/mqueue1 contains a lot of files. >>> >>> >> >> >> >>>[nagios-14XT2ufUFtE at public.gmane.org libexec]$ ls -la /var/spool/mqueue1|more >>>total 19208 >>>drwxr-xr-x 2 root mail 356352 Jun 17 08:36 . >>>drwxr-xr-x 17 root root 4096 May 27 11:31 .. >>>-rw------- 1 root root 120 Jun 14 08:43 dfi5E6hCVr020981 >>>-rw------- 1 root root 8491 Jun 14 08:45 dfi5E6jck4023564 >>>-rw------- 1 root root 18003 Jun 14 09:02 dfi5E72Glg006944 >>>-rw------- 1 root root 18003 Jun 14 09:36 dfi5E7aFHI031188 >>>-rw------- 1 root root 18009 Jun 14 09:41 dfi5E7f0Z9001998 >>>-rw------- 1 root root 18009 Jun 14 09:45 dfi5E7jOiU005300 >>>-rw------- 1 root root 18003 Jun 14 09:20 dfi5E7KPYg021585 >>>-rw------- 1 root root 18003 Jun 14 09:21 dfi5E7LAu9021927 >>>-rw------- 1 root root 18003 Jun 14 09:21 dfi5E7LuPY022338 >>>-rw------- 1 root root 18003 Jun 14 09:50 dfi5E7oAii008351 >>>-rw------- 1 root root 18108 Jun 14 09:25 dfi5E7PjTM024651 >>>-rw------- 1 root root 18003 Jun 14 09:52 dfi5E7qkX2010331 >>>-rw------- 1 root root 593 Jun 14 09:55 dfi5E7t2KY011829 >>>-rw------- 1 root root 18108 Jun 14 09:30 dfi5E7UuW0027677 >>>-rw------- 1 root root 18108 Jun 14 09:33 dfi5E7Xx8X029494 >>>-rw------- 1 root root 18003 Jun 14 09:35 dfi5E7ZTbH030643 >>>-rw------- 1 root root 208387 Jun 14 11:51 dfi5E9owJa022588 >>>-rw------- 1 root root 1683 Jun 14 14:21 dfi5ECL3bL013410 >>>-rw------- 1 root root 1904 Jun 14 14:49 dfi5ECndk5002742 >>>-rw------- 1 root root 48 Jun 15 08:41 dfi5ECq4Xn004549 >>>-rw------- 1 root root 1086 Jun 14 14:27 dfi5ECRHMn018953 >>>-rw------- 1 root root 11199 Jun 14 14:58 dfi5ECw3wi009133 >>>-rw------- 1 root root 11199 Jun 14 14:58 dfi5ECw3xC009133 >>>-rw------- 1 root root 11199 Jun 14 14:58 dfi5ECw3xU009133 >>>-rw------- 1 root root 8715 Jun 14 15:48 dfi5EDmXmS015674 >>>-rw------- 1 root root 3063 Jun 14 15:32 dfi5EDWsC4003637 >>>-rw------- 1 root root 38504 Jun 14 16:37 dfi5EEarJ1016521 >>>-rw------- 1 root root 38504 Jun 14 16:38 dfi5EEarJl016521 >>> ........ >>> >>> >>>Why does it find the queue directory is empty? >>> >>> >> >>Yes, it has a lot of files, but there are no qf* files (the queue control >>file). Without a corresponding qf* file, the df* (data file, the actual >>message) files will stay there. Sounds like you had some problems with >>your mail system somehow, where either the qf* files didn't get created >>(sendmail hung or file system problems) or the df* files didn't get >>deleted. >> >> >> >>>As i'm not a programmer, can someone answer to my question and help me? >>> >>>My OS is a linux v2.4. >>> >>> >> >>Don >> >> > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon-SVHme89sSHE at public.gmane.org ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From twelsh at square-box.com Fri Jun 18 10:42:04 2004 From: twelsh at square-box.com (Tom Welsh) Date: Fri, 18 Jun 2004 09:42:04 +0100 Subject: check_ping problem Message-ID: Hi All, Nagios 1.2 Plugins 1.3.1 Debian woody I'm getting an intermittent problem with check ping. Several times a day I'm getting critical alerts from check ping saying its failing. When I look in Notifications the information section shows "check_ping: %s: Warning threshold must be integer or percentage!" Here are my service check and check command configs for this service Services.cfg define service{ use generic host_name mail-1,mail-2,mail-3 service_description PING is_volatile 0 check_period 24x7 contact_groups internet-mail-servers notification_options w,u,c,r check_command check_ping!130.0,20%%!200.0,60%% } Checkcommand.cfg # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } Su'ing to Nagios I can run the command fine on the command line ubermonger:/usr/local/nagios/etc$ ../libexec/check_ping -H 80.87.131.163 -w 100,20% -c 150,40% PING OK - Packet loss = 0%, RTA = 0.00 ms ubermonger:/usr/local/nagios/etc$ ../libexec/check_ping -H 80.87.131.163 -w 100,20%% -c 150,40%% -p 2 PING OK - Packet loss = 0%, RTA = 0.00 ms I've tried with a single % and a double %% symbol but get the same results. Anyone point out what I have done wrong coz I cant spot it :-( Cheers Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From h.baecker at ecofis.de Fri Jun 18 11:15:10 2004 From: h.baecker at ecofis.de (h.baecker at ecofis.de) Date: Fri, 18 Jun 2004 11:15:10 +0200 Subject: Perf-Problem - Not more than 255 Childs? Message-ID: Hi List, I have som performance Problems with my Nagios. It is running on an IBM Server with following specs: CPU Info: 4 x Intel(R) XEON(TM) CPU 2.00GHz Mem Info: total: used: free: shared: buffers: cached: Mem: 2649300992 2368167936 281133056 0 672956416 949780480 Swap: 1081470976 48660480 1032810496 I think it is not a small system. All about we've got 613 Hosts and 2600 Services. I would say that 99% of the service checks have an check_interval = 600 seconds. The Process Info says that just 75% of the whole checks where checked within a 5 minute intervall. During my examine of nagios and system I found out that max 255 procesess owned by nagios with service checks etc. Is there a limit of maximum procs? or: How can I optimize Nagios to check all of the Services within 5 minutes? Any ideas? Thanks for hopefully a much of answers. Hendrik -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christian.Bock at liz.lsa-net.de Fri Jun 18 11:19:01 2004 From: Christian.Bock at liz.lsa-net.de (Bock, Christian) Date: Fri, 18 Jun 2004 11:19:01 +0200 Subject: check_ping and performance data Message-ID: <53B7932F94C4DE49B3A9AD98715FCF2C09D7DC@lrpc79.liz.lsa-net.de> is it really *that* easy? I just added the missing information to the output line in check_pinp.c and everything's working great :-))) chris 136c136 < if (display_html == TRUE) --- > if (display_html == TRUE) { 139,140c139,140 < printf (_("PING %s - %sPacket loss = %d%%"), state_text (this_result), warn_text, < pl); --- > printf (_("PING %s - %sPacket loss = %d%%"),state_text (this_result), warn_text, pl ); > 143,146c143,154 < state_text (this_result), warn_text, pl, rta); < if (display_html == TRUE) < printf (""); < printf ("\n"); --- > state_text (this_result), warn_text, pl, rta ); > printf ("\n"); > } > else { > if (pl == 100) > printf (_("PING %s - %sPacket loss = %d%% | packet_loss=%d%%;%d;%d;0;100"), > state_text (this_result), warn_text, pl, pl, wpl, cpl ); > > else > printf (_("PING %s - %sPacket loss = %d%%, RTA = %2.2f ms | packet_loss=%d%%;%d;%d;0;100 RTA=%2.2fms;%d;%f;;\n"), > state_text (this_result), warn_text, pl, rta, pl, wpl, cpl, rta, wrta, crta ); > } -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_ping.c URL: From dbadrak-61a5RULNQvYhg10zWICiQg at public.gmane.org Fri Jun 18 14:17:26 2004 From: dbadrak-61a5RULNQvYhg10zWICiQg at public.gmane.org (Don Badrak) Date: Fri, 18 Jun 2004 08:17:26 -0400 Subject: [Nagios-users] Check_mailq usage In-Reply-To: <40D2AD2C.7080400-SVHme89sSHE@public.gmane.org> References: <40D14C29.1020507@cict.fr> <40D2A1D2.8010001@cict.fr> <40D2AD2C.7080400@cict.fr> Message-ID: Carole, On Fri, 18 Jun 2004, carole verdon wrote: > Hi all, > > I solve my problem. I just change the line 88 of check_mailq.pl written > by Don Badrak as this: I didn't write that script. I just provided a patch to it, to get it to work with different queues. The patch I provided was for an earlier version. I've since changed my copy of check_mailq, only to see that someone else did a lot of changes in the CVS HEAD version, all of which overwrite mine. > ## open mailq > > if ( defined $utils::PATH_TO_MAILQ && -x $utils::PATH_TO_MAILQ) { > - if (! open (MAILQ, "$utils::PATH_TO_MAILQ | " ) ) > + if (! open (MAILQ, "$utils::PATH_TO_MAILQ $configfile | " ) ) This is in fact what I have on my working copies (but not on the patch I submitted, and I can't remember why). > So now, the mailq command is /usr/bin/mailq -C/etc/mail/sendmail.cf or > /usr/bin/mailq -C/etc/mail/sendmail.cf.delivery if i use the -f option. Yup. Sorry about that. Don -- Don Badrak 301.763.5534 work Telecommunications Office 301.457.4438 fax U.S. Bureau of the Census Suitland MD, USA ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From meck at chilitech.net Fri Jun 18 15:05:12 2004 From: meck at chilitech.net (Michael Eck) Date: Fri, 18 Jun 2004 09:05:12 -0400 Subject: Using ! in check_command - part 2 In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D0ABD34@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D0ABD34@golden-m.mactec.com> Message-ID: <2320596C-C128-11D8-996F-000A95D9C698@chilitech.net> Interestingly enough, I can't seem to make my $USERn$ macros work at all - although I assume $USER1$ is working as my libexec path. Even with the !, I can't get a check to return OK when using my macro as the community string I've got resource.cfg: $USER2$=public services.cfg: check_command check_plugin!$USER2$!75!85 All is well when $USER2$ is replaced with "public" On Jun 17, 2004, at 6:34 PM, Cook, Garry wrote: > ??? > SNMP checks work for me with a '!' in the community string. Now, I > don't remember if I needed to escape it or not, and I can't get to the > box to check it right now, so you may need to try it both ways. > However, I did NOT put the community string in the services.cfg or > checkcommands.cfg. I wanted to?be a little bit more safe, so I > assigned it to one of the user variables in resource.cfg. I then added > this variable (ie. $USER9$) to my check command as an argument. > ? > Whether or not this should really be considered 'safe' might be > disputed by some. It's never been compromised and it works in my check > commands, so I'm happy. > ? > HTH. > -g > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net?on behalf of?Michael Eck > Sent: Thu 6/17/2004 12:20 PM > To: nagios-users > Cc: > Subject: [Nagios-users] Using ! in check_command - part 2 > > Original Post: > Greetings, > Is there a trick than anybody knows of the use a ! as a character in a > password for a check_command? > The obvious problem is that it's also the field delimiter. > > > Ok, I got lots of replies suggesting that I try to escape my !.? I > didn't mention it in my first post but I did indeed try that.? I tried > quotes of several varieties with no luck as well. > > Has anybody actually gotten this to work or does anybody know that this > will work or were they just shots in the dark?? Of course I can change > the community strings but that's just a cop-out. > > Any ideas? > > > > > ---- > Michael Eck > ---- Michael Eck Chilitech Internet Solutions Network Operations Center 570-323-2166 http://www.chilitech.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2560 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2365 bytes Desc: not available URL: From Philipp.Sand-MYUYVTIkhZ8 at public.gmane.org Fri Jun 18 16:06:05 2004 From: Philipp.Sand-MYUYVTIkhZ8 at public.gmane.org (Sand Philipp) Date: Fri, 18 Jun 2004 16:06:05 +0200 Subject: NSClient check_nt Performance Data Message-ID: <945C3F9C3F209144A12CB725111FC08D33F214@sygomail1.goe.ad.sycor.de> Hi, Anyone here who did a workaroud for the check_nt plugin to process performance Data? Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand-MYUYVTIkhZ8 at public.gmane.org www.sycor.de ------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From victor at ambra.ro Sat Jun 19 02:05:50 2004 From: victor at ambra.ro (victor) Date: Fri, 18 Jun 2004 17:05:50 -0700 Subject: template file - coordinates Message-ID: <40D3835E.30002@ambra.ro> I try to use templates method to put some hosts in the status map. xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg These files have the format from the documentation. But doesn't work. I get the this error: "You have not supplied any host drawing coordinates, so you canot use this layout method" The only method that doesn't give me this error is "User-suplied coords". ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CQuillen at txfb-ins.com Fri Jun 18 16:12:43 2004 From: CQuillen at txfb-ins.com (Quillen, Channon) Date: Fri, 18 Jun 2004 09:12:43 -0500 Subject: Using Nagios to query MSSQL Message-ID: Is there a plugin that will allow Nagios to run queries against a MSSQL database? Channon R. Quillen LAN Administrator Texas Farm Bureau Insurance Companies CQuillen at txfb-ins.com ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Jun 18 16:16:16 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 18 Jun 2004 09:16:16 -0500 Subject: NT service with "$" in the name In-Reply-To: <40D220A8.7090309@bluecobras.com> References: <1087339122.4979.22.camel@localhost> <1087482969.10931.45.camel@localhost> <40D1C196.90107@bluecobras.com> <1087509219.14021.2.camel@localhost> <40D220A8.7090309@bluecobras.com> Message-ID: <1087568176.14021.8.camel@localhost> On Thu, 2004-06-17 at 18:52 -0400, Chris Hammond wrote: > >>check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -d SHOWALL -l > >>MSSQL\$BKUPEXEC" > > Is that ending " intentional? > Actually in my command line tests, "MSSQL\$BKUPEXEC" and MSSQL\$BKUPEXEC > yield the same result. Their should have been a beginning " also. ah, ok. when you say "should", do you mean it is/was there in the checkcommands? > >>This command from the command line yields; > >>MSSQL$BKUPEXEC: Started > >>Called from services with; > >>check_nt_mssqlbkupexec_service! > > Drop that ending ! for sure! > That is the service and the ! is the $HOSTADDRESS$. Should I be writing > it a different way? I don't understand. how does a ! represent the hostaddress? ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aharrison at gmail.com Fri Jun 18 17:11:04 2004 From: aharrison at gmail.com (Andy Harrison) Date: Fri, 18 Jun 2004 11:11:04 -0400 Subject: Giving check_by_ssh a password In-Reply-To: References: Message-ID: On Thu, 17 Jun 2004 14:20:47 -0500, Misao wrote: > > The default behavior of check_by_ssh is to use host keys to log in to an > account and run the command you ask it to. > This has worked fine except for one unix box. It refuses to accept the key > in any way that we have tried, so I want to know if I can just tell > check_by_ssh to use a password when it asks for it, or do I have to resort > to some other method of checking this box? > See if you can ascertain the reason for it not working. Examine the sshd_config on the host that won't allow it. Plus, from your nagios server, in a shell logged in as the nagios user, use ssh -v to try to see if you get any obvious errors. (nagios.host) # ssh -v remotehostname you should see something like this.... (allowing for the falsified info...): [nagios] (server1) > ssh -v server1 OpenSSH_3.xpx FreeBSD-xxxxxxxxx, SSH protocols 1.5/2.0, OpenSSL 0x0fffffff debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to server1 [xxx.xxx.xxx.xxx] port 22. debug1: Connection established. debug1: identity file /usr/local/var/nagios/.ssh/identity type -1 debug1: identity file /usr/local/var/nagios/.ssh/id_rsa type 1 debug1: identity file /usr/local/var/nagios/.ssh/id_dsa type -1 debug1: Remote protocol version x.xx, remote software version OpenSSH_3.xpx FreeBSD-xxxxxxxxx debug1: match: OpenSSH_3.xpx FreeBSD-xxxxxxxx pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.xpx FreeBSD-xxxxxxxx debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: dh_gen_key: priv key bits set: 135/256 debug1: bits set: 1623/3191 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'server1' is known and matches the DSA host key. debug1: Found key in /usr/local/var/nagios/.ssh/known_hosts:7 debug1: bits set: 1599/3191 debug1: ssh_dss_verify: signature correct debug1: kex_derive_keys debug1: newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: waiting for SSH2_MSG_NEWKEYS debug1: newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: done: ssh_kex2. debug1: send SSH2_MSG_SERVICE_REQUEST debug1: service_accept: ssh-userauth debug1: got SSH2_MSG_SERVICE_ACCEPT debug1: authentications that can continue: publickey,keyboard-interactive debug1: next auth method to try is publickey debug1: try privkey: /usr/local/var/nagios/.ssh/identity debug1: try pubkey: /usr/local/var/nagios/.ssh/id_rsa debug1: input_userauth_pk_ok: pkalg ssh-rsa blen 149 lastkey 0xxxxxxxxx hint 1 debug1: read PEM private key done: type RSA debug1: ssh-userauth2 successful: method publickey debug1: channel 0: new [client-session] debug1: send channel open 0 debug1: Entering interactive session. debug1: ssh_session2_setup: id 0 debug1: channel request 0: pty-req debug1: channel request 0: shell debug1: fd 3 setting TCP_NODELAY debug1: channel 0: open confirm rwindow 0 rmax 32768 And on the remote host I have: > grep '^[^#]' /etc/ssh/sshd_config Port 22 HostKey /etc/ssh/ssh_host_key HostKey /etc/ssh/ssh_host_dsa_key HostKey /etc/ssh/ssh_host_rsa_key KeyRegenerationInterval 3600 ServerKeyBits 768 SyslogFacility AUTH LogLevel INFO LoginGraceTime 120 PermitRootLogin no StrictModes yes RSAAuthentication yes RhostsAuthentication no IgnoreRhosts yes RhostsRSAAuthentication no HostbasedAuthentication no PasswordAuthentication no PermitEmptyPasswords no PrintMotd yes KeepAlive yes UsePrivilegeSeparation yes MaxStartups 10:30:60 VerifyReverseMapping yes Subsystem sftp /usr/libexec/sftp-server > cat .ssh/authorized_keys2 ssh-rsa #########long key string######### nagios at server1 -- Andy Harrison ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Fri Jun 18 17:05:21 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 18 Jun 2004 09:05:21 -0600 Subject: Using ! in check_command - part 2 Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E92E3@golden-m.mactec.com> Michael Eck wrote: > Interestingly enough, I can't seem to make my $USERn$ macros work at > all - although I assume $USER1$ is working as my libexec path. Even > with the !, I can't get a check to return OK when using my macro as > the community string > > I've got > resource.cfg: > $USER2$=public > > services.cfg: > check_command check_plugin!$USER2$!75!85 > > All is well when $USER2$ is replaced with "public" Unless I've misread your post, you are saying that using the community string 'public' works when checking the device. So, I have to ask, are you sure that you have the community string containing the '!' setup on the agent/device? If so, I would think that you would have removed the 'public' string, unless it was put back for testing purposes. In my resource.cfg '$USERn$' is set to the community string containing the '!' without backslash escaping the character like so (not my real string, but you get the point...): $USER6$=public! In my checkcommands.cfg I have the following to check CPU usage on a Cisco router (the command_line is going to word wrap): # 'cisco_cpu' command definition define command{ command_name cisco_cpu command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.9.2.1.58.0 -w 84:70 -c 100:85 -C $USER6$ -l CPU\ Utilization -u% Finally, in my services.cfg I just call the 'cisco_cpu' plugin and voila!, instant CPU utilization checking. If a setup like this does not work for you, I would go back to what I said earlier - check your device and make sure that the community string is actually configured properly at that end as well. Also, read these docs about macros: http://nagios.sourceforge.net/docs/1_0/macros.html Make sure permissions are set correctly for your resource file, as outlined by: http://nagios.sourceforge.net/docs/1_0/configmain.html#resource_file > On Jun 17, 2004, at 6:34 PM, Cook, Garry wrote: > > > ??? > SNMP checks work for me with a '!' in the community string. Now, I > don't remember if I needed to escape it or not, and I can't get to > the box to check it right now, so you may need to try it both ways. > However, I did NOT put the community string in the services.cfg or > checkcommands.cfg. I wanted to be a little bit more safe, so I > assigned it to one of the user variables in resource.cfg. I then > added this variable (ie. $USER9$) to my check command as an argument. > > Whether or not this should really be considered 'safe' might be > disputed by some. It's never been compromised and it works in my > check commands, so I'm happy. > > HTH. > -g > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net on behalf of Michael > Eck > Sent: Thu 6/17/2004 12:20 PM > To: nagios-users > Cc: > Subject: [Nagios-users] Using ! in check_command - part 2 > > Original Post: > Greetings, > Is there a trick than anybody knows of the use a ! as a character in a > password for a check_command? > The obvious problem is that it's also the field delimiter. > > > Ok, I got lots of replies suggesting that I try to escape my !. I > didn't mention it in my first post but I did indeed try that. I tried > quotes of several varieties with no luck as well. > > Has anybody actually gotten this to work or does anybody know that > this > will work or were they just shots in the dark? Of course I can change > the community strings but that's just a cop-out. > > Any ideas? > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Fri Jun 18 17:17:00 2004 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 18 Jun 2004 08:17:00 -0700 (PDT) Subject: check_ping and performance data In-Reply-To: <53B7932F94C4DE49B3A9AD98715FCF2C09D7DC@lrpc79.liz.lsa-net.de> References: <53B7932F94C4DE49B3A9AD98715FCF2C09D7DC@lrpc79.liz.lsa-net.de> Message-ID: <20040618151701.99878.qmail@web60806.mail.yahoo.com> I think the output format is wrong,it needs to be; PING OK - Packet loss = 0%, RTA = 0.47 ms | packet_loss=0% RTA=0.47ms currently it does; PING OK - Packet loss = 0%, RTA = 0.47 ms | packet_loss=0%;21;31;0;100 RTA=0.47ms;0;0.000000;; I've tried to modify the output, but not sure what the all the %d%% do(some sort of function?), I get incorrect results when I modify it... --- "Bock, Christian" wrote: > > is it really *that* easy? > > I just added the missing information to the output > line > in check_pinp.c and everything's working great :-))) > > chris > > > 136c136 > < if (display_html == TRUE) > --- > > if (display_html == TRUE) { > 139,140c139,140 > < printf (_("PING %s - > %sPacket loss = %d%%"), state_text (this_result), > warn_text, > < > pl); > --- > > printf (_("PING %s - > %sPacket loss = %d%%"),state_text (this_result), > warn_text, pl ); > > > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 18 17:15:24 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 18 Jun 2004 17:15:24 +0200 Subject: template file - coordinates In-Reply-To: <40D3835E.30002@ambra.ro> References: <40D3835E.30002@ambra.ro> Message-ID: <40D3070C.4030205@op5.se> victor wrote: > I try to use templates method to put some hosts in the status map. > > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg > > These files have the format from the documentation. > But doesn't work. > > I get the this error: > "You have not supplied any host drawing coordinates, so you canot use > this layout method" That's because you haven't specified any 2d_coords in your hostextinfo file. If you had, hosts would be displayed in accordance with the supplied coordinates. > The only method that doesn't give me this error is "User-suplied coords". > I believe you meant to write "The only method that gives me this error is User-supplied coords", since this error can only appear for that particular layout. -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From meck at chilitech.net Fri Jun 18 18:03:45 2004 From: meck at chilitech.net (Michael Eck) Date: Fri, 18 Jun 2004 12:03:45 -0400 Subject: Using ! in check_command - part 2 In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E92E3@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E92E3@golden-m.mactec.com> Message-ID: <19A4DEE9-C141-11D8-8E3C-000A95D9C698@chilitech.net> You misread. The device's community string is definitely correct - it works with snmpget. I was just giving you an example of how my $USERn$ macro doesn't even work with a string of public - on a device that definitely has that string blahdy blah... Now, what I am doing differently is using my $USER3$ maco in my services.cfg rather than my checkcommands.cfg Perhaps that's my problem? I'll have to play. On Jun 18, 2004, at 11:05 AM, Cook, Garry wrote: > Michael Eck wrote: >> Interestingly enough, I can't seem to make my $USERn$ macros work at >> all - although I assume $USER1$ is working as my libexec path. Even >> with the !, I can't get a check to return OK when using my macro as >> the community string >> >> I've got >> resource.cfg: >> $USER2$=public >> >> services.cfg: >> check_command check_plugin!$USER2$!75!85 >> >> All is well when $USER2$ is replaced with "public" > > Unless I've misread your post, you are saying that using the community > string 'public' works when checking the device. > So, I have to ask, are you sure that you have the community string > containing the '!' setup on the agent/device? > If so, I would think that you would have removed the 'public' string, > unless it was put back for testing purposes. > > In my resource.cfg '$USERn$' is set to the community string containing > the '!' without backslash escaping the character like so (not my real > string, but you get the point...): > $USER6$=public! > > In my checkcommands.cfg I have the following to check CPU usage on a > Cisco router (the command_line is going to word wrap): > # 'cisco_cpu' command definition > define command{ > command_name cisco_cpu > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o > .1.3.6.1.4.1.9.2.1.58.0 -w 84:70 -c 100:85 -C $USER6$ -l CPU\ > Utilization -u% > > Finally, in my services.cfg I just call the 'cisco_cpu' plugin and > voila!, instant CPU utilization checking. > > If a setup like this does not work for you, I would go back to what I > said earlier - check your device and make sure that the community > string is actually configured properly at that end as well. > > Also, read these docs about macros: > http://nagios.sourceforge.net/docs/1_0/macros.html > > Make sure permissions are set correctly for your resource file, as > outlined by: > http://nagios.sourceforge.net/docs/1_0/configmain.html#resource_file > > >> On Jun 17, 2004, at 6:34 PM, Cook, Garry wrote: >> >> >> ??? >> SNMP checks work for me with a '!' in the community string. Now, I >> don't remember if I needed to escape it or not, and I can't get to >> the box to check it right now, so you may need to try it both ways. >> However, I did NOT put the community string in the services.cfg or >> checkcommands.cfg. I wanted to be a little bit more safe, so I >> assigned it to one of the user variables in resource.cfg. I then >> added this variable (ie. $USER9$) to my check command as an argument. >> >> Whether or not this should really be considered 'safe' might be >> disputed by some. It's never been compromised and it works in my >> check commands, so I'm happy. >> >> HTH. >> -g >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net on behalf of Michael >> Eck >> Sent: Thu 6/17/2004 12:20 PM >> To: nagios-users >> Cc: >> Subject: [Nagios-users] Using ! in check_command - part 2 >> >> Original Post: >> Greetings, >> Is there a trick than anybody knows of the use a ! as a character in a >> password for a check_command? >> The obvious problem is that it's also the field delimiter. >> >> >> Ok, I got lots of replies suggesting that I try to escape my !. I >> didn't mention it in my first post but I did indeed try that. I tried >> quotes of several varieties with no luck as well. >> >> Has anybody actually gotten this to work or does anybody know that >> this >> will work or were they just shots in the dark? Of course I can change >> the community strings but that's just a cop-out. >> >> Any ideas? >> >> ---- Michael Eck Chilitech Internet Solutions Network Operations Center 570-323-2166 http://www.chilitech.net -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2365 bytes Desc: not available URL: From Ben at clewett.org.uk Fri Jun 18 18:29:41 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Fri, 18 Jun 2004 17:29:41 +0100 Subject: check_ping and performance data In-Reply-To: <20040618151701.99878.qmail@web60806.mail.yahoo.com> References: <20040618151701.99878.qmail@web60806.mail.yahoo.com> Message-ID: <40D31875.2080201@clewett.org.uk> Jon, Either format is OK. The full version is the correct one. This contains other information: Warning, Critical, Max and Min possible values of the plugin. However, a large amount of plugins use the first short version you suggest, so I guess this is OK as well, and certainly supported by our work with PerfParse. Ben Jon Lyons wrote: > I think the output format is wrong,it needs to be; > PING OK - Packet loss = 0%, RTA = 0.47 ms | > packet_loss=0% RTA=0.47ms > > currently it does; > PING OK - Packet loss = 0%, RTA = 0.47 ms | > packet_loss=0%;21;31;0;100 RTA=0.47ms;0;0.000000;; > > I've tried to modify the output, but not sure what the > all the %d%% do(some sort of function?), I get > incorrect results when I modify it... > > > --- "Bock, Christian" > wrote: > >>is it really *that* easy? >> >>I just added the missing information to the output >>line >>in check_pinp.c and everything's working great :-))) >> >>chris >> >> >>136c136 >>< if (display_html == TRUE) >>--- >> > if (display_html == TRUE) { >>139,140c139,140 >>< printf (_("PING %s - >>%sPacket loss = %d%%"), state_text (this_result), >>warn_text, >>< >> pl); >>--- >> > printf (_("PING %s - >>%sPacket loss = %d%%"),state_text (this_result), >>warn_text, pl ); >> > >> > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Fri Jun 18 18:46:38 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Fri, 18 Jun 2004 17:46:38 +0100 Subject: NSClient check_nt Performance Data Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE9309DE3@netfinity-1.foundation-it.local> Sand Philipp wrote: > Hi, > Anyone here who did a workaroud for the check_nt plugin to process > performance Data? What kind of performance data? NSClient can access any of the Windows performance counters. And process how? Just check or do something further with? Phil ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Fri Jun 18 19:00:16 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 18 Jun 2004 11:00:16 -0600 Subject: check_ping and performance data Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E92EC@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > I think the output format is wrong,it needs to be; > PING OK - Packet loss = 0%, RTA = 0.47 ms | > packet_loss=0% RTA=0.47ms > > currently it does; > PING OK - Packet loss = 0%, RTA = 0.47 ms | > packet_loss=0%;21;31;0;100 RTA=0.47ms;0;0.000000;; Based on these docs, http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN185, the above looks about right. It should be: 'label'=value[UOM];[warn];[crit];[min];[max] > I've tried to modify the output, but not sure what the > all the %d%% do(some sort of function?), I get > incorrect results when I modify it... > > > --- "Bock, Christian" > wrote: >> >> is it really *that* easy? >> >> I just added the missing information to the output >> line >> in check_pinp.c and everything's working great :-))) >> >> chris >> >> >> 136c136 >> < if (display_html == TRUE) >> --- >> > if (display_html == TRUE) { >> 139,140c139,140 >> < printf (_("PING %s - >> %sPacket loss = %d%%"), state_text (this_result), >> warn_text, >> < >> pl); >> --- >> > printf (_("PING %s - >> %sPacket loss = %d%%"),state_text (this_result), >> warn_text, pl ); >> > >> Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Fri Jun 18 19:27:00 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 18 Jun 2004 19:27:00 +0200 Subject: [Nagiosplug-help] NRPE allowed_hosts directive doesn't work? In-Reply-To: <1087482835.10931.40.camel@localhost> References: <1087411697.1336.21.camel@localhost.localdomain> <1087482835.10931.40.camel@localhost> Message-ID: <1087579620.1355.13.camel@localhost.localdomain> Hi! I have to allow just two IP adresses. I've tried today the following configurations: 1. allowed_hosts=10.200.40.253,10.200.40.254 2. allowed_hosts=10.200.40.253 10.200.40.254 (space between IPs) 3. allowed_hosts=10.200.40.253, 10.200.40.254 (space and comma) 4. allowed_hosts=10.200.40.253 10.200.40.254 (tab) 5. allowed_hosts=10.200.40.253;10.200.40.254 6. allowed_hosts=10.200.40.253 allowed_hosts=10.200.40.254 (IPs in two raws) The result was the same at all the above cases: it seems to me, that nrpe only accept the second IP in the lists. I use nrpe as standalone daemon and I compiled the same version under Linux (the monitoring station) as well as under Solaris (the monitored boxes). I complied nrpe with the --disable-ssl directive, because without this I always get an "..SSL handshake" error. After every change in the nrpe.cfg I restarted nrpe daemon. Can anyone have a tip how can I use nrpe with two allowed addresses? Thanks is advance, Tamas! : > s/,/ /g > > > (that's "change the commas to spaces") > > > On Wed, 2004-06-16 at 20:48 +0200, Horvath Tamas wrote: > > Hi Everybody! > > > > My Nagios (1.1) runs on Debian woody. I monitor private local resources > > of some Solaris (v.8) boxes via nrpe. > > > > It seems to me that the "allowed_hosts" directive only works when I give > > just 1 IP address. If I list several comma separated IP addresses it > > doesn't work at all. For example: > > allowed_hosts=10.200.40.253,10.200.40.254. > > > > I use nrpe as a standalone daemon! > > > > Can anybody help me? > > > > Thanks a lot, Tamas! > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > > _______________________________________________ > > Nagiosplug-help mailing list > > Nagiosplug-help at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > > ::: Please include plugins version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at bravenet.com Fri Jun 18 19:53:49 2004 From: matt at bravenet.com (Matthew Kent) Date: Fri, 18 Jun 2004 10:53:49 -0700 Subject: check_ping and performance data Message-ID: <0A9D1D7BB96F364D83A342871CF25FF9D216@bdc-pv1.pv.bravenet.com> > I think the output format is wrong,it needs to be; > PING OK - Packet loss = 0%, RTA = 0.47 ms | > packet_loss=0% RTA=0.47ms > > currently it does; > PING OK - Packet loss = 0%, RTA = 0.47 ms | > packet_loss=0%;21;31;0;100 RTA=0.47ms;0;0.000000;; See http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN185 And you could always use a newer version of check_fping.c which already has performance data. - Matt ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misaochankun at speakeasy.net Fri Jun 18 20:15:06 2004 From: misaochankun at speakeasy.net (Misao) Date: Fri, 18 Jun 2004 13:15:06 -0500 Subject: Giving check_by_ssh a password In-Reply-To: References: Message-ID: Following is the requested info, and keep in mind that Nagios user is able to log into 6 other similar Unix machines without incident. [nagios at nagioserver nagios]$ ssh -v targetserver OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: Connecting to targetserver [##.##.##.##] port 22. debug1: Connection established. debug1: identity file /home/nagios/.ssh/identity type -1 debug1: identity file /home/nagios/.ssh/id_rsa type 1 debug1: identity file /home/nagios/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_3.7p1 debug1: match: OpenSSH_3.7p1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.6.1p2 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'targetserver' is known and matches the RSA host key. debug1: Found key in /home/nagios/.ssh/known_hosts:31 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/nagios/.ssh/identity debug1: Offering public key: /home/nagios/.ssh/id_rsa debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Trying private key: /home/nagios/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: password nagios at targetserver's password: debug1: Authentication succeeded (password). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: channel 0: request pty-req debug1: channel 0: request shell debug1: channel 0: open confirm rwindow 0 rmax 32768 2588 unsuccessful login attempts since last login. /usr/local/nagios/.ssh > cat auth* ssh-rsa Stuffhere/MoreStuffhere/Littlemorehere= user at server nagios at targetserver: /usr/local/etc > grep '^[^#]' sshd_config Protocol 2 PermitRootLogin no RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys PermitEmptyPasswords yes X11Forwarding yes Subsystem sftp /usr/local/libexec/sftp-server ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Fri Jun 18 20:28:09 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 18 Jun 2004 20:28:09 +0200 Subject: Limitation of contacts rights on the web interface Message-ID: <1087583289.1356.52.camel@localhost.localdomain> Hi all! I use Nagios for remote monitoring of my customer's network resources. I access customer's network via VPN, and the Nagios is running at my site! I would like to give access our customer's contacts to the Nagios web interface, but I don't want let them issue commands for the hosts and services for which they are contacts. I know that this is in contrast to the documentation (Authentication And Authorization In The CGIs: http://nagios.sourceforge.net/docs/1_0/cgiauth.html). However I want to use external commands, so I can't disable them. Does anybody do that? I appreciate your help. Tamas! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Valdes at flamenconetworks.com Fri Jun 18 21:31:10 2004 From: Tom.Valdes at flamenconetworks.com (Tom Valdes) Date: Fri, 18 Jun 2004 15:31:10 -0400 Subject: Speeding up Host checks when one fails (was: Service checks and retry check interval) Message-ID: <662B1A0727FAB64F9A9C34BAFF31E1CA3C638C@telluride.flamenconetworks.com> I've modified the subject as I may have been looking at the wrong thing. Ok, I understand that when the service check fails it moves on to the host check. As you see, my max_check_attempts is set to 5 for the host check. Shouldn't this delay sending out a notification until it checks it 5 times? And once it's down, is there a way to speed up a check to determine recovery? The problem I'm having is that if Nagios misses a ping due to network congestion or whatever, it takes 5 minutes to realize that nothing is really wrong when all that happen was a missed ping which may have been caught if it simply did another check before sending out a notification. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Wednesday, June 16, 2004 7:38 PM To: Tom Valdes; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Service checks and retry check interval That is correct and by design. Nagios must determine the status of a questionable host before it does anything else. If it didn't, the dependency and network reachability logic could be flawed as well as sending out spurious alerts for services on a host that is down when they really should be suppressed (http://nagios.sourceforge.net/docs/1_0/networkreachability.html and the Host Checks section of http://nagios.sourceforge.net/docs/1_0/checkscheduling.html). -- Marc p.s. Please post to the list in plain text format. It makes it much, much easier to reply with proper quoting and you're going to reach a much larger audience who can help you. ________________________________________ From: Tom Valdes [mailto:Tom.Valdes at flamenconetworks.com] Sent: Wednesday, June 16, 2004 6:25 PM To: Marc Powell; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Service checks and retry check interval I had changed the 10 retries to 5 after I grabbed the copy of the status.? I did reload Nagios so that's just an old capture. I think I understand what you mean about performing the host check and bypassing a service check, but it seems?a retry_check_interval?value is not allowed in the hosts.cfg????????? ? ---------------services.cfg------------------ -------------------------------------------------- define service{ ??????? use???????????????????????????? generic-service???????? ; Name of service template to use ??????? host_name???????????????????????Test-Server ??????? service_description???????????? PING ??????? is_volatile???????????????????? 0 ??????? check_period??????????????????? workhours ??????? max_check_attempts??????????????5 ??????? normal_check_interval?????????? 5 ??????? retry_check_interval??????????? 1 ??????? contact_groups????????????????? test-contact ??????? notification_interval?????????? 960 ??????? notification_period???????????? workhours ??????? notification_options??????????? c,r ??????? check_command?????????????????? check_fping!50%!100% ??????? } -------------------------------------------------- ------------------hosts.cfg------------------- define host{ ??????? use???????????????????? generic-host??????????? ; Name of host template to use ??????? parents?????????????????switch1 ??????? host_name??????????Test-Server ??????? alias?????????????????? TestServer ??????? address???????????????? 10.0.0.21 ??????? check_command?????????? check-host-alive ??????? max_check_attempts????? 5 ??????? notification_interval?? 30 ??????? notification_period???? 24x7 ??????? notification_options??? d,u,r ??????? } ---------------------------------------------------- ________________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of Marc Powell Sent: Wed 6/16/2004 5:42 PM To: Tom Valdes; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Service checks and retry check interval ________________________________ >From: Tom Valdes [mailto:Tom.Valdes at flamenconetworks.com] >Sent: Wednesday, June 16, 2004 2:55 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Service checks and retry check interval > I currently have my normal_check_interval set to 5 minutes > If a service check is missed, I'd like it to retry 5 > times before sending a notification and I'd like the > retry interval to be 1 minute.? (can it be less?? > Like 10 seconds?) >I've tried adding the following to services.cfg >??????? max_check_attempts???????? 5 >??????? normal_check_interval??????? 5 >??????? retry_check_interval?????????? 1 I presume this is for the service definition. Can we see the complete definition? > Shouldn't this retry a failed check every minute > for 5 tries before sending a notification? For the service above under normal circumstances, yes. I use 5,5,3 to delay notifications by ~15 minutes. > Using a test server, I pull the plug and Nagios > catches the 100% ping loss but if I plug it back > in as soon as it notices, Nagios emails me right > away and doesn't return an Up state for another > 5 minutes? For the service or the host? See below. > The following is what I receive on the status > screen.. It shows a State Type: HARD.. Shouldn't > it be in a SOFT state until it completes the > max_check_attempts? > Current Status:?? CRITICAL??? > Status Information:FPING CRITICAL - 192.168.100.21 (loss=100.000000% ) > Current Attempt:1/10 Why is max attempts showing 10 here if it's defined as 5 above? Did you restart nagios after making the change? Do you have multiple nagios processing running? There is a special situation that results when you just 'pull the plug' on a machine you're monitoring. The service check will of course fail on the first attempt. Nagios will then attempt to check the status of the host using the host check_command. It will do this exclusively until max_check_attempts defined for the host is reached and will not attempt to recheck the status of the service if the host is determined to be down or unreachable. At that point nagios will attempt to send a HOST down notification which may be what you are seeing. Because of this special situation, your retry_check_interval for the service has no meaning. AFAIK, nagios just falls back to normal_check_interval until one or more services on the host recovers (and the host by inference). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 18 21:42:26 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 18 Jun 2004 21:42:26 +0200 Subject: Limitation of contacts rights on the web interface In-Reply-To: <1087583289.1356.52.camel@localhost.localdomain> References: <1087583289.1356.52.camel@localhost.localdomain> Message-ID: <40D345A2.7000907@op5.se> Horvath Tamas wrote: > Hi all! > > I use Nagios for remote monitoring of my customer's network resources. I > access customer's network via VPN, and the Nagios is running at my site! > > I would like to give access our customer's contacts to the Nagios web > interface, but I don't want let them issue commands for the hosts and > services for which they are contacts. I know that this is in contrast to > the documentation (Authentication And Authorization In The CGIs: > http://nagios.sourceforge.net/docs/1_0/cgiauth.html). However I want to > use external commands, so I can't disable them. > > Does anybody do that? > Sure. Just don't add them to "authorized_for_all_host_commands" and "authorized_for_all_service_commands". This way they'll be able to add comments (and possibly acknowledge things, although I haven't tested that), but not to schedule downtime or disable checks and stuff like that. If you want to block that kind of access as well, you could either modify the source-code for cmd.cgi or recompile the plugins, put them in a new directory and then delete cmd.cgi from that directory. This requires some really weird setup though, so I wouldn't recommend it. > I appreciate your help. > You're welcome. > Tamas! > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 18 21:50:49 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 18 Jun 2004 21:50:49 +0200 Subject: check_ping and performance data In-Reply-To: <0A9D1D7BB96F364D83A342871CF25FF9D216@bdc-pv1.pv.bravenet.com> References: <0A9D1D7BB96F364D83A342871CF25FF9D216@bdc-pv1.pv.bravenet.com> Message-ID: <40D34799.9040708@op5.se> Matthew Kent wrote: >>I think the output format is wrong,it needs to be; >>PING OK - Packet loss = 0%, RTA = 0.47 ms | >>packet_loss=0% RTA=0.47ms >> >>currently it does; >>PING OK - Packet loss = 0%, RTA = 0.47 ms | >>packet_loss=0%;21;31;0;100 RTA=0.47ms;0;0.000000;; > > > See http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN185 > > And you could always use a newer version of check_fping.c which already > has performance data. > Like this one. I also fixed some other output bugs and added a few minor speed-ups. Requires suid root (like any ping program) to run properly. > - Matt > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se -------------- next part -------------- A non-text attachment was scrubbed... Name: check_icmp-0.5.tar.gz Type: application/gzip Size: 14300 bytes Desc: not available URL: From GWCOOK at mactec.com Fri Jun 18 22:51:16 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 18 Jun 2004 14:51:16 -0600 Subject: Limitation of contacts rights on the web interface Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E92F6@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Horvath Tamas wrote: >> Hi all! >> >> I use Nagios for remote monitoring of my customer's network >> resources. I access customer's network via VPN, and the Nagios is >> running at my site! >> >> I would like to give access our customer's contacts to the Nagios web >> interface, but I don't want let them issue commands for the hosts and >> services for which they are contacts. I know that this is in >> contrast to the documentation (Authentication And Authorization In >> The CGIs: http://nagios.sourceforge.net/docs/1_0/cgiauth.html). >> However I want to use external commands, so I can't disable them. >> >> Does anybody do that? >> > > Sure. Just don't add them to "authorized_for_all_host_commands" and > "authorized_for_all_service_commands". This way they'll be > able to add > comments (and possibly acknowledge things, although I haven't tested > that), but not to schedule downtime or disable checks and > stuff like that. I don't believe that is correct. If a username is the same as a contact for a host/service, then once logged in that person WILL be able to use all commands associated with that host/service. When you add a user to 'authorized_for_all...' this gives them access to run commands on ALL hosts/services, even those for which they are NOT listed as a contact. Please someone correct me if I've misinterpreted how this works. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aharrison at gmail.com Sat Jun 19 03:14:51 2004 From: aharrison at gmail.com (Andy Harrison) Date: Fri, 18 Jun 2004 21:14:51 -0400 Subject: Giving check_by_ssh a password In-Reply-To: References: Message-ID: On Fri, 18 Jun 2004 13:15:06 -0500, Misao wrote: > > > /usr/local/nagios/.ssh > cat auth* > ssh-rsa Stuffhere/MoreStuffhere/Littlemorehere= user at server It the file definitely named authorized_keys2? I notice some subtle differences in our debug output... Part of mine says: debug1: got SSH2_MSG_SERVICE_ACCEPT debug1: authentications that can continue: publickey,keyboard-interactive debug1: next auth method to try is publickey debug1: try privkey: /usr/local/var/nagios/.ssh/identity debug1: try pubkey: /usr/local/var/nagios/.ssh/id_rsa debug1: input_userauth_pk_ok: pkalg ssh-rsa blen 149 lastkey 0xxxxxxxxx hint 1 debug1: read PEM private key done: type RSA debug1: ssh-userauth2 successful: method publickey Notice it says successful for method publickey. Yours says: debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/nagios/.ssh/identity debug1: Offering public key: /home/nagios/.ssh/id_rsa debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Trying private key: /home/nagios/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: password nagios at targetserver's password: debug1: Authentication succeeded (password). So even though it is not throwing an error, your publickey doesn't seem to be accepted. I also notice differences a little further up. Mine says: debug1: Host 'server1' is known and matches the DSA host key. debug1: Found key in /usr/local/var/nagios/.ssh/known_hosts:7 debug1: bits set: 1599/3191 debug1: ssh_dss_verify: signature correct While yours says: debug1: Host 'targetserver' is known and matches the RSA host key. debug1: Found key in /home/nagios/.ssh/known_hosts:31 debug1: ssh_rsa_verify: signature correct I'm running off of FreeBSD defaults. so DSA wasn't something I chose intentially. I took a peek at my sshd_config and the HostKey directives are: # HostKey for protocol version 1 HostKey /etc/ssh/ssh_host_key # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_dsa_key HostKey /etc/ssh/ssh_host_rsa_key So maybe since dsa is listed first it tries that first. Not sure... Either way, it doesn't seem happy with your host key, so I'd start by regenerating them. And kill it out of your known_hosts file too. -- Andy Harrison ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gemeosdf at yahoo.com.br Sat Jun 19 03:12:22 2004 From: gemeosdf at yahoo.com.br (=?iso-8859-1?q?Marcos=20&=20Marcelo?=) Date: Fri, 18 Jun 2004 22:12:22 -0300 (ART) Subject: checks in different directories Message-ID: <20040619011222.37522.qmail@web51410.mail.yahoo.com> Hi Folks, I would like to know if all of check needs to be placed in the same directory /usr/local/nagios/libexec. Could I put different kinds of check in different directories , i.e check_memory in /usr/local/nagios/libexec/memory, check_cpu in /usr/local/nagios/libexec/cpu? tks, Marcelo --------------------------------- Yahoo! Messenger - Fale com seus amigos online. Instale agora! -------------- next part -------------- An HTML attachment was scrubbed... URL: From eiklin at nus.edu.sg Sat Jun 19 03:26:23 2004 From: eiklin at nus.edu.sg (Wong Eik Lin) Date: Sat, 19 Jun 2004 09:26:23 +0800 Subject: services.cfg versus hostsgroups.cfg Message-ID: <9CB7C0958527A141AF7C8FEB4D8EA0AC075AA9@MBOX04.stf.nus.edu.sg> hi all, sorry if this may be a newbie question, as i am really a newbie! :P in my organisation each group of administrators are in charge of their own set of hosts and the services running on top of those hosts. the thing is, different host groups may run the same set of services, eg. smtp, and therefore need to contact a particular administrator when that smtp service is down. i understand that we can easily define the person to be contacted by adding the contact under the "services.cfg". but that is more like "if smtp is down (no matter which host), contact administrator so and so" rather than "if anything happen to this host as well as the services running on it, contact so and so". for the case of "hostgroups.cfg", the administrators are contacted if the entire host is unavailable, and not when the services on the hosts are down, so it seems like this is not the way to go either. it looks to me the only way is to define the service twice (or many more if there are many more groups of administrators), and in each definition, put in the different administrator contacts and the different hosts. any advice to a better approach? thanx in advance. WONG Eik Lin Systems Engineer Computer Centre, NUS -------------- next part -------------- An HTML attachment was scrubbed... URL: From aharrison at gmail.com Sat Jun 19 03:31:47 2004 From: aharrison at gmail.com (Andy Harrison) Date: Fri, 18 Jun 2004 21:31:47 -0400 Subject: check_ping problem In-Reply-To: References: Message-ID: > check_command check_ping!130.0,20%%!200.0,60%% Why are you using two %? -- Andy Harrison ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aharrison at gmail.com Sat Jun 19 03:38:48 2004 From: aharrison at gmail.com (Andy Harrison) Date: Fri, 18 Jun 2004 21:38:48 -0400 Subject: Using Nagios to query MSSQL In-Reply-To: References: Message-ID: On Fri, 18 Jun 2004 09:12:43 -0500, Quillen, Channon wrote: > > Is there a plugin that will allow Nagios to run queries against a MSSQL > database? You might have to roll your own on that one. Perhaps you could modify the existing check_oracle plugin. You can use the sybase driver to access mssql. Check out http://www.whirlycott.com/phil/dbdsybase/ for info on how to use DBD::Sybase. -- Andy Harrison ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aharrison at gmail.com Sat Jun 19 04:42:07 2004 From: aharrison at gmail.com (Andy Harrison) Date: Fri, 18 Jun 2004 22:42:07 -0400 Subject: services.cfg versus hostsgroups.cfg In-Reply-To: <9CB7C0958527A141AF7C8FEB4D8EA0AC075AA9@MBOX04.stf.nus.edu.sg> References: <9CB7C0958527A141AF7C8FEB4D8EA0AC075AA9@MBOX04.stf.nus.edu.sg> Message-ID: ----- Original Message ----- From: Wong Eik Lin Date: Sat, 19 Jun 2004 09:26:23 +0800 Subject: [Nagios-users] services.cfg versus hostsgroups.cfg To: nagios-users at lists.sourceforge.net > > hi all, > > sorry if this may be a newbie question, as i am really a newbie! :P If I'm understanding you correctly, you want to be able to notify a different group when an individual service goes down. This is can be defined right in services.cfg. In the service definition for monitoring smtp, just specify more than one contact_group. -- Andy Harrison ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Sat Jun 19 04:45:33 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 18 Jun 2004 20:45:33 -0600 Subject: checks in different directories Message-ID: <41FD7929498A174DAB86C45F28E0EC0D0ABD3D@golden-m.mactec.com> ??? Sure, you can do that. But your checkcommands config needs to know where to find the plugins. You'll probably want to edit your resource.cfg file, and assign the new paths to $USERn$ macros, and then use these in checkcommands.cfg in place of $USER1$. -g -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Marcos & Marcelo Sent: Fri 6/18/2004 7:12 PM To: nagios_list Cc: Subject: [Nagios-users] checks in different directories Hi Folks, I would like to know if all of check needs to be placed in the same directory /usr/local/nagios/libexec. Could I put different kinds of check in different directories , i.e check_memory in /usr/local/nagios/libexec/memory, check_cpu in /usr/local/nagios/libexec/cpu? tks, Marcelo _____ Yahoo! Messenger - Fale com seus amigos online. Instale agora! -------------- next part -------------- An HTML attachment was scrubbed... URL: From eiklin at nus.edu.sg Sat Jun 19 06:46:09 2004 From: eiklin at nus.edu.sg (Wong Eik Lin) Date: Sat, 19 Jun 2004 12:46:09 +0800 Subject: services.cfg versus hostsgroups.cfg Message-ID: <9CB7C0958527A141AF7C8FEB4D8EA0AC075AAE@MBOX04.stf.nus.edu.sg> hi, am actually trying to send to one specific group of administrators, and not all administrators -----Original Message----- From: Andy Harrison [mailto:aharrison at gmail.com] Sent: Saturday, June 19, 2004 10:42 AM To: Wong Eik Lin Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] services.cfg versus hostsgroups.cfg ----- Original Message ----- From: Wong Eik Lin Date: Sat, 19 Jun 2004 09:26:23 +0800 Subject: [Nagios-users] services.cfg versus hostsgroups.cfg To: nagios-users at lists.sourceforge.net > > hi all, > > sorry if this may be a newbie question, as i am really a newbie! :P If I'm understanding you correctly, you want to be able to notify a different group when an individual service goes down. This is can be defined right in services.cfg. In the service definition for monitoring smtp, just specify more than one contact_group. -- Andy Harrison ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aharrison at gmail.com Sat Jun 19 07:05:33 2004 From: aharrison at gmail.com (Andy Harrison) Date: Sat, 19 Jun 2004 01:05:33 -0400 Subject: services.cfg versus hostsgroups.cfg In-Reply-To: <9CB7C0958527A141AF7C8FEB4D8EA0AC075AAE@MBOX04.stf.nus.edu.sg> References: <9CB7C0958527A141AF7C8FEB4D8EA0AC075AAE@MBOX04.stf.nus.edu.sg> Message-ID: On Sat, 19 Jun 2004 12:46:09 +0800, Wong Eik Lin wrote: > > hi, > > am actually trying to send to one specific group of administrators, and > not all administrators > Of course. The contactgroups.cfg file can contain groups with any number of members from the contacts.cfg file. -- Andy Harrison ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Jun 19 17:06:58 2004 From: marc at ena.com (Marc Powell) Date: Sat, 19 Jun 2004 10:06:58 -0500 Subject: checks in different directories Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B657E@mismail2.ena.com> Or, since you're limited to only 30 $USERx$ macros, simply use the full path to the command in your command definition. -- Marc p.s. Please try to post to the list in plain text format. Not only does it make responding in context easier, more people will see your email and be able to respond. ________________________________________ From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Friday, June 18, 2004 9:46 PM To: Marcos & Marcelo; nagios_list Subject: RE: [Nagios-users] checks in different directories Sure, you can do that. But your checkcommands config needs to know where to find the plugins. You'll probably want?to edit your resource.cfg file, and assign the new paths to?$USERn$?macros, and then use these in checkcommands.cfg in place of $USER1$. ? -g -----Original Message----- From: nagios-users-admin at lists.sourceforge.net?on behalf of?Marcos & Marcelo Sent: Fri 6/18/2004 7:12 PM To: nagios_list Cc: Subject: [Nagios-users] checks in different directories Hi Folks, ? ?? I would like to know if all of check needs to be placed in the same directory /usr/local/nagios/libexec. ? Could I put different kinds of check in different directories , i.e check_memory in /usr/local/nagios/libexec/memory, check_cpu in /usr/local/nagios/libexec/cpu? ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Sat Jun 19 18:55:44 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Sat, 19 Jun 2004 12:55:44 -0400 Subject: Using Nagios to query MSSQL In-Reply-To: References: Message-ID: <40D47010.2030105@debisschop.net> Andy Harrison wrote: > On Fri, 18 Jun 2004 09:12:43 -0500, Quillen, Channon > wrote: > >>Is there a plugin that will allow Nagios to run queries against a MSSQL >>database? > > > You might have to roll your own on that one. Perhaps you could modify > the existing check_oracle plugin. You can use the sybase driver to > access mssql. I'm prettyr sure there is one contributed at the nagios plugins sourceforge site - I have not reviewed it or tested it. I'm not blessed with stewardship of any such systems. But I've seen people talk about it. -- Karl ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruce at elrick.ca Sat Jun 19 23:25:55 2004 From: bruce at elrick.ca (Bruce Elrick) Date: Sat, 19 Jun 2004 15:25:55 -0600 Subject: Nagios memory usage 1.2 vs 1.1 Message-ID: <40D4AF63.4070702@elrick.ca> Hello, Any comments would be appreciated. I searched the SourceForge archive of this mailing list for "memory leak Perl" etc. and didn't find anything. I've got a production Nagios server running 1.1 and a test/dev one upgraded to 1.2 (both using RPM installs running on Redhat 9, host servers are Compaq DL360, 1 CPU 1 GHz, 384 MB RAM, 256 MB swap, RAID 1 36 GB SCSI drives). Both instances run (nearly) identical check loads. The 1.1 instance has a memory SIZE (as reported by 'top') of 780 kB and an RSS of 764 kB. The 1.2 instance has a memory SIZE of 134 MB and and RSS of 116 MB. Judging by changes we had to make to our Perl-based check scripts (and observing error messages), I can glean that 1.2 runs Perl-based check scripts in a persistent Perl interpreter using ExtUtils::Embed. I also see that it runs them with an implicit "use strict;" directive. Anyway, I can understand how this can be much more CPU and I/O efficient than forking a new Perl interpreter on each check. However, I'm wondering if anyone has a metric as to whether the 134 MB size is reasonable? I don't know whether Embed caches the compiled Perl intermediate code for the multiple check scripts that are called or how it manages memory, but even with a half dozen or fewer unique Perl-based check scripts and <100 services, I'm wondering whether 134 MB is reasonable or if there is a memory leak. The memory usage started out at 3-4 MB after a few minutes, grew to 32 MB overnight, then was at 134 MB after a day or so. At this point, the response time of the Apache-based Admin Console for Nagios (and other Apache responses) is on the order of 5-10 seconds, presumably because of swaping of memory pages. Anyone have similar observances or perhaps comments/advice? Thanks, Bruce Elrick ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand-MYUYVTIkhZ8 at public.gmane.org Sun Jun 20 15:02:33 2004 From: Philipp.Sand-MYUYVTIkhZ8 at public.gmane.org (Sand Philipp) Date: Sun, 20 Jun 2004 15:02:33 +0200 Subject: AW: [Nagios-users] NSClient check_nt Performance Data Message-ID: <945C3F9C3F209144A12CB725111FC08D33F216@sygomail1.goe.ad.sycor.de> Hi Phil, What I meant is the performance Data seperated with a pipe in the Plugin output. The performance Data Perfparse uses to create Graphs. Philipp -----Urspr?ngliche Nachricht----- Von: Phil Costelloe [mailto:philc-UUNKDCO5ciNG4aSG38bGvwC/G2K4zDHf at public.gmane.org] Gesendet: Freitag, 18. Juni 2004 18:47 An: nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org; nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Betreff: RE: [Nagios-users] NSClient check_nt Performance Data Sand Philipp wrote: > Hi, > Anyone here who did a workaroud for the check_nt plugin to process > performance Data? What kind of performance data? NSClient can access any of the Windows performance counters. And process how? Just check or do something further with? Phil ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victor at ambra.ro Sun Jun 20 18:22:53 2004 From: victor at ambra.ro (Victor) Date: Sun, 20 Jun 2004 19:22:53 +0300 Subject: hostextinfo.cfg Message-ID: <40D5B9DD.7000707@ambra.ro> I use nagios 1.2. I try to use "* *Template based method" but doen't work. 3D map appears, but status map does not. I tryed diffrent 3d_coords , but there is no difference in 3D map. Where status map image should appear is a missing image. There is nothing in the logs refering to this problem. I compiled like this : ./configure --with-template-extinfo The command "/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg" shows no error or warning. My configuration is. cgi.cfg main_config_file=/usr/local/nagios/etc/nagios.cfg physical_html_path=/usr/local/nagios/share url_html_path=/nagios show_context_help=0 use_authentication=0 default_statusmap_layout=5 default_statuswrl_layout=4 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ refresh_rate=90 xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg hosts.cfg define host{ host_name novell1 alias Novell Server #1 address 192.168.1.2 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } hostextinfo.cfg define hostextinfo{ host_name novell1 2d_coords 100.0,50.0 3d_coords 10.0,50.0,75.0 } services.cfg define service{ host_name novell1 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups novell-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_smtp } serviceextinfo.cfg define serviceextinfo{ host_name novell1 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups novell-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_smtp } Thank you. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wp.junior at terra.com.br Sun Jun 20 20:48:49 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Sun, 20 Jun 2004 15:48:49 -0300 Subject: web configuration interface for Nagios 2 In-Reply-To: References: Message-ID: <20040620184539.125F23C063@pasto.terra.com.br> Hi guys. Is there available any web configuration interface for the new Nagios version? Regards, Wilson ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Mon Jun 21 01:00:26 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 21 Jun 2004 11:00:26 +1200 Subject: Using Nagios to query MSSQL In-Reply-To: <40D47010.2030105@debisschop.net> References: <40D47010.2030105@debisschop.net> Message-ID: <005401c4571a$601b8900$b004d882@itss.auckland.ac.nz> On Fri, 18 Jun 2004 09:12:43 -0500, Quillen, Channon wrote: >Is there a plugin that will allow Nagios to run queries against a >MSSQL database? Here, I use pNSClient running on the server and then monitor it via the huge number of available perfmon counters. Unless you really want to do a SQL query test, this seems sufficient for us. I also use the same agent and method with MRTG for graphing various performance statistics. Email me if you would like a template of the necessary MRTG or Nagios configurations. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Jun 21 02:06:12 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 21 Jun 2004 10:06:12 +1000 Subject: Using Nagios to query MSSQL In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Sat, Jun 19, 2004 at 08:19:14PM -0700 References: Message-ID: <20040621100611.A31259@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am writing to thank you for your letter and say, On Sat, Jun 19, 2004 at 08:19:14PM -0700, nagios-users-request at lists.sourceforge.net wrote: > Date: Sat, 19 Jun 2004 12:55:44 -0400 > From: Karl DeBisschop > To: Andy Harrison > CC: "Quillen, Channon" , > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Using Nagios to query MSSQL > > Andy Harrison wrote: > > On Fri, 18 Jun 2004 09:12:43 -0500, Quillen, Channon > > wrote: > > > >>Is there a plugin that will allow Nagios to run queries against a MSSQL > >>database? > http://www.nagios.org/faqs/viewfaq.php?faq_id=156 covers the matter of checking MS SQL servers and goes on to say ' Now you can use sqsh to connect to your MS SQL: sqsh -S servername -U username You're now ready to script your own plugins based on the output you get from your queries. Works great. ' Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Jun 21 02:35:41 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 21 Jun 2004 10:35:41 +1000 Subject: Nagios memory usage 1.2 vs 1.1 In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Sat, Jun 19, 2004 at 08:19:14PM -0700 References: Message-ID: <20040621103540.B31259@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am writing to thank you for your letter and say, > > Message: 5 > Date: Sat, 19 Jun 2004 15:25:55 -0600 > From: Bruce Elrick > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios memory usage 1.2 vs 1.1 > > Hello, > > Any comments would be appreciated. I searched the SourceForge archive > of this mailing list for "memory leak Perl" etc. and didn't find anything. > > I've got a production Nagios server running 1.1 and a test/dev one > upgraded to 1.2 (both using RPM installs running on Redhat 9, host > servers are Compaq DL360, 1 CPU 1 GHz, 384 MB RAM, 256 MB swap, RAID 1 > 36 GB SCSI drives). Both instances run (nearly) identical check loads. > > The 1.1 instance has a memory SIZE (as reported by 'top') of 780 kB and > an RSS of 764 kB. > > The 1.2 instance has a memory SIZE of 134 MB and and RSS of 116 MB. > > Judging by changes we had to make to our Perl-based check scripts (and > observing error messages), I can glean that 1.2 runs Perl-based check > scripts in a persistent Perl interpreter using ExtUtils::Embed. It doesn't use ExtUtils::Embed for anything other than compiling nagios.c (ie the host code into which Perl is embedded). > Anyway, I can understand how this can be much more CPU and I/O efficient > than forking a new Perl interpreter on each check. However, I'm > wondering if anyone has a metric as to whether the 134 MB size is > reasonable? > Probably anything less than infinity is reasonable, depending on run time. You can expect that an embedded Perl Nagios (ePN) will if allowed exhaust your swap and lead the scheduler/vm manager to take whatever actions it deems necessary to recover. The FreeBSD 4.x vm system starts killing processes under these conditions (usally the largest process gets killed last). This Nag with a lot of custom Perl checks (194 hosts/388 services) starts uses about 100 MB after a months running. > I don't know whether Embed caches the compiled Perl intermediate code > for the multiple check scripts that are called or how it manages memory, > but even with a half dozen or fewer unique Perl-based check scripts and > <100 services, I'm wondering whether 134 MB is reasonable or if there is > a memory leak. The Perl op-code parse tree for each program is retained in memory plus all the global variables _and_ all the lexical variables. There is no memory management by the ePN infrastructure (p1.pl). Considerably more sophisticated code (orders or magnitude so) is employed in mod_perl for a similar purpose, but that also leaks. ePN uses the design described in perldoc perlembed ('Persistent'). > > The memory usage started out at 3-4 MB after a few minutes, grew to 32 > MB overnight, then was at 134 MB after a day or so. At this point, the > response time of the Apache-based Admin Console for Nagios (and other > Apache responses) is on the order of 5-10 seconds, presumably because of > swaping of memory pages. > I don't see that rate of memory usage. Tue Jun 15 20:02:22 Nagios 1.2 starting... (PID=39657) Tue Jun 15 20:02:22 Finished daemonizing... (New PID=39658) last pid: 32223; load averages: 0.14, 0.27, 0.31 up 39+21:50:34 10:30:48 108 processes: 2 running, 106 sleeping CPU states: 34.6% user, 0.0% nice, 30.4% system, 1.2% interrupt, 33.9% idle Mem: 78M Active, 89M Inact, 56M Wired, 8704K Cache, 35M Buf, 17M Free Swap: 256M Total, 20M Used, 236M Free, 7% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 39658 nagios 10 0 39048K 20496K nanslp 63:39 0.24% 0.24% nagios 32132 nagios 35 0 39048K 21480K RUN 0:00 0.27% 0.05% nagios 861 root 2 0 5548K 3028K select 64:33 0.00% 0.00% perl So this Nag is up to about 40 MB after 6 days. > Anyone have similar observances or perhaps comments/advice? > 1 There is some general advice at http://nagios.sourceforge.net/docs/1_0/embeddedperl.html 2 Nag version 2 deallocates and reallocates the Perl interpreter periodically, thus working around this problem. 3 With Nag 1.x, I work around the problem by manually restarting Nag no less than once each four weeks, This could be automated but since I am using a glib/chained hash Nag that doesn't reread config, I restart it each time I change the config (prob once a week). 4 It may be worth your posting - how many hosts/services - how many Perl plugins - origin of Perl plugins (ie how many standard [Nag plugins] how many in-house) - Perl version Lastly, the ePN stuff is not subject to much change. There are some fiddling changes in 2.0 but the guts are the same with 1.0, 1.1, 1.2 and 2.0. Have you ever had the ePN stuff work Ok ? > Thanks, > Bruce Elrick > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Christopher.Thuys at bdigital.com.au Mon Jun 21 03:17:38 2004 From: Christopher.Thuys at bdigital.com.au (Christopher Thuys) Date: Mon, 21 Jun 2004 09:17:38 +0800 Subject: sending warnings and criticals via different transports. Message-ID: Hi, I am trying to configure the sending of warning alerts via email only and the sending of criticals via e-mail and sms. I have read the DOCO and can not find out how to achieve this apart from setting up a user twice once for warnings via e-mail and once for critical alerts via sms. Has any one done this? I have tried rewriting the default notify-by-epager command but I stopped getting any notifications when i changed the command to the following. command_line [ $SERVICESTATE$ != WARNING && /bin/echo -e '$CONTACTPAGER$\n$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$ Host $HOSTNAME$ Address $HOSTADDRESS$ Info $OUTPUT$. Sent $DATETIME$' > /var/spool/sms/00netsaint_`date '+%s'`_$CONTACTPAGER$.new ] I then tried to call an external shell script passing the MACROS as parameters but that fails as well. command_line /usr/local/nagios/libexec/send_sms.sh $CONTACTPAGER$ $SERVICESTATE$ "$HOSTALIAS$" "$SERVICEDESC$" $HOSTNAME$ $HOSTADDRESS$ "$OUTPUT$" "$DATETIME$" Any ideas anyone? Thanks in advance. Christopher Thuys Systems Administrator | B Level 3, 207 Adelaide Terrace | Perth, WA 6000 P 08 9463 5800| F 08 9463 5955 | M 0403 809 065 -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.shipway at auckland.ac.nz Mon Jun 21 03:55:46 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 21 Jun 2004 13:55:46 +1200 Subject: sending warnings and criticals via different transports. In-Reply-To: References: Message-ID: <007e01c45732$de3a4ac0$b004d882@itss.auckland.ac.nz> I achieved this by creating a dummy user, 'pager' that accepts only criticals, and added them to the same contact group as the rest of us. Of course, this is easy because we have a single on-call pager that is passed around. If you are trying to do this for separate people, I would suggest you create a separate wrapper script that checks the alert is CRITICAL and only calls the pager program if so. Just define this as a new command in the .cfg files, and hook it in as a different alert method. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Christopher Thuys Sent: Monday, 21 June 2004 1:18 p.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] sending warnings and criticals via different transports. Hi, I am trying to configure the sending of warning alerts via email only and the sending of criticals via e-mail and sms. I have read the DOCO and can not find out how to achieve this apart from setting up a user twice once for warnings via e-mail and once for critical alerts via sms. Has any one done this? I -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From Tom.DeBlende at dhl.com Mon Jun 21 08:57:56 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Mon, 21 Jun 2004 08:57:56 +0200 Subject: Using Nagios to query MSSQL In-Reply-To: References: Message-ID: <40D686F4.10500@dhl.com> Not as such. There is a check_mssql.sh plugin in the contrib. It does run a simple "sp_who2" query and parses the results. You might want to tweak that one to fit your needs. Quillen, Channon wrote: >Is there a plugin that will allow Nagios to run queries against a MSSQL >database? > >Channon R. Quillen >LAN Administrator >Texas Farm Bureau Insurance Companies >CQuillen at txfb-ins.com > > > > >------------------------------------------------------- >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > -- Tom De Blende Senior Infrastructure Analyst DHL European Coordination Center - IT Department Tel +32 2 713 42 62 Fax +32 2 713 52 00 ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From h.baecker at ecofis.de Mon Jun 21 09:26:32 2004 From: h.baecker at ecofis.de (h.baecker at ecofis.de) Date: Mon, 21 Jun 2004 09:26:32 +0200 Subject: Antwort: Re: Perf-Problem - Not more than 255 Childs? In-Reply-To: <1087557922.2727.22.camel@supernova> References: <1087557922.2727.22.camel@supernova> Message-ID: I'm sorry, this is not the answer because the system doesn't swap heavily and the memory is ok too. But I think there are some Kernel limits to 255 Procesess... ### less /usr/src/linux/include/linux/limits.h [...] #define OPEN_MAX 256 /* # open files a process may have */ [...] ### We will try to fix this in a few days... Thanks Marco Ramos 18.06.2004 13:25 An h.baecker at ecofis.de Kopie nagios-users at lists.sourceforge.net Thema Re: [Nagios-users] Perf-Problem - Not more than 255 Childs? This should be the answer to your problem: http://www.nagios.org/faqs/viewfaq.php?faq_id=115 HTH, mramos On Fri, 2004-06-18 at 10:15, h.baecker at ecofis.de wrote: > Hi List, > > I have som performance Problems with my Nagios. It is running on an > IBM Server with following specs: > > CPU Info: > 4 x Intel(R) XEON(TM) CPU 2.00GHz > > Mem Info: > total: used: free: > shared: buffers: cached: > Mem: 2649300992 2368167936 281133056 0 > 672956416 949780480 > Swap: 1081470976 48660480 1032810496 > > I think it is not a small system. > > All about we've got 613 Hosts and 2600 Services. > > I would say that 99% of the service checks have an check_interval = > 600 seconds. > > The Process Info says that just 75% of the whole checks where checked > within a 5 minute intervall. > > During my examine of nagios and system I found out that max 255 > procesess owned by nagios with service checks etc. Is there a limit of > maximum procs? > or: > How can I optimize Nagios to check all of the Services within 5 > minutes? Any ideas? > > Thanks for hopefully a much of answers. > > Hendrik -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Mon Jun 21 10:05:56 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 21 Jun 2004 10:05:56 +0200 Subject: sending warnings and criticals via different transports. In-Reply-To: References: Message-ID: <40D696E4.4030405@op5.se> Christopher Thuys wrote: > Hi, > I am trying to configure the sending of warning alerts via email only > and the sending of criticals via e-mail and sms. > I have read the DOCO and can not find out how to achieve this apart from > setting up a user twice once for warnings via e-mail and once for critical > alerts via sms. > Has any one done this? > Yes. It turned out to be very complicated later on when some admins turned up and said they wanted all alerts to their pagers as well. > > Any ideas anyone? > Just add two different users. That way you can tweak all sorts of settings on an individual basis without having to do all the exception handling for special cases in the script. > Thanks in advance. > > Christopher Thuys > Systems Administrator | B > Level 3, 207 Adelaide Terrace | Perth, WA 6000 > P 08 9463 5800| F 08 9463 5955 | M 0403 809 065 > > > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 21 10:13:32 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 21 Jun 2004 10:13:32 +0200 Subject: Antwort: Re: Perf-Problem - Not more than 255 Childs? In-Reply-To: References: Message-ID: <40D698AC.7020105@op5.se> h.baecker at ecofis.de wrote: > I'm sorry, this is not the answer because the system doesn't swap heavily > and the memory is ok too. > > But I think there are some Kernel limits to 255 Procesess... > > ### > less /usr/src/linux/include/linux/limits.h > [...] > #define OPEN_MAX 256 /* # open files a process may have */ > [...] > ### > > We will try to fix this in a few days... > Please, please, please don't hack the kernel. The limits in it are there for a reason, and shouldn't be tampered with to fix broken applications. If nagios could be set up to print its perfdata to a local socket (maybe it already can?) then heavy performance issues with forking a child-process to write perfdata for each check can be done away with. This would also take care of the issues with data-loss. If you're going to do some hacking, I suggest you start in Nagios, and then email Ben (Clewett, the PerfParse guy) what changes you've done so he can make adjustments for the improvements. > Thanks > > > > > Marco Ramos > 18.06.2004 13:25 > > An > h.baecker at ecofis.de > Kopie > nagios-users at lists.sourceforge.net > Thema > Re: [Nagios-users] Perf-Problem - Not more than 255 Childs? > > > > > > > > This should be the answer to your problem: > > http://www.nagios.org/faqs/viewfaq.php?faq_id=115 > > HTH, > mramos > > On Fri, 2004-06-18 at 10:15, h.baecker at ecofis.de wrote: > >>Hi List, >> >>I have som performance Problems with my Nagios. It is running on an >>IBM Server with following specs: >> >>CPU Info: >>4 x Intel(R) XEON(TM) CPU 2.00GHz >> >>Mem Info: >> total: used: free: >>shared: buffers: cached: >>Mem: 2649300992 2368167936 281133056 0 >>672956416 949780480 >>Swap: 1081470976 48660480 1032810496 >> >>I think it is not a small system. >> >>All about we've got 613 Hosts and 2600 Services. >> >>I would say that 99% of the service checks have an check_interval = >>600 seconds. >> >>The Process Info says that just 75% of the whole checks where checked >>within a 5 minute intervall. >> >>During my examine of nagios and system I found out that max 255 >>procesess owned by nagios with service checks etc. Is there a limit of >>maximum procs? >>or: >>How can I optimize Nagios to check all of the Services within 5 >>minutes? Any ideas? >> >>Thanks for hopefully a much of answers. >> >>Hendrik > > > > > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben at clewett.org.uk Mon Jun 21 10:48:42 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Mon, 21 Jun 2004 09:48:42 +0100 Subject: Antwort: Re: Perf-Problem - Not more than 255 Childs? In-Reply-To: <40D698AC.7020105@op5.se> References: <40D698AC.7020105@op5.se> Message-ID: <40D6A0EA.4080903@clewett.org.uk> Sorry, I think I missed the beginning of this thread. But I can see if I can provide any relevant information. Nagios only needs to open *one* file for PerfParse to work. This file is help open permanently. (serviceperf.log) The 256 limit per process is unlikely to be of any relevance. MySQL of course opens up hundreds. (326 on my machine.) If you have a problem here, try moving MySQL to another host. This will also do wonders for your performance. I can add to the comment about adjusting the max open files. The fact that it's 256 and not 257 or 255 suggests this is not a limit you can change. If you do this, you will probably make your system unstable, if it runs at all. Don't do it :) Regards, Ben. Andreas Ericsson wrote: > h.baecker at ecofis.de wrote: > >> I'm sorry, this is not the answer because the system doesn't swap >> heavily and the memory is ok too. >> >> But I think there are some Kernel limits to 255 Procesess... >> >> ### >> less /usr/src/linux/include/linux/limits.h >> [...] >> #define OPEN_MAX 256 /* # open files a process may have */ >> [...] >> ### >> >> We will try to fix this in a few days... >> > > Please, please, please don't hack the kernel. The limits in it are there > for a reason, and shouldn't be tampered with to fix broken applications. > > If nagios could be set up to print its perfdata to a local socket (maybe > it already can?) then heavy performance issues with forking a > child-process to write perfdata for each check can be done away with. > This would also take care of the issues with data-loss. > > If you're going to do some hacking, I suggest you start in Nagios, and > then email Ben (Clewett, the PerfParse guy) what changes you've done so > he can make adjustments for the improvements. > >> Thanks >> >> >> >> >> Marco Ramos 18.06.2004 13:25 >> >> An >> h.baecker at ecofis.de >> Kopie >> nagios-users at lists.sourceforge.net >> Thema >> Re: [Nagios-users] Perf-Problem - Not more than 255 Childs? >> >> >> >> >> >> >> >> This should be the answer to your problem: >> >> http://www.nagios.org/faqs/viewfaq.php?faq_id=115 >> >> HTH, >> mramos >> >> On Fri, 2004-06-18 at 10:15, h.baecker at ecofis.de wrote: >> >>> Hi List, >>> >>> I have som performance Problems with my Nagios. It is running on an >>> IBM Server with following specs: >>> >>> CPU Info: >>> 4 x Intel(R) XEON(TM) CPU 2.00GHz >>> >>> Mem Info: >>> total: used: free: >>> shared: buffers: cached: >>> Mem: 2649300992 2368167936 281133056 0 >>> 672956416 949780480 >>> Swap: 1081470976 48660480 1032810496 >>> >>> I think it is not a small system. >>> >>> All about we've got 613 Hosts and 2600 Services. >>> >>> I would say that 99% of the service checks have an check_interval = >>> 600 seconds. >>> >>> The Process Info says that just 75% of the whole checks where checked >>> within a 5 minute intervall. >>> >>> During my examine of nagios and system I found out that max 255 >>> procesess owned by nagios with service checks etc. Is there a limit of >>> maximum procs? >>> or: >>> How can I optimize Nagios to check all of the Services within 5 >>> minutes? Any ideas? >>> >>> Thanks for hopefully a much of answers. >>> >>> Hendrik >> >> >> >> >> >> > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 21 11:04:44 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 21 Jun 2004 11:04:44 +0200 Subject: Antwort: Re: Perf-Problem - Not more than 255 Childs? In-Reply-To: <40D6A0EA.4080903@clewett.org.uk> References: <40D698AC.7020105@op5.se> <40D6A0EA.4080903@clewett.org.uk> Message-ID: <40D6A4AC.9060902@op5.se> Ben Clewett wrote: > Nagios only needs to open *one* file for PerfParse to work. This file > is help open permanently. (serviceperf.log) The 256 limit per process > is unlikely to be of any relevance. > If it could open a socket instead, wouldn't that increase performance and usability by about a zillion times? * Perfparse could have a single persistent connection to mysql. * Changes would be visible instantly. * Less filethrashing. * No need for exotic filetruncing log-rotation with risks of data-loss. * No need to set up cron-jobs. * Nagios still wouldn't have to fork. * In time, perfparse could well act as a statusdb engine for the nagios GUI, making it always display the results of the last check (this requires nagios to forward the entire output message along with relevant host/service info though, but I hardly think that can be a serious coding problem). Just thinking out loud... --[ snip ]--- > > Regards, Ben. > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ali.ajroud at philips.com Mon Jun 21 11:10:57 2004 From: ali.ajroud at philips.com (ali.ajroud at philips.com) Date: Mon, 21 Jun 2004 11:10:57 +0200 Subject: Schedule downtime Message-ID: Hi everybody, How will I be able to authorize the schedule downtime to a user? Regards. Ali AJROUD ( O-O ) ==================================ooO=(_)=Ooo========================== Atos Origin Infog?rance C/O Campus Information Systems Philips France Tel : +33 (0)2 43 41 12 15 - GSM : +33 (0)6 03 91 55 02 Route d'Angers Fax : +33 (0)2 43 41 17 37 72081 Le Mans Cedex 9 Email : ali.ajroud at atosorigin.com France Email : ali.ajroud at philips.com ======================================================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ben at clewett.org.uk Mon Jun 21 11:42:33 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Mon, 21 Jun 2004 10:42:33 +0100 Subject: Antwort: Re: Perf-Problem - Not more than 255 Childs? In-Reply-To: <40D6A4AC.9060902@op5.se> References: <40D698AC.7020105@op5.se> <40D6A0EA.4080903@clewett.org.uk> <40D6A4AC.9060902@op5.se> Message-ID: <40D6AD89.5080207@clewett.org.uk> Andreas, I totally agree. A socket feeding PerfParse would be excellent. For all the reasons you list. I believe that this is in the pipe (no pun intended) for Nagios 2.0. At which time my self and the other PerfParse developers will work 24x7 to make this work :) However, the current method, apart for the 10 minute delay (depending on your cron) works without a major load increase. The load on my system by just the 'perfparse' parser component is not massive. Other work in the next few versions will ensure this load is lessened by moving daily administrative functions to a nightly on-shot. I note your comment about the alternate status display. You can see the start of this in the current version. Which I use as it's faster than the Nagios status display. At least in Nagios 1.2. This will be developed further including easy to use filters and alternate displays. (Possible a Java Bean app as well for instant refresh of changing data at lower load the HTML.) However, having two systems, with two databases, two displays, seems pointless. Accept that PerfParse gives access to all plugin output intrinsically, not just the current. PerfParse is *not* being developed as a replacement to Nagios GUI :) Ben. Andreas Ericsson wrote: > Ben Clewett wrote: > >> Nagios only needs to open *one* file for PerfParse to work. This file >> is help open permanently. (serviceperf.log) The 256 limit per >> process is unlikely to be of any relevance. >> > > If it could open a socket instead, wouldn't that increase performance > and usability by about a zillion times? > * Perfparse could have a single persistent connection to mysql. > * Changes would be visible instantly. > * Less filethrashing. > * No need for exotic filetruncing log-rotation with risks of data-loss. > * No need to set up cron-jobs. > * Nagios still wouldn't have to fork. > * In time, perfparse could well act as a statusdb engine for the nagios > GUI, making it always display the results of the last check (this > requires nagios to forward the entire output message along with relevant > host/service info though, but I hardly think that can be a serious > coding problem). > > Just thinking out loud... > > --[ snip ]--- > >> >> Regards, Ben. >> > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dav77p at hotmail.com Mon Jun 21 11:43:38 2004 From: dav77p at hotmail.com (David Peer) Date: Mon, 21 Jun 2004 09:43:38 +0000 Subject: Check_mailq Message-ID: An HTML attachment was scrubbed... URL: From swati220781 at hotmail.com Mon Jun 21 14:40:18 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Mon, 21 Jun 2004 18:10:18 +0530 Subject: Nagios stopped running Message-ID: Hi! I had configured Nagios and it was running fine. Now, all of a sudden, it has started giving error- There doesn't appear to be any host status information in the status log... Only the httpd service was restarted.No other changes have been made. On doing /etc/rc.d/init.d/nagios status, it gives ps: error: list of process ids must follow -p. what could be the reason?? Thanks in advance, Swati _________________________________________________________________ Contact brides & grooms FREE! http://www.shaadi.com/index.php?ptnr=hmltag Only on www.shaadi.com. Register now! ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wilson at zingy.com Mon Jun 21 15:29:10 2004 From: wilson at zingy.com (Wilson T. Tonini) Date: Mon, 21 Jun 2004 09:29:10 -0400 Subject: checks in different directories In-Reply-To: <20040619011222.37522.qmail@web51410.mail.yahoo.com> References: <20040619011222.37522.qmail@web51410.mail.yahoo.com> Message-ID: <1087824550.6570.74.camel@wilson.zingy.com> Hello, Absolutely, Just specify the plugin's full path instead of using $USER1/. U can use: /usr/local/nagios/libexec/http/check_http instead of $USER1$/check_http regards, Wilson On Fri, 2004-06-18 at 21:12, Marcos & Marcelo wrote: > Hi Folks, > > I would like to know if all of check needs to be placed in the same > directory /usr/local/nagios/libexec. > > Could I put different kinds of check in different directories , i.e > check_memory in /usr/local/nagios/libexec/memory, check_cpu in > /usr/local/nagios/libexec/cpu? > > tks, > Marcelo > > > > ______________________________________________________________________ > Yahoo! Messenger - Fale com seus amigos online. Instale agora! -------------- next part -------------- An HTML attachment was scrubbed... URL: From serwah_s_gh at yahoo.com Mon Jun 21 15:27:45 2004 From: serwah_s_gh at yahoo.com (serwah sabet ghadam) Date: Mon, 21 Jun 2004 06:27:45 -0700 (PDT) Subject: authentication Message-ID: <20040621132745.54467.qmail@web52308.mail.yahoo.com> Hi, I have searched the FAQ but couldn't find any answer. Pardon me if it is an elementary question! my problem is that I have done upon the steps in Authentication And Authorization In The CGIs and defined username and password for my Nagios user, when I want to load the web interface and I am asked for username and password, I enter the username & password that I have defined, but it doesn't allow me at all!! any help is appriciated. s.s.gh --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! -------------- next part -------------- An HTML attachment was scrubbed... URL: From shorn at lssi.net Mon Jun 21 15:41:26 2004 From: shorn at lssi.net (Spencer Horn) Date: Mon, 21 Jun 2004 09:41:26 -0400 Subject: authentication In-Reply-To: <20040621132745.54467.qmail@web52308.mail.yahoo.com> References: <20040621132745.54467.qmail@web52308.mail.yahoo.com> Message-ID: <40D6E586.8000405@lssi.net> First take a deep breath with me.. In...... out...... =) Have you defined permissions in your cgi.cfg file? Spencer serwah sabet ghadam wrote: > Hi, > I have searched the FAQ but couldn't find any answer. > Pardon me if it is an elementary question! > > my problem is that I have done upon the steps in > Authentication And Authorization In The CGIs > > and defined username and password for my Nagios user, > when I want to load the web interface and I am asked for > username and password, I enter the username & password > that I have defined, but it doesn't allow me at all!! > > any help is appriciated. > s.s.gh > > ------------------------------------------------------------------------ > Do you Yahoo!? > New and Improved Yahoo! Mail > > - Send 10MB messages! -------------- next part -------------- An HTML attachment was scrubbed... URL: From twelsh at square-box.com Mon Jun 21 16:03:17 2004 From: twelsh at square-box.com (Tom Welsh) Date: Mon, 21 Jun 2004 15:03:17 +0100 Subject: authentication In-Reply-To: <20040621132745.54467.qmail@web52308.mail.yahoo.com> References: <20040621132745.54467.qmail@web52308.mail.yahoo.com> Message-ID: Hi, Have you set web server permissions on your .htaccess file? Tail -f your http error log and see what errors you are getting when you try to login Have a look at our demo.square-box.com web site . there is a section there on Apache and setting it up to work with Nagios. HTH Tom Welsh squareBOX technologies _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of serwah sabet ghadam Sent: 21 June 2004 14:28 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] authentication Hi, I have searched the FAQ but couldn't find any answer. Pardon me if it is an elementary question! my problem is that I have done upon the steps in Authentication And Authorization In The CGIs and defined username and password for my Nagios user, when I want to load the web interface and I am asked for username and password, I enter the username & password that I have defined, but it doesn't allow me at all!! any help is appriciated. s.s.gh _____ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Mon Jun 21 16:16:03 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 21 Jun 2004 09:16:03 -0500 Subject: [Nagiosplug-help] NRPE allowed_hosts directive doesn't work? In-Reply-To: <1087579620.1355.13.camel@localhost.localdomain> References: <1087411697.1336.21.camel@localhost.localdomain> <1087482835.10931.40.camel@localhost> <1087579620.1355.13.camel@localhost.localdomain> Message-ID: <1087827363.14021.20.camel@localhost> On Fri, 2004-06-18 at 19:27 +0200, Horvath Tamas wrote: > I have to allow just two IP adresses. > I've tried today the following configurations: > The result was the same at all the above cases: it seems to me, that > nrpe only accept the second IP in the lists. Hrm. I use it under xinetd and have no problems - is this not an option (I know giving up sucks, but if you just need it to work, it's a good route) > I use nrpe as standalone daemon and I compiled the same version under > Linux (the monitoring station) as well as under Solaris (the monitored > boxes). I complied nrpe with the --disable-ssl directive, because > without this I always get an "..SSL handshake" error. Yeah, I got that, too. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Jun 21 16:36:24 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 21 Jun 2004 08:36:24 -0600 Subject: Nagios and nagiosmap.pl Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9300@golden-m.mactec.com> Simon Anderson wrote: > Hi Garry, > > Thanks for your response. > > I too use Fedora, perhaps it is the issue as it's common to > both of us. > > I did however manage a workaround. As nagiosmap borks at loading the > images, I removed the image declarations from each object in > hostextinfo.cfg, configured the object coordinates with > nagios map, then > merged the version containing coords with the version > containing image > declarations. Absolutely brilliant Simon. I wish I would have figured that one out on my own quite some time ago. Have you notified anyone working on the Nagiosmap project? I'm guessing that there may just need to be a simple change to the code that tells nagiosmap.pl where to find the images. I've copied the Nagios-Users group, as I've received several emails from people that have seen my original thread and also had trouble with Nagiosmap. I'm using Nagios-1.2, on RH9 and Fedora Core1. Nagiosmap would fail while attempting to load the images on both of these installations. Once I removed the image declarations in hostextinfo.cfg, it worked perfectly, just as you said it would. Nice work. Thanks very much for the assistance. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > > I expect I could have achieved the same result merely by > commenting out > the image declarations and uncommenting them after the fact. > > Regards, > Simon. > > > On Tue, 15 Jun 2004, Cook, Garry wrote: > >> I definitely wouldn't mind sharing. However, I never did find a >> solution. I think that someone posted a patch at some point that was >> supposed to make it work correctly on Fedora Core. While I do have a >> Fedora Core server, my Nagios implementation runs on a RH9 platform. >> At some point I may try to copy over my config files to the Fedora >> server and make it work there, but I just don't have the time right >> now. >> I would suggest posting to the Nagios-Users mailing list and asking >> if anyone else has ever been able to make it work properly. Or you >> could copy my original post and let them know that you are having >> the same issues. Be sure to offer up your site details as well, or >> you may not get a response. Good Luck! >> >> Garry W. Cook, CCNA >> Network Infrastructure Manager >> MACTEC, Inc. - http://www.mactec.com/ >> 303.308.6228 (Office) - 720.220.1862 (Mobile) >> >> Simon Anderson wrote: >>> Hell Garry, >>> >>> I found your posting on a list regarding an issue with nagiosmap.pl >>> and it's inability to recognise some image files referenced in >>> hostextinfo.cfg >>> >>> I am having exactly the same problem - I wonder if you ever found a >>> resolution and would mind sharing it with me? >>> >>> Regards, >>> Simon. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at intercable.net.ve Mon Jun 21 17:00:57 2004 From: jbautista at intercable.net.ve (Jeyri Bautista) Date: Mon, 21 Jun 2004 11:00:57 -0400 Subject: Fw: compile nagios --with-file-perfdata Message-ID: <008b01c457a0$8ed51690$2605020a@bjeyri> Hi, I?m trying to compile the nagios with the performance data file based, but I execute the ./configure ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-file-perfdata --with-template-extinfo But when I execute make all appear the following error: [user at nagios nagios-1.2]# make all cd ./base && make make[1]: Cambiando a directorio `/usr/src/nagios-1.2/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o commands.o flapp ing.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrdde fault.c ../common/comments.c ../xdata/xcddefault.c ../common/objects.c ../xdata/ xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c perfdata.o ../xdata/x pdfile.c ../common/downtime.c ../xdata/xdddefault.c -lm -o nagios perfdata.o: In function `initialize_performance_data': /usr/src/nagios-1.2/base/perfdata.c:57: undefined reference to `xpddefault_initialize_performance_data' perfdata.o: In function `cleanup_performance_data': /usr/src/nagios-1.2/base/perfdata.c:73: undefined reference to `xpddefault_cleanup_performance_data' perfdata.o: In function `update_service_performance_data': /usr/src/nagios-1.2/base/perfdata.c:103: undefined reference to `xpddefault_update_service_performance_data' perfdata.o: In function `update_host_performance_data': /usr/src/nagios-1.2/base/perfdata.c:127: undefined reference to `xpddefault_update_host_performance_data' collect2: ld devolvi?? el estado de salida 1 make[1]: *** [nagios] Error 1 make[1]: Saliendo directorio `/usr/src/nagios-1.2/base' make: *** [all] Error 2 When I compile whit the --with-default-perfdata all is fine. What can I do to solve that? Thanks, Jeyri -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeremy.Russell at chickasaw.net Mon Jun 21 18:07:11 2004 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Mon, 21 Jun 2004 11:07:11 -0500 Subject: Null mailer - no notifications for contacts that want to view CGIs only (maybe notif to an ML) Message-ID: Ok, I've has a few people wanting to know how I authenticated to our Active Directory here. Well, I simply used the mod_ntlm module for apache. You can find it here http://modntlm.sourceforge.net It is very useful. _____ From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] Sent: Thursday, June 17, 2004 8:14 PM To: Jeremy Russell Subject: Re: [Nagios-users] Null mailer - no notifications for contacts that want to view CGIs only (maybe notif to an ML) Dear Sir, I am writing to thank you for your letter and say, On Thu, Jun 17, 2004 at 01:26:24PM -0500, Jeremy Russell wrote: > I you do not need any form of notification at all for a user that can > 'view' nagios, it is as simple as creating a user (by whatever > authentication mean you use, > I authenticate to active Directory in my > environment) and then define in the cgi.cfg what the user can see. > Yep. Good answer, and one employed here for PHB viewing of the CGIs. In this case, I wanted contacts to _not_ be notified, so the answer of others to use either - contact_period none - contact_options n were the best choices for me. You may want to consider contributing . this answer . how you do AD authentication - this ability of Nag to offload auth to another facility (Domain, Directory, PAM-something) is a big Nag win in my view (we use LDAP auth here against an iPlanet directory) as a Nag FAQ. Thanks very much for the encouraging and helpful reply. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasonb at teletouch.net Mon Jun 21 18:57:37 2004 From: jasonb at teletouch.net (Jason Branscum) Date: Mon, 21 Jun 2004 11:57:37 -0500 (CDT) Subject: Thought for an alert Message-ID: <3179.192.168.70.250.1087837057.squirrel@mail.teletouch.net> Hey Guys (in a non-gender sort of way, of course) I had an interesting thought this morning but have been quite unsuccessful in finding ways to go about this. The scenario: You are a small business hosting a website customers connect to, one internet connection to a local uplink provider, one router handling all this traffic. This is a pretty common scenario; Most small business don't use BGP or failover connectivity.. heck, some of my customer use DSL to do major hosting. Your nagios server is located on-site and is set to send SMS messages when a host goes down. The disaster: The above scenario has two points of failure (PoF), the Internet router and the Internet link itself (a T1 in this case). One night, tragicly, your T1 line goes down as someone installs a new fence in their backyard and cuts right through a cable mistaken for a tree root with their rented backhoe (sound famiallier anyone). Your nagios server tries to alert you but is unable to because of the link being down. Customers are furious and you're sound asleep dreaming about profits. The fix: I'd like to investigate using a unix machine (or Win32 if I _had_ to) that I can order to Dial a cell phone, Speak a message "Link to SOMEISP down, help!" or even the standard nagios host-notify out of misccommands.cfg and then hang-up. Wouldn't that be neat? Right now, I have Zetron's that can do this, they'll wake me up in the middle of the night to tell me the power is out a a tower site but have no computer interface. Usually googling will come up with answers on any subject but frankly I am stumped and cannot find any help for this over the internet. Something tells me I have a long road ahead of me but my perl skills are up and prepared to code anything I need. What I'd like from ya'll is any kind of programs you know (unix preferably) that will use SAPI (text to speech) and/or dial-out scripts that will allow audio input. If nothing else, I can record the .WAV files myself (although it would be messy) and have said dialer call a cell phone and play pre-recorded messages.. which is why SAPI or the like is preferable.. you give SAPI some text and it says it (in a robotish voice) rather than having 100 megs of WAV files sitting dormant. Any help would rock the casbah! If I actually come up with anything wprth using, I'll be happy to share. Jason ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Mon Jun 21 19:15:01 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 21 Jun 2004 18:15:01 +0100 Subject: Thought for an alert In-Reply-To: <3179.192.168.70.250.1087837057.squirrel@mail.teletouch.net> References: <3179.192.168.70.250.1087837057.squirrel@mail.teletouch.net> Message-ID: <20040621171501.9135.qmail@minnow.softflare.net> Jason Branscum writes: > I'd like to investigate using a unix machine (or Win32 if I _had_ to) that > I can order to Dial a cell phone, Speak a message "Link to SOMEISP down, > help!" or even the standard nagios host-notify out of misccommands.cfg and > then hang-up. Sending an SMS sounds a lot less work to me and a lot less prone to confusion. Grab smstools and define a suitable notify command. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From networks at wi.rr.com Mon Jun 21 19:20:30 2004 From: networks at wi.rr.com (Networks) Date: Mon, 21 Jun 2004 12:20:30 -0500 Subject: Thought for an alert In-Reply-To: <3179.192.168.70.250.1087837057.squirrel@mail.teletouch.net> References: <3179.192.168.70.250.1087837057.squirrel@mail.teletouch.net> Message-ID: <1087838376.15486.4.camel@localhost.localdomain> Jason, I tried setting that up once, had problems getting the right type of voice modem to do the job. Basically it involves using a check for internet connectivity, festival, and notification escalations. I know your not the only one to want to do this, and it HAS been done before. Anyhow, I'll see what documentation I still have around on it and forward it on. Let me know how your progress goes. Josh On Mon, 2004-06-21 at 11:57, Jason Branscum wrote: > Hey Guys (in a non-gender sort of way, of course) > > I had an interesting thought this morning but have been quite unsuccessful > in finding ways to go about this. > > The scenario: > > You are a small business hosting a website customers connect to, one > internet connection to a local uplink provider, one router handling all > this traffic. This is a pretty common scenario; Most small business don't > use BGP or failover connectivity.. heck, some of my customer use DSL to do > major hosting. Your nagios server is located on-site and is set to send > SMS messages when a host goes down. > > The disaster: > > The above scenario has two points of failure (PoF), the Internet router > and the Internet link itself (a T1 in this case). One night, tragicly, > your T1 line goes down as someone installs a new fence in their backyard > and cuts right through a cable mistaken for a tree root with their rented > backhoe (sound famiallier anyone). Your nagios server tries to alert you > but is unable to because of the link being down. Customers are furious > and you're sound asleep dreaming about profits. > > The fix: > > I'd like to investigate using a unix machine (or Win32 if I _had_ to) that > I can order to Dial a cell phone, Speak a message "Link to SOMEISP down, > help!" or even the standard nagios host-notify out of misccommands.cfg and > then hang-up. Wouldn't that be neat? Right now, I have Zetron's that can > do this, they'll wake me up in the middle of the night to tell me the > power is out a a tower site but have no computer interface. > > Usually googling will come up with answers on any subject but frankly I am > stumped and cannot find any help for this over the internet. Something > tells me I have a long road ahead of me but my perl skills are up and > prepared to code anything I need. What I'd like from ya'll is any kind of > programs you know (unix preferably) that will use SAPI (text to speech) > and/or dial-out scripts that will allow audio input. If nothing else, I > can record the .WAV files myself (although it would be messy) and have > said dialer call a cell phone and play pre-recorded messages.. which is > why SAPI or the like is preferable.. you give SAPI some text and it says > it (in a robotish voice) rather than having 100 megs of WAV files sitting > dormant. > > Any help would rock the casbah! If I actually come up with anything wprth > using, I'll be happy to share. > > Jason > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From networks at wi.rr.com Mon Jun 21 19:20:30 2004 From: networks at wi.rr.com (Networks) Date: Mon, 21 Jun 2004 12:20:30 -0500 Subject: Thought for an alert In-Reply-To: <3179.192.168.70.250.1087837057.squirrel@mail.teletouch.net> References: <3179.192.168.70.250.1087837057.squirrel@mail.teletouch.net> Message-ID: <1087838430.15486.6.camel@localhost.localdomain> Jason, I tried setting that up once, had problems getting the right type of voice modem to do the job. Basically it involves using a check for internet connectivity, festival, and notification escalations. I know your not the only one to want to do this, and it HAS been done before. Anyhow, I'll see what documentation I still have around on it and forward it on. Let me know how your progress goes. Josh On Mon, 2004-06-21 at 11:57, Jason Branscum wrote: > Hey Guys (in a non-gender sort of way, of course) > > I had an interesting thought this morning but have been quite unsuccessful > in finding ways to go about this. > > The scenario: > > You are a small business hosting a website customers connect to, one > internet connection to a local uplink provider, one router handling all > this traffic. This is a pretty common scenario; Most small business don't > use BGP or failover connectivity.. heck, some of my customer use DSL to do > major hosting. Your nagios server is located on-site and is set to send > SMS messages when a host goes down. > > The disaster: > > The above scenario has two points of failure (PoF), the Internet router > and the Internet link itself (a T1 in this case). One night, tragicly, > your T1 line goes down as someone installs a new fence in their backyard > and cuts right through a cable mistaken for a tree root with their rented > backhoe (sound famiallier anyone). Your nagios server tries to alert you > but is unable to because of the link being down. Customers are furious > and you're sound asleep dreaming about profits. > > The fix: > > I'd like to investigate using a unix machine (or Win32 if I _had_ to) that > I can order to Dial a cell phone, Speak a message "Link to SOMEISP down, > help!" or even the standard nagios host-notify out of misccommands.cfg and > then hang-up. Wouldn't that be neat? Right now, I have Zetron's that can > do this, they'll wake me up in the middle of the night to tell me the > power is out a a tower site but have no computer interface. > > Usually googling will come up with answers on any subject but frankly I am > stumped and cannot find any help for this over the internet. Something > tells me I have a long road ahead of me but my perl skills are up and > prepared to code anything I need. What I'd like from ya'll is any kind of > programs you know (unix preferably) that will use SAPI (text to speech) > and/or dial-out scripts that will allow audio input. If nothing else, I > can record the .WAV files myself (although it would be messy) and have > said dialer call a cell phone and play pre-recorded messages.. which is > why SAPI or the like is preferable.. you give SAPI some text and it says > it (in a robotish voice) rather than having 100 megs of WAV files sitting > dormant. > > Any help would rock the casbah! If I actually come up with anything wprth > using, I'll be happy to share. > > Jason > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phessler at triplecanopy.com Mon Jun 21 20:00:38 2004 From: phessler at triplecanopy.com (Peter Hessler) Date: Mon, 21 Jun 2004 11:00:38 -0700 Subject: Problems with cgi access Message-ID: <20040621110038.631c2b83@leela.theapt.org> I have installed Nagios 1.2 on to OpenBSD -current, and the cgi doesn't think nagios is running. nagios_check_command=/usr/local/libexec/nagios/check_nagios /var/log/nagios/nagios.log 5 '/usr/local/bin/nagios -d /etc/nagios/nagios.cfg' main_config_file=/etc/nagios/nagios.cfg $ /usr/local/libexec/nagios/check_nagios /var/log/nagios/nagios.log 5 '/usr/local/bin/nagios -d /etc/nagios/nagios.cfg' Nagios ok: located 1 process, status log updated 14 seconds ago $ $ ps aux | grep '/usr/local/bin/nagios -d /etc/nagios/nagios.cfg' _nagios 7871 0.0 0.1 564 920 ?? Ss Wed01PM 0:39.01 /usr/local/bin/nagios -d /etc/nagios/nagios.cfg $ Any other information that I should show? -- In any world menu, Canada must be considered the vichyssoise of nations -- it's cold, half-French, and difficult to stir. -- Stuart Keate ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From networks at wi.rr.com Mon Jun 21 20:29:08 2004 From: networks at wi.rr.com (Networks) Date: Mon, 21 Jun 2004 13:29:08 -0500 Subject: Thought for an alert In-Reply-To: <20040621171501.9135.qmail@minnow.softflare.net> References: <3179.192.168.70.250.1087837057.squirrel@mail.teletouch.net> <20040621171501.9135.qmail@minnow.softflare.net> Message-ID: <1087842548.15486.8.camel@localhost.localdomain> http://article.gmane.org/gmane.network.nagios.user/12706 This is one of the articles that were written up as a how-to for nagios to make phone calls. On Mon, 2004-06-21 at 12:15, Paul L. Allen wrote: > Jason Branscum writes: > > > I'd like to investigate using a unix machine (or Win32 if I _had_ to) that > > I can order to Dial a cell phone, Speak a message "Link to SOMEISP down, > > help!" or even the standard nagios host-notify out of misccommands.cfg and > > then hang-up. > > Sending an SMS sounds a lot less work to me and a lot less prone to > confusion. Grab smstools and define a suitable notify command. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmusone at gmail.com Mon Jun 21 20:42:30 2004 From: mmusone at gmail.com (Mark Musone) Date: Mon, 21 Jun 2004 14:42:30 -0400 Subject: Thought for an alert In-Reply-To: <3179.192.168.70.250.1087837057.squirrel@mail.teletouch.net> References: <3179.192.168.70.250.1087837057.squirrel@mail.teletouch.net> Message-ID: <1bee355904062111427b82648d@mail.gmail.com> We currently do this using Asterisk. which, as an added bonus can use a pot line or VOIP. Mixing it with festival provised text to speech. An added bonus is the ability to dial-in to the system, and "press 1 for current alerts, press 2 to restart apache...etc.." -Mark On Mon, 21 Jun 2004 11:57:37 -0500 (CDT), Jason Branscum wrote: > > > Hey Guys (in a non-gender sort of way, of course) > > I had an interesting thought this morning but have been quite unsuccessful > in finding ways to go about this. > > The scenario: > > You are a small business hosting a website customers connect to, one > internet connection to a local uplink provider, one router handling all > this traffic. This is a pretty common scenario; Most small business don't > use BGP or failover connectivity.. heck, some of my customer use DSL to do > major hosting. Your nagios server is located on-site and is set to send > SMS messages when a host goes down. > > The disaster: > > The above scenario has two points of failure (PoF), the Internet router > and the Internet link itself (a T1 in this case). One night, tragicly, > your T1 line goes down as someone installs a new fence in their backyard > and cuts right through a cable mistaken for a tree root with their rented > backhoe (sound famiallier anyone). Your nagios server tries to alert you > but is unable to because of the link being down. Customers are furious > and you're sound asleep dreaming about profits. > > The fix: > > I'd like to investigate using a unix machine (or Win32 if I _had_ to) that > I can order to Dial a cell phone, Speak a message "Link to SOMEISP down, > help!" or even the standard nagios host-notify out of misccommands.cfg and > then hang-up. Wouldn't that be neat? Right now, I have Zetron's that can > do this, they'll wake me up in the middle of the night to tell me the > power is out a a tower site but have no computer interface. > > Usually googling will come up with answers on any subject but frankly I am > stumped and cannot find any help for this over the internet. Something > tells me I have a long road ahead of me but my perl skills are up and > prepared to code anything I need. What I'd like from ya'll is any kind of > programs you know (unix preferably) that will use SAPI (text to speech) > and/or dial-out scripts that will allow audio input. If nothing else, I > can record the .WAV files myself (although it would be messy) and have > said dialer call a cell phone and play pre-recorded messages.. which is > why SAPI or the like is preferable.. you give SAPI some text and it says > it (in a robotish voice) rather than having 100 megs of WAV files sitting > dormant. > > Any help would rock the casbah! If I actually come up with anything wprth > using, I'll be happy to share. > > Jason > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgrafing at voyence.com Mon Jun 21 20:58:50 2004 From: mgrafing at voyence.com (Mark Grafing) Date: Mon, 21 Jun 2004 13:58:50 -0500 Subject: Thought for an alert Message-ID: <3AE153EDD5CA7B4CBA26FCDA1CBA6478011199@hermes.internal.powerupnetworks.com> I may not be getting this correctly, are you planning on putting the *nix server to call you in the same location, or, an alternate location? If it is an alternate location, why not setup a Distributive Monitoring System and incorporate SMS notifications. And lastly, if it is the same location and the DSL line is cut...so is your phone lines so how would either machine reach you. Just curious and I am not tryoing to be the wise ass on the newsgroup. Thanks, ~MARK~ -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Branscum Sent: Monday, June 21, 2004 11:58 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Thought for an alert Hey Guys (in a non-gender sort of way, of course) I had an interesting thought this morning but have been quite unsuccessful in finding ways to go about this. The scenario: You are a small business hosting a website customers connect to, one internet connection to a local uplink provider, one router handling all this traffic. This is a pretty common scenario; Most small business don't use BGP or failover connectivity.. heck, some of my customer use DSL to do major hosting. Your nagios server is located on-site and is set to send SMS messages when a host goes down. The disaster: The above scenario has two points of failure (PoF), the Internet router and the Internet link itself (a T1 in this case). One night, tragicly, your T1 line goes down as someone installs a new fence in their backyard and cuts right through a cable mistaken for a tree root with their rented backhoe (sound famiallier anyone). Your nagios server tries to alert you but is unable to because of the link being down. Customers are furious and you're sound asleep dreaming about profits. The fix: I'd like to investigate using a unix machine (or Win32 if I _had_ to) that I can order to Dial a cell phone, Speak a message "Link to SOMEISP down, help!" or even the standard nagios host-notify out of misccommands.cfg and then hang-up. Wouldn't that be neat? Right now, I have Zetron's that can do this, they'll wake me up in the middle of the night to tell me the power is out a a tower site but have no computer interface. Usually googling will come up with answers on any subject but frankly I am stumped and cannot find any help for this over the internet. Something tells me I have a long road ahead of me but my perl skills are up and prepared to code anything I need. What I'd like from ya'll is any kind of programs you know (unix preferably) that will use SAPI (text to speech) and/or dial-out scripts that will allow audio input. If nothing else, I can record the .WAV files myself (although it would be messy) and have said dialer call a cell phone and play pre-recorded messages.. which is why SAPI or the like is preferable.. you give SAPI some text and it says it (in a robotish voice) rather than having 100 megs of WAV files sitting dormant. Any help would rock the casbah! If I actually come up with anything wprth using, I'll be happy to share. Jason ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruce at elrick.ca Mon Jun 21 22:35:31 2004 From: bruce at elrick.ca (Bruce Elrick) Date: Mon, 21 Jun 2004 14:35:31 -0600 Subject: Schedule downtime In-Reply-To: References: Message-ID: <40D74693.2080300@elrick.ca> ali.ajroud at philips.com wrote: > Hi everybody, > > How will I be able to authorize the schedule downtime to a user? > Read up on in the CGI part of the docs and pay attention to the concept of "authenticate contacts". If someone authenticates to the web server as user xxx and a service or a host has associated with it a contact whose name exactly matches xxx, then that use will be able to schedule downtime for that service or host. It's a neat feature. Also, when they use the Web Console, they will only see the services for which they are contacts and the hosts on which those services run. I've used this successfully along with having Apache do LDAP authentication against our Active Directory server. In cases where you don't already have an appropriate contact definition and you don't have a need for notification for that person, create a contact anyway and set it up not to notify them. Cheers... Bruce ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmusone at gmail.com Mon Jun 21 23:06:38 2004 From: mmusone at gmail.com (Mark Musone) Date: Mon, 21 Jun 2004 17:06:38 -0400 Subject: Thought for an alert In-Reply-To: References: Message-ID: <1bee355904062114066269c48e@mail.gmail.com> Umm..it's fairly straight forward.. #1, is installing/learning asterisk (ugh..almost as complex as nagios :) ) #2. the important thing is creating a .call file. theres an example at: http://www.voip-info.org/wiki-Asterisk+auto-dial+out #3, now it's just a matter of making a procmail script that takes a nagios notification (you just setup nagios to email a special account i.e. dial-out-notify at mydomain.com) #4. have the procmail script create the .call file such as: Channel: Zap/1/17165551212 MaxRetries: 2 RetryTime: 60 WaitTime: 30 Context: callme Extension: 800 Priority: 2 you dump the .call file into asterisk's outgoing directory..asterisk magically takes it, dials the number and does whatever you want it to thats defined in the "callme" context in the asterisk config file.. -Mark ----- Original Message ----- From: Jeremy Russell Date: Mon, 21 Jun 2004 15:37:20 -0500 Subject: RE: [Nagios-users] Thought for an alert To: Mark Musone , Jason Branscum Cc: nagios-users at lists.sourceforge.net Ok, This you must share!!! Any helpful hints? ________________________________ From: Mark Musone [mailto:mmusone at gmail.com] Sent: Monday, June 21, 2004 1:43 PM To: Jason Branscum Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Thought for an alert We currently do this using Asterisk. which, as an added bonus can use a pot line or VOIP. Mixing it with festival provised text to speech. An added bonus is the ability to dial-in to the system, and "press 1 for current alerts, press 2 to restart apache...etc.." -Mark On Mon, 21 Jun 2004 11:57:37 -0500 (CDT), Jason Branscum wrote: > > > Hey Guys (in a non-gender sort of way, of course) > > I had an interesting thought this morning but have been quite unsuccessful > in finding ways to go about this. > > The scenario: > > You are a small business hosting a website customers connect to, one > internet connection to a local uplink provider, one router handling all > this traffic. This is a pretty common scenario; Most small business don't > use BGP or failover connectivity.. heck, some of my customer use DSL to do > major hosting. Your nagios server is located on-site and is set to send > SMS messages when a host goes down. > > The disaster: > > The above scenario has two points of failure (PoF), the Internet router > and the Internet link itself (a T1 in this case). One night, tragicly, > your T1 line goes down as someone installs a new fence in their backyard > and cuts right through a cable mistaken for a tree root with their rented > backhoe (sound famiallier anyone). Your nagios server tries to alert you > but is unable to because of the link being down. Customers are furious > and you're sound asleep dreaming about profits. > > The fix: > > I'd like to investigate using a unix machine (or Win32 if I _had_ to) that > I can order to Dial a cell phone, Speak a message "Link to SOMEISP down, > help!" or even the standard nagios host-notify out of misccommands.cfg and > then hang-up. Wouldn't that be neat? Right now, I have Zetron's that can > do this, they'll wake me up in the middle of the night to tell me the > power is out a a tower site but have no computer interface. > > Usually googling will come up with answers on any subject but frankly I am > stumped and cannot find any help for this over the internet. Something > tells me I have a long road ahead of me but my perl skills are up and > prepared to code anything I need. What I'd like from ya'll is any kind of > programs you know (unix preferably) that will use SAPI (text to speech) > and/or dial-out scripts that will allow audio input. If nothing else, I > can record the .WAV files myself (although it would be messy) and have > said dialer call a cell phone and play pre-recorded messages.. which is > why SAPI or the like is preferable.. you give SAPI some text and it says > it (in a robotish voice) rather than having 100 megs of WAV files sitting > dormant. > > Any help would rock the casbah! If I actually come up with anything wprth > using, I'll be happy to share. > > Jason > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Mon Jun 21 22:37:20 2004 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Mon, 21 Jun 2004 15:37:20 -0500 Subject: Thought for an alert Message-ID: Ok, This you must share!!! Any helpful hints? _____ From: Mark Musone [mailto:mmusone at gmail.com] Sent: Monday, June 21, 2004 1:43 PM To: Jason Branscum Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Thought for an alert We currently do this using Asterisk. which, as an added bonus can use a pot line or VOIP. Mixing it with festival provised text to speech. An added bonus is the ability to dial-in to the system, and "press 1 for current alerts, press 2 to restart apache...etc.." -Mark On Mon, 21 Jun 2004 11:57:37 -0500 (CDT), Jason Branscum wrote: > > > Hey Guys (in a non-gender sort of way, of course) > > I had an interesting thought this morning but have been quite unsuccessful > in finding ways to go about this. > > The scenario: > > You are a small business hosting a website customers connect to, one > internet connection to a local uplink provider, one router handling all > this traffic. This is a pretty common scenario; Most small business don't > use BGP or failover connectivity.. heck, some of my customer use DSL to do > major hosting. Your nagios server is located on-site and is set to send > SMS messages when a host goes down. > > The disaster: > > The above scenario has two points of failure (PoF), the Internet router > and the Internet link itself (a T1 in this case). One night, tragicly, > your T1 line goes down as someone installs a new fence in their backyard > and cuts right through a cable mistaken for a tree root with their rented > backhoe (sound famiallier anyone). Your nagios server tries to alert you > but is unable to because of the link being down. Customers are furious > and you're sound asleep dreaming about profits. > > The fix: > > I'd like to investigate using a unix machine (or Win32 if I _had_ to) that > I can order to Dial a cell phone, Speak a message "Link to SOMEISP down, > help!" or even the standard nagios host-notify out of misccommands.cfg and > then hang-up. Wouldn't that be neat? Right now, I have Zetron's that can > do this, they'll wake me up in the middle of the night to tell me the > power is out a a tower site but have no computer interface. > > Usually googling will come up with answers on any subject but frankly I am > stumped and cannot find any help for this over the internet. Something > tells me I have a long road ahead of me but my perl skills are up and > prepared to code anything I need. What I'd like from ya'll is any kind of > programs you know (unix preferably) that will use SAPI (text to speech) > and/or dial-out scripts that will allow audio input. If nothing else, I > can record the .WAV files myself (although it would be messy) and have > said dialer call a cell phone and play pre-recorded messages.. which is > why SAPI or the like is preferable.. you give SAPI some text and it says > it (in a robotish voice) rather than having 100 megs of WAV files sitting > dormant. > > Any help would rock the casbah! If I actually come up with anything wprth > using, I'll be happy to share. > > Jason > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From isgs294 at yahoo.com Mon Jun 21 20:13:24 2004 From: isgs294 at yahoo.com (Gary Sanders) Date: Mon, 21 Jun 2004 18:13:24 +0000 (UTC) Subject: Scheduling Daily Downtime? References: <370ACCFA5BB3B346A31222E5559BF91F1B652E@mismail2.ena.com> Message-ID: >>>>Create a timeperiod and apply that to your time server. Marc Powell ena.com> writes: Thomas Quinlan yahoo.com> wrote: We have a server that is monitored in Nagios, and it needs to be down for half an hour every evening. I've consulted the documentation, and I understand the difference between "fixed" and "flexible". ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruce at elrick.ca Tue Jun 22 00:37:27 2004 From: bruce at elrick.ca (Bruce Elrick) Date: Mon, 21 Jun 2004 16:37:27 -0600 Subject: Null mailer - no notifications for contacts that want to view CGIs only (maybe notif to an ML) In-Reply-To: References: Message-ID: <40D76327.2020902@elrick.ca> Jeremy Russell wrote: > Ok, I've has a few people wanting to know how I authenticated to our > Active Directory here. > > Well, I simply used the mod_ntlm module for apache. > > You can find it here http://modntlm.sourceforge.net > > It is very useful. > Here is another way of doing it (your AD server needs to accept authenticated access via LDAP): In your main httpd.conf: LoadModule ldap_module modules/mod_ldap.so LoadModule auth_ldap_module modules/mod_auth_ldap.so (these are "experimental" Apache 2.0 modules) In the nagios or stanza: AuthType Basic AuthName "Active Directory Realm" AuthLDAPUrl ldap://myadserver.mycompany.com/ou=Personnel,dc=mycompany,dc=com?sAMAccountName?sub AuthLDAPBindDN cn=ApacheLDAPUser,ou=ServiceAccounts,ou=_Admin,dc=mycompany,dc=com AuthLDAPBindPassword aSecr3t Require valid-user Where: - AuthName is arbitrary and is what the browser typically presents to the user when prompting for the user ID and password. - in the AuthLDAPUrl: - myadserver.mycompany.com is purely a resolvable (DNS) address for your AD server - ou=Personnel,dc=mycompany,dc=com is the DN for the portion of the AD tree underwhich all your users live. In this example, the AD domain is mycompany.com; a lot of companies use a fictitious non-DNS style domain (like mycompany). Also, the OU might be anything; ask your AD guy? - the ?sAMAccountName?sub tells mod_ldap what attribute to do lookups against. In this case sAMAccountName is the "NT short name" that people usually use as their user ID (as opposed to their Full Name which Windows allows). - AuthLDAPBindDN is the DN of the server user that you are going connect to AD using; I'm not sure what priviledges that user needs (presumably you'd want that service user to have the minimal privs to accomplish the authentication) - AuthLDAPBindPassword is the password of that user One thing mod_ldap & mod_auth_ldap *doesn't* appear to support is listing multiple points in the tree to search. This may be a problem if you have users in disparate portions of the AD tree such that the common branch in the tree is very high up and you are doing searches across a large portion of the AD tree. Cheers.... Bruce ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adam at luchjenbroers.com Tue Jun 22 02:51:17 2004 From: adam at luchjenbroers.com (Adam Luchjenbroers) Date: Mon, 21 Jun 2004 19:51:17 -0500 Subject: Nagios 1.2 and RHEL 3 Message-ID: <200406212351.TAA38054@m1.name2host.com> Just wondering if anyone here who has run\tried to run Nagios 1.2 on Redhat Enterprise Linux 3 has had much success. I'm collecting some information on RHEL3 compatibility for a server migration. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lgavage at ulg.ac.be Tue Jun 22 06:49:16 2004 From: lgavage at ulg.ac.be (Lionel Gavage) Date: Tue, 22 Jun 2004 06:49:16 +0200 Subject: Nagios 1.2 and RHEL 3 In-Reply-To: <200406212351.TAA38054@m1.name2host.com> References: <200406212351.TAA38054@m1.name2host.com> Message-ID: Hi, I installed Nagios 1.2 rpm packages (found on the nagios webiste) on Redhat Enterprise Linux 3.0. I didn't have problems. Regards, Lionel. Lionel Gavage Network Engineer (SeGI/ULg) -----Message d'origine----- De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]De la part de Adam Luchjenbroers Envoy? : mardi 22 juin 2004 2:51 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Nagios 1.2 and RHEL 3 Just wondering if anyone here who has run\tried to run Nagios 1.2 on Redhat Enterprise Linux 3 has had much success. I'm collecting some information on RHEL3 compatibility for a server migration. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Tue Jun 22 07:11:05 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 22 Jun 2004 00:11:05 -0500 (CDT) Subject: Nagios 1.2 and RHEL 3 In-Reply-To: <200406212351.TAA38054@m1.name2host.com> References: <200406212351.TAA38054@m1.name2host.com> Message-ID: On Mon, 21 Jun 2004, Adam Luchjenbroers wrote: > Just wondering if anyone here who has run\tried to run Nagios 1.2 on Redhat > Enterprise Linux 3 has had much success. > > I'm collecting some information on RHEL3 compatibility for a server > migration. Works here. I used the RPMs from the dag archive. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jean-luc.helion at c-s.fr Tue Jun 22 08:20:43 2004 From: jean-luc.helion at c-s.fr (HELION Jean-Luc) Date: Tue, 22 Jun 2004 08:20:43 +0200 Subject: Compilation problem of Nagios with MySQL on SOLARIS 8 Message-ID: <0d7801c45821$0d9eea20$5cce33c1@CARAMELMOU> I am getting errors when I "make all" after configuring Nagios (1.1) with mysql support (4.0). When I "configure" : ./configure --prefix=/logiciels/nagios/ --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include --with-mysql-status --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql Everything is ok : ... We'll use MySQL database routines (in xdata/xsddb.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use template-based routines (in xdata/xedtemplate.*) for extended data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -lmysqlclient... yes MySQL library was found! .... But when I "make all". I get the following errors: Undefined first referenced symbol in file mysql_init /var/tmp//cc8QZRJY.o mysql_errno /var/tmp//cc8QZRJY.o mysql_close /var/tmp//cc8QZRJY.o mysql_query /var/tmp//cc8QZRJY.o mysql_real_connect /var/tmp//cc8QZRJY.o ld: fatal: Symbol referencing errors. No output written to nagios collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `nagios' Current working directory /logiciels/nagios/sources/nagios-1.1/base *** Error code 1 make: Fatal error: Command failed for target `all' I have seen references to these errors on this mailing list and the fix was to put the LDFLAGS statements: -L/usr/lib/mysql/lib -lmysqlclient -lz at the end of the compile statement after the file names like so: gcc -g -O2 -I/usr/include/mysql/include -DHAVE_CONFIG_H -DNSCGI avail.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c -o avail.cgi -L/usr/lib/mysql/lib -lmysqlclient -lz A user discovered this related to Nagios being unable to find the MySQL libaries (http://www.mysql.com/doc/en/Link_errors.html). Anybody knows how to change the makefile to move the LDFLAGS stuff to the end of the compilation statement or How to compile manually each program ? Or something else to solve my problem? I become crazy...Please, help me -------------- next part -------------- An HTML attachment was scrubbed... URL: From elvis at webspace4you.ch Tue Jun 22 09:23:37 2004 From: elvis at webspace4you.ch (E.Altherr) Date: Tue, 22 Jun 2004 09:23:37 +0200 Subject: question about Nagios 1.1 und Downtime Message-ID: <7B121EA44EE8D6438CB3867C51DE79878222@svwin2kadm05.local.eyes4media.ch> Hi List Question: how can define in Nagios 1.1 a repeteated downtime our target is the following: between 0:00 - 1.30 AM Nagios shoud not send Alerts about Critical CPU Load, cause while this time our backup (rsync) is runnin' and the CPU Load's will be high on our productive servers many thanks in advance for your trouble best regards E.Altherr ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Jun 22 09:35:01 2004 From: m.borsani at it.net (Marco Borsani) Date: Tue, 22 Jun 2004 09:35:01 +0200 Subject: R: question about Nagios 1.1 und Downtime In-Reply-To: <7B121EA44EE8D6438CB3867C51DE79878222@svwin2kadm05.local.eyes4media.ch> References: <7B121EA44EE8D6438CB3867C51DE79878222@svwin2kadm05.local.eyes4media.ch> Message-ID: Hi, I had same problem. I scheduled a job in cron that create a "dowtime action" during the period I need. Remember to enable external commands. regards Marco -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di E.Altherr Inviato: marted? 22 giugno 2004 9.24 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] question about Nagios 1.1 und Downtime Hi List Question: how can define in Nagios 1.1 a repeteated downtime our target is the following: between 0:00 - 1.30 AM Nagios shoud not send Alerts about Critical CPU Load, cause while this time our backup (rsync) is runnin' and the CPU Load's will be high on our productive servers many thanks in advance for your trouble best regards E.Altherr ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swati220781 at hotmail.com Tue Jun 22 10:11:24 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Tue, 22 Jun 2004 13:41:24 +0530 Subject: Nagios displaying no results Message-ID: Hello! I had configured nagios as a daemon process and it was running fine. Yesterday, it started giving the error - There doesn't appear to be any service status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. The probem found was that the disk was full. That problem got sorted out and Nagios started running fine again this morning. Again the "disk full" problem came up this afternoon. Which was sorted out and the system was rebooted. After that, the same error is coming again - There doesn't appear to be any service status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. I tried restarting nagios, but that didnt help. on doing ps -aux | grep nagios, it shows the usual display of nagios running. on doing /etc/rc.d/init.d/nagios status, it shows nagios running. on doing ./check_nagios, it shows located 1 process, status log updated ....secs ago. its seems there is some problem with the status log file coz everytime i do check_nagios, the time of updation appears same. How can i sort this problem? Kindly help me out, Thanks in advance, Swati _________________________________________________________________ Pay Cash on delivery on lakhs of products. http://go.msnserver.com/IN/50757.asp Only on Baazee.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swati220781 at hotmail.com Tue Jun 22 10:39:00 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Tue, 22 Jun 2004 14:09:00 +0530 Subject: Nagios running but displaying no results Message-ID: Hello! I had configured nagios as a daemon process and it was running fine. Yesterday, it started giving the error - There doesn't appear to be any service status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. The probem found was that the disk was full. That problem got sorted out and Nagios started running fine again this morning. Again the "disk full" problem came up this afternoon. Which was sorted out and the system was rebooted. After that, the same error is coming again - There doesn't appear to be any service status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. I tried restarting nagios, but that didnt help. on doing ps -aux | grep nagios, it shows the usual display of nagios running. on doing /etc/rc.d/init.d/nagios status, it shows nagios running. on doing ./check_nagios, it shows Nagios problem, located 1 process, status log updated ....secs ago. How can i sort this problem? Kindly help me out, Thanks in advance, Swati _________________________________________________________________ Marriage? http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Join BharatMatrimony.com for free. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Jun 22 11:00:40 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 22 Jun 2004 11:00:40 +0200 Subject: Is/Will the Nagios 1.2 plugins/cfg/databases be compatible to Nagios 2.0? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068D1A@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, Where just at the start of setting up a Nagios 1.2 enviroment here with about 250hosts and lots auf Service checks per host. Now, when I'm lookin at the release Date for Nagios 2.0 the question comes to my mind, if it wouldn't bei better to wait for 2.0 though it will include a few nice new features... Has anyone expiriences in Upgrading 1.2 to 2.0? Is it possible, or do we have to start from the beginning? Greets, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. -------------- next part -------------- An HTML attachment was scrubbed... URL: From boopet at web.de Tue Jun 22 11:57:20 2004 From: boopet at web.de (Norbert Schollum) Date: Tue, 22 Jun 2004 11:57:20 +0200 Subject: Servicecheck Problem after Update to 1.2 Message-ID: <404031081@web.de> Hi there, i just updated from Nagios 1.0 to 1.2 and the Servicechecks are no longer running properly. I get the following: [1087897089] Warning: Check of service 'FTP' on host 'cust001' did not exit properly! where could the problem be? I am using nagios-plugins 1.3.0. Thanks for any advise Norbert ________________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 1470 bytes Desc: S/MIME Cryptographic Signature URL: From twelsh at square-box.com Tue Jun 22 12:51:52 2004 From: twelsh at square-box.com (Tom Welsh) Date: Tue, 22 Jun 2004 11:51:52 +0100 Subject: Nagios displaying no results In-Reply-To: References: Message-ID: Hi, When you stop Nagios do you do a ps -eaf | grep Nagios to make sure all Nagios processes have died before restarting Nagios again? What is filling the disk up. Get your Admins to identify the root cause of constantly running out of disk space. Do you use nagios's check_disk to monitor your disk space usage. It would be worth having your systems guys getting alerted that the disk is filling up. Cheers Tom -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Swati Srivastava Sent: 22 June 2004 09:11 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios displaying no results Hello! I had configured nagios as a daemon process and it was running fine. Yesterday, it started giving the error - There doesn't appear to be any service status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. The probem found was that the disk was full. That problem got sorted out and Nagios started running fine again this morning. Again the "disk full" problem came up this afternoon. Which was sorted out and the system was rebooted. After that, the same error is coming again - There doesn't appear to be any service status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. I tried restarting nagios, but that didnt help. on doing ps -aux | grep nagios, it shows the usual display of nagios running. on doing /etc/rc.d/init.d/nagios status, it shows nagios running. on doing ./check_nagios, it shows located 1 process, status log updated ....secs ago. its seems there is some problem with the status log file coz everytime i do check_nagios, the time of updation appears same. How can i sort this problem? Kindly help me out, Thanks in advance, Swati _________________________________________________________________ Pay Cash on delivery on lakhs of products. http://go.msnserver.com/IN/50757.asp Only on Baazee.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jun 22 12:55:23 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 22 Jun 2004 12:55:23 +0200 Subject: Servicecheck Problem after Update to 1.2 In-Reply-To: <404031081@web.de> References: <404031081@web.de> Message-ID: <40D8101B.1020501@op5.se> Norbert Schollum wrote: > Hi there, > > i just updated from Nagios 1.0 to 1.2 and the Servicechecks are no longer running properly. > I get the following: > > [1087897089] Warning: Check of service 'FTP' on host 'cust001' did not exit properly! > Sounds like Nagios had to kill the process because it took too long to finish. > where could the problem be? > I am using nagios-plugins 1.3.0. > Upgrade to nagios-plugins 1.3.1. You should also specify a timeout value for each plugin (usually with the -t switch). > Thanks for any advise You're welcome. > Norbert -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Jun 22 13:16:42 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 22 Jun 2004 13:16:42 +0200 Subject: Can Hostgroups be Member of a Hostgroup? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068D25@SYGOMAIL.GOE.AD.SYCOR.DE> Hello, I'm just planning how to reproduce our System landscape in Nagios. I would like to make it in an hierarchical way. For that it would be great, when it's possible to make hostgroups members of other hostgroups. E.g. when having a group named "Bind DNS Servers" and "Apache Web Servers" I would like to put them both to the group "Linuxserver". Is there a chance to do that? I read through the Nagios Documerntation and didn't found something :-/ Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamie.baddeley at vpc.co.nz Tue Jun 22 13:38:38 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Tue, 22 Jun 2004 23:38:38 +1200 Subject: Can Hostgroups be Member of a Hostgroup? In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E068D25@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E068D25@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <1087904317.13388.94.camel@munter> there's no issue in doing that - simply assign the hosts into more than one hostgroup. If you do that then you will need to think how you are going to handle the conflict between this and multiple notifications for the same host that potentially will result. jamie On Tue, 2004-06-22 at 23:16, Sand Philipp wrote: > Hello, > > I'm just planning how to reproduce our System landscape in Nagios. I > would like to make it in an hierarchical way. For that it would be > great, when it's possible to make hostgroups members of other > hostgroups. E.g. when having a group named "Bind DNS Servers" and > "Apache Web Servers" I would like to put them both to the group > "Linuxserver". Is there a chance to do that? I read through the Nagios > Documerntation and didn't found something :-/ > > Regards, > Philipp > > > _____________________________ > > Philipp Sand > OC-CC-TEC-SYS > > SYCOR GmbH > Heinrich-von-Stephan-Stra?e 1-5 > D - 37073 G?ttingen > > Telefon +49 (0) 551 / 490 - 0 > Telefax +49 (0) 551 / 490 - 2000 > > philipp.sand at sycor.de > www.sycor.de > ------------------------------------------------ > > > > ************************************************ > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche > Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e > Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort > und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine > Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, > sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den > Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or privileged > information. If you are not the intended recipient please delete this > e-mail and all attachments immediately and inform us. The company > sycor does not agree with contracts or contract obligations sent by > e-mail, neither do we transmit legally binding offers by e-mail, > unless this is not expressly agreed upon between the parties and > documented in written form. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Tue Jun 22 16:33:51 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 22 Jun 2004 16:33:51 +0200 Subject: error on HP-UX 10.20 while compiling nrpe 2.0 Message-ID: <40D8434F.2050206@cict.fr> Hi all, I try to compile nrpe v2.0 on a HP-UX 10.20 boxe but i have got the following errors when i execute 'make all' : make all cd ./src/; make ; cd .. cc -Ae -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c nrpe.c: cc: "nrpe.c", line 520: error 1000: Unexpected symbol: "addrlen". cc: "nrpe.c", line 520: error 1573: Type of "addrlen" is undefined due to an illegal declaration. cc: "nrpe.c", line 526: error 1588: "sock" undefined. cc: "nrpe.c", line 529: error 1563: Expression in if must be scalar. cc: "nrpe.c", line 536: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 536: warning 526: Pointer implicitly converted to integral value in assignment. cc: "nrpe.c", line 536: warning 563: Argument #4 is not the correct type. cc: "nrpe.c", line 536: warning 527: Integral value implicitly converted to pointer in assignment. cc: "nrpe.c", line 536: warning 563: Argument #5 is not the correct type. cc: "nrpe.c", line 541: error 1588: "myname" undefined. cc: "nrpe.c", line 541: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 542: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 543: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 543: error 1555: Address operator requires an lvalue. cc: "nrpe.c", line 543: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 543: warning 527: Integral value implicitly converted to pointer in assignment. cc: "nrpe.c", line 543: warning 563: Argument #2 is not the correct type. cc: "nrpe.c", line 547: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 547: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 549: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 549: error 1555: Address operator requires an lvalue. cc: "nrpe.c", line 549: warning 563: Argument #2 is not the correct type. cc: "nrpe.c", line 555: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 555: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "nrpe.c", line 555: warning 526: Pointer implicitly converted to integral value in assignment. cc: "nrpe.c", line 555: warning 563: Argument #2 is not the correct type. cc: "nrpe.c", line 555: error 1594: The sizeof operator cannot be applied to types with unknown size. cc: "nrpe.c", line 555: warning 527: Integral value implicitly converted to pointer in assignment. cc: "nrpe.c", line 555: warning 563: Argument #3 is not the correct type. cc: "nrpe.c", line 561: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 580: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 580: warning 563: Argument #3 is not the correct type. cc: "nrpe.c", line 589: error 1588: "new_sd" undefined. cc: "nrpe.c", line 589: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 590: error 1563: Expression in if must be scalar. cc: "nrpe.c", line 604: error 1588: "new_sd" undefined. cc: "nrpe.c", line 604: error 1563: Expression in if must be scalar. cc: "nrpe.c", line 610: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 616: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 619: error 1588: "addr" undefined. cc: "nrpe.c", line 619: error 1594: The sizeof operator cannot be applied to types with unknown size. cc: "nrpe.c", line 620: error 1588: "rc" undefined. cc: "nrpe.c", line 620: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 620: warning 563: Argument #2 is not the correct type. cc: "nrpe.c", line 620: warning 563: Argument #3 is not the correct type. cc: "nrpe.c", line 622: error 1563: Expression in if must be scalar. cc: "nrpe.c", line 628: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 633: error 1588: "nptr" undefined. cc: "nrpe.c", line 633: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "nrpe.c", line 637: error 1532: Reference through a non-pointer. cc: "nrpe.c", line 637: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 637: error 1532: Reference through a non-pointer. cc: "nrpe.c", line 640: error 1532: Reference through a non-pointer. cc: "nrpe.c", line 640: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 655: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 663: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 676: error 1588: "new_sd" undefined. cc: "nrpe.c", line 676: warning 563: Argument #1 is not the correct type. utils.c: *** Error exit code 1 Stop. *** Error exit code 1 Stop. I search in mailing lists but i don't find any answer. Can someone help me, please? Thanks. Carole. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Seth.Hollist at ingenix.com Tue Jun 22 19:54:59 2004 From: Seth.Hollist at ingenix.com (Seth Hollist) Date: Tue, 22 Jun 2004 12:54:59 -0500 Subject: error on HP-UX 10.20 while compiling nrpe 2.0 Message-ID: I've been trying to get nrpe working on HP-UX 11.11 with no luck. The first problem is that the compiler that comes with HP-UX is a very picky compiler. You first need to install gmake and gcc, and even after that it's probably going to take some tweaking to get it to work. I even found some DEPOT installs for npre and the plug-ins, but those didn't seem to work to well either. I guess I'm just as lost on this as you are. -----Original Message----- From: carole verdon [mailto:verdon at cict.fr] Sent: Tuesday, June 22, 2004 8:34 AM To: Nagios Users Subject: [Nagios-users] error on HP-UX 10.20 while compiling nrpe 2.0 Hi all, I try to compile nrpe v2.0 on a HP-UX 10.20 boxe but i have got the following errors when i execute 'make all' : make all cd ./src/; make ; cd .. cc -Ae -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c nrpe.c: cc: "nrpe.c", line 520: error 1000: Unexpected symbol: "addrlen". cc: "nrpe.c", line 520: error 1573: Type of "addrlen" is undefined due to an illegal declaration. cc: "nrpe.c", line 526: error 1588: "sock" undefined. cc: "nrpe.c", line 529: error 1563: Expression in if must be scalar. cc: "nrpe.c", line 536: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 536: warning 526: Pointer implicitly converted to integral value in assignment. cc: "nrpe.c", line 536: warning 563: Argument #4 is not the correct type. cc: "nrpe.c", line 536: warning 527: Integral value implicitly converted to pointer in assignment. cc: "nrpe.c", line 536: warning 563: Argument #5 is not the correct type. cc: "nrpe.c", line 541: error 1588: "myname" undefined. cc: "nrpe.c", line 541: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 542: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 543: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 543: error 1555: Address operator requires an lvalue. cc: "nrpe.c", line 543: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 543: warning 527: Integral value implicitly converted to pointer in assignment. cc: "nrpe.c", line 543: warning 563: Argument #2 is not the correct type. cc: "nrpe.c", line 547: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 547: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 549: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 549: error 1555: Address operator requires an lvalue. cc: "nrpe.c", line 549: warning 563: Argument #2 is not the correct type. cc: "nrpe.c", line 555: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 555: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "nrpe.c", line 555: warning 526: Pointer implicitly converted to integral value in assignment. cc: "nrpe.c", line 555: warning 563: Argument #2 is not the correct type. cc: "nrpe.c", line 555: error 1594: The sizeof operator cannot be applied to types with unknown size. cc: "nrpe.c", line 555: warning 527: Integral value implicitly converted to pointer in assignment. cc: "nrpe.c", line 555: warning 563: Argument #3 is not the correct type. cc: "nrpe.c", line 561: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 580: error 1529: Cannot select field of non-structure. cc: "nrpe.c", line 580: warning 563: Argument #3 is not the correct type. cc: "nrpe.c", line 589: error 1588: "new_sd" undefined. cc: "nrpe.c", line 589: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 590: error 1563: Expression in if must be scalar. cc: "nrpe.c", line 604: error 1588: "new_sd" undefined. cc: "nrpe.c", line 604: error 1563: Expression in if must be scalar. cc: "nrpe.c", line 610: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 616: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 619: error 1588: "addr" undefined. cc: "nrpe.c", line 619: error 1594: The sizeof operator cannot be applied to types with unknown size. cc: "nrpe.c", line 620: error 1588: "rc" undefined. cc: "nrpe.c", line 620: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 620: warning 563: Argument #2 is not the correct type. cc: "nrpe.c", line 620: warning 563: Argument #3 is not the correct type. cc: "nrpe.c", line 622: error 1563: Expression in if must be scalar. cc: "nrpe.c", line 628: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 633: error 1588: "nptr" undefined. cc: "nrpe.c", line 633: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "nrpe.c", line 637: error 1532: Reference through a non-pointer. cc: "nrpe.c", line 637: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 637: error 1532: Reference through a non-pointer. cc: "nrpe.c", line 640: error 1532: Reference through a non-pointer. cc: "nrpe.c", line 640: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 655: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 663: warning 563: Argument #1 is not the correct type. cc: "nrpe.c", line 676: error 1588: "new_sd" undefined. cc: "nrpe.c", line 676: warning 563: Argument #1 is not the correct type. utils.c: *** Error exit code 1 Stop. *** Error exit code 1 Stop. I search in mailing lists but i don't find any answer. Can someone help me, please? Thanks. Carole. This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misaochankun at speakeasy.net Wed Jun 23 00:01:15 2004 From: misaochankun at speakeasy.net (Misao) Date: Tue, 22 Jun 2004 17:01:15 -0500 Subject: Giving check_by_ssh a password In-Reply-To: References: Message-ID: After some experimentation, I still have this problem. I generated a new dsa key for Nagios, and put that on the unix server that had the problem. Watching -v output, it seems the unix server is ignoring any keys offered for reasons unknown. It is only this one server that does this. I created a key on the unix machine, and put it on the Nagios machine, and it can ssh into the Nagios machine just fine. I wish there was a way to see the verbose output of the sshd on the unix machine while I try to log in, maybe that would give me more insight. For now, I still can not do Nagios checks, unless there is a way to give a password. Any other options? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andy Harrison Sent: Friday, June 18, 2004 8:15 PM To: Misao Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Giving check_by_ssh a password *snip* ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndhanks at geneva.com Wed Jun 23 00:11:58 2004 From: ndhanks at geneva.com (Ned Hanks) Date: Tue, 22 Jun 2004 16:11:58 -0600 Subject: What are other notification methods besides email? Message-ID: <6E2F5D19CB27D4118E1900B0D02220D501BA03FC@nt2.geneva.com> If my email system is having a problem I don't get notified. So, I want to use something else to send notifications and escalations messages. I need to send to my cell phone, SMS or email, and my personal email. What options do I have, free or minimal costs would be best? Thanks Ned -------------------------------------- Ned D Hanks IT Manager Geneva Steel 10 South Geneva Rd Vineyard, UT 84058 Office: 801-227-9182 Fax: 801-227-9400 -------------- next part -------------- A non-text attachment was scrubbed... Name: Ned D Hanks (E-mail).vcf Type: application/octet-stream Size: 456 bytes Desc: not available URL: From jhmartin at toger.us Wed Jun 23 00:22:06 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 22 Jun 2004 15:22:06 -0700 (PDT) Subject: Giving check_by_ssh a password In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Check the permissions of the key on the remote end. The users's home directory and .ssh directory must not be group or world writable, and the authorized_key file must also be user/world read-only. - -Jason Martin On Tue, 22 Jun 2004, Misao wrote: > After some experimentation, I still have this problem. > I generated a new dsa key for Nagios, and put that on the unix server that > had the problem. Watching -v output, it seems the unix server is ignoring > any keys offered for reasons unknown. It is only this one server that does > this. I created a key on the unix machine, and put it on the Nagios machine, > and it can ssh into the Nagios machine just fine. I wish there was a way to > see the verbose output of the sshd on the unix machine while I try to log > in, maybe that would give me more insight. For now, I still can not do > Nagios checks, unless there is a way to give a password. Any other options? > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andy Harrison > Sent: Friday, June 18, 2004 8:15 PM > To: Misao > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Giving check_by_ssh a password > > > *snip* > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFA2LEUl2ODWuqVSBMRAtinAJ9Nozc5K9UodqLmIdXyzCaOodPsxgCeO0Gp AEkXrCuj9e+mixvp71W0QGE= =VnO+ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misaochankun at speakeasy.net Wed Jun 23 00:33:50 2004 From: misaochankun at speakeasy.net (Misao) Date: Tue, 22 Jun 2004 17:33:50 -0500 Subject: Giving check_by_ssh a password In-Reply-To: References: Message-ID: Hey, that did something. For some reason, the sysadmin that worked on this box before had set both the .ssh and the Nagios home directory to 777 instead of 755. I'll have to remember that one, thanks. -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Tuesday, June 22, 2004 5:22 PM To: Misao Cc: 'Andy Harrison'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Giving check_by_ssh a password -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Check the permissions of the key on the remote end. The users's home directory and .ssh directory must not be group or world writable, and the authorized_key file must also be user/world read-only. - -Jason Martin On Tue, 22 Jun 2004, Misao wrote: > After some experimentation, I still have this problem. > I generated a new dsa key for Nagios, and put that on the unix server that > had the problem. Watching -v output, it seems the unix server is ignoring > any keys offered for reasons unknown. It is only this one server that does > this. I created a key on the unix machine, and put it on the Nagios machine, > and it can ssh into the Nagios machine just fine. I wish there was a way to > see the verbose output of the sshd on the unix machine while I try to log > in, maybe that would give me more insight. For now, I still can not do > Nagios checks, unless there is a way to give a password. Any other options? > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andy Harrison > Sent: Friday, June 18, 2004 8:15 PM > To: Misao > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Giving check_by_ssh a password > > > *snip* > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFA2LEUl2ODWuqVSBMRAtinAJ9Nozc5K9UodqLmIdXyzCaOodPsxgCeO0Gp AEkXrCuj9e+mixvp71W0QGE= =VnO+ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lzhang at lbl.gov Wed Jun 23 00:27:58 2004 From: lzhang at lbl.gov (Ling Zhang) Date: Tue, 22 Jun 2004 15:27:58 -0700 Subject: What are other notification methods besides email? In-Reply-To: <6E2F5D19CB27D4118E1900B0D02220D501BA03FC@nt2.geneva.com> References: <6E2F5D19CB27D4118E1900B0D02220D501BA03FC@nt2.geneva.com> Message-ID: <002501c458a8$2bf47e90$b5030380@gigattcp> Paging. Check out epage. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ned Hanks Sent: Tuesday, June 22, 2004 3:12 PM To: Nagios-users (E-mail) Subject: [Nagios-users] What are other notification methods besides email? If my email system is having a problem I don't get notified. So, I want to use something else to send notifications and escalations messages. I need to send to my cell phone, SMS or email, and my personal email. What options do I have, free or minimal costs would be best? Thanks Ned -------------------------------------- Ned D Hanks IT Manager Geneva Steel 10 South Geneva Rd Vineyard, UT 84058 Office: 801-227-9182 Fax: 801-227-9400 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Wed Jun 23 05:26:49 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Tue, 22 Jun 2004 23:26:49 -0400 Subject: Giving check_by_ssh a password In-Reply-To: References: Message-ID: <40D8F879.9080400@debisschop.net> Misao wrote: > Hey, that did something. For some reason, the sysadmin that worked on this > box before had set both the .ssh and the Nagios home directory to 777 > instead of 755. I hope the sysadmin was terminated for cause. Here we are worried about allowing passwords cleartext on the cammand line for a fraction of a second in check_by_ssh, and your predcessor is running in a 777 home dir. I guess we have another justification for such strict settings in check_by_ssh - it reveals weak policy setting in the installed base. I'm glad your problem is solved. -- Karl ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Jun 23 05:59:33 2004 From: benny at bennyvision.com (C. Bensend) Date: Tue, 22 Jun 2004 22:59:33 -0500 (CDT) Subject: Giving check_by_ssh a password In-Reply-To: <40D8F879.9080400@debisschop.net> References: <40D8F879.9080400@debisschop.net> Message-ID: <65361.63.227.74.41.1087963195.squirrel@webmail.stinkweasel.net> > Here we are worried about allowing passwords cleartext on the cammand > line for a fraction of a second in check_by_ssh, and your predcessor is > running in a 777 home dir. > > I guess we have another justification for such strict settings in > check_by_ssh - it reveals weak policy setting in the installed base. That type of error should have been revealed in the SSH logs (location will vary according to version of SSH). /var/log/secure, /var/log/messages, or /var/log/authlog are some common locations. It should have complained about parent directory permissions specifically. Benny -- "Oh, the Jedis are going to feel this one!" -- Professor Farnsworth, "Futurama" ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jun 23 06:57:19 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 23 Jun 2004 14:57:19 +1000 Subject: OT. How the other half gets by. Tales of a famous brand. Message-ID: <20040623145718.A36557@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, This is a largely off topic piece devoted to Nagios advocacy by focussing on one aspect of a famous brand that rhymes with 'Snivel'. Those unlucky enough not to be running Nagios have unusual challenges in the area of Notification, Acknowledgement, and Escalation. Out of the box, there may be 'rules' that provide notification for any 'even't of sufficient severity. The rule runs a script that either Emails or 'pages' a contact that is configured in the script. Escalations are processed in the same way according to a threshold defined in the rule. There seems to be :- . no means of configuring the threshold on an 'event' (roughly similar to 'service' basis) on a per event basis . no per service/per host notification disposition . no contact groups . no means of disabling service checks and or notifications (there is an 'acknowledgement' function but how it is interpreted is up to the individual rule that processes the event). The point of this is not particuarly to slag this product but simply to applaud the conception and implementation of Nagios notification processingthat; it provides _all of these useful if not indespensable functions - right out of the box with only configuration to complete. Mr Galstand should take heart from how badly others do this. Lastly, a note about 'rules'. These 'rules' are used to tailor processing by reacting to 'events' (a message representing a report from a distributed monitor). Rules are encoded in a 'rule language' that is verbose. This rule language compiles to Prolog and the Prolog version of the rules is compiled to a partic object target. Rules can 1 fail 'rule language' compilation 2 fail Prolog compilation 3 fail to do what one wants because of the nature of Prolog (eg calling a function with the wrong siganature is _not_ a compile time error, it is an attempt to invoke a 'rule or fact' that is not found in the Prolog 'knowledge base', likewise the name of the function. When Prlog fails to find a fact/rule it backtracks ...) There is much fun and amusement of the beating the head against the wall kind in this activity. Whether there is also value remains to be seen. BTW, you know a Prolog text by the high proportion of '_' and ',' symbols eg 'get_global_var('Mode', _hostname, _host_mode),' -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben at clewett.org.uk Wed Jun 23 10:40:20 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Wed, 23 Jun 2004 09:40:20 +0100 Subject: [Perfparse-users] question In-Reply-To: <001801c458a3$3afe89d0$2605020a@bjeyri> References: <001801c458a3$3afe89d0$2605020a@bjeyri> Message-ID: <40D941F4.6050906@clewett.org.uk> Jeyri, I have not seen this problem before. Are you using the latest Nagios 1.2? I have forwarded this email to nagios-help where some person there will probably be of more help then I am. Regards, Ben Jeyri Bautista wrote: > Hi, I want to install the perfparse program but I read that I need for > the nagios run ./configure --with-file-perfdata, because the perfparse > don?t work with default perfdata. When I execute the ./configure with > --with-file-perfdata, all is ok but when I execute make all appear the > following error: > > [root at nagios nagios-1.2]# make all > cd ./base && make > make[1]: Cambiando a directorio `/usr/src/nagios-1.2/base' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o > commands.o flapping.o logging.o notifications.o sehandlers.o utils.o > sretention.o ../xdata/xrddefault.c ../common/comments.c > ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c perfdata.o > ../xdata/xpdfile.c ../common/downtime.c ../xdata/xdddefault.c -lm -o > nagios > perfdata.o: In function `initialize_performance_data': > /usr/src/nagios-1.2/base/perfdata.c:57: undefined reference to > `xpddefault_initialize_performance_data' > perfdata.o: In function `cleanup_performance_data': > /usr/src/nagios-1.2/base/perfdata.c:73: undefined reference to > `xpddefault_cleanup_performance_data' > perfdata.o: In function `update_service_performance_data': > /usr/src/nagios-1.2/base/perfdata.c:103: undefined reference to > `xpddefault_update_service_performance_data' > perfdata.o: In function `update_host_performance_data': > /usr/src/nagios-1.2/base/perfdata.c:127: undefined reference to > `xpddefault_update_host_performance_data' > collect2: ld devolvi? el estado de salida 1 > make[1]: *** [nagios] Error 1 > make[1]: Saliendo directorio `/usr/src/nagios-1.2/base' > make: *** [all] Error 2 > [root at nagios nagios-1.2]# > Can you help me? > > Thanks, > > Jeyri Bautista > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mime at forumsql.se Wed Jun 23 10:34:51 2004 From: mime at forumsql.se (Michael Medin) Date: Wed, 23 Jun 2004 10:34:51 +0200 Subject: check only workhours? Message-ID: Hi, I want to get reports of system availability during "office hours" and I would also like to check "24/7". The first question is hoe can I get availability for non-24/7 checks? When I set the service to use a check_period of less then 24 hours I still seem to get reports based on a 24 hour day? Service check during roughly 20-or-so hours: Result from the "normal 24/7" check: Time: 0d 20h 2m 19s %Total Time: 83.494% %Known time: 100.000% Result from the "workhours" check: Time: 0d 19h 59m 7s %Total Time: 83.272% %Known time: 100.000% As you can see from above both service have been "up ~20 hours" but one of them have only been checking the service for some 4-5 hours. The second issue is can I set the service to check 24/7 but only generate reports during office hours? The reasoning here is that I don't want to check something twice to get two different report-time-frames. Hope I'm not to confusing, but I'm a pretty new user of nagios and don't understand things as well as I should. // Michael Medin ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vbazrafshan at yahoo.com Wed Jun 23 12:06:31 2004 From: vbazrafshan at yahoo.com (vahid bazr afshan) Date: Wed, 23 Jun 2004 03:06:31 -0700 (PDT) Subject: cannot open nagios.log & Error: Could not read host and service status information! Message-ID: <20040623100631.83653.qmail@web90101.mail.scd.yahoo.com> Hey guys, I've encountered a problem and couldn't find any answer in the archives. I had my Nagios running well, but now after verifying with no error and warning, I have this error: Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for writing and in the web interface: Error: Could not read host and service status information! tanx for any help. vahid __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Florian.Kirchmeir at infineon.com Wed Jun 23 13:03:00 2004 From: Florian.Kirchmeir at infineon.com (Florian.Kirchmeir at infineon.com) Date: Wed, 23 Jun 2004 13:03:00 +0200 Subject: [Nagios-users] Checking freshness Time period Message-ID: Hi all! Crossposting to nagios-devel, since this is rather a feature request. Sumit, as far as I understand, there is currently no (simple) way to make this work. Currently, you make a service "passive" by setting the check_period to "none". To me, this is rather a hack; it adds a side-affect to a configuration option that isn't obvious, and actually reduces functionallity. I'd prefer being able to set the check_period for passive services just like for active ones, and make it passive by explicitly setting "passive_checks_enabled=1" and "active_checks_enabled=0". Service-check results received outside the check_period (or rather: having a timestamp outside it; regardless of when it's received) should be discarded, and no freshness-checking should be performed. Please correct me if I'm wrong, and things do already work that way! It wasn't when I last checked... Regards, Florian Kirchmeir ----- Original Message -----= From: "Sumit Malhotra" To: "Nagios List" Subject: Re: [Nagios-users] Checking freshness Time period Date: Mon, 14 Jun 2004 20:31:08 +0530 This is a multi-part message in MIME format. ------=_NextPart_000_013F_01C4524E.860333A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can anybody help on this ???? -Sumit ----- Original Message -----=20 From: Sumit Malhotra=20 To: Nagios List=20 Sent: Friday, June 11, 2004 3:20 PM Subject: [Nagios-users] Checking freshness Time period Hi , I am using nagios 1.2 and nsca in combination . Both works great = together. I have configured for freshness check evrey 15 minutes( As shown = below) . In case it fails an alert is genrated via command noreport. It = works fine for 24*7 monitoring of services Problem comes when i want some service to be checked for 16*5 . I get = alerts even when i have configured the service are configured for = 16*5(check period) ( Although i am able to suppress teh alerts using = notification period i.e. by setting it to 16*5) but still there is a red = alert in the web interface .I would have loved to get a wall of "GREEN". ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com From ae at op5.se Wed Jun 23 12:54:30 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 23 Jun 2004 12:54:30 +0200 Subject: cannot open nagios.log & Error: Could not read host and service status information! In-Reply-To: <20040623100631.83653.qmail@web90101.mail.scd.yahoo.com> References: <20040623100631.83653.qmail@web90101.mail.scd.yahoo.com> Message-ID: <40D96166.5060409@op5.se> vahid bazr afshan wrote: > Hey guys, > I've encountered a problem and couldn't find any > answer in the archives. > > I had my Nagios running well, but > now after verifying with no error and warning, > I have this error: > > Warning: Cannot open log file > '/usr/local/nagios/var/nagios.log' for writing > > and in the web interface: > > Error: Could not read host and service status > information! > Sounds like you've got some bad permissions on logfiles or the directories in which they are kept. If that's not the case, your disk might be full. > tanx for any help. > vahid -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Florian.Kirchmeir at infineon.com Wed Jun 23 13:31:52 2004 From: Florian.Kirchmeir at infineon.com (Florian.Kirchmeir at infineon.com) Date: Wed, 23 Jun 2004 13:31:52 +0200 Subject: Higher check frequency (Was: Re: nagios archives in var/archives) Message-ID: Hi! I wouldn't bother changing the default interval or even hacking the source to support high-frequency check intervals. Just make the service passive, and write some simple script to run continously, pinging your host(s) every x seconds and submitting results as passive service checks. Regards, Florian Kirchmeir -----Original Message----- Date: Mon, 14 Jun 2004 22:44:29 +0200 From: Andreas Ericsson To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: nagios archives in var/archives Cook, Garry wrote: > Never tried this, don't know if it will work, but what if you left your > default interval set to 60 seconds, and then changed your service check > interval to '.25'? > > -g > I'm chopping on it, adding some code that makes it read the extentions s, m and h (with m being default) for seconds, minutes and hours, respectively. It's terribly slow going though, since I've got about a dozen other projects at hand simultaneously. > nagios-users-admin at lists.sourceforge.net wrote: > >>This started happening when I modified my nagios.cfg's >>interval from the >>default 1 minute to 15s. The reason I brought it down is for getting >>ping response every 15s. I will restore it back to 60 but, is >>there a way to have >>a service check be in the interval of 15s even if our default >>is 60 seconds? >> >>Thanks. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Florian.Kirchmeir at infineon.com Wed Jun 23 13:45:17 2004 From: Florian.Kirchmeir at infineon.com (Florian.Kirchmeir at infineon.com) Date: Wed, 23 Jun 2004 13:45:17 +0200 Subject: Out of Order Passive Check Results Message-ID: Hi Brian! I'd be interested in an answer to this too. I haven't done in-depth analysis like you, yet, but it seems like we're affected by the same problem occasionally. Can anybody comment on this? Regards, Florian Kirchmeir -----Original Message----- To: nagios-users at lists.sourceforge.net From: brian.boysen at colinx.com Date: Mon, 14 Jun 2004 14:50:21 -0400 Subject: [Nagios-users] Out of Order Passive Check Results This is a multipart message in MIME format. --=_alternative 0067806585256EB3_= Content-Type: text/plain; charset="us-ascii" I have a problem with Passive Checks timing out. From nagios.log, the services appear to have result commands still coming into the system. The difference in timestamps from the last message to the timeout message is way too low for the service to timeout. I thought that the commands were taking too long to get through the IPC and get registered, but that isn't the case (or at least when I send through a message with an invalid host and service the warning message only takes a couple of seconds to appear in the log). By looking at the source code, the first thing I found out is that the timestamp in the nagios.log [1087236197] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;;;0; does not correspond to the time used for the freshness check. I prepended the timestamp for the result to the message to see those times and print the timestamp at the check. I also added print statement of the timestamps in the write_svc_msg and read_svc_msg to track their progress through the system. I've got one instance where a message with a much earlier timestamp appears after several others. There's the section of nagios.log ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at intercable.net.ve Wed Jun 23 14:32:26 2004 From: jbautista at intercable.net.ve (Jeyri Bautista) Date: Wed, 23 Jun 2004 08:32:26 -0400 Subject: [Perfparse-users] question References: <001801c458a3$3afe89d0$2605020a@bjeyri> <40D941F4.6050906@clewett.org.uk> Message-ID: <007301c4591e$2425e250$2605020a@bjeyri> Yes, I?m using the Nagios 1.2. Thanks, Jeyri ----- Original Message ----- From: "Ben Clewett" To: "Jeyri Bautista" Cc: ; Sent: Wednesday, June 23, 2004 4:40 AM Subject: [Nagios-users] Re: [Perfparse-users] question Jeyri, I have not seen this problem before. Are you using the latest Nagios 1.2? I have forwarded this email to nagios-help where some person there will probably be of more help then I am. Regards, Ben Jeyri Bautista wrote: > Hi, I want to install the perfparse program but I read that I need for > the nagios run ./configure --with-file-perfdata, because the perfparse > don?t work with default perfdata. When I execute the ./configure with > --with-file-perfdata, all is ok but when I execute make all appear the > following error: > > [root at nagios nagios-1.2]# make all > cd ./base && make > make[1]: Cambiando a directorio `/usr/src/nagios-1.2/base' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o > commands.o flapping.o logging.o notifications.o sehandlers.o utils.o > sretention.o ../xdata/xrddefault.c ../common/comments.c > ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c perfdata.o > ../xdata/xpdfile.c ../common/downtime.c ../xdata/xdddefault.c -lm -o > nagios > perfdata.o: In function `initialize_performance_data': > /usr/src/nagios-1.2/base/perfdata.c:57: undefined reference to > `xpddefault_initialize_performance_data' > perfdata.o: In function `cleanup_performance_data': > /usr/src/nagios-1.2/base/perfdata.c:73: undefined reference to > `xpddefault_cleanup_performance_data' > perfdata.o: In function `update_service_performance_data': > /usr/src/nagios-1.2/base/perfdata.c:103: undefined reference to > `xpddefault_update_service_performance_data' > perfdata.o: In function `update_host_performance_data': > /usr/src/nagios-1.2/base/perfdata.c:127: undefined reference to > `xpddefault_update_host_performance_data' > collect2: ld devolvi? el estado de salida 1 > make[1]: *** [nagios] Error 1 > make[1]: Saliendo directorio `/usr/src/nagios-1.2/base' > make: *** [all] Error 2 > [root at nagios nagios-1.2]# > Can you help me? > > Thanks, > > Jeyri Bautista > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at intercable.net.ve Wed Jun 23 14:33:08 2004 From: jbautista at intercable.net.ve (Jeyri Bautista) Date: Wed, 23 Jun 2004 08:33:08 -0400 Subject: Question Message-ID: <007c01c4591e$3d820a80$2605020a@bjeyri> Hi, I want to install the perfparse program but I read that I need for the nagios run ./configure --with-file-perfdata, because the perfparse don?t work with default perfdata. When I execute the ./configure with --with-file-perfdata, all is ok but when I execute make all appear the following error: [root at nagios nagios-1.2]# make all cd ./base && make make[1]: Cambiando a directorio `/usr/src/nagios-1.2/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddefault.c ../common/comments.c ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c perfdata.o ../xdata/xpdfile.c ../common/downtime.c ../xdata/xdddefault.c -lm -o nagios perfdata.o: In function `initialize_performance_data': /usr/src/nagios-1.2/base/perfdata.c:57: undefined reference to `xpddefault_initialize_performance_data' perfdata.o: In function `cleanup_performance_data': /usr/src/nagios-1.2/base/perfdata.c:73: undefined reference to `xpddefault_cleanup_performance_data' perfdata.o: In function `update_service_performance_data': /usr/src/nagios-1.2/base/perfdata.c:103: undefined reference to `xpddefault_update_service_performance_data' perfdata.o: In function `update_host_performance_data': /usr/src/nagios-1.2/base/perfdata.c:127: undefined reference to `xpddefault_update_host_performance_data' collect2: ld devolvi? el estado de salida 1 make[1]: *** [nagios] Error 1 make[1]: Saliendo directorio `/usr/src/nagios-1.2/base' make: *** [all] Error 2 [root at nagios nagios-1.2]# Can you help me? Thanks, Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From smalhotra at dataarmor.net Wed Jun 23 15:40:28 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Wed, 23 Jun 2004 19:10:28 +0530 Subject: Checking freshness Time period References: Message-ID: <013501c45927$a79f7b60$0301a8c0@sumit> Hi Florian, The need for Freshness check is there in every case of NSCA.As you will not get any alert if you didn't get the passive check fo a service at all.( no Alert no action) Freshness check helps you in those cases .( Which has no relation with Notification period --- i am assuming) Regards, Sumit ----- Original Message ----- From: To: Cc: ; Sent: Wednesday, June 23, 2004 4:33 PM Subject: Re: [Nagios-users] Checking freshness Time period Hi all! Crossposting to nagios-devel, since this is rather a feature request. Sumit, as far as I understand, there is currently no (simple) way to make this work. Currently, you make a service "passive" by setting the check_period to "none". To me, this is rather a hack; it adds a side-affect to a configuration option that isn't obvious, and actually reduces functionallity. I'd prefer being able to set the check_period for passive services just like for active ones, and make it passive by explicitly setting "passive_checks_enabled=1" and "active_checks_enabled=0". Service-check results received outside the check_period (or rather: having a timestamp outside it; regardless of when it's received) should be discarded, and no freshness-checking should be performed. Please correct me if I'm wrong, and things do already work that way! It wasn't when I last checked... Regards, Florian Kirchmeir ----- Original Message -----= From: "Sumit Malhotra" To: "Nagios List" Subject: Re: [Nagios-users] Checking freshness Time period Date: Mon, 14 Jun 2004 20:31:08 +0530 This is a multi-part message in MIME format. ------=_NextPart_000_013F_01C4524E.860333A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can anybody help on this ???? -Sumit ----- Original Message -----=20 From: Sumit Malhotra=20 To: Nagios List=20 Sent: Friday, June 11, 2004 3:20 PM Subject: [Nagios-users] Checking freshness Time period Hi , I am using nagios 1.2 and nsca in combination . Both works great = together. I have configured for freshness check evrey 15 minutes( As shown = below) . In case it fails an alert is genrated via command noreport. It = works fine for 24*7 monitoring of services Problem comes when i want some service to be checked for 16*5 . I get = alerts even when i have configured the service are configured for = 16*5(check period) ( Although i am able to suppress teh alerts using = notification period i.e. by setting it to 16*5) but still there is a red = alert in the web interface .I would have loved to get a wall of "GREEN". ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Florian.Kirchmeir at infineon.com Wed Jun 23 16:03:37 2004 From: Florian.Kirchmeir at infineon.com (Florian.Kirchmeir at infineon.com) Date: Wed, 23 Jun 2004 16:03:37 +0200 Subject: Checking freshness Time period Message-ID: Uhm, maybe I didn't make myself clear: Of course freshnes-checking should be done during the times defined as check_period. Outside those hours, when no service-check results are expected, freshness checking should be suspended. The way I understand your original post, that's what you would expect Nagios to do, right? Regards, Florian -----Original Message----- From: Sumit Malhotra [mailto:smalhotra at dataarmor.net] Sent: Mittwoch, 23. Juni 2004 15:40 To: Kirchmeir Florian (IFAT IT OS) Cc: Nagios List Subject: Re: [Nagios-users] Checking freshness Time period Hi Florian, The need for Freshness check is there in every case of NSCA.As you will not get any alert if you didn't get the passive check fo a service at all.( no Alert no action) Freshness check helps you in those cases .( Which has no relation with Notification period --- i am assuming) Regards, Sumit ----- Original Message ----- From: To: Cc: ; Sent: Wednesday, June 23, 2004 4:33 PM Subject: Re: [Nagios-users] Checking freshness Time period Hi all! Crossposting to nagios-devel, since this is rather a feature request. Sumit, as far as I understand, there is currently no (simple) way to make this work. Currently, you make a service "passive" by setting the check_period to "none". To me, this is rather a hack; it adds a side-affect to a configuration option that isn't obvious, and actually reduces functionallity. I'd prefer being able to set the check_period for passive services just like for active ones, and make it passive by explicitly setting "passive_checks_enabled=1" and "active_checks_enabled=0". Service-check results received outside the check_period (or rather: having a timestamp outside it; regardless of when it's received) should be discarded, and no freshness-checking should be performed. Please correct me if I'm wrong, and things do already work that way! It wasn't when I last checked... Regards, Florian Kirchmeir ----- Original Message -----= From: "Sumit Malhotra" To: "Nagios List" Subject: Re: [Nagios-users] Checking freshness Time period Date: Mon, 14 Jun 2004 20:31:08 +0530 This is a multi-part message in MIME format. ------=_NextPart_000_013F_01C4524E.860333A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can anybody help on this ???? -Sumit ----- Original Message -----=20 From: Sumit Malhotra=20 To: Nagios List=20 Sent: Friday, June 11, 2004 3:20 PM Subject: [Nagios-users] Checking freshness Time period Hi , I am using nagios 1.2 and nsca in combination . Both works great = together. I have configured for freshness check evrey 15 minutes( As shown = below) . In case it fails an alert is genrated via command noreport. It = works fine for 24*7 monitoring of services Problem comes when i want some service to be checked for 16*5 . I get = alerts even when i have configured the service are configured for = 16*5(check period) ( Although i am able to suppress teh alerts using = notification period i.e. by setting it to 16*5) but still there is a red = alert in the web interface .I would have loved to get a wall of "GREEN". ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 23 16:39:33 2004 From: marc at ena.com (Marc Powell) Date: Wed, 23 Jun 2004 09:39:33 -0500 Subject: check only workhours? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B65C2@mismail2.ena.com> Michael Medin wrote: > Hi, > > I want to get reports of system availability during "office hours" > and I would also like to check "24/7". > The first question is hoe can I get availability for non-24/7 checks? > > When I set the service to use a check_period of less then 24 hours I > still seem to get reports based on a 24 hour day? > > Service check during roughly 20-or-so hours: > > Result from the "normal 24/7" check: > Time: 0d 20h 2m 19s > %Total Time: 83.494% > %Known time: 100.000% > > Result from the "workhours" check: > Time: 0d 19h 59m 7s > %Total Time: 83.272% > %Known time: 100.000% > > > As you can see from above both service have been "up ~20 hours" but > one of them have only been checking the service for some 4-5 hours. > > > The second issue is can I set the service to check 24/7 but only > generate reports during office hours? > The reasoning here is that I don't want to check something twice to > get two different report-time-frames. > > Hope I'm not to confusing, but I'm a pretty new user of nagios and > don't understand things as well as I should. If I'm reading your questions correctly, the answer is going to be the same for both. You'll need to create your own reporting script. Nagios only generates reports based on a 24 hour period, regardless of the check_period for a host or service and I'm sure that you've already discovered that you can't specify a time window smaller than 24 hours when generating the reports. There is no way to modify this behavior without modifying the code. The information is available in nagios.log and archives/* and just needs to be parsed in the way that's specific to your needs. If you do end up modifying Nagios to do either I'm sure the developers would be interested in seeing it (presuming it was written for 2.0 of course). -- Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kerry.cox at ksl.com Wed Jun 23 18:05:49 2004 From: kerry.cox at ksl.com (Kerry Cox) Date: Wed, 23 Jun 2004 10:05:49 -0600 Subject: statusmap images Message-ID: <1088006749.4130.53.camel@quasi.ksl.com> I've checked through the archives and have been unable to find this question properly addressed. I have been able to download and install all the new icon images in the /usr/local/nagios/share/images/logos/. In most cases they appear just fine when I generate my Status Map. I've been wanting to create additional images to define the other types of systems I am using. The new system itself appears as a gray question mark, but when I hold the mouse over the host, the new icon appears. Is there any way I can have the new image appear in the Status Map as well? I am including a URL to a screen shot that shows this better. http://quasi.ksl.com/nagios_20040623.png Here is an example from my hostextinfo.cfg file: # website template define hostextinfo{ name website icon_image firefox.gif icon_image_alt Hosted Web Site vrml_image firefox.gif gd2_image firefox.gd2 register 0 } # end template define hostextinfo{ use website host_name wvrv.com,wssm.com,wrth1430.com,wil92.com,bicstl.com 2d_coords 100,350 3d_coords 4.0,0.0,0.0 } # Scientific Linux 3 template define hostextinfo{ name sl30 icon_image sl30.gif icon_image_alt Scientific Linux 3 vrml_image sl30.gif statusmap_image sl30.gif gd2_image sl30.gif register 0 } # end template define hostextinfo{ use sl30 host_name gratis.ksl.com,specto.ksl.com,talus.ksl.com 2d_coords 100,350 3d_coords 4.0,0.0,0.0 } The new images appear when I mouseover, but do NOT appear in the Status Map. I have generated the correct transparent background and the proper gd2 images using the correct tools. This is what I have in my cgi.cfg file pointing to my hostextinfo.cfg file. xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg Thanks. KJ -- Kerry Cox KSL Radio and Television ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Wed Jun 23 18:10:26 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 23 Jun 2004 10:10:26 -0600 Subject: [Perfparse-users] question Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E934F@golden-m.mactec.com> perfparse-users-admin at lists.sourceforge.net wrote: > Yes, I?m using the Nagios 1.2. > > Thanks, > > Jeyri It looks like you are trying to compile Nagios with ONLY the '--with-file-perfdata' option? There may be other options needed for your Nagios implementation. Do you remember the options that you originally used when compiling Nagios? You should read the PerfParse How-To for more information. -g > ----- Original Message ----- > From: "Ben Clewett" > To: "Jeyri Bautista" > Cc: ; > > Sent: Wednesday, June 23, 2004 4:40 AM > Subject: [Nagios-users] Re: [Perfparse-users] question > > > Jeyri, > > I have not seen this problem before. Are you using the latest Nagios > 1.2? I have forwarded this email to nagios-help where some > person there > will probably be of more help then I am. > > Regards, Ben > > Jeyri Bautista wrote: > >> Hi, I want to install the perfparse program but I read that I need >> for the nagios run ./configure --with-file-perfdata, because the >> perfparse don?t work with default perfdata. When I execute the >> ./configure with --with-file-perfdata, all is ok but when I execute >> make all appear the following error: >> >> [root at nagios nagios-1.2]# make all >> cd ./base && make >> make[1]: Cambiando a directorio `/usr/src/nagios-1.2/base' >> gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o >> commands.o flapping.o logging.o notifications.o sehandlers.o utils.o >> sretention.o ../xdata/xrddefault.c ../common/comments.c >> ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c >> ../common/statusdata.c ../xdata/xsddefault.c perfdata.o >> ../xdata/xpdfile.c ../common/downtime.c > ../xdata/xdddefault.c -lm -o >> nagios >> perfdata.o: In function `initialize_performance_data': >> /usr/src/nagios-1.2/base/perfdata.c:57: undefined reference to >> `xpddefault_initialize_performance_data' >> perfdata.o: In function `cleanup_performance_data': >> /usr/src/nagios-1.2/base/perfdata.c:73: undefined reference to >> `xpddefault_cleanup_performance_data' >> perfdata.o: In function `update_service_performance_data': >> /usr/src/nagios-1.2/base/perfdata.c:103: undefined reference to >> `xpddefault_update_service_performance_data' >> perfdata.o: In function `update_host_performance_data': >> /usr/src/nagios-1.2/base/perfdata.c:127: undefined reference to >> `xpddefault_update_host_performance_data' >> collect2: ld devolvi? el estado de salida 1 >> make[1]: *** [nagios] Error 1 >> make[1]: Saliendo directorio `/usr/src/nagios-1.2/base' >> make: *** [all] Error 2 >> [root at nagios nagios-1.2]# >> Can you help me? >> >> Thanks, >> >> Jeyri Bautista ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scottp at tznet.com Wed Jun 23 18:50:28 2004 From: scottp at tznet.com (Scott Pilz) Date: Wed, 23 Jun 2004 11:50:28 -0500 (CDT) Subject: Sound In Nagios Message-ID: <20040623114717.F10587@mail.tznet.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Curious question . . . Has anyone developed the code, thought about doing, or otherwise has any idea how to, have the critical/warning/unknown/unreachable sound files play only when the state type is hard/down? Basically when you have thousands of services and hundreds of hosts, there is bound to be a few 'hiccups' every now and again that will clear before the service goes hard.. I rely on the sound to alert the staff that there is something down. It would be great if the sound would only play if the state type was hard for services instead of soft and hard. Cheers, Scott -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA2bTX2REUg6gjWxgRAoOCAKCjO80cMFIWj+7ehKpXboU7WM/TtACcCq2m JkGRZ3Ns/KkB7V/Ab487YG4= =23vW -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misaochankun at speakeasy.net Wed Jun 23 19:24:15 2004 From: misaochankun at speakeasy.net (Misao) Date: Wed, 23 Jun 2004 12:24:15 -0500 Subject: Giving check_by_ssh a password In-Reply-To: <40D8F879.9080400@debisschop.net> References: <40D8F879.9080400@debisschop.net> Message-ID: Not quite as easy as that sounds. This was done by a Unix admin, and the Unix folks around here are just getting introduced to ssh, after my insistence. I actually used Nagios to tempt them into installing it, and I hope to get them off of using telnet soon too. I don't think they knew any better about the permissions, and since I am not root, I couldn't check on all this myself normally. I also had no access to their logs. I really didn't want to have check_by_ssh use clear text passwords, but I hit a wall with the admins, and they refused to further troubleshoot the issue. It was deemed Nagios' fault, so I had to do things on my own with an unprivileged account. I did pass on the info to them, so now everyone knows a little better. Thanks for helping with the process though. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Karl DeBisschop Sent: Tuesday, June 22, 2004 10:27 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Giving check_by_ssh a password Misao wrote: > Hey, that did something. For some reason, the sysadmin that worked on this > box before had set both the .ssh and the Nagios home directory to 777 > instead of 755. I hope the sysadmin was terminated for cause. Here we are worried about allowing passwords cleartext on the cammand line for a fraction of a second in check_by_ssh, and your predcessor is running in a 777 home dir. I guess we have another justification for such strict settings in check_by_ssh - it reveals weak policy setting in the installed base. I'm glad your problem is solved. -- Karl ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Wed Jun 23 20:04:51 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Wed, 23 Jun 2004 14:04:51 -0400 Subject: statusmap images In-Reply-To: <1088006749.4130.53.camel@quasi.ksl.com> References: <1088006749.4130.53.camel@quasi.ksl.com> Message-ID: <1088013891.4398.24.camel@pel> On Wed, 2004-06-23 at 12:05, Kerry Cox wrote: > I've checked through the archives and have been unable to find this > question properly addressed. I have been able to download and install > all the new icon images in the /usr/local/nagios/share/images/logos/. In > most cases they appear just fine when I generate my Status Map. > I've been wanting to create additional images to define the other types > of systems I am using. > The new system itself appears as a gray question mark, but when I hold > the mouse over the host, the new icon appears. > Is there any way I can have the new image appear in the Status Map as > well? > I am including a URL to a screen shot that shows this better. > > http://quasi.ksl.com/nagios_20040623.png > > Here is an example from my hostextinfo.cfg file: > > # website template > define hostextinfo{ > name website > icon_image firefox.gif > icon_image_alt Hosted Web Site > vrml_image firefox.gif > gd2_image firefox.gd2 > register 0 > } > # end template Try 'statusmap_image' instead of 'gd2_image'. That's what works in my 1.2 install. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Wed Jun 23 21:09:52 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 23 Jun 2004 14:09:52 -0500 (CDT) Subject: Giving check_by_ssh a password In-Reply-To: References: Message-ID: On Wed, 23 Jun 2004, Misao wrote: > Not quite as easy as that sounds. > > This was done by a Unix admin, and the Unix folks around here are just > getting introduced to ssh, after my insistence. Sounds like you need new Unix folks. SSH is the only answer I'm willing to support around here. Anyone who mentions telnet as an alternative should be shown the door. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at intercable.net.ve Wed Jun 23 21:23:09 2004 From: jbautista at intercable.net.ve (Jeyri Bautista) Date: Wed, 23 Jun 2004 15:23:09 -0400 Subject: [Perfparse-users] question References: <41FD7929498A174DAB86C45F28E0EC0D6E934F@golden-m.mactec.com> Message-ID: <01c401c45957$84fd8310$2605020a@bjeyri> Hi, No, I?m try to compile Nagios using ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with- htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-fi le-perfdata --with-template-extinfo Thanks, Jeyri ----- Original Message ----- From: "Cook, Garry" To: "Jeyri Bautista" ; "Ben Clewett" Cc: ; Sent: Wednesday, June 23, 2004 12:10 PM Subject: RE: [Nagios-users] Re: [Perfparse-users] question perfparse-users-admin at lists.sourceforge.net wrote: > Yes, I?m using the Nagios 1.2. > > Thanks, > > Jeyri It looks like you are trying to compile Nagios with ONLY the '--with-file-perfdata' option? There may be other options needed for your Nagios implementation. Do you remember the options that you originally used when compiling Nagios? You should read the PerfParse How-To for more information. -g > ----- Original Message ----- > From: "Ben Clewett" > To: "Jeyri Bautista" > Cc: ; > > Sent: Wednesday, June 23, 2004 4:40 AM > Subject: [Nagios-users] Re: [Perfparse-users] question > > > Jeyri, > > I have not seen this problem before. Are you using the latest Nagios > 1.2? I have forwarded this email to nagios-help where some > person there > will probably be of more help then I am. > > Regards, Ben > > Jeyri Bautista wrote: > >> Hi, I want to install the perfparse program but I read that I need >> for the nagios run ./configure --with-file-perfdata, because the >> perfparse don?t work with default perfdata. When I execute the >> ./configure with --with-file-perfdata, all is ok but when I execute >> make all appear the following error: >> >> [root at nagios nagios-1.2]# make all >> cd ./base && make >> make[1]: Cambiando a directorio `/usr/src/nagios-1.2/base' >> gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o >> commands.o flapping.o logging.o notifications.o sehandlers.o utils.o >> sretention.o ../xdata/xrddefault.c ../common/comments.c >> ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c >> ../common/statusdata.c ../xdata/xsddefault.c perfdata.o >> ../xdata/xpdfile.c ../common/downtime.c > ../xdata/xdddefault.c -lm -o >> nagios >> perfdata.o: In function `initialize_performance_data': >> /usr/src/nagios-1.2/base/perfdata.c:57: undefined reference to >> `xpddefault_initialize_performance_data' >> perfdata.o: In function `cleanup_performance_data': >> /usr/src/nagios-1.2/base/perfdata.c:73: undefined reference to >> `xpddefault_cleanup_performance_data' >> perfdata.o: In function `update_service_performance_data': >> /usr/src/nagios-1.2/base/perfdata.c:103: undefined reference to >> `xpddefault_update_service_performance_data' >> perfdata.o: In function `update_host_performance_data': >> /usr/src/nagios-1.2/base/perfdata.c:127: undefined reference to >> `xpddefault_update_host_performance_data' >> collect2: ld devolvi? el estado de salida 1 >> make[1]: *** [nagios] Error 1 >> make[1]: Saliendo directorio `/usr/src/nagios-1.2/base' >> make: *** [all] Error 2 >> [root at nagios nagios-1.2]# >> Can you help me? >> >> Thanks, >> >> Jeyri Bautista ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Wed Jun 23 21:54:20 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 23 Jun 2004 13:54:20 -0600 Subject: [Perfparse-users] question Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9359@golden-m.mactec.com> Jeyri Bautista wrote: > Hi, > > No, I?m try to compile Nagios using > > ./configure --prefix=/usr/local/nagios > --with-cgiurl=/nagios/cgi-bin --with- > htmurl=/nagios/ --with-nagios-user=nagios > --with-nagios-grp=nagios --with-fi > le-perfdata --with-template-extinfo > I believe that most of those options are defaults. The only two that are 'special' are '--with-file-perfdata' and '--with-template-extinfo'. Someone please correct me if I'm wrong about this. I would suggest that you configure and make (but don't make install!) with each of these 'special' options as the only one, and see if they work alone. You'll probably want to 'make clean' and possibly 'make distclean' before each compile. If both go ok, then make clean/distclean again and try compiling with both options. If either of them fail, repost the failure message and see if anyone has a solution. -g > > ----- Original Message ----- > From: "Cook, Garry" > To: "Jeyri Bautista" ; "Ben Clewett" > Cc: ; > > Sent: Wednesday, June 23, 2004 12:10 PM > Subject: RE: [Nagios-users] Re: [Perfparse-users] question > > > perfparse-users-admin at lists.sourceforge.net wrote: >> Yes, I?m using the Nagios 1.2. >> >> Thanks, >> >> Jeyri > > It looks like you are trying to compile Nagios with ONLY the > '--with-file-perfdata' option? > There may be other options needed for your Nagios > implementation. Do you > remember the options that you originally used when compiling Nagios? > You should read the PerfParse How-To for more information. > > -g > > >> ----- Original Message ----- >> From: "Ben Clewett" >> To: "Jeyri Bautista" >> Cc: ; >> >> Sent: Wednesday, June 23, 2004 4:40 AM >> Subject: [Nagios-users] Re: [Perfparse-users] question >> >> >> Jeyri, >> >> I have not seen this problem before. Are you using the latest Nagios >> 1.2? I have forwarded this email to nagios-help where some person >> there will probably be of more help then I am. >> >> Regards, Ben >> >> Jeyri Bautista wrote: >> >>> Hi, I want to install the perfparse program but I read that I need >>> for the nagios run ./configure --with-file-perfdata, because the >>> perfparse don?t work with default perfdata. When I execute the >>> ./configure with --with-file-perfdata, all is ok but when I execute >>> make all appear the following error: >>> [snip] >>> >>> Thanks, >>> >>> Jeyri Bautista Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at korthrun.net Thu Jun 24 04:40:40 2004 From: nagios at korthrun.net (Korthrun) Date: Wed, 23 Jun 2004 16:40:40 -1000 Subject: Timestamps on Alerts. Message-ID: <004701c45994$a3b5a980$22fb4b40@korthwork> For sending alerts via sms, the date formats available in nagios.cfg are a bit verbose, a simple 06-23 14:34 would do just fine. The present style just sends to many characters. I realise I could go into misc commands and just pop the date command in there, but I am curious if there is a way to change this within nagios, maybe editing something before compile time. Thanks miuch ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Jun 24 05:15:50 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 23 Jun 2004 20:15:50 -0700 Subject: Timestamps on Alerts. Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC727C@dw-mail.dataway.com> Change your sms alert command in misccommands.cfg to use $SHORTDATETIME$ instead of $DATETIME$ http://nagios.sourceforge.net/docs/1_0/macros.html -----Original Message----- From: Korthrun [mailto:nagios at korthrun.net] Sent: Wednesday, June 23, 2004 7:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Timestamps on Alerts. For sending alerts via sms, the date formats available in nagios.cfg are a bit verbose, a simple 06-23 14:34 would do just fine. The present style just sends to many characters. I realise I could go into misc commands and just pop the date command in there, but I am curious if there is a way to change this within nagios, maybe editing something before compile time. Thanks miuch ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stewart82 at yahoo.com Thu Jun 24 06:14:12 2004 From: stewart82 at yahoo.com (Stewart Chen) Date: Wed, 23 Jun 2004 21:14:12 -0700 (PDT) Subject: Plugin output limitations Message-ID: <20040624041412.73862.qmail@web41511.mail.yahoo.com> hello, Is there a limitation to how many characters can a plugin return ? It seems that nagios wouldn't display everything that the plugin return when a limit is reached . Thanks. Stewart __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From liedekef at pandora.be Thu Jun 24 10:22:47 2004 From: liedekef at pandora.be (Franky Van Liedekerke) Date: Thu, 24 Jun 2004 10:22:47 +0200 Subject: service alert state question Message-ID: Hi all, I would like to define a service that stays "red" until the problem is aknowledged. The reason for this is that I would like to monitor logfiles and from the moment a certain pattern passes, the state should stay in warning until someone looked at it. I thought dependancies could do the trick, but it seems these only rely on other services. Does anybody know how to achive this? greetz, Franky ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fritz_bloom at yahoo.de Thu Jun 24 10:56:17 2004 From: fritz_bloom at yahoo.de (=?iso-8859-1?q?Fritz=20Bloom?=) Date: Thu, 24 Jun 2004 10:56:17 +0200 (CEST) Subject: NRPE: Unable to read output Message-ID: <20040624085617.78778.qmail@web25305.mail.ukl.yahoo.com> Hello, I installed the nagios server and on a remote machine NRPE. Running a check_command via nrpe I get the output | $ check_nrpe -H keep -c check_users_fix | NRPE: Unable to read output Syslog on my remote machine says: | Jun 24 10:48:48 keep nrpe[8653]: Connection from XXX.XXX.XXX.XXX port 23990 | Jun 24 10:48:48 keep nrpe[8653]: Host address checks out ok | Jun 24 10:48:48 keep nrpe[8653]: Handling the connection... | Jun 24 10:48:48 keep nrpe[8653]: Host is asking for command 'check_users_fix' to be run... | Jun 24 10:48:48 keep nrpe[8653]: Running command: /homes/magi/nagios/libexec/check_users -w 5 -c 10 | Jun 24 10:48:48 keep nrpe[8653]: Command completed with return code 3 and output: | Jun 24 10:48:48 keep nrpe[8653]: Return Code: 3, Output: NRPE: Unable to read output | Jun 24 10:48:48 keep nrpe[8653]: Connection from 129.70.14.22 closed. The nrpe.cfg on the remote machine contains the line | command[check_users]=/homes/magi/nagios/libexec/check_users -w $ARG1$ -c $ARG2$ Running the plugin locally on the remote machine works fine: | $ /homes/magi/nagios/libexec/check_users -w 5 -c 10 | USERS OK - 1 users currently logged in The results are the same when running with and without ssl-support. Can anyone help me? Thanks in advance. Holger. ___________________________________________________________ Bestellen Sie Y! DSL und erhalten Sie die AVM "FritzBox SL" f?r 0?. Sie sparen 119? und bekommen 2 Monate Grundgeb?hrbefreiung. http://de.adsl.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gyufi at sztaki.hu Thu Jun 24 11:22:35 2004 From: gyufi at sztaki.hu (=?ISO-8859-2?Q?Szab=F3_Gyula?=) Date: Thu, 24 Jun 2004 11:22:35 +0200 Subject: Nagios memory usage 1.2 vs 1.1 Message-ID: <40DA9D5B.20302@sztaki.hu> Dear List, I met the memory leak problem in Nagios 1.2 ePN too. I did configure a test Nagios and made a test. There was 1 host 200 service and the check command was a little perl script, that only exit with OK status. I did measure the nagios memory size (ps "VSZ" and "RSS" column) for a half hour and the growing was linear. The test configuration and the log is attached. Best regards: Szab? Gyula -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-debug.tgz Type: application/x-gtar Size: 4015 bytes Desc: not available URL: From Philipp.Sand at sycor.de Thu Jun 24 13:53:59 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 24 Jun 2004 13:53:59 +0200 Subject: Nagat Problem / Searching for Nagios configuration tool Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068D50@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I try to set up Nagios with about 250 hosts and lots of services. I think jiggling around in all configuration files gets pretty hard with raising number of hosts. I'm useing template base configuration for hosts, services and hostextinfo. Just setted up Nagat, tried to import my config files, nagat reads the objects, the counter seems to show the right number of objects, but when i want to look at the objects I only see one line with an edit button next to it and no content. Anyone got that problem so far? Does nagat support template base cfg? Is there an alternative to nagat (i tried nawui, but couldn't get it to run :-/ )? What about Nagios 2.0 will there be a configuration interface? Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Thu Jun 24 14:10:35 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Thu, 24 Jun 2004 14:10:35 +0200 Subject: Nagat Problem / Searching for Nagios configuration tool Message-ID: <90D32590BAD135448DC12C1EA3EB448210B11A@epsewr01.ewrlan.ewr.int> Hello take a look at http://sourceforge.net/projects/nagedit/ But we are still develop it.... Its just a beta version with the basic features and maybe some bugs.... Please give some feadback! Thanks! > -----Original Message----- > From: Sand Philipp [mailto:Philipp.Sand at sycor.de] > Sent: Thursday, June 24, 2004 1:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagat Problem / Searching for Nagios > configuration tool > > > Hi, > > I try to set up Nagios with about 250 hosts and lots of > services. I think jiggling around in all configuration files > gets pretty hard with raising number of hosts. > I'm useing template base configuration for hosts, services > and hostextinfo. Just setted up Nagat, tried to import my > config files, nagat reads the objects, the counter seems to > show the right number of objects, but when i want to look at > the objects I only see one line with an edit button next to > it and no content. Anyone got that problem so far? Does nagat > support template base cfg? Is there an alternative to nagat > (i tried nawui, but couldn't get it to run :-/ )? What about > Nagios 2.0 will there be a configuration interface? > > Regards, > Philipp > > _____________________________ > > Philipp Sand > OC-CC-TEC-SYS > > SYCOR GmbH > Heinrich-von-Stephan-Stra?e 1-5 > D - 37073 G?ttingen > > Telefon +49 (0) 551 / 490 - 0 > Telefax +49 (0) 551 / 490 - 2000 > > philipp.sand at sycor.de > www.sycor.de > ------------------------------------------------ > > > > ************************************************ > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus > pers?nliche Informationen beinhalten. Wenn Sie nicht der > bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die > E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns > dar?ber. Die Firma sycor willigt in keine Vertr?ge oder > vertragliche Verpflichtungen ein oder ?bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt > werden, sofern dies nicht ausdr?cklich in schriftlicher Form > zwischen den Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or > privileged information. If you are not the intended recipient > please delete this e-mail and all attachments immediately and > inform us. The company sycor does not agree with contracts or > contract obligations sent by e-mail, neither do we transmit > legally binding offers by e-mail, unless this is not > expressly agreed upon between the parties and documented in > written form. > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Thu Jun 24 15:58:56 2004 From: MG at ev3.net (Wheeler, MG) Date: Thu, 24 Jun 2004 08:58:56 -0500 Subject: Timestamps on Alerts. Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030E6D@mail.ev3.net> miuch, thanks for asking this question! It wasn't bugging me enough to have asked yet. Tedman, Thanks so much for the quick answer, I'm changing most of my scripts now to reflect this change. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Tedman Eng Sent: Wednesday, June 23, 2004 10:16 PM To: 'Korthrun'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Timestamps on Alerts. Change your sms alert command in misccommands.cfg to use $SHORTDATETIME$ instead of $DATETIME$ http://nagios.sourceforge.net/docs/1_0/macros.html -----Original Message----- From: Korthrun [mailto:nagios at korthrun.net] Sent: Wednesday, June 23, 2004 7:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Timestamps on Alerts. For sending alerts via sms, the date formats available in nagios.cfg are a bit verbose, a simple 06-23 14:34 would do just fine. The present style just sends to many characters. I realise I could go into misc commands and just pop the date command in there, but I am curious if there is a way to change this within nagios, maybe editing something before compile time. Thanks miuch ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _____________________________________________________________________ Message scanned for viruses _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MG at ev3.net Thu Jun 24 16:52:11 2004 From: MG at ev3.net (Wheeler, MG) Date: Thu, 24 Jun 2004 09:52:11 -0500 Subject: Nagat Problem / Searching for Nagios configuration tool Message-ID: <2F29C1E275BF4F4E9DCAE48033A00B9D01030E6F@mail.ev3.net> My Two Cents worth: We're using nawui on all of our Nagios machines and I like it. I was trying for Nagat originally but could not get Nagios to use or run with mysql on RH 9 what so ever after a month of working with it so I went to nawui. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Sand Philipp Sent: Thursday, June 24, 2004 6:54 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagat Problem / Searching for Nagios configuration tool Hi, I try to set up Nagios with about 250 hosts and lots of services. I think jiggling around in all configuration files gets pretty hard with raising number of hosts. I'm useing template base configuration for hosts, services and hostextinfo. Just setted up Nagat, tried to import my config files, nagat reads the objects, the counter seems to show the right number of objects, but when i want to look at the objects I only see one line with an edit button next to it and no content. Anyone got that problem so far? Does nagat support template base cfg? Is there an alternative to nagat (i tried nawui, but couldn't get it to run :-/ )? What about Nagios 2.0 will there be a configuration interface? Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _____________________________________________________________________ Message scanned for viruses _____________________________________________________________________ This message has been checked for all known viruses ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From isgs294 at yahoo.com Thu Jun 24 17:26:03 2004 From: isgs294 at yahoo.com (Gary Sanders) Date: Thu, 24 Jun 2004 15:26:03 +0000 (UTC) Subject: HA nagios (multi site) Message-ID: I have a need for a multi site nagios. I have seen several people talking about implementing HA on nagios, but there were side by side machines. I will have a physical seperation with no shared resources. Platform is Solaris, budget is zero. Gary Sanders ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Thu Jun 24 17:56:26 2004 From: verdon at cict.fr (carole verdon) Date: Thu, 24 Jun 2004 17:56:26 +0200 Subject: Nagat Problem / Searching for Nagios configuration tool In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E068D50@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E068D50@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <40DAF9AA.7080501@cict.fr> Hi, I use nagmin to manage my config files in database. I am satisfied with this product. It simplifies the things. http://nagmin.sourceforge.net/ Carole. Sand Philipp wrote: >Hi, > >I try to set up Nagios with about 250 hosts and lots of services. I think jiggling around in all configuration files gets pretty hard with raising number of hosts. >I'm useing template base configuration for hosts, services and hostextinfo. Just setted up Nagat, tried to import my config files, nagat reads the objects, the counter seems to show the right number of objects, but when i want to look at the objects I only see one line with an edit button next to it and no content. Anyone got that problem so far? Does nagat support template base cfg? Is there an alternative to nagat (i tried nawui, but couldn't get it to run :-/ )? What about Nagios 2.0 will there be a configuration interface? > >Regards, >Philipp > >_____________________________ > >Philipp Sand >OC-CC-TEC-SYS > >SYCOR GmbH >Heinrich-von-Stephan-Stra?e 1-5 >D - 37073 G?ttingen > >Telefon +49 (0) 551 / 490 - 0 >Telefax +49 (0) 551 / 490 - 2000 > >philipp.sand at sycor.de >www.sycor.de >------------------------------------------------ > > > >************************************************ > >sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > >www.sycor-plastics.de > >************************************************ > > > > >Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. > >This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. > > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >digital self defense, top technical experts, no vendor pitches, >unmatched networking opportunities. Visit www.blackhat.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Jun 24 18:04:03 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 24 Jun 2004 09:04:03 -0700 Subject: HA nagios (multi site) In-Reply-To: References: Message-ID: <20040624160403.GC24895@zippy.toger.us> Have two Nagios machines monitor each other. If one machine goes down, have it load the other machine's configuration into the config directory and HUP itself. When the other machines comes back up reverse the procedure. -Jason Martin On Thu, Jun 24, 2004 at 03:26:03PM +0000, Gary Sanders wrote: > I have a need for a multi site nagios. I have seen several people talking about > implementing HA on nagios, but there were side by side machines. I will have a > physical seperation with no shared resources. Platform is Solaris, budget is > zero. > > Gary Sanders > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From bruce at elrick.ca Thu Jun 24 18:22:23 2004 From: bruce at elrick.ca (Bruce Elrick) Date: Thu, 24 Jun 2004 10:22:23 -0600 Subject: Nagios memory usage 1.2 vs 1.1 In-Reply-To: <40DA9D5B.20302@sztaki.hu> References: <40DA9D5B.20302@sztaki.hu> Message-ID: <40DAFFBF.8010305@elrick.ca> Szab? Gyula wrote: > Dear List, > > I met the memory leak problem in Nagios 1.2 ePN too. > I did configure a test Nagios and made a test. > There was 1 host 200 service and the check command was a little perl > script, that only exit with OK status. > > I did measure the nagios memory size (ps "VSZ" and "RSS" column) for a > half hour and the growing was linear. > > The test configuration and the log is attached. > What is the source of your nagios binary? Did you build it on your own? I'm using the DAG RPM ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 24 18:58:47 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 24 Jun 2004 18:58:47 +0200 Subject: Nagat Problem / Searching for Nagios configuration tool In-Reply-To: <90D32590BAD135448DC12C1EA3EB448210B11A@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB448210B11A@epsewr01.ewrlan.ewr.int> Message-ID: <40DB0847.8000300@op5.se> Wengrzik, Andreas wrote: > Hello take a look at > > http://sourceforge.net/projects/nagedit/ > > But we are still develop it.... Its just a beta version with the basic features and maybe some bugs.... > Please give some feadback! > Why are you shipping it as a .zip-file when Nagios only runs on Posix-systems? A gzipped tarball seems more appropriate, actually. > Thanks! > > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete.dewell at volteurope.com Thu Jun 24 19:06:03 2004 From: pete.dewell at volteurope.com (Pete Dewell) Date: Thu, 24 Jun 2004 18:06:03 +0100 Subject: check_http with -S Message-ID: <40DB09FB.5030604@volteurope.com> I would like to check an HTTPS site that requires a client certificate to be presented by the browser for access. This means that when I use the command check_http -H host -S I get the message "client certificate required" (return code 1) back from the plugin. Is there any way I can pass a client certificate to the command so that I can see that the SSL connection is actually up and returning content? TIA Pete Dewell -- Technical Support/Analyst Volt Europe Tel : (+44) (0) 1737 774100 Fax : (+44) (0) 1737 772949 Mobile : (+44) (0) 777 1513066 E-mail pete.dewell at volteurope.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Jun 24 19:57:54 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 24 Jun 2004 10:57:54 -0700 Subject: check_http with -S In-Reply-To: <40DB09FB.5030604@volteurope.com> References: <40DB09FB.5030604@volteurope.com> Message-ID: <20040624175754.GF24895@zippy.toger.us> I don't believe the check_http plugin has this capability. -Jason Martin On Thu, Jun 24, 2004 at 06:06:03PM +0100, Pete Dewell wrote: > I would like to check an HTTPS site that requires a client certificate > to be presented by the browser for access. This means that when I use > the command > > check_http -H host -S > > I get the message "client certificate required" (return code 1) back > from the plugin. Is there any way I can pass a client certificate to the > command so that I can see that the SSL connection is actually up and > returning content? > > TIA > > Pete Dewell -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From gramajo at saman.com.uy Thu Jun 24 20:02:58 2004 From: gramajo at saman.com.uy (Gramajo, Gabriel) Date: Thu, 24 Jun 2004 15:02:58 -0300 Subject: Traffic Monitor Message-ID: <94658F4F37CF774C85E0FD732BD8AC61C6CDF1@samannt.saman.com.uy> SAMAN Casa Central Rambla Dr. Baltasar Brum 2772 11800 Montevideo, Uruguay Tel: (+598-2) 208 1421* Fax: (+598-2) 203 7007 Web: www.saman.com.uy How can i monitor traffic from nagios ? A/P Gabriel Gramajo SAMAN Computaci?n Montevideo - Uruguay Dir.: Rbla. Baltasar Brum 2772 Tel.: 2081421 / 232 E-Mail: gramajo at saman.com.uy "Dime y lo olvido, ens??ame y lo recuerdo, invol?crame y lo aprendo." Benjamin Franklin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Logo.jpg Type: image/jpeg Size: 12725 bytes Desc: not available URL: From mshirley at gmail.com Thu Jun 24 20:16:49 2004 From: mshirley at gmail.com (Mark Shirley) Date: Thu, 24 Jun 2004 14:16:49 -0400 Subject: issues with notifications Message-ID: host-notify-by-email /usr/bin/printf \"%b\" \"***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $DATETIME$\n\" | /usr/bin/mail -s \"Host $HOSTSTATE$ alert for $HOSTNAME$!\" $CONTACTEMAIL$ That is my current host-notify-by-email command. When a host DOWN event occurs it says it sends the notification but I never recieve one. Upon further investigating I notice in my mail queue a returned email from my local smtp server stating the following >From MAILER-DAEMON Thu Jun 24 13:32:53 2004 Return-path: <> Envelope-to: nagios at helpdesk Received: from mail by helpdesk-linux with local (Exim 3.35 #1 (Debian)) id 1BdY5l-0002xZ-00 for ; Thu, 24 Jun 2004 13:32:53 -0400 From: Mail Delivery System To: nagios at helpdesk Subject: Mail failure - malformed recipient address Message-Id: Date: Thu, 24 Jun 2004 13:32:53 -0400 A message that you sent contained a recipient address that was incorrectly constructed: my-host.domain.com!" unmatched doublequote in local part (expected word or "<") The message has not been delivered to any recipients. ------ This is a copy of your message, including all the headers. ------ To: alert, for, my-host.domain.com!", myemail at domain.com, UP Subject: "Host ""*****""Nagios""*****nnNotification""Type:""RECOVERYnHost:""my-host.domain.comnState:""UPnAddress:""1.1.1.1nInfo:""$nnDate/Time:""Thu""Jun""24""13:32:53""EDT""2004n"" -------- Notice the To: line! It seems as though the line it's sending to `mail` is missing some information. Could it be that "Host $HOSTSTATE$" is not getting send to it? I don't really understand how this could be happening. Is there any other information i can provide to make things easier? ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wp.junior at terra.com.br Thu Jun 24 20:23:45 2004 From: wp.junior at terra.com.br (wp.junior) Date: Thu, 24 Jun 2004 15:23:45 -0300 Subject: snmpget and so on Message-ID: Hi all. I'm configuring nagios 1.2 in a rh9 box. Every checks are ok, except for check_snmp. The response are always "There is no response from host". Checking the problem I've discovered that snmpget, snmpwalk .... are missing in my system. I have net-snmp 5 installed. Aren't these applications part of net-snmp? How can I get the snmp applications? Regards, Wilson -------------- next part -------------- An HTML attachment was scrubbed... URL: From Shane.Reutzel at MemberWorks.com Thu Jun 24 20:26:56 2004 From: Shane.Reutzel at MemberWorks.com (Reutzel, Shane) Date: Thu, 24 Jun 2004 13:26:56 -0500 Subject: snmpget and so on Message-ID: get snmp-utils -----Original Message----- From: wp.junior [mailto:wp.junior at terra.com.br] Sent: Thursday, June 24, 2004 1:24 PM To: nagios-users Subject: [Nagios-users] snmpget and so on Hi all. I'm configuring nagios 1.2 in a rh9 box. Every checks are ok, except for check_snmp. The response are always "There is no response from host". Checking the problem I've discovered that snmpget, snmpwalk .... are missing in my system. I have net-snmp 5 installed. Aren't these applications part of net-snmp? How can I get the snmp applications? Regards, Wilson -------------- next part -------------- An HTML attachment was scrubbed... URL: From pete.dewell at volteurope.com Thu Jun 24 20:37:50 2004 From: pete.dewell at volteurope.com (Pete Dewell) Date: Thu, 24 Jun 2004 19:37:50 +0100 Subject: issues with notifications In-Reply-To: References: Message-ID: <40DB1F7E.4050606@volteurope.com> What's the contact definition for this address ? It looks like that has been badly defined in the config file. Pete Dewell Mark Shirley wrote: > host-notify-by-email > /usr/bin/printf \"%b\" \"***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $DATETIME$\n\" | > /usr/bin/mail -s \"Host $HOSTSTATE$ alert for $HOSTNAME$!\" > $CONTACTEMAIL$ > > That is my current host-notify-by-email command. When a host DOWN > event occurs it says it sends the notification but I never recieve > one. Upon further investigating I notice in my mail queue a returned > email from my local smtp server stating the following > > From MAILER-DAEMON Thu Jun 24 13:32:53 2004 > Return-path: <> > Envelope-to: nagios at helpdesk > Received: from mail by helpdesk-linux with local (Exim 3.35 #1 (Debian)) > id 1BdY5l-0002xZ-00 > for ; Thu, 24 Jun 2004 13:32:53 -0400 > From: Mail Delivery System > To: nagios at helpdesk > Subject: Mail failure - malformed recipient address > Message-Id: > Date: Thu, 24 Jun 2004 13:32:53 -0400 > > A message that you sent contained a recipient address that was incorrectly > constructed: > > my-host.domain.com!" unmatched doublequote in local part (expected > word or "<") > > The message has not been delivered to any recipients. > > ------ This is a copy of your message, including all the headers. ------ > > > To: alert, for, my-host.domain.com!", myemail at domain.com, UP > Subject: "Host > > ""*****""Nagios""*****nnNotification""Type:""RECOVERYnHost:""my-host.domain.comnState:""UPnAddress:""1.1.1.1nInfo:""$nnDate/Time:""Thu""Jun""24""13:32:53""EDT""2004n"" > > -------- > Notice the To: line! > > It seems as though the line it's sending to `mail` is missing some > information. Could it be that "Host $HOSTSTATE$" is not getting send > to it? I don't really understand how this could be happening. Is > there any other information i can provide to make things easier? > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Technical Support/Analyst Volt Europe Tel : (+44) (0) 1737 774100 Fax : (+44) (0) 1737 772949 Mobile : (+44) (0) 777 1513066 E-mail pete.dewell at volteurope.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at korthrun.net Thu Jun 24 20:55:23 2004 From: nagios at korthrun.net (Korthrun) Date: Thu, 24 Jun 2004 08:55:23 -1000 Subject: Timestamps on Alerts. References: <37ED92F9890FAF4BB947613C66FF8B1AFC727C@dw-mail.dataway.com> Message-ID: <000a01c45a1c$d77ec4d0$22fb4b40@korthwork> Thanks much! ----- Original Message ----- From: "Tedman Eng" To: "'Korthrun'" ; Sent: Wednesday, June 23, 2004 5:15 PM Subject: RE: [Nagios-users] Timestamps on Alerts. > Change your sms alert command in misccommands.cfg to use $SHORTDATETIME$ > instead of $DATETIME$ > > http://nagios.sourceforge.net/docs/1_0/macros.html > > > > -----Original Message----- > From: Korthrun [mailto:nagios at korthrun.net] > Sent: Wednesday, June 23, 2004 7:41 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Timestamps on Alerts. > > > For sending alerts via sms, the date formats available in nagios.cfg are a > bit verbose, a simple 06-23 14:34 would do > just fine. The present style just sends to many characters. I realise I > could go into misc commands and just pop the > date command in there, but I am curious if there is a way to change this > within nagios, maybe editing something before > compile time. > > Thanks miuch > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mshirley at gmail.com Thu Jun 24 21:05:55 2004 From: mshirley at gmail.com (Mark Shirley) Date: Thu, 24 Jun 2004 15:05:55 -0400 Subject: issues with notifications In-Reply-To: <40DB1F7E.4050606@volteurope.com> References: <40DB1F7E.4050606@volteurope.com> Message-ID: define contact { use admins contact_name mark alias mark email myemail at domain pager page-me at domain service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,notify-by-epager host_notification_commands host-notify-by-email,host-notify-by-epager } my contact template is ... define contact { name admins service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,notify-by-epager host_notification_commands host-notify-by-email,host-notify-by-epager register 0 } On Thu, 24 Jun 2004 19:37:50 +0100, Pete Dewell wrote: > > What's the contact definition for this address ? > It looks like that has been badly defined in the config file. > > Pete Dewell > > > Mark Shirley wrote: > > > host-notify-by-email > > /usr/bin/printf \"%b\" \"***** Nagios *****\n\nNotification Type: > > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > > $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $DATETIME$\n\" | > > /usr/bin/mail -s \"Host $HOSTSTATE$ alert for $HOSTNAME$!\" > > $CONTACTEMAIL$ > > > > That is my current host-notify-by-email command. When a host DOWN > > event occurs it says it sends the notification but I never recieve > > one. Upon further investigating I notice in my mail queue a returned > > email from my local smtp server stating the following > > > > From MAILER-DAEMON Thu Jun 24 13:32:53 2004 > > Return-path: <> > > Envelope-to: nagios at helpdesk > > Received: from mail by helpdesk-linux with local (Exim 3.35 #1 (Debian)) > > id 1BdY5l-0002xZ-00 > > for ; Thu, 24 Jun 2004 13:32:53 -0400 > > From: Mail Delivery System > > To: nagios at helpdesk > > Subject: Mail failure - malformed recipient address > > Message-Id: > > Date: Thu, 24 Jun 2004 13:32:53 -0400 > > > > A message that you sent contained a recipient address that was incorrectly > > constructed: > > > > my-host.domain.com!" unmatched doublequote in local part (expected > > word or "<") > > > > The message has not been delivered to any recipients. > > > > ------ This is a copy of your message, including all the headers. ------ > > > > > > To: alert, for, my-host.domain.com!", myemail at domain.com, UP > > Subject: "Host > > > > ""*****""Nagios""*****nnNotification""Type:""RECOVERYnHost:""my-host.domain.comnState:""UPnAddress:""1.1.1.1nInfo:""$nnDate/Time:""Thu""Jun""24""13:32:53""EDT""2004n"" > > > > -------- > > Notice the To: line! > > > > It seems as though the line it's sending to `mail` is missing some > > information. Could it be that "Host $HOSTSTATE$" is not getting send > > to it? I don't really understand how this could be happening. Is > > there any other information i can provide to make things easier? > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > > Technical Support/Analyst > Volt Europe > Tel : (+44) (0) 1737 774100 > Fax : (+44) (0) 1737 772949 > Mobile : (+44) (0) 777 1513066 > E-mail pete.dewell at volteurope.com > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From behrens at mcs.anl.gov Thu Jun 24 21:08:06 2004 From: behrens at mcs.anl.gov (Scott Behrens) Date: Thu, 24 Jun 2004 14:08:06 -0500 Subject: Log files Message-ID: <40DB2696.1020207@mcs.anl.gov> Are there any good log file parsers for the staus log files. I'd like to be able to read the information from the archived files and format them into a readable format. Scott ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wp.junior at terra.com.br Thu Jun 24 21:58:50 2004 From: wp.junior at terra.com.br (wp.junior) Date: Thu, 24 Jun 2004 16:58:50 -0300 Subject: check_snmp - how to change utils path Message-ID: Hi all. check_snmp look for snmp utils (snmpget ...) in /usr/local/bin, but I've installed net-snmp-utils from rpm and the utils are in /usr/bin. How can I solve this situation? Regards, Wilson -------------- next part -------------- An HTML attachment was scrubbed... URL: From aharrison at gmail.com Fri Jun 25 05:50:25 2004 From: aharrison at gmail.com (Andy Harrison) Date: Thu, 24 Jun 2004 23:50:25 -0400 Subject: Log files In-Reply-To: <40DB2696.1020207@mcs.anl.gov> References: <40DB2696.1020207@mcs.anl.gov> Message-ID: On Thu, 24 Jun 2004 14:08:06 -0500, Scott Behrens wrote: > > Are there any good log file parsers for the staus log files. I'd like > to be able to read the information from the archived files and format > them into a readable format. I went on this quest myself. I thought I was hit paydirt with orca, but it turns out that rrdtool isn't designed around being populated with historical data. So, I'm rolling my own. It's about 80% complete. It imports the archives into an sql db with Class::DBI. It creates graphs by opening a pipe to gnuplot directly. Still todo: finish up the cli interface (95% complete) finish the code to generate graphs directly from the sql data (99.9% complete) web interface (not started, but will reuse the same code as the cli) better abstract the code to parse the different types of plugin outputs. add more error trapping retool using map -- Andy Harrison ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Fri Jun 25 06:57:30 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Fri, 25 Jun 2004 06:57:30 +0200 Subject: Nagat Problem / Searching for Nagios configuration tool Message-ID: <90D32590BAD135448DC12C1EA3EB448210B11B@epsewr01.ewrlan.ewr.int> Hello! I?m sorry but we are just two people who develop. Multiple language is supported! You have to change something in the config.inc.php from german to english! Take a look at this! So we are just beta!! The import tool is ready and have to be included in next release. So please stand by, the next one or two month we want to finish the first stable feature which includes a complete changelog and a readme in different languages!! -kind regards Andreas W. > -----Original Message----- > From: Millard, Matt [mailto:Millard.Matt at principal.com] > Sent: Thursday, June 24, 2004 5:25 PM > To: Wengrzik, Andreas > Subject: RE: [Nagios-users] Nagat Problem / Searching for Nagios > configuration tool > > > Looks interesting, I installed it, and was disappointed that > it didn't pull in existing configurations. Also that there > was no attempt at multiple language support gb/en. I didn't > try too much when I saw that most of the > configuration/instructions were in German. > > Matt > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Wengrzik, > Andreas > Sent: Thursday, June 24, 2004 7:11 AM > To: Sand Philipp; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagat Problem / Searching for Nagios > configuration tool > > > Hello take a look at > > http://sourceforge.net/projects/nagedit/ > > But we are still develop it.... Its just a beta version with > the basic features and maybe some bugs.... > Please give some feadback! > > Thanks! > > > -----Original Message----- > > From: Sand Philipp [mailto:Philipp.Sand at sycor.de] > > Sent: Thursday, June 24, 2004 1:54 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagat Problem / Searching for Nagios > > configuration tool > > > > > > Hi, > > > > I try to set up Nagios with about 250 hosts and lots of > > services. I think jiggling around in all configuration files > > gets pretty hard with raising number of hosts. > > I'm useing template base configuration for hosts, services > > and hostextinfo. Just setted up Nagat, tried to import my > > config files, nagat reads the objects, the counter seems to > > show the right number of objects, but when i want to look at > > the objects I only see one line with an edit button next to > > it and no content. Anyone got that problem so far? Does nagat > > support template base cfg? Is there an alternative to nagat > > (i tried nawui, but couldn't get it to run :-/ )? What about > > Nagios 2.0 will there be a configuration interface? > > > > Regards, > > Philipp > > > > _____________________________ > > > > Philipp Sand > > OC-CC-TEC-SYS > > > > SYCOR GmbH > > Heinrich-von-Stephan-Stra?e 1-5 > > D - 37073 G?ttingen > > > > Telefon +49 (0) 551 / 490 - 0 > > Telefax +49 (0) 551 / 490 - 2000 > > > > philipp.sand at sycor.de > > www.sycor.de > > ------------------------------------------------ > > > > > > > > ************************************************ > > > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > > > www.sycor-plastics.de > > > > ************************************************ > > > > > > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus > > pers?nliche Informationen beinhalten. Wenn Sie nicht der > > bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die > > E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns > > dar?ber. Die Firma sycor willigt in keine Vertr?ge oder > > vertragliche Verpflichtungen ein oder ?bermittelt > > rechtsverbindliche Angebote, die in Form von E-Mail versandt > > werden, sofern dies nicht ausdr?cklich in schriftlicher Form > > zwischen den Parteien vereinbart wurde. > > > > This e-mail is confidential and may contain personal and/or > > privileged information. If you are not the intended recipient > > please delete this e-mail and all attachments immediately and > > inform us. The company sycor does not agree with contracts or > > contract obligations sent by e-mail, neither do we transmit > > legally binding offers by e-mail, unless this is not > > expressly agreed upon between the parties and documented in > > written form. > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smalhotra at dataarmor.net Fri Jun 25 06:31:32 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Fri, 25 Jun 2004 10:01:32 +0530 Subject: Checking freshness Time period References: Message-ID: <01c901c45a71$e36a1100$0301a8c0@sumit> Hi All!! I found the problem . Its more of Architecture issue in nagios The Passive check and active check when used separately works great ! But problem comes when the both need to be used simultaneously. Like in condition where the active checks needs to be forced when the results from the passive checks are not received .. The following requirements may be added to the coming version ( May be in 2.0 its there ... I haven't checked it ): 1. The number of Retry checks by passive check and Active Check ( the number of soft state the service should be): They should be separate, if used in conjunction. As I would like the number of active checks to be retried once. if the passive checks are not being received. 2. Notification period: The freshness check should be checked only in notification period stated in the definition.( or a separate parameter can be added) What do you think florian ??? Regards, Sumit ----- Original Message ----- From: To: Cc: Sent: Wednesday, June 23, 2004 7:33 PM Subject: RE: [Nagios-users] Checking freshness Time period Uhm, maybe I didn't make myself clear: Of course freshnes-checking should be done during the times defined as check_period. Outside those hours, when no service-check results are expected, freshness checking should be suspended. The way I understand your original post, that's what you would expect Nagios to do, right? Regards, Florian -----Original Message----- From: Sumit Malhotra [mailto:smalhotra at dataarmor.net] Sent: Mittwoch, 23. Juni 2004 15:40 To: Kirchmeir Florian (IFAT IT OS) Cc: Nagios List Subject: Re: [Nagios-users] Checking freshness Time period Hi Florian, The need for Freshness check is there in every case of NSCA.As you will not get any alert if you didn't get the passive check fo a service at all.( no Alert no action) Freshness check helps you in those cases .( Which has no relation with Notification period --- i am assuming) Regards, Sumit ----- Original Message ----- From: To: Cc: ; Sent: Wednesday, June 23, 2004 4:33 PM Subject: Re: [Nagios-users] Checking freshness Time period Hi all! Crossposting to nagios-devel, since this is rather a feature request. Sumit, as far as I understand, there is currently no (simple) way to make this work. Currently, you make a service "passive" by setting the check_period to "none". To me, this is rather a hack; it adds a side-affect to a configuration option that isn't obvious, and actually reduces functionallity. I'd prefer being able to set the check_period for passive services just like for active ones, and make it passive by explicitly setting "passive_checks_enabled=1" and "active_checks_enabled=0". Service-check results received outside the check_period (or rather: having a timestamp outside it; regardless of when it's received) should be discarded, and no freshness-checking should be performed. Please correct me if I'm wrong, and things do already work that way! It wasn't when I last checked... Regards, Florian Kirchmeir ----- Original Message -----= From: "Sumit Malhotra" To: "Nagios List" Subject: Re: [Nagios-users] Checking freshness Time period Date: Mon, 14 Jun 2004 20:31:08 +0530 This is a multi-part message in MIME format. ------=_NextPart_000_013F_01C4524E.860333A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can anybody help on this ???? -Sumit ----- Original Message -----=20 From: Sumit Malhotra=20 To: Nagios List=20 Sent: Friday, June 11, 2004 3:20 PM Subject: [Nagios-users] Checking freshness Time period Hi , I am using nagios 1.2 and nsca in combination . Both works great = together. I have configured for freshness check evrey 15 minutes( As shown = below) . In case it fails an alert is genrated via command noreport. It = works fine for 24*7 monitoring of services Problem comes when i want some service to be checked for 16*5 . I get = alerts even when i have configured the service are configured for = 16*5(check period) ( Although i am able to suppress teh alerts using = notification period i.e. by setting it to 16*5) but still there is a red = alert in the web interface .I would have loved to get a wall of "GREEN". ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smalhotra at dataarmor.net Fri Jun 25 06:31:32 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Fri, 25 Jun 2004 10:01:32 +0530 Subject: Checking freshness Time period References: Message-ID: <01ca01c45a76$27dd6cc0$0301a8c0@sumit> Hi All!! I found the problem . Its more of Architecture issue in nagios The Passive check and active check when used separately works great ! But problem comes when the both need to be used simultaneously. Like in condition where the active checks needs to be forced when the results from the passive checks are not received .. The following requirements may be added to the coming version ( May be in 2.0 its there ... I haven't checked it ): 1. The number of Retry checks by passive check and Active Check ( the number of soft state the service should be): They should be separate, if used in conjunction. As I would like the number of active checks to be retried once. if the passive checks are not being received. 2. Notification period: The freshness check should be checked only in notification period stated in the definition.( or a separate parameter can be added) What do you think florian ??? Regards, Sumit ----- Original Message ----- From: To: Cc: Sent: Wednesday, June 23, 2004 7:33 PM Subject: RE: [Nagios-users] Checking freshness Time period Uhm, maybe I didn't make myself clear: Of course freshnes-checking should be done during the times defined as check_period. Outside those hours, when no service-check results are expected, freshness checking should be suspended. The way I understand your original post, that's what you would expect Nagios to do, right? Regards, Florian -----Original Message----- From: Sumit Malhotra [mailto:smalhotra at dataarmor.net] Sent: Mittwoch, 23. Juni 2004 15:40 To: Kirchmeir Florian (IFAT IT OS) Cc: Nagios List Subject: Re: [Nagios-users] Checking freshness Time period Hi Florian, The need for Freshness check is there in every case of NSCA.As you will not get any alert if you didn't get the passive check fo a service at all.( no Alert no action) Freshness check helps you in those cases .( Which has no relation with Notification period --- i am assuming) Regards, Sumit ----- Original Message ----- From: To: Cc: ; Sent: Wednesday, June 23, 2004 4:33 PM Subject: Re: [Nagios-users] Checking freshness Time period Hi all! Crossposting to nagios-devel, since this is rather a feature request. Sumit, as far as I understand, there is currently no (simple) way to make this work. Currently, you make a service "passive" by setting the check_period to "none". To me, this is rather a hack; it adds a side-affect to a configuration option that isn't obvious, and actually reduces functionallity. I'd prefer being able to set the check_period for passive services just like for active ones, and make it passive by explicitly setting "passive_checks_enabled=1" and "active_checks_enabled=0". Service-check results received outside the check_period (or rather: having a timestamp outside it; regardless of when it's received) should be discarded, and no freshness-checking should be performed. Please correct me if I'm wrong, and things do already work that way! It wasn't when I last checked... Regards, Florian Kirchmeir ----- Original Message -----= From: "Sumit Malhotra" To: "Nagios List" Subject: Re: [Nagios-users] Checking freshness Time period Date: Mon, 14 Jun 2004 20:31:08 +0530 This is a multi-part message in MIME format. ------=_NextPart_000_013F_01C4524E.860333A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can anybody help on this ???? -Sumit ----- Original Message -----=20 From: Sumit Malhotra=20 To: Nagios List=20 Sent: Friday, June 11, 2004 3:20 PM Subject: [Nagios-users] Checking freshness Time period Hi , I am using nagios 1.2 and nsca in combination . Both works great = together. I have configured for freshness check evrey 15 minutes( As shown = below) . In case it fails an alert is genrated via command noreport. It = works fine for 24*7 monitoring of services Problem comes when i want some service to be checked for 16*5 . I get = alerts even when i have configured the service are configured for = 16*5(check period) ( Although i am able to suppress teh alerts using = notification period i.e. by setting it to 16*5) but still there is a red = alert in the web interface .I would have loved to get a wall of "GREEN". ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Fri Jun 25 08:08:35 2004 From: christian.masopust at siemens.com (Masopust Christian) Date: Fri, 25 Jun 2004 08:08:35 +0200 Subject: AW: Nagat Problem / Searching for Nagios configura tion tool Message-ID: Hello Andreas, any plans to support cfg_dir's when reading in or writing the configuration? thanks, christian -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Wengrzik, Andreas Gesendet: Freitag, 25. Juni 2004 06:57 An: Millard, Matt; nagios-users at lists.sourceforge.net Betreff: RE: [Nagios-users] Nagat Problem / Searching for Nagios configuration tool Hello! I?m sorry but we are just two people who develop. Multiple language is supported! You have to change something in the config.inc.php from german to english! Take a look at this! So we are just beta!! The import tool is ready and have to be included in next release. So please stand by, the next one or two month we want to finish the first stable feature which includes a complete changelog and a readme in different languages!! -kind regards Andreas W. > -----Original Message----- > From: Millard, Matt [mailto:Millard.Matt at principal.com] > Sent: Thursday, June 24, 2004 5:25 PM > To: Wengrzik, Andreas > Subject: RE: [Nagios-users] Nagat Problem / Searching for Nagios > configuration tool > > > Looks interesting, I installed it, and was disappointed that > it didn't pull in existing configurations. Also that there > was no attempt at multiple language support gb/en. I didn't > try too much when I saw that most of the > configuration/instructions were in German. > > Matt > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Wengrzik, > Andreas > Sent: Thursday, June 24, 2004 7:11 AM > To: Sand Philipp; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagat Problem / Searching for Nagios > configuration tool > > > Hello take a look at > > http://sourceforge.net/projects/nagedit/ > > But we are still develop it.... Its just a beta version with > the basic features and maybe some bugs.... > Please give some feadback! > > Thanks! > > > -----Original Message----- > > From: Sand Philipp [mailto:Philipp.Sand at sycor.de] > > Sent: Thursday, June 24, 2004 1:54 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagat Problem / Searching for Nagios > > configuration tool > > > > > > Hi, > > > > I try to set up Nagios with about 250 hosts and lots of > > services. I think jiggling around in all configuration files > > gets pretty hard with raising number of hosts. > > I'm useing template base configuration for hosts, services > > and hostextinfo. Just setted up Nagat, tried to import my > > config files, nagat reads the objects, the counter seems to > > show the right number of objects, but when i want to look at > > the objects I only see one line with an edit button next to > > it and no content. Anyone got that problem so far? Does nagat > > support template base cfg? Is there an alternative to nagat > > (i tried nawui, but couldn't get it to run :-/ )? What about > > Nagios 2.0 will there be a configuration interface? > > > > Regards, > > Philipp > > > > _____________________________ > > > > Philipp Sand > > OC-CC-TEC-SYS > > > > SYCOR GmbH > > Heinrich-von-Stephan-Stra?e 1-5 > > D - 37073 G?ttingen > > > > Telefon +49 (0) 551 / 490 - 0 > > Telefax +49 (0) 551 / 490 - 2000 > > > > philipp.sand at sycor.de > > www.sycor.de > > ------------------------------------------------ > > > > > > > > ************************************************ > > > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > > > www.sycor-plastics.de > > > > ************************************************ > > > > > > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus > > pers?nliche Informationen beinhalten. Wenn Sie nicht der > > bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die > > E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns > > dar?ber. Die Firma sycor willigt in keine Vertr?ge oder > > vertragliche Verpflichtungen ein oder ?bermittelt > > rechtsverbindliche Angebote, die in Form von E-Mail versandt > > werden, sofern dies nicht ausdr?cklich in schriftlicher Form > > zwischen den Parteien vereinbart wurde. > > > > This e-mail is confidential and may contain personal and/or > > privileged information. If you are not the intended recipient > > please delete this e-mail and all attachments immediately and > > inform us. The company sycor does not agree with contracts or > > contract obligations sent by e-mail, neither do we transmit > > legally binding offers by e-mail, unless this is not > > expressly agreed upon between the parties and documented in > > written form. > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From smalhotra at dataarmor.net Fri Jun 25 06:31:32 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Fri, 25 Jun 2004 10:01:32 +0530 Subject: Checking freshness Time period References: Message-ID: <01d901c45a7a$cfa42e90$0301a8c0@sumit> Hi All!! I found the problem . Its more of Architecture issue in nagios The Passive check and active check when used separately works great ! But problem comes when the both need to be used simultaneously. Like in condition where the active checks needs to be forced when the results from the passive checks are not received .. The following requirements may be added to the coming version ( May be in 2.0 its there ... I haven't checked it ): 1. The number of Retry checks by passive check and Active Check ( the number of soft state the service should be): They should be separate, if used in conjunction. As I would like the number of active checks to be retried once. if the passive checks are not being received. 2. Notification period: The freshness check should be checked only in notification period stated in the definition.( or a separate parameter can be added) What do you think florian ??? Regards, Sumit ----- Original Message ----- From: To: Cc: Sent: Wednesday, June 23, 2004 7:33 PM Subject: RE: [Nagios-users] Checking freshness Time period Uhm, maybe I didn't make myself clear: Of course freshnes-checking should be done during the times defined as check_period. Outside those hours, when no service-check results are expected, freshness checking should be suspended. The way I understand your original post, that's what you would expect Nagios to do, right? Regards, Florian -----Original Message----- From: Sumit Malhotra [mailto:smalhotra at dataarmor.net] Sent: Mittwoch, 23. Juni 2004 15:40 To: Kirchmeir Florian (IFAT IT OS) Cc: Nagios List Subject: Re: [Nagios-users] Checking freshness Time period Hi Florian, The need for Freshness check is there in every case of NSCA.As you will not get any alert if you didn't get the passive check fo a service at all.( no Alert no action) Freshness check helps you in those cases .( Which has no relation with Notification period --- i am assuming) Regards, Sumit ----- Original Message ----- From: To: Cc: ; Sent: Wednesday, June 23, 2004 4:33 PM Subject: Re: [Nagios-users] Checking freshness Time period Hi all! Crossposting to nagios-devel, since this is rather a feature request. Sumit, as far as I understand, there is currently no (simple) way to make this work. Currently, you make a service "passive" by setting the check_period to "none". To me, this is rather a hack; it adds a side-affect to a configuration option that isn't obvious, and actually reduces functionallity. I'd prefer being able to set the check_period for passive services just like for active ones, and make it passive by explicitly setting "passive_checks_enabled=1" and "active_checks_enabled=0". Service-check results received outside the check_period (or rather: having a timestamp outside it; regardless of when it's received) should be discarded, and no freshness-checking should be performed. Please correct me if I'm wrong, and things do already work that way! It wasn't when I last checked... Regards, Florian Kirchmeir ----- Original Message -----= From: "Sumit Malhotra" To: "Nagios List" Subject: Re: [Nagios-users] Checking freshness Time period Date: Mon, 14 Jun 2004 20:31:08 +0530 This is a multi-part message in MIME format. ------=_NextPart_000_013F_01C4524E.860333A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can anybody help on this ???? -Sumit ----- Original Message -----=20 From: Sumit Malhotra=20 To: Nagios List=20 Sent: Friday, June 11, 2004 3:20 PM Subject: [Nagios-users] Checking freshness Time period Hi , I am using nagios 1.2 and nsca in combination . Both works great = together. I have configured for freshness check evrey 15 minutes( As shown = below) . In case it fails an alert is genrated via command noreport. It = works fine for 24*7 monitoring of services Problem comes when i want some service to be checked for 16*5 . I get = alerts even when i have configured the service are configured for = 16*5(check period) ( Although i am able to suppress teh alerts using = notification period i.e. by setting it to 16*5) but still there is a red = alert in the web interface .I would have loved to get a wall of "GREEN". ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete.dewell at volteurope.com Fri Jun 25 09:26:09 2004 From: pete.dewell at volteurope.com (Pete Dewell) Date: Fri, 25 Jun 2004 08:26:09 +0100 Subject: Nagat Problem / Searching for Nagios configuration tool In-Reply-To: <40DAF9AA.7080501@cict.fr> References: <6943DE9E9934CD42BBE4A20E0E28E10E068D50@SYGOMAIL.GOE.AD.SYCOR.DE> <40DAF9AA.7080501@cict.fr> Message-ID: <40DBD391.5080301@volteurope.com> I use Nagmin as well - It's a little cumbersome in some ways, but it does work very well. I did have to add the eventhandlers into the config, but this was a trivial thing to do. Adding large numbers of hosts & services in one go via the web interface is a little tedious, but you can always write an SQL file and import it. Pete Dewell carole verdon wrote: > Hi, > > I use nagmin to manage my config files in database. I am satisfied with > this product. It simplifies the things. > > http://nagmin.sourceforge.net/ > > Carole. > > Sand Philipp wrote: > >> Hi, >> >> I try to set up Nagios with about 250 hosts and lots of services. I >> think jiggling around in all configuration files gets pretty hard with >> raising number of hosts. >> I'm useing template base configuration for hosts, services and >> hostextinfo. Just setted up Nagat, tried to import my config files, >> nagat reads the objects, the counter seems to show the right number of >> objects, but when i want to look at the objects I only see one line >> with an edit button next to it and no content. Anyone got that problem >> so far? Does nagat support template base cfg? Is there an alternative >> to nagat (i tried nawui, but couldn't get it to run :-/ )? What about >> Nagios 2.0 will there be a configuration interface? >> >> Regards, >> Philipp >> >> _____________________________ >> >> Philipp Sand >> OC-CC-TEC-SYS >> >> SYCOR GmbH >> Heinrich-von-Stephan-Stra?e 1-5 >> D - 37073 G?ttingen >> >> Telefon +49 (0) 551 / 490 - 0 >> Telefax +49 (0) 551 / 490 - 2000 >> >> philipp.sand at sycor.de >> www.sycor.de >> ------------------------------------------------ >> >> >> >> ************************************************ >> >> sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie >> >> www.sycor-plastics.de >> >> ************************************************ >> >> >> >> >> Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche >> Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e >> Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort >> und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine >> Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt >> rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, >> sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den >> Parteien vereinbart wurde. >> >> This e-mail is confidential and may contain personal and/or privileged >> information. If you are not the intended recipient please delete this >> e-mail and all attachments immediately and inform us. The company >> sycor does not agree with contracts or contract obligations sent by >> e-mail, neither do we transmit legally binding offers by e-mail, >> unless this is not expressly agreed upon between the parties and >> documented in written form. >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >> self defense, top technical experts, no vendor pitches, unmatched >> networking opportunities. Visit www.blackhat.com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> >> >> > -- Technical Support/Analyst Volt Europe Tel : (+44) (0) 1737 774100 Fax : (+44) (0) 1737 772949 Mobile : (+44) (0) 777 1513066 E-mail pete.dewell at volteurope.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdiehl at diehlnet.com Fri Jun 25 10:12:09 2004 From: mdiehl at diehlnet.com (Mike Diehl (Encrypted email preferred)) Date: Fri, 25 Jun 2004 02:12:09 -0600 Subject: Negating a test Message-ID: <200406250212.19453.mdiehl@diehlnet.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all. I'd like to know the easiest way to check if a service is NOT running. For example, I want an indication if any of my servers ARE running ftp. What's the easiest way to do this? Thanx, - -- Mike gpg key: http://diehlnet.com/~mdiehl/mdiehl.asc 83AD D927 758D 4BFC A800 0277 4B26 75A4 F0D1 C7EB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA295eSyZ1pPDRx+sRAnAZAKC2IJHpmZdR7TUVWHEjVW0pEN9vLQCePUTI pP9l7soA3jQm625wbuf1hfw= =UqIW -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Fri Jun 25 10:23:42 2004 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Fri, 25 Jun 2004 09:23:42 +0100 Subject: Negating a test Message-ID: <418B502A3861E242AFDED453F3D5B89C025C152F@i2km99-ukbr.domain1.systemhost.net> Hi Mike, The answer is in your subject. Use the negate command in /usr/local/nagios/libexec to reverse the plug in output. I.e. check a bunch of machines for FTP and only get alerts if they are running ftp. Cheers Tom -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Mike Diehl (Encrypted email preferred) Sent: 25 June 2004 09:12 To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Negating a test -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all. I'd like to know the easiest way to check if a service is NOT running. For example, I want an indication if any of my servers ARE running ftp. What's the easiest way to do this? Thanx, - -- Mike gpg key: http://diehlnet.com/~mdiehl/mdiehl.asc 83AD D927 758D 4BFC A800 0277 4B26 75A4 F0D1 C7EB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA295eSyZ1pPDRx+sRAnAZAKC2IJHpmZdR7TUVWHEjVW0pEN9vLQCePUTI pP9l7soA3jQm625wbuf1hfw= =UqIW -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 25 11:21:51 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 25 Jun 2004 11:21:51 +0200 Subject: Negating a test In-Reply-To: <200406250212.19453.mdiehl@diehlnet.com> References: <200406250212.19453.mdiehl@diehlnet.com> Message-ID: <40DBEEAF.9050302@op5.se> Mike Diehl (Encrypted email preferred) wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all. > > I'd like to know the easiest way to check if a service is NOT running. > > For example, I want an indication if any of my servers ARE running ftp. > If you're looking to stop wares-guys this approach is doomed to fail, since they don't have to run the ftp-server on the standard ftp port (and hardly ever do, since it'd be too easy to find them). Instead you should install some protocol analyzing packetsniffer (like snort) and have a data-miner daemon submit passive check-results to nagios if it encounters traffic of a certain type. > What's the easiest way to do this? > > Thanx, > > - -- > Mike -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Florian.Kirchmeir at infineon.com Fri Jun 25 12:34:53 2004 From: Florian.Kirchmeir at infineon.com (Florian.Kirchmeir at infineon.com) Date: Fri, 25 Jun 2004 12:34:53 +0200 Subject: Checking freshness Time period Message-ID: Hi all! I'd rather tie the freshness-checking to the check_period than the notification_period. I may have a restricted notification period (e.g., only notify during office hours), but still require freshness checking for the service 24x7, or some other time period. Regarding the retry interval: Hm, might be a nice feature, yes. I can think of a scenario where this would be really necessary, though. Can you come up with a good example? Regards, Florian -----Original Message----- From: Sumit Malhotra [mailto:smalhotra at dataarmor.net] Sent: Freitag, 25. Juni 2004 06:32 To: Kirchmeir Florian (IFAT IT OS) Cc: Nagios List Subject: Re: [Nagios-users] Checking freshness Time period Hi All!! I found the problem . Its more of Architecture issue in nagios The Passive check and active check when used separately works great ! But problem comes when the both need to be used simultaneously. Like in condition where the active checks needs to be forced when the results from the passive checks are not received .. The following requirements may be added to the coming version ( May be in 2.0 its there ... I haven't checked it ): 1. The number of Retry checks by passive check and Active Check ( the number of soft state the service should be): They should be separate, if used in conjunction. As I would like the number of active checks to be retried once. if the passive checks are not being received. 2. Notification period: The freshness check should be checked only in notification period stated in the definition.( or a separate parameter can be added) What do you think florian ??? Regards, Sumit ----- Original Message ----- From: To: Cc: Sent: Wednesday, June 23, 2004 7:33 PM Subject: RE: [Nagios-users] Checking freshness Time period Uhm, maybe I didn't make myself clear: Of course freshnes-checking should be done during the times defined as check_period. Outside those hours, when no service-check results are expected, freshness checking should be suspended. The way I understand your original post, that's what you would expect Nagios to do, right? Regards, Florian -----Original Message----- From: Sumit Malhotra [mailto:smalhotra at dataarmor.net] Sent: Mittwoch, 23. Juni 2004 15:40 To: Kirchmeir Florian (IFAT IT OS) Cc: Nagios List Subject: Re: [Nagios-users] Checking freshness Time period Hi Florian, The need for Freshness check is there in every case of NSCA.As you will not get any alert if you didn't get the passive check fo a service at all.( no Alert no action) Freshness check helps you in those cases .( Which has no relation with Notification period --- i am assuming) Regards, Sumit ----- Original Message ----- From: To: Cc: ; Sent: Wednesday, June 23, 2004 4:33 PM Subject: Re: [Nagios-users] Checking freshness Time period Hi all! Crossposting to nagios-devel, since this is rather a feature request. Sumit, as far as I understand, there is currently no (simple) way to make this work. Currently, you make a service "passive" by setting the check_period to "none". To me, this is rather a hack; it adds a side-affect to a configuration option that isn't obvious, and actually reduces functionallity. I'd prefer being able to set the check_period for passive services just like for active ones, and make it passive by explicitly setting "passive_checks_enabled=1" and "active_checks_enabled=0". Service-check results received outside the check_period (or rather: having a timestamp outside it; regardless of when it's received) should be discarded, and no freshness-checking should be performed. Please correct me if I'm wrong, and things do already work that way! It wasn't when I last checked... Regards, Florian Kirchmeir ----- Original Message -----= From: "Sumit Malhotra" To: "Nagios List" Subject: Re: [Nagios-users] Checking freshness Time period Date: Mon, 14 Jun 2004 20:31:08 +0530 This is a multi-part message in MIME format. ------=_NextPart_000_013F_01C4524E.860333A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can anybody help on this ???? -Sumit ----- Original Message -----=20 From: Sumit Malhotra=20 To: Nagios List=20 Sent: Friday, June 11, 2004 3:20 PM Subject: [Nagios-users] Checking freshness Time period Hi , I am using nagios 1.2 and nsca in combination . Both works great = together. I have configured for freshness check evrey 15 minutes( As shown = below) . In case it fails an alert is genrated via command noreport. It = works fine for 24*7 monitoring of services Problem comes when i want some service to be checked for 16*5 . I get = alerts even when i have configured the service are configured for = 16*5(check period) ( Although i am able to suppress teh alerts using = notification period i.e. by setting it to 16*5) but still there is a red = alert in the web interface .I would have loved to get a wall of "GREEN". ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wp.junior at terra.com.br Fri Jun 25 14:41:30 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Fri, 25 Jun 2004 09:41:30 -0300 Subject: nagios not running ??? In-Reply-To: References: Message-ID: <20040625123748.08DD73C0DA@talara.terra.com.br> Hi all. I've just installed a brand new rh9 box with nagios 1.2 compiled with-file-perfdata and nagios-plugins 1.4 alpha1. The cfg files are the same I have in production (rh 7.2, nagios 1.2 and nagios-plugins 1.3.1 - without perfdata). The new installation is running ok - the log seems ok and even the web interface shows the same results (hosts/services ok/down/critical/warning ...) as the production box. The problem: the new box shows: Warning: Monitoring process may not be running! Click here for more info It appears as though Nagios is not running, so commands are temporarily unavailable... Process Status: CRITICAL Check Command Output: Could not locate a running Nagios process! Could anybody help me? Regards Wilson -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Fri Jun 25 15:02:37 2004 From: benny at bennyvision.com (C. Bensend) Date: Fri, 25 Jun 2004 08:02:37 -0500 (CDT) Subject: Negating a test In-Reply-To: <40DBEEAF.9050302@op5.se> References: <200406250212.19453.mdiehl@diehlnet.com> <40DBEEAF.9050302@op5.se> Message-ID: <64131.63.227.74.41.1088168579.squirrel@webmail.stinkweasel.net> > If you're looking to stop wares-guys this approach is doomed to fail, > since they don't have to run the ftp-server on the standard ftp port > (and hardly ever do, since it'd be too easy to find them). The behavior he's asking about is also useful as a "sanity check," to make sure a service isn't re-enabled by accident, be it by administrative mistake or system upgrades/patches. Solaris is notorious for re-enabling services after patches are installed, for example. Benny -- "Oh, the Jedis are going to feel this one!" -- Professor Farnsworth, "Futurama" ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgursky at zmail.sk Fri Jun 25 16:19:23 2004 From: mgursky at zmail.sk (martin) Date: Fri, 25 Jun 2004 16:19:23 +0200 Subject: nagios and remote checking Message-ID: <40DC346B.2020709@zmail.sk> HI, i need help with nagios. Me questions: I installed a Nagios server and i want to monitor some remote hosts. What i need to install on these remote hosts? I just installed nrpe and nsca plugins but it didn't work. Do i need something more? Can you help me please ??? Thank for help. Martin Slovakia OS Mandrake 10, Nagios-1.2.rpm Remote hosts RH9.0 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Fri Jun 25 16:51:04 2004 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Fri, 25 Jun 2004 11:51:04 -0300 Subject: RES: nagios not running ??? Message-ID: This is because from Rh 7.2 to rh 9.0 , the ps -ef command show nagios in a different format. Try to give ps -ef command, look for the nagios command output , and then put this info on the check command in the cgi.cfg ( or is in the nagios.cfg , i don' remenber right now) hope it helps, Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Wilson Pires Jr [SMTP:wp.junior at terra.com.br] > Enviada em: sexta-feira, 25 de junho de 2004 09:42 > Para: 'nagios-users' > Assunto: [Nagios-users] nagios not running ??? > > Hi all. > > I've just installed a brand new rh9 box with nagios 1.2 compiled > with-file-perfdata and nagios-plugins 1.4 alpha1. The cfg files are the > same I have in production (rh 7.2, nagios 1.2 and nagios-plugins 1.3.1 - > without perfdata). > > The new installation is running ok - the log seems ok and even the > web interface shows the same results (hosts/services > ok/down/critical/warning ...) as the production box. > > The problem: the new box shows: > > Warning: Monitoring process may not be running! > Click here > for more info > > It appears as though Nagios is not running, so commands are > temporarily unavailable... > Process Status: > CRITICAL > Check Command Output: > Could not locate a running Nagios process! > > Could anybody help me? > > Regards > > Wilson ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wp.junior at terra.com.br Fri Jun 25 17:40:22 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Fri, 25 Jun 2004 12:40:22 -0300 Subject: nagios not running ??? In-Reply-To: References: Message-ID: <20040625153642.5FB823C05A@cuenca.terra.com.br> Thanks Marcio!!! I've changed the output to '[nagios]' and got the problem solved. Regards, Wilson -----Original Message----- From: Marcio Queiroz [mailto:marcioqueiroz at vicom.com.br] Sent: sexta-feira, 25 de junho de 2004 11:51 To: 'Wilson Pires Jr'; 'nagios-users' Subject: RES: [Nagios-users] nagios not running ??? This is because from Rh 7.2 to rh 9.0 , the ps -ef command show nagios in a different format. Try to give ps -ef command, look for the nagios command output , and then put this info on the check command in the cgi.cfg ( or is in the nagios.cfg , i don' remenber right now) hope it helps, Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Wilson Pires Jr [SMTP:wp.junior at terra.com.br] > Enviada em: sexta-feira, 25 de junho de 2004 09:42 > Para: 'nagios-users' > Assunto: [Nagios-users] nagios not running ??? > > Hi all. > > I've just installed a brand new rh9 box with nagios 1.2 compiled > with-file-perfdata and nagios-plugins 1.4 alpha1. The cfg files are the > same I have in production (rh 7.2, nagios 1.2 and nagios-plugins 1.3.1 - > without perfdata). > > The new installation is running ok - the log seems ok and even the > web interface shows the same results (hosts/services > ok/down/critical/warning ...) as the production box. > > The problem: the new box shows: > > Warning: Monitoring process may not be running! > Click here > for more info > > It appears as though Nagios is not running, so commands are > temporarily unavailable... > Process Status: > CRITICAL > Check Command Output: > Could not locate a running Nagios process! > > Could anybody help me? > > Regards > > Wilson ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JimiT at mail.cox.smu.edu Fri Jun 25 17:45:50 2004 From: JimiT at mail.cox.smu.edu (Thompson, Jimi) Date: Fri, 25 Jun 2004 10:45:50 -0500 Subject: MySQL Logging Problem Message-ID: <4B3F673172B98D449EBCC3BE8316F52403BA1788@exch4.elcsb.net> Hi, I have Nagios installed on a Gentoo Linux box using the Gentoo "emerge" packages. We've got it working except for a minor issue that I'm having difficulty troubleshooting. It says that it is unable to insert data into the hostretention table in the database. I've check this manually from the command line using the user name, password, and host name in my config files and I'm able to connect manually from the command line and do inserts into the table. I'm unclear as to why the Nagois process is having difficulty. My MySQL database and the Nagios process all live on the same host at this time. I've tried "localhost", IP address, as well as the FQDN and none of them seem to work. Pertinent Information - Gentoo - 2.4.25 MySQL - 4.0.18 Nagois - 1.1 nrpe - 2.0 nsca - 2.4 Any insights would be greatly appreciated, ? Ms. Jimi Thompson, CISSP Manager, Web Operations Cox School of Business Southern Methodist University ? "What kind of peace do we seek? Not a 'Pax Americana' enforced on the world by American weapons of war. Not the peace of the grave or the security of a slave. I am talking about genuine peace, the kind of peace that makes life on earth worth living, the kind that enables men and nations to grow and to hope and to build a better life for their children-not merely peace for Americans, but peace for all men and women; not merely peace in our time, but peace for all time." - John F. Kennedy ? ? ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JimiT at mail.cox.smu.edu Fri Jun 25 17:49:48 2004 From: JimiT at mail.cox.smu.edu (Thompson, Jimi) Date: Fri, 25 Jun 2004 10:49:48 -0500 Subject: Nagois not running ??? Message-ID: <4B3F673172B98D449EBCC3BE8316F52403BA178B@exch4.elcsb.net> Not to state the obvious, but have you manually verified that the Nagois process is or is not running? Jimi -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Wilson Pires Jr Sent: Friday, June 25, 2004 7:42 AM To: 'nagios-users' Subject: [Nagios-users] nagios not running ??? Hi all. I've just installed a brand new rh9 box with nagios 1.2 compiled with-file-perfdata and nagios-plugins 1.4 alpha1. The cfg files are the same I have in production (rh 7.2, nagios 1.2 and nagios-plugins 1.3.1 - without perfdata). The new installation is running ok - the log seems ok and even the web interface shows the same results (hosts/services ok/down/critical/warning ...) as the production box. The problem: the new box shows: Warning: Monitoring process may not be running! Click here for more info It appears as though Nagios is not running, so commands are temporarily unavailable... Process Status: CRITICAL Check Command Output: Could not locate a running Nagios process! Could anybody help me? Regards Wilson -------------- next part -------------- An HTML attachment was scrubbed... URL: From LLawrence at osc.uscg.mil Fri Jun 25 19:24:47 2004 From: LLawrence at osc.uscg.mil (Lawrence, Lynne) Date: Fri, 25 Jun 2004 13:24:47 -0400 Subject: issues with notifications Message-ID: <13828F680182D511893300508BD6831706E582A9@oscex2.osc.uscg.mil> It looks like you are having quoting issues. I use a similar notification command, but my quotes are not escaped. You might want to try removing the '\'s preceding each of your double quotes. Regards, Lynne Lawrence > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Mark > Shirley > Sent: Thursday, June 24, 2004 3:06 PM > To: pete.dewell at volteurope.com > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] issues with notifications > > > define contact { > use admins > contact_name mark > alias mark > email myemail at domain > pager page-me at domain > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email,notify-by-epager > host_notification_commands > host-notify-by-email,host-notify-by-epager > } > > my contact template is ... > > define contact { > name admins > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email,notify-by-epager > host_notification_commands > host-notify-by-email,host-notify-by-epager > register 0 > } > > > > On Thu, 24 Jun 2004 19:37:50 +0100, Pete Dewell > wrote: > > > > What's the contact definition for this address ? > > It looks like that has been badly defined in the config file. > > > > Pete Dewell > > > > > > Mark Shirley wrote: > > > > > host-notify-by-email > > > /usr/bin/printf \"%b\" \"***** Nagios *****\n\nNotification Type: > > > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > > > $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $DATETIME$\n\" | > > > /usr/bin/mail -s \"Host $HOSTSTATE$ alert for $HOSTNAME$!\" > > > $CONTACTEMAIL$ > > > > > > That is my current host-notify-by-email command. When a host DOWN > > > event occurs it says it sends the notification but I never recieve > > > one. Upon further investigating I notice in my mail > queue a returned > > > email from my local smtp server stating the following > > > > > > From MAILER-DAEMON Thu Jun 24 13:32:53 2004 > > > Return-path: <> > > > Envelope-to: nagios at helpdesk > > > Received: from mail by helpdesk-linux with local (Exim > 3.35 #1 (Debian)) > > > id 1BdY5l-0002xZ-00 > > > for ; Thu, 24 Jun 2004 13:32:53 -0400 > > > From: Mail Delivery System > > > To: nagios at helpdesk > > > Subject: Mail failure - malformed recipient address > > > Message-Id: > > > Date: Thu, 24 Jun 2004 13:32:53 -0400 > > > > > > A message that you sent contained a recipient address > that was incorrectly > > > constructed: > > > > > > my-host.domain.com!" unmatched doublequote in local > part (expected > > > word or "<") > > > > > > The message has not been delivered to any recipients. > > > > > > ------ This is a copy of your message, including all the > headers. ------ > > > > > > > > > To: alert, for, my-host.domain.com!", myemail at domain.com, UP > > > Subject: "Host > > > > > > > ""*****""Nagios""*****nnNotification""Type:""RECOVERYnHost:""m > y-host.domain.comnState:""UPnAddress:""1.1.1.1nInfo:""$nnDate/ > Time:""Thu""Jun""24""13:32:53""EDT""2004n"" > > > > > > -------- > > > Notice the To: line! > > > > > > It seems as though the line it's sending to `mail` is missing some > > > information. Could it be that "Host $HOSTSTATE$" is not > getting send > > > to it? I don't really understand how this could be happening. Is > > > there any other information i can provide to make things easier? > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by Black Hat Briefings & Training. > > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > > digital self defense, top technical experts, no vendor pitches, > > > unmatched networking opportunities. Visit www.blackhat.com > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) > and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > -- > > > > Technical Support/Analyst > > Volt Europe > > Tel : (+44) (0) 1737 774100 > > Fax : (+44) (0) 1737 772949 > > Mobile : (+44) (0) 777 1513066 > > E-mail pete.dewell at volteurope.com > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Jun 25 20:23:13 2004 From: teng at dataway.com (Tedman Eng) Date: Fri, 25 Jun 2004 11:23:13 -0700 Subject: Negating a test Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7280@dw-mail.dataway.com> I agree, Nagios is best used to monitor known services. Using it to find if any of your servers is running FTP, Quake servers, etc is best done by a tool made for that purpose. Nessus, nmap, and Foundstone's SuperScanner are all good and free tools to find open ports on your servers. Periodic vulnerability scans should be part of your (and everyone's) monitoring regiment. > -----Original Message----- > From: C. Bensend [mailto:benny at bennyvision.com] > Sent: Friday, June 25, 2004 6:03 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Negating a test > > > > > If you're looking to stop wares-guys this approach is > doomed to fail, > > since they don't have to run the ftp-server on the standard ftp port > > (and hardly ever do, since it'd be too easy to find them). > > The behavior he's asking about is also useful as a "sanity check," to > make sure a service isn't re-enabled by accident, be it by > administrative > mistake or system upgrades/patches. > > Solaris is notorious for re-enabling services after patches > are installed, > for example. > > Benny > > > -- > "Oh, the Jedis are going to feel this one!" -- > Professor Farnsworth, > "Futurama" > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sloane at ku.edu Fri Jun 25 20:36:55 2004 From: sloane at ku.edu (Sloane, Robert Raymond) Date: Fri, 25 Jun 2004 13:36:55 -0500 Subject: Monitoring systems behind a firewall. Message-ID: <759618CD64AD564AB3756EF0B33D8533015F6463@meadowlark2.home.ku.edu> Hi All, I am just getting started with Nagios 1.2, and I need to monitor some systems that are behind a firewall. There is no network access to these systems from the Nagios system, so I have to use passive checks to determine the remote system status. I created the host entry as follows: define host { name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host { use generic-host host_name firewall1 alias test firewall system address 192.168.1.1 #check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } and set up the service as: define service { name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use generic-service host_name firewall1 service_description TESTNSCA active_checks_enabled 0 passive_checks_enabled 1 check_freshness 1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_dummy!0 } The check_dummy command simply returns its argument. Note that active checks are disabled and that passive checks are enabled, and the freshness check is turned on. I expected this configuration to require that the remote system send a status every so often (freshness_check_interval=600) or be marked as down. It turns out that the system always appears to be up. If I send a passive service check saying the system is down, it gets marked as down for one check period and then comes back up again. As a test, I put "/bin/echo running >/tmp/checkout" in for the check command, and it appears that the check_command is running, even though active_checks_enabled is set to 0. What do I need to do to configure this system so that it only uses the passive checks? I have nsca working and reporting the system status, but I don't get any problems reported if nsca fails to report the status. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Fri Jun 25 22:03:21 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 25 Jun 2004 15:03:21 -0500 Subject: sending notifications to windows instant messenger Message-ID: <20040625200321.58962.qmail@restricted.dyndns.org> Hey guys, has anyone of you successfully implemented sending of notification to a Windows Instant Messenger? If so, can you send some links on how I can implement it. I found answers in Nagios FAQ but only for AOL and Yahoo Messenger. Thanks in advance. Neil ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdiehl at diehlnet.com Fri Jun 25 23:59:34 2004 From: mdiehl at diehlnet.com (Mike Diehl (Encrypted email preferred)) Date: Fri, 25 Jun 2004 15:59:34 -0600 Subject: Negating a test In-Reply-To: <418B502A3861E242AFDED453F3D5B89C025C152F@i2km99-ukbr.domain1.systemhost.net> References: <418B502A3861E242AFDED453F3D5B89C025C152F@i2km99-ukbr.domain1.systemhost.net> Message-ID: <200406251559.44538.mdiehl@diehlnet.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 25 June 2004 02:23 am, tom.welsh at bt.com wrote: > Hi Mike, > > The answer is in your subject. > Use the negate command in /usr/local/nagios/libexec to reverse the plug in > output. I.e. check a bunch of machines for FTP and only get alerts if they > are running ftp. Doh! Yup, this is exactly what I was looking for. Now I feel silly. Thanx, Mike. > Cheers > > Tom > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Mike Diehl > (Encrypted email preferred) > Sent: 25 June 2004 09:12 > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Negating a test > > > Hi all. > > I'd like to know the easiest way to check if a service is NOT running. > > For example, I want an indication if any of my servers ARE running ftp. > > What's the easiest way to do this? > > Thanx, - -- Mike gpg key: http://diehlnet.com/~mdiehl/mdiehl.asc 83AD D927 758D 4BFC A800 0277 4B26 75A4 F0D1 C7EB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA3KBKSyZ1pPDRx+sRAs6qAJ9MY4LGVRM65NON3PK6Yn9emu8zqACgrLAV Hwoq5s5lSrGeVLRkjLUmxD4= =l6Ti -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdiehl at diehlnet.com Sat Jun 26 00:10:25 2004 From: mdiehl at diehlnet.com (Mike Diehl (Encrypted email preferred)) Date: Fri, 25 Jun 2004 16:10:25 -0600 Subject: Negating a test In-Reply-To: <64131.63.227.74.41.1088168579.squirrel@webmail.stinkweasel.net> References: <200406250212.19453.mdiehl@diehlnet.com> <40DBEEAF.9050302@op5.se> <64131.63.227.74.41.1088168579.squirrel@webmail.stinkweasel.net> Message-ID: <200406251610.32985.mdiehl@diehlnet.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 25 June 2004 07:02 am, C. Bensend wrote: > > If you're looking to stop wares-guys this approach is doomed to fail, > > since they don't have to run the ftp-server on the standard ftp port > > (and hardly ever do, since it'd be too easy to find them). > > The behavior he's asking about is also useful as a "sanity check," to > make sure a service isn't re-enabled by accident, be it by administrative > mistake or system upgrades/patches. Exactly! I actually have a couple reasons for this function: 1. I sometime have to turn ftp on in order to transfer a file from a site that doesn't support scp. I also sometimes forget to turn if off. This is a critical failure IMHO given the volume of vulnerabilities that ftp seems to have. 2. I have a WiFi link with a few well enumerated hosts. If any "additional" hosts appear, I want to know about them. Of course there are others, also. It's been said that nagios is better suited for watching known services. While this sounds reasonable, I think of a known vulnerability as a "service" that I choose not to provide. Thank you for your time and comments. - -- Mike gpg key: http://diehlnet.com/~mdiehl/mdiehl.asc 83AD D927 758D 4BFC A800 0277 4B26 75A4 F0D1 C7EB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA3KLVSyZ1pPDRx+sRAvfCAKDBQUi5bCRxTXZHMfn12MQxX9mq9wCggYzz weXcZYuu4YyF4nO8sPYa74U= =BqKL -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Sat Jun 26 01:16:35 2004 From: teng at dataway.com (Tedman Eng) Date: Fri, 25 Jun 2004 16:16:35 -0700 Subject: sending notifications to windows instant messe nger Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7282@dw-mail.dataway.com> I have done so with IRC and a perl IRC module. I'm no perl monk, but the sample script provided with the module got me far enough to be able to send a message via Nagios, which is really all that's needed. There are perl modules for MSN Messenger as well, which could probably just as easily be adapted to send messages from Nagios. > -----Original Message----- > From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] > Sent: Friday, June 25, 2004 1:03 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] sending notifications to windows instant > messenger > > > Hey guys, > > has anyone of you successfully implemented sending of > notification to a > Windows Instant Messenger? If so, can you send some links on > how I can > implement it. I found answers in Nagios FAQ but only for AOL > and Yahoo > Messenger. > > Thanks in advance. > > Neil > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Sat Jun 26 08:17:48 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Sat, 26 Jun 2004 01:17:48 -0500 Subject: sending notifications to windows instant messe nger In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC7282@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC7282@dw-mail.dataway.com> Message-ID: <20040626061748.3835.qmail@restricted.dyndns.org> Hi Tedman, I actually found the perl module but there is very few documentation about it. I'm still trying to understand how it works but it's really tough. This is the link where I found Perl MSN module: http://www.hypothetic.org/docs/msn/resources/projects.php If you have any more information, that will be really awesome. Thanks again. Tedman Eng writes: > I have done so with IRC and a perl IRC module. I'm no perl monk, but the > sample script provided with the module got me far enough to be able to send > a message via Nagios, which is really all that's needed. There are perl > modules for MSN Messenger as well, which could probably just as easily be > adapted to send messages from Nagios. > > >> -----Original Message----- >> From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] >> Sent: Friday, June 25, 2004 1:03 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] sending notifications to windows instant >> messenger >> >> >> Hey guys, >> >> has anyone of you successfully implemented sending of >> notification to a >> Windows Instant Messenger? If so, can you send some links on >> how I can >> implement it. I found answers in Nagios FAQ but only for AOL >> and Yahoo >> Messenger. >> >> Thanks in advance. >> >> Neil >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >> digital self defense, top technical experts, no vendor pitches, >> unmatched networking opportunities. Visit www.blackhat.com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vbazrafshan at yahoo.com Sat Jun 26 09:17:25 2004 From: vbazrafshan at yahoo.com (vahid bazr afshan) Date: Sat, 26 Jun 2004 00:17:25 -0700 (PDT) Subject: check memory load Message-ID: <20040626071725.41970.qmail@web90101.mail.scd.yahoo.com> Hey guys, I've searched the archive,but could not find anything about check for memory usage at all. Does anybody know a plugin to check mem use on the remote machine(os:linux)? Sincerly yours, vahid __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sam at Luna.nl Sat Jun 26 11:50:07 2004 From: Sam at Luna.nl (Sam Terburg - Luna.nl) Date: Sat, 26 Jun 2004 11:50:07 +0200 Subject: sending notifications to windows instant messe nger References: <37ED92F9890FAF4BB947613C66FF8B1AFC7282@dw-mail.dataway.com> <20040626061748.3835.qmail@restricted.dyndns.org> Message-ID: <06e301c45b62$f686f9a0$248d4dd9@focuz.net> after reading this i got curious. clicking the link specified i found http://msnp.sourceforge.net/ below is a simple script that just sends 1 message. i'm planning on writing a more intelligent script that can alse receive messages, which will be interpreted into nagios commands, so that you can acknowledge the critical_notification nagios just send you by simply replying with 'acknowledged'. the login (and sending the message) takes about 8 seconds. quite long. so i should probably write a client/server version. i'll post it to the list when i got it all working. but that could take a month or so. i don't have mush time. Greetings, Sam Terburg Luna.nl #!/usr/bin/python2.2 import msnp import time class MsnListener(msnp.SessionCallbacks): def state_changed(self, state): if state == msnp.States.ONLINE: msn.start_chat('sam at luna.nl') def chat_started(self, chat): chat.send_message('a message') global hasSend hasSend=True msn = msnp.Session(MsnListener()) msn.login('nagios_luna at hotmail.com', '*****') hasSend=False while not hasSend: msn.process(chats=True) time.sleep(1) ----- Original Message ----- From: "Neil" To: "Tedman Eng" Cc: Sent: Saturday, June 26, 2004 08:17 Subject: [Nagios-users] Re: sending notifications to windows instant messe nger > Hi Tedman, > > I actually found the perl module but there is very few documentation about > it. I'm still trying to understand how it works but it's really tough. > > This is the link where I found Perl MSN module: > http://www.hypothetic.org/docs/msn/resources/projects.php > > If you have any more information, that will be really awesome. > > Thanks again. > > > Tedman Eng writes: > > > I have done so with IRC and a perl IRC module. I'm no perl monk, but the > > sample script provided with the module got me far enough to be able to send > > a message via Nagios, which is really all that's needed. There are perl > > modules for MSN Messenger as well, which could probably just as easily be > > adapted to send messages from Nagios. > > > > > >> -----Original Message----- > >> From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] > >> Sent: Friday, June 25, 2004 1:03 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] sending notifications to windows instant > >> messenger > >> > >> > >> Hey guys, > >> > >> has anyone of you successfully implemented sending of > >> notification to a > >> Windows Instant Messenger? If so, can you send some links on > >> how I can > >> implement it. I found answers in Nagios FAQ but only for AOL > >> and Yahoo > >> Messenger. > >> > >> Thanks in advance. > >> > >> Neil > >> > >> ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serwah_s_gh at yahoo.com Sat Jun 26 12:53:55 2004 From: serwah_s_gh at yahoo.com (serwah sabet ghadam) Date: Sat, 26 Jun 2004 03:53:55 -0700 (PDT) Subject: database and event handler Message-ID: <20040626105355.31166.qmail@web52307.mail.yahoo.com> Hi, I wanted to have alerts ad events in database too. according my search I found that in FAQ it waz suggested to use event hadlers to do this and configuring Nagios with DAtabase Support is another choice. I don't know which way is better. As I was searching I found that Nagios 2.0 doesn't have Database Support. Any way I'm using Nagios 1.2. Thank you all. S.S __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Sat Jun 26 20:16:34 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Sat, 26 Jun 2004 13:16:34 -0500 Subject: sending notifications to windows instant messe nger In-Reply-To: <06e301c45b62$f686f9a0$248d4dd9@focuz.net> References: <37ED92F9890FAF4BB947613C66FF8B1AFC7282@dw-mail.dataway.com> <20040626061748.3835.qmail@restricted.dyndns.org> <06e301c45b62$f686f9a0$248d4dd9@focuz.net> Message-ID: <20040626181635.56155.qmail@restricted.dyndns.org> I tried your got and the code on the website, when I try to login using my first hotmail account, my other GUI hotmail account which is connected in WindowsXP doesn't change the status to ONLINE. Message doesn't get sent too but without any errors? I have even tcpdump my connection on port 1863, and if I intentionally change my password to a wrong one, the python module tells me incorrect password which means, it's properly working. Any ideas? Thanks. Sam Terburg - Luna.nl writes: > after reading this i got curious. > clicking the link specified i found http://msnp.sourceforge.net/ > below is a simple script that just sends 1 message. > i'm planning on writing a more intelligent script that can alse receive > messages, which will be interpreted into nagios commands, so that you can > acknowledge the critical_notification nagios just send you by simply > replying with 'acknowledged'. > > the login (and sending the message) takes about 8 seconds. quite long. > so i should probably write a client/server version. > i'll post it to the list when i got it all working. > but that could take a month or so. i don't have mush time. > > Greetings, > > Sam Terburg > Luna.nl > > > > #!/usr/bin/python2.2 > > import msnp > import time > > class MsnListener(msnp.SessionCallbacks): > def state_changed(self, state): > if state == msnp.States.ONLINE: > msn.start_chat('sam at luna.nl') > def chat_started(self, chat): > chat.send_message('a message') > global hasSend > hasSend=True > > > msn = msnp.Session(MsnListener()) > msn.login('nagios_luna at hotmail.com', '*****') > > hasSend=False > > while not hasSend: > msn.process(chats=True) > time.sleep(1) > > > ----- Original Message ----- > From: "Neil" > To: "Tedman Eng" > Cc: > Sent: Saturday, June 26, 2004 08:17 > Subject: [Nagios-users] Re: sending notifications to windows instant messe > nger > > >> Hi Tedman, >> >> I actually found the perl module but there is very few documentation about >> it. I'm still trying to understand how it works but it's really tough. >> >> This is the link where I found Perl MSN module: >> http://www.hypothetic.org/docs/msn/resources/projects.php >> >> If you have any more information, that will be really awesome. >> >> Thanks again. >> >> >> Tedman Eng writes: >> >> > I have done so with IRC and a perl IRC module. I'm no perl monk, but > the >> > sample script provided with the module got me far enough to be able to > send >> > a message via Nagios, which is really all that's needed. There are perl >> > modules for MSN Messenger as well, which could probably just as easily > be >> > adapted to send messages from Nagios. >> > >> > >> >> -----Original Message----- >> >> From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] >> >> Sent: Friday, June 25, 2004 1:03 PM >> >> To: nagios-users at lists.sourceforge.net >> >> Subject: [Nagios-users] sending notifications to windows instant >> >> messenger >> >> >> >> >> >> Hey guys, >> >> >> >> has anyone of you successfully implemented sending of >> >> notification to a >> >> Windows Instant Messenger? If so, can you send some links on >> >> how I can >> >> implement it. I found answers in Nagios FAQ but only for AOL >> >> and Yahoo >> >> Messenger. >> >> >> >> Thanks in advance. >> >> >> >> Neil >> >> >> >> > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at demogeot.net Sat Jun 26 23:42:33 2004 From: nagios at demogeot.net (Thierry Demogeot) Date: Sat, 26 Jun 2004 23:42:33 +0200 Subject: reporting notification log issue Message-ID: <40DDEDC9.3080804@demogeot.net> Hi I am a new nagios user. I have nagios installed, configured and running. Set up web interface and monitoring a few hosts/routers. Monitoring itself and notification via email are both working fine as well as various Monitroing view from the web interface. I am trying to use Reporting, Trends, Availability, ... and have some issue. While trying to see Trends (for service that failed a couple of time), I got the nice png with all zero (ok, warning, unkn.,crit.,int). Same if I try to see Alert History: there i can just see time of nagios restart. No info regarding Alert history...whereas I received Alert by email. Note: In nagios.cfg I have turned on use_syslog=1 and I can see that Alert are logged to syslog (/var/log/syslog). My undestanding is that cgi scripts (like trends.cgi) look into /usr/local/nagios/var/nagios.log to figure out what's the trend is ? But I cannot see any Alert in nagios.log ( /usr/local/nagios/var/nagios.log) ? Is this normal ? Any idea what I could have missed during the installation to prebent me seeing history and trends displayed properly ? Thanks in advance Cheers PS: below a couple of detailled information. --- Alert History result (via history.cgi): [26-06-2004 18:00:29] Nagios 1.2 starting... (PID=32323) [26-06-2004 15:24:57] Nagios 1.2 starting... (PID=2726) [26-06-2004 15:09:54] Nagios 1.2 starting... (PID=31242) [26-06-2004 14:51:48] Nagios 1.2 starting... (PID=20014) [26-06-2004 14:40:25] Nagios 1.2 starting... (PID=19797) [26-06-2004 13:34:02] Nagios 1.2 starting... (PID=26090) [26-06-2004 11:59:06] Nagios 1.2 starting... (PID=30323) [26-06-2004 10:24:09] Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=27840) [26-06-2004 10:24:09] Nagios 1.2 starting... (PID=27840) --- /usr/local/nagios/var/nagios.log root# more /usr/local/nagios/var/nagios.log [1088238249] Error: Cannot open main configuration file '/usr/local/nagios/bin/start' for read ing! [1088238249] Nagios 1.2 starting... (PID=27840) [1088238249] Bailing out due to one or more errors encountered in the configuration files. Ru n Nagios from the command line with the -v option to verify your config before restarting. (PI D=27840) [1088243946] Nagios 1.2 starting... (PID=30323) [1088243946] Finished daemonizing... (New PID=30324) [1088249642] Nagios 1.2 starting... (PID=26090) [1088249642] Finished daemonizing... (New PID=26091) [1088253625] Nagios 1.2 starting... (PID=19797) [1088253625] Finished daemonizing... (New PID=19798) [1088254308] Nagios 1.2 starting... (PID=20014) [1088254308] Finished daemonizing... (New PID=20015) [1088255394] Nagios 1.2 starting... (PID=31242) [1088255394] Finished daemonizing... (New PID=31243) [1088256297] Nagios 1.2 starting... (PID=2726) [1088256297] Finished daemonizing... (New PID=2727) [1088265629] Nagios 1.2 starting... (PID=32323) [1088265629] Finished daemonizing... (New PID=32324) toonlite:/home/thierry/d2/libpng-1.2.5# --- /var/log/syslog extract Jun 26 18:03:49 toonlite nagios: SERVICE ALERT: vip.msw.lnd.m2m;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 15.30 ms Jun 26 18:46:09 toonlite nagios: HOST ALERT: ipphone.tdhome.val.ch.m2m;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Jun 26 18:46:19 toonlite nagios: HOST ALERT: ipphone.tdhome.val.ch.m2m;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Jun 26 18:46:29 toonlite nagios: HOST ALERT: ipphone.tdhome.val.ch.m2m;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds Jun 26 18:46:39 toonlite nagios: HOST ALERT: ipphone.tdhome.val.ch.m2m;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds Jun 26 18:46:49 toonlite nagios: HOST ALERT: ipphone.tdhome.val.ch.m2m;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds Jun 26 18:46:59 toonlite nagios: HOST ALERT: ipphone.tdhome.val.ch.m2m;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seconds Jun 26 18:47:09 toonlite nagios: HOST ALERT: ipphone.tdhome.val.ch.m2m;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 seconds Jun 26 18:47:19 toonlite nagios: HOST ALERT: ipphone.tdhome.val.ch.m2m;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 seconds Jun 26 18:47:29 toonlite nagios: HOST ALERT: ipphone.tdhome.val.ch.m2m;DOWN;SOFT;9;CRITICAL - Plugin timed out after 10 seconds Jun 26 18:47:39 toonlite nagios: HOST ALERT: ipphone.tdhome.val.ch.m2m;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds Jun 26 18:47:39 toonlite nagios: HOST NOTIFICATION: nagios;ipphone.tdhome.val.ch.m2m;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds Jun 26 18:47:39 toonlite nagios: SERVICE ALERT: ipphone.tdhome.val.ch.m2m;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds Jun 26 18:51:59 toonlite nagios: HOST ALERT: ipphone.tdhome.val.ch.m2m;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 28.10 ms Jun 26 18:51:59 toonlite nagios: HOST NOTIFICATION: nagios;ipphone.tdhome.val.ch.m2m;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 28.10 ms Jun 26 18:51:59 toonlite nagios: SERVICE ALERT: ipphone.tdhome.val.ch.m2m;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 28.00 ms Jun 26 19:00:29 toonlite nagios: Auto-save of retention data completed successfully. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From M.Arndt at science-computing.de Sun Jun 27 15:45:26 2004 From: M.Arndt at science-computing.de (Michael Arndt) Date: Sun, 27 Jun 2004 15:45:26 +0200 Subject: "Multi homed hosts", Event history in database Message-ID: <20040627154526.A97208@blnsrv1.science-computing.de> Hello * I) has anyone a good proposal for monitoring multi-homed hosts ? AFAIK, the solution proposed in the FAQ has a drawback: -plugins have to "learn" how to interprete a list of IP Addresses Thats easy for perlies, but would mean modifying every binary plugin source (not good with respect to upgrades) ? goal: monitoring many multihomed hosts, some offering services on three or more interfaces our Default: configure each IF as separate "host", then create hostgroups ... drawback: many hosts in the GUI view ... Is it possible to modify macros "on the fly" similar to apache rewrite rules ? II) storing events in external DB using event handlers: has anyone using this feature implemented a cgi, that shows up those database entries back in nagios ? we use global event handlers to store all events to db TIA Micha ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Mon Jun 28 01:30:48 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Sun, 27 Jun 2004 18:30:48 -0500 (CDT) Subject: "Multi homed hosts", Event history in database In-Reply-To: <20040627154526.A97208@blnsrv1.science-computing.de> References: <20040627154526.A97208@blnsrv1.science-computing.de> Message-ID: On Sun, 27 Jun 2004, Michael Arndt wrote: > Hello * > > I) has anyone a good proposal for monitoring multi-homed > hosts ? The way I would tackle this is to have one IP address as the canonical IP for the machine. You could choose the canonical IP based on subnet, public vs private, or some other method that makes sense in your network. >From there, I would assign the remaining IPs for that machine as service checks only by passing them as arguments to the plugins. This will cause all the service checks to appear under the same host and allow you to add an arbitrary list of service/IP combos. Good luck. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serwah_s_gh at yahoo.com Mon Jun 28 08:51:06 2004 From: serwah_s_gh at yahoo.com (serwah sabet ghadam) Date: Sun, 27 Jun 2004 23:51:06 -0700 (PDT) Subject: e v e n t h a n d l e r s ??? Message-ID: <20040628065106.68056.qmail@web52305.mail.yahoo.com> Hi, I have problems with event handlers: I studied the Event Handler part and did opun it: 1- I made a subdirectory (eventhandlers) in libexec and put my files there. (for example a shell script). Of course I tested it with files being in libexec too. 2- I changed checkcommands.cfg and services.cfg to use this event handler. BTW I get no results. (for example nothing is echoed according to my shell script) I checked the web interface to see the service states. all of them were HARD. According to the conditions that event ahndlers are executed: In soft state, going to hard state and recovery from hard state, Does being stable in HARD state have caused this problem??? I realy appriciate any help. S.S __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Mon Jun 28 09:15:32 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 28 Jun 2004 09:15:32 +0200 Subject: sending notifications to windows instant messe nger In-Reply-To: <20040626181635.56155.qmail@restricted.dyndns.org> References: <37ED92F9890FAF4BB947613C66FF8B1AFC7282@dw-mail.dataway.com> <20040626061748.3835.qmail@restricted.dyndns.org> <06e301c45b62$f686f9a0$248d4dd9@focuz.net> <20040626181635.56155.qmail@restricted.dyndns.org> Message-ID: <40DFC594.2060103@op5.se> Neil wrote: > I tried your got and the code on the website, when I try to login using > my first hotmail account, my other GUI hotmail account which is > connected in WindowsXP doesn't change the status to ONLINE. Message > doesn't get sent too but without any errors? I have even tcpdump my > connection on port 1863, and if I intentionally change my password to a > wrong one, the python module tells me incorrect password which means, > it's properly working. > Any ideas? I believe MSN utilizes some sort of stateful protocol. If that's correct, you'd have to use a daemon to maintain the connection in order for it to work properly. > Thanks. > Sam Terburg - Luna.nl writes: > >> after reading this i got curious. >> clicking the link specified i found http://msnp.sourceforge.net/ >> below is a simple script that just sends 1 message. >> i'm planning on writing a more intelligent script that can alse receive >> messages, which will be interpreted into nagios commands, so that you can >> acknowledge the critical_notification nagios just send you by simply >> replying with 'acknowledged'. >> the login (and sending the message) takes about 8 seconds. quite long. >> so i should probably write a client/server version. >> i'll post it to the list when i got it all working. >> but that could take a month or so. i don't have mush time. >> Greetings, >> Sam Terburg >> Luna.nl >> >> >> #!/usr/bin/python2.2 >> import msnp >> import time >> class MsnListener(msnp.SessionCallbacks): >> def state_changed(self, state): >> if state == msnp.States.ONLINE: >> msn.start_chat('sam at luna.nl') >> def chat_started(self, chat): >> chat.send_message('a message') >> global hasSend >> hasSend=True >> >> msn = msnp.Session(MsnListener()) >> msn.login('nagios_luna at hotmail.com', '*****') >> hasSend=False >> while not hasSend: >> msn.process(chats=True) >> time.sleep(1) >> >> ----- Original Message ----- From: "Neil" >> >> To: "Tedman Eng" >> Cc: >> Sent: Saturday, June 26, 2004 08:17 >> Subject: [Nagios-users] Re: sending notifications to windows instant >> messe >> nger >> >>> Hi Tedman, >>> I actually found the perl module but there is very few documentation >>> about >>> it. I'm still trying to understand how it works but it's really tough. >>> This is the link where I found Perl MSN module: >>> http://www.hypothetic.org/docs/msn/resources/projects.php >>> If you have any more information, that will be really awesome. >>> Thanks again. >>> >>> Tedman Eng writes: >>> > I have done so with IRC and a perl IRC module. I'm no perl monk, but >> >> the >> >>> > sample script provided with the module got me far enough to be able to >> >> send >> >>> > a message via Nagios, which is really all that's needed. There are >>> perl >>> > modules for MSN Messenger as well, which could probably just as easily >> >> be >> >>> > adapted to send messages from Nagios. >>> > >>> > >>> >> -----Original Message----- >>> >> From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] >>> >> Sent: Friday, June 25, 2004 1:03 PM >>> >> To: nagios-users at lists.sourceforge.net >>> >> Subject: [Nagios-users] sending notifications to windows instant >>> >> messenger >>> >> >>> >> >>> >> Hey guys, >>> >> >>> >> has anyone of you successfully implemented sending of >>> >> notification to a >>> >> Windows Instant Messenger? If so, can you send some links on >>> >> how I can >>> >> implement it. I found answers in Nagios FAQ but only for AOL >>> >> and Yahoo >>> >> Messenger. >>> >> >>> >> Thanks in advance. >>> >> >>> >> Neil >>> >> >>> >> >> -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From r.nagy at nameshield.net Mon Jun 28 09:56:51 2004 From: r.nagy at nameshield.net (Richard NAGY) Date: Mon, 28 Jun 2004 09:56:51 +0200 Subject: reporting notification log issue In-Reply-To: <40DDEDC9.3080804@demogeot.net> References: <40DDEDC9.3080804@demogeot.net> Message-ID: <40DFCF43.1000605@nameshield.net> Hello Thierry, The nagios process was probably running under the nagios user, which is good. Log files was owned by nagios as well. But these were probably not readable by the group 'other', which was the group the apache user was in. So apache (via CGI) could not read the files. The archives directory (and its files) also must be readable by apache. Log files are important for nagios as it use them to procuce graphs. Hope this helps. PS : seems you have problem with nagios.cfg. Where is it located? Does nagios look for this file at the right place? ( " [1088238249] Error: Cannot open main configuration file '/usr/local/nagios/bin/start' for reading! ") Thierry Demogeot a ?crit : > Hi > > I am a new nagios user. > > I have nagios installed, configured and running. Set up web interface > and monitoring a few hosts/routers. > > Monitoring itself and notification via email > are both working fine as well as various Monitroing view from the web > interface. > > I am trying to use Reporting, Trends, Availability, ... and have some > issue. While trying to see Trends (for service that failed a couple of > time), I got the nice png with all zero (ok, warning, unkn.,crit.,int). > > Same if I try to see Alert History: there i can just see time of nagios > restart. No info regarding Alert history...whereas I received Alert by > email. > > Note: > In nagios.cfg I have turned on use_syslog=1 and > I can see that Alert are logged to syslog (/var/log/syslog). > My undestanding is that cgi scripts (like trends.cgi) look into > /usr/local/nagios/var/nagios.log to figure out what's the trend is ? But > I cannot see any Alert in nagios.log ( /usr/local/nagios/var/nagios.log) > ? Is this normal ? > > > Any idea what I could have missed during the installation to prebent > me seeing history and trends displayed properly ? > > Thanks in advance > Cheers > > PS: below a couple of detailled information. > > --- Alert History result (via history.cgi): > > [26-06-2004 18:00:29] Nagios 1.2 starting... (PID=32323) > > [26-06-2004 15:24:57] Nagios 1.2 starting... (PID=2726) > [26-06-2004 15:09:54] Nagios 1.2 starting... (PID=31242) > > [26-06-2004 14:51:48] Nagios 1.2 starting... (PID=20014) > > [26-06-2004 14:40:25] Nagios 1.2 starting... (PID=19797) > > [26-06-2004 13:34:02] Nagios 1.2 starting... (PID=26090) > > [26-06-2004 11:59:06] Nagios 1.2 starting... (PID=30323) > > [26-06-2004 10:24:09] Bailing out due to one or more errors encountered > in the configuration files. Run Nagios from the command line with the -v > option to verify your config before restarting. (PID=27840) > [26-06-2004 10:24:09] Nagios 1.2 starting... (PID=27840) > > > > --- /usr/local/nagios/var/nagios.log > root# more /usr/local/nagios/var/nagios.log > [1088238249] Error: Cannot open main configuration file > '/usr/local/nagios/bin/start' for read > ing! > [1088238249] Nagios 1.2 starting... (PID=27840) > [1088238249] Bailing out due to one or more errors encountered in the > configuration files. Ru > n Nagios from the command line with the -v option to verify your config > before restarting. (PI > D=27840) > [1088243946] Nagios 1.2 starting... (PID=30323) > [1088243946] Finished daemonizing... (New PID=30324) > [1088249642] Nagios 1.2 starting... (PID=26090) > [1088249642] Finished daemonizing... (New PID=26091) > [1088253625] Nagios 1.2 starting... (PID=19797) > [1088253625] Finished daemonizing... (New PID=19798) > [1088254308] Nagios 1.2 starting... (PID=20014) > [1088254308] Finished daemonizing... (New PID=20015) > [1088255394] Nagios 1.2 starting... (PID=31242) > [1088255394] Finished daemonizing... (New PID=31243) > [1088256297] Nagios 1.2 starting... (PID=2726) > [1088256297] Finished daemonizing... (New PID=2727) > [1088265629] Nagios 1.2 starting... (PID=32323) > [1088265629] Finished daemonizing... (New PID=32324) > toonlite:/home/thierry/d2/libpng-1.2.5# > > --- /var/log/syslog extract > Jun 26 18:03:49 toonlite nagios: SERVICE ALERT: > vip.msw.lnd.m2m;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 15.30 ms > Jun 26 18:46:09 toonlite nagios: HOST ALERT: > ipphone.tdhome.val.ch.m2m;DOWN;SOFT;1;CRITICAL - Plugin timed out after > 10 seconds > Jun 26 18:46:19 toonlite nagios: HOST ALERT: > ipphone.tdhome.val.ch.m2m;DOWN;SOFT;2;CRITICAL - Plugin timed out after > 10 seconds > Jun 26 18:46:29 toonlite nagios: HOST ALERT: > ipphone.tdhome.val.ch.m2m;DOWN;SOFT;3;CRITICAL - Plugin timed out after > 10 seconds > Jun 26 18:46:39 toonlite nagios: HOST ALERT: > ipphone.tdhome.val.ch.m2m;DOWN;SOFT;4;CRITICAL - Plugin timed out after > 10 seconds > Jun 26 18:46:49 toonlite nagios: HOST ALERT: > ipphone.tdhome.val.ch.m2m;DOWN;SOFT;5;CRITICAL - Plugin timed out after > 10 seconds > Jun 26 18:46:59 toonlite nagios: HOST ALERT: > ipphone.tdhome.val.ch.m2m;DOWN;SOFT;6;CRITICAL - Plugin timed out after > 10 seconds > Jun 26 18:47:09 toonlite nagios: HOST ALERT: > ipphone.tdhome.val.ch.m2m;DOWN;SOFT;7;CRITICAL - Plugin timed out after > 10 seconds > Jun 26 18:47:19 toonlite nagios: HOST ALERT: > ipphone.tdhome.val.ch.m2m;DOWN;SOFT;8;CRITICAL - Plugin timed out after > 10 seconds > Jun 26 18:47:29 toonlite nagios: HOST ALERT: > ipphone.tdhome.val.ch.m2m;DOWN;SOFT;9;CRITICAL - Plugin timed out after > 10 seconds > Jun 26 18:47:39 toonlite nagios: HOST ALERT: > ipphone.tdhome.val.ch.m2m;DOWN;HARD;10;CRITICAL - Plugin timed out after > 10 seconds > Jun 26 18:47:39 toonlite nagios: HOST NOTIFICATION: > nagios;ipphone.tdhome.val.ch.m2m;DOWN;host-notify-by-email;CRITICAL - > Plugin timed out after 10 seconds > Jun 26 18:47:39 toonlite nagios: SERVICE ALERT: > ipphone.tdhome.val.ch.m2m;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed > out after 10 seconds > Jun 26 18:51:59 toonlite nagios: HOST ALERT: > ipphone.tdhome.val.ch.m2m;UP;HARD;1;PING OK - Packet loss = 0%, RTA = > 28.10 ms > Jun 26 18:51:59 toonlite nagios: HOST NOTIFICATION: > nagios;ipphone.tdhome.val.ch.m2m;UP;host-notify-by-email;PING OK - > Packet loss = 0%, RTA = 28.10 ms > Jun 26 18:51:59 toonlite nagios: SERVICE ALERT: > ipphone.tdhome.val.ch.m2m;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA > = 28.00 ms > Jun 26 19:00:29 toonlite nagios: Auto-save of retention data completed > successfully. > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at demogeot.net Mon Jun 28 10:59:13 2004 From: nagios at demogeot.net (Thierry Demogeot) Date: Mon, 28 Jun 2004 10:59:13 +0200 Subject: reporting notification log issue In-Reply-To: <40DFCF43.1000605@nameshield.net> References: <40DDEDC9.3080804@demogeot.net> <40DFCF43.1000605@nameshield.net> Message-ID: <40DFDDE1.60109@demogeot.net> Hi Richard, Thanks for the help and advice. nagios.log was readable by http process. problem has solved by itself: for any reason, - Alert History start working the second day nagios was running (whereas the first day it didn't work). - Trends display start working the third day (this AM CET). whereas it didn't work well the fisrt two days. I guess various logging and parsing script of nagios only work well when there is a few historical data (they are "lost" when nagios has just been configured and started?). Thanks Thierry Richard NAGY wrote: > Hello Thierry, > > The nagios process was probably running under the nagios user, which is > good. Log files was owned by nagios as well. But these were probably not > readable by the group 'other', which was the group the apache user was > in. So apache (via CGI) could not read the files. The archives directory > (and its files) also must be readable by apache. Log files are important > for nagios as it use them to procuce graphs. > > Hope this helps. > > PS : seems you have problem with nagios.cfg. Where is it located? Does > nagios look for this file at the right place? ( " [1088238249] Error: > Cannot open main configuration file '/usr/local/nagios/bin/start' for > reading! ") > > Thierry Demogeot a ?crit : > >> Hi >> >> I am a new nagios user. >> >> I have nagios installed, configured and running. Set up web interface >> and monitoring a few hosts/routers. >> >> Monitoring itself and notification via email >> are both working fine as well as various Monitroing view from the web >> interface. >> >> I am trying to use Reporting, Trends, Availability, ... and have some >> issue. While trying to see Trends (for service that failed a couple of >> time), I got the nice png with all zero (ok, warning, unkn.,crit.,int). >> >> Same if I try to see Alert History: there i can just see time of nagios >> restart. No info regarding Alert history...whereas I received Alert by >> email. >> >> Note: >> In nagios.cfg I have turned on use_syslog=1 and >> I can see that Alert are logged to syslog (/var/log/syslog). >> My undestanding is that cgi scripts (like trends.cgi) look into >> /usr/local/nagios/var/nagios.log to figure out what's the trend is ? But >> I cannot see any Alert in nagios.log ( /usr/local/nagios/var/nagios.log) >> ? Is this normal ? >> >> >> Any idea what I could have missed during the installation to prebent >> me seeing history and trends displayed properly ? >> >> Thanks in advance >> Cheers >> >> PS: below a couple of detailled information. >> >> --- Alert History result (via history.cgi): >> >> [26-06-2004 18:00:29] Nagios 1.2 starting... (PID=32323) >> >> [26-06-2004 15:24:57] Nagios 1.2 starting... (PID=2726) >> [26-06-2004 15:09:54] Nagios 1.2 starting... (PID=31242) >> >> [26-06-2004 14:51:48] Nagios 1.2 starting... (PID=20014) >> >> [26-06-2004 14:40:25] Nagios 1.2 starting... (PID=19797) >> >> [26-06-2004 13:34:02] Nagios 1.2 starting... (PID=26090) >> >> [26-06-2004 11:59:06] Nagios 1.2 starting... (PID=30323) >> >> [26-06-2004 10:24:09] Bailing out due to one or more errors encountered >> in the configuration files. Run Nagios from the command line with the -v >> option to verify your config before restarting. (PID=27840) >> [26-06-2004 10:24:09] Nagios 1.2 starting... (PID=27840) >> >> >> >> --- /usr/local/nagios/var/nagios.log >> root# more /usr/local/nagios/var/nagios.log >> [1088238249] Error: Cannot open main configuration file >> '/usr/local/nagios/bin/start' for read >> ing! >> [1088238249] Nagios 1.2 starting... (PID=27840) >> [1088238249] Bailing out due to one or more errors encountered in the >> configuration files. Ru >> n Nagios from the command line with the -v option to verify your config >> before restarting. (PI >> D=27840) >> [1088243946] Nagios 1.2 starting... (PID=30323) >> [1088243946] Finished daemonizing... (New PID=30324) >> [1088249642] Nagios 1.2 starting... (PID=26090) >> [1088249642] Finished daemonizing... (New PID=26091) >> [1088253625] Nagios 1.2 starting... (PID=19797) >> [1088253625] Finished daemonizing... (New PID=19798) >> [1088254308] Nagios 1.2 starting... (PID=20014) >> [1088254308] Finished daemonizing... (New PID=20015) >> [1088255394] Nagios 1.2 starting... (PID=31242) >> [1088255394] Finished daemonizing... (New PID=31243) >> [1088256297] Nagios 1.2 starting... (PID=2726) >> [1088256297] Finished daemonizing... (New PID=2727) >> [1088265629] Nagios 1.2 starting... (PID=32323) >> [1088265629] Finished daemonizing... (New PID=32324) >> toonlite:/home/thierry/d2/libpng-1.2.5# >> >> --- /var/log/syslog extract >> Jun 26 18:03:49 toonlite nagios: SERVICE ALERT: >> vip.msw.lnd.m2m;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 15.30 ms >> Jun 26 18:46:09 toonlite nagios: HOST ALERT: >> ipphone.tdhome.val.ch.m2m;DOWN;SOFT;1;CRITICAL - Plugin timed out after >> 10 seconds >> Jun 26 18:46:19 toonlite nagios: HOST ALERT: >> ipphone.tdhome.val.ch.m2m;DOWN;SOFT;2;CRITICAL - Plugin timed out after >> 10 seconds >> Jun 26 18:46:29 toonlite nagios: HOST ALERT: >> ipphone.tdhome.val.ch.m2m;DOWN;SOFT;3;CRITICAL - Plugin timed out after >> 10 seconds >> Jun 26 18:46:39 toonlite nagios: HOST ALERT: >> ipphone.tdhome.val.ch.m2m;DOWN;SOFT;4;CRITICAL - Plugin timed out after >> 10 seconds >> Jun 26 18:46:49 toonlite nagios: HOST ALERT: >> ipphone.tdhome.val.ch.m2m;DOWN;SOFT;5;CRITICAL - Plugin timed out after >> 10 seconds >> Jun 26 18:46:59 toonlite nagios: HOST ALERT: >> ipphone.tdhome.val.ch.m2m;DOWN;SOFT;6;CRITICAL - Plugin timed out after >> 10 seconds >> Jun 26 18:47:09 toonlite nagios: HOST ALERT: >> ipphone.tdhome.val.ch.m2m;DOWN;SOFT;7;CRITICAL - Plugin timed out after >> 10 seconds >> Jun 26 18:47:19 toonlite nagios: HOST ALERT: >> ipphone.tdhome.val.ch.m2m;DOWN;SOFT;8;CRITICAL - Plugin timed out after >> 10 seconds >> Jun 26 18:47:29 toonlite nagios: HOST ALERT: >> ipphone.tdhome.val.ch.m2m;DOWN;SOFT;9;CRITICAL - Plugin timed out after >> 10 seconds >> Jun 26 18:47:39 toonlite nagios: HOST ALERT: >> ipphone.tdhome.val.ch.m2m;DOWN;HARD;10;CRITICAL - Plugin timed out after >> 10 seconds >> Jun 26 18:47:39 toonlite nagios: HOST NOTIFICATION: >> nagios;ipphone.tdhome.val.ch.m2m;DOWN;host-notify-by-email;CRITICAL - >> Plugin timed out after 10 seconds >> Jun 26 18:47:39 toonlite nagios: SERVICE ALERT: >> ipphone.tdhome.val.ch.m2m;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed >> out after 10 seconds >> Jun 26 18:51:59 toonlite nagios: HOST ALERT: >> ipphone.tdhome.val.ch.m2m;UP;HARD;1;PING OK - Packet loss = 0%, RTA = >> 28.10 ms >> Jun 26 18:51:59 toonlite nagios: HOST NOTIFICATION: >> nagios;ipphone.tdhome.val.ch.m2m;UP;host-notify-by-email;PING OK - >> Packet loss = 0%, RTA = 28.10 ms >> Jun 26 18:51:59 toonlite nagios: SERVICE ALERT: >> ipphone.tdhome.val.ch.m2m;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA >> = 28.00 ms >> Jun 26 19:00:29 toonlite nagios: Auto-save of retention data completed >> successfully. >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >> self defense, top technical experts, no vendor pitches, unmatched >> networking opportunities. Visit www.blackhat.com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Pilar.Sanchez at cedex.es Mon Jun 28 11:58:18 2004 From: Pilar.Sanchez at cedex.es (Pilar Sanchez) Date: Mon, 28 Jun 2004 11:58:18 +0200 Subject: error with NRPE Message-ID: <40DFEBBA.1080908@cedex.es> hello I'm using nrpe to check a remote host's services and I have allways the same message: CHECK_NRPE: Receive underflow. Only 707 bytes received (1040 expected). I've checked the nrpe.cfg, the inetd.conf, and I think everything is ok. I've tried to find something about this error message, without success. Could someone give me any idea about this problem? Thanks in advance. -- ******************************************* Pilar S?nchez Fern?ndez Comunicaciones CEDEX C/ Alfonso XII n? 3 y 5 Tel: 91 335 72 81 Mail: pilar.sanchez at cedex.es http://www.cedex.es ******************************************* ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Mon Jun 28 12:54:41 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 28 Jun 2004 11:54:41 +0100 Subject: =?iso-8859-1?Q?=22Multi?= homed =?iso-8859-1?Q?hosts=22,?= Event history in database In-Reply-To: <20040627154526.A97208@blnsrv1.science-computing.de> References: <20040627154526.A97208@blnsrv1.science-computing.de> Message-ID: <20040628105442.31649.qmail@minnow.softflare.net> Michael Arndt writes: > Is it possible to modify macros "on the fly" similar > to apache rewrite rules ? Not that I know of (but I haven't gone digging to check). However, if you are willing to put up with and ugly hack like that... How about making the monitoring machine a primary nameserver for the machines you want to monitor. Not really the primary nameserver as far as the outside world is concerned, purely for Nagios purposes. A primary nameserver rather than a seconday so that it does not get updates from the real primary. Then you can have a cron job that rewrites the zone file and restarts named. I did say it was ugly... -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swati220781 at hotmail.com Mon Jun 28 13:51:22 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Mon, 28 Jun 2004 17:21:22 +0530 Subject: nrpe query Message-ID: Hi! I have configured nrpe as daemon. But i'm getting error. For Service status, It says: Current Status: UNKNOWN Status Information: (No output returned from plugin) And for Host status information, it says: Host Status: DOWN Status Information: (No output returned from host check) What could be the reason? Kindly help. Thanks in advance, Swati _________________________________________________________________ Maximum benefits! http://go.msnserver.com/IN/51406.asp No minimum balance! ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elvis at webspace4you.ch Mon Jun 28 14:12:17 2004 From: elvis at webspace4you.ch (E.Altherr) Date: Mon, 28 Jun 2004 14:12:17 +0200 Subject: Sceduled Downtime during the night Message-ID: <7B121EA44EE8D6438CB3867C51DE79878255@svwin2kadm05.local.eyes4media.ch> Hi List I asked a few weeks ago for the following stuff: "How can define in nagios 1.1 Service Downtime's for non business hours, cause from 0:00 to 02:00 AM, the daily backup will runnin and the CPU Load's of the machine's will go to state critical which causes nagios to send alerts and consumed much SMS Points. our target is to avoid this, how can we do this in nagios? many thanks in advance for your trouble best regards Mit freundlichen Gr?ssen Elvis Altherr NT Techniker eyes4media GmbH Gaiserwaldstrasse 16a CH-9015 St. Gallen fon +41-71-3141010 fax +41-71-3141019 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aharrison at gmail.com Mon Jun 28 14:30:29 2004 From: aharrison at gmail.com (Andy Harrison) Date: Mon, 28 Jun 2004 08:30:29 -0400 Subject: e v e n t h a n d l e r s ??? In-Reply-To: <20040628065106.68056.qmail@web52305.mail.yahoo.com> References: <20040628065106.68056.qmail@web52305.mail.yahoo.com> Message-ID: http://www.catb.org/~esr/faqs/smart-questions.html#beprecise -- Andy Harrison ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aharrison at gmail.com Mon Jun 28 14:40:26 2004 From: aharrison at gmail.com (Andy Harrison) Date: Mon, 28 Jun 2004 08:40:26 -0400 Subject: sending notifications to windows instant messenger In-Reply-To: <20040625200321.58962.qmail@restricted.dyndns.org> References: <20040625200321.58962.qmail@restricted.dyndns.org> Message-ID: On Fri, 25 Jun 2004 15:03:21 -0500, Neil wrote: > > Hey guys, > > has anyone of you successfully implemented sending of notification to a > Windows Instant Messenger? If so, can you send some links on how I can > implement it. I found answers in Nagios FAQ but only for AOL and Yahoo > Messenger. > Likely you could retool one of the scripts for aim and others to work. The Net::MSN perl module would probably be helpful in this. http://search.cpan.org/~djr/Net-MSN-1.022/ I wrote this just to test sending myself an aim message. Might be a place to start, assuming Net::OSCAR is similar to Net::MSN. #!/usr/local/bin/perl -w # # Created: 09/23/03 09:29:18 EDT by Andy Harrison # # Send an AOL Instant Message to the specified screen name # # Usage: # # imtest.andy --sn=ScreenName --pw=Password \ # --msg=\"Some Message\" --rcpt=Recipient \ # [--v] # # $Id$ use strict; use Net::OSCAR qw(:standard); use Getopt::Long; $SIG{CHLD} = 'IGNORE'; $SIG{PIPE} = 'IGNORE'; use vars qw( $opt_screenname $opt_passwd $opt_message $opt_recipient ); GetOptions ( 'sn=s' => \$opt_screenname, 'pw=s' => \$opt_passwd, 'msg=s' => \$opt_message, 'rcpt=s' => \$opt_recipient 'v!' => \$opt_verbose ); unless ( $opt_screenname && $opt_passwd && $opt_message ) { die "usage: $0 --sn=ScreenName --pw=Password --msg=\"Some Message\" --rcpt=Recipient\n"; } my $oscar = Net::OSCAR->new; #$oscar->loglevel(9); $oscar->set_callback_error( sub { my($oscar, $connection, $error, $description, $fatal) = @_; die "Error $error: $description\n"; } ); $oscar->set_callback_signon_done( sub { my $oscar = shift; print "Signon completed.\n" if $opt_verbose; $oscar->send_im($opt_recipient, $opt_message) or die ( "unable to send message\n" ); print "Message sent\n" if $opt_verbose; $oscar->signoff or die ( "problem signing off\n" ); print "Signed off\n" if $opt_verbose; exit; } ); print "Signing on...\n" if $opt_verbose; $oscar->signon($opt_screenname, $opt_passwd) or die "Unable to sign on\n"; while(1) { $oscar->do_one_loop; } print "Complete...\n" if $opt_verbose; -- Andy Harrison ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aharrison at gmail.com Mon Jun 28 14:44:41 2004 From: aharrison at gmail.com (Andy Harrison) Date: Mon, 28 Jun 2004 08:44:41 -0400 Subject: nagios and remote checking In-Reply-To: <40DC346B.2020709@zmail.sk> References: <40DC346B.2020709@zmail.sk> Message-ID: On Fri, 25 Jun 2004 16:19:23 +0200, martin wrote: > > HI, i need help with nagios. > Me questions: I installed a Nagios server and i want to monitor some > remote hosts. What i need to install on these remote hosts? I just > installed nrpe and nsca plugins but it didn't work. Do i need something > more? Can you help me please ??? I use ssh myself. For example: define command { command_name ssh_check_load command_line /usr/local/libexec/nagios/check_by_ssh -l nagios -i ~nagios/.ssh/id_rsa -H $HOSTNAME$ -C '/usr/local/libexec/nagios/check_load -w $ARG1$ -c $ARG2$' } -- Andy Harrison ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 28 14:56:20 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 28 Jun 2004 14:56:20 +0200 Subject: Sceduled Downtime during the night In-Reply-To: <7B121EA44EE8D6438CB3867C51DE79878255@svwin2kadm05.local.eyes4media.ch> References: <7B121EA44EE8D6438CB3867C51DE79878255@svwin2kadm05.local.eyes4media.ch> Message-ID: <40E01574.4090903@op5.se> E.Altherr wrote: > Hi List > > I asked a few weeks ago for the following stuff: > > > "How can define in nagios 1.1 Service Downtime's for non business hours, > cause from 0:00 to 02:00 AM, the daily backup will runnin and the CPU Load's > of the machine's will go to state critical which causes nagios to send alerts > and consumed much SMS Points. > > our target is to avoid this, how can we do this in nagios? > The easiest way is to create a timeperiod that doesn't include the hours between 00:00 and 02:00 and set that to be the default checkperiod for the CPU load servicechecks (and whatever else may be affected by the backup job). > many thanks in advance for your trouble > You're welcome. > best regards > > Mit freundlichen Gr?ssen > > Elvis Altherr > NT Techniker > eyes4media GmbH > Gaiserwaldstrasse 16a > CH-9015 St. Gallen > fon +41-71-3141010 > fax +41-71-3141019 > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dubious9 at yahoo.com Mon Jun 28 15:26:40 2004 From: dubious9 at yahoo.com (Chris) Date: Mon, 28 Jun 2004 06:26:40 -0700 (PDT) Subject: nagios and remote checking Message-ID: <20040628132640.20411.qmail@web51602.mail.yahoo.com> I too am having problems getting NSCA running. I've got the hosts configured and talking to each other, and I can see the connect via netstat --tcp. I've copied over the Nagios plugins to the client, and have created a couple of scripts that pipe the output of the plugins to the send_nsca program. Is this the correct fashion? Also how do I configure nagios/nsca for the passive check? I'm sorry if this is documented somewhere (or in an email from this list), but I couldn't find it. I also don't care if this remote reporting functionality is done through NRPE. But I'm also not sure how to set that up. Anybody have a good tutorial or documentation link? Many thanks in advance. ~Chris >From: martin >nagios and remote checking >2004-06-25 07:19 > > HI, i need help with nagios. > Me questions: I installed a Nagios server and i want >to monitor some > remote hosts. What i need to install on these remote >hosts? I just > installed nrpe and nsca plugins but it didn"t work. >Do i need something > more? Can you help me please ??? > > Thank for help. > > Martin > Slovakia > OS Mandrake 10, Nagios-1.2.rpm > Remote hosts RH9.0 __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Mon Jun 28 17:31:53 2004 From: verdon at cict.fr (carole verdon) Date: Mon, 28 Jun 2004 17:31:53 +0200 Subject: nagios and remote checking In-Reply-To: <40DC346B.2020709@zmail.sk> References: <40DC346B.2020709@zmail.sk> Message-ID: <40E039E9.20409@cict.fr> You must compile nrpe package on nagios server then copie check_nrpe in good directory, default is /usr/local/nagios/libexec. On remote hosts, you must compile nrpe package and plugins. Then copie nrpe demon (nrpe-2.0/src/) in bin directory of nagios (default is /usr/local/nagios/bin) and nrpe.cfg in for exemple /usr/local/nagios/etc. Also modify the nrpe.cfg to take into account the adress of nagios server and define services. And to finish, start the nrpe demon. To test if it works, you can try on nagios server this: ./check_nrpe -H adress_remote_host -c command_name -a arguments (if there are) Exemple: ./check_nrpe -H xxxx -c check_disk -a 10% 5% Carole. martin wrote: > HI, i need help with nagios. > Me questions: I installed a Nagios server and i want to monitor some > remote hosts. What i need to install on these remote hosts? I just > installed nrpe and nsca plugins but it didn't work. Do i need > something more? Can you help me please ??? > > Thank for help. > > Martin > Slovakia > OS Mandrake 10, Nagios-1.2.rpm > Remote hosts RH9.0 > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Mon Jun 28 17:12:49 2004 From: verdon at cict.fr (carole verdon) Date: Mon, 28 Jun 2004 17:12:49 +0200 Subject: Sceduled Downtime during the night In-Reply-To: <7B121EA44EE8D6438CB3867C51DE79878255@svwin2kadm05.local.eyes4media.ch> References: <7B121EA44EE8D6438CB3867C51DE79878255@svwin2kadm05.local.eyes4media.ch> Message-ID: <40E03571.8010402@cict.fr> The solution is to create a timeperiod that exlude this of daily backup. For exemple: 02:00-24:00 Carole. E.Altherr wrote: >Hi List > >I asked a few weeks ago for the following stuff: > > >"How can define in nagios 1.1 Service Downtime's for non business hours, cause from 0:00 to 02:00 AM, the daily backup >will runnin and the CPU Load's of the machine's will go to state critical which causes nagios to send alerts and consumed >much SMS Points. > >our target is to avoid this, how can we do this in nagios? > >many thanks in advance for your trouble > >best regards > >Mit freundlichen Gr?ssen > >Elvis Altherr >NT Techniker >eyes4media GmbH >Gaiserwaldstrasse 16a >CH-9015 St. Gallen >fon +41-71-3141010 >fax +41-71-3141019 > > > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >digital self defense, top technical experts, no vendor pitches, >unmatched networking opportunities. Visit www.blackhat.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at fragit.net Mon Jun 28 19:00:33 2004 From: alex at fragit.net (Alex Burger) Date: Mon, 28 Jun 2004 13:00:33 -0400 Subject: Host DOWN alerts not passing pluging output Message-ID: <40E04EB1.1050909@fragit.net> For some reason my host notifications for DOWN are showing the command line instead of the plugin output although the output for UP is correct, which seems strange. [1088427108] HOST ALERT: server01;DOWN;SOFT;1;/bin/ping -n -U -c 1 server01 [1088427135] HOST NOTIFICATION: alex;server01;DOWN;host-notify-by-email;/bin/ping -n -U -c 1 server01 [1088427305] HOST NOTIFICATION: alex;server01;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.28 ms The host is using 'check-host-alive' which uses the following command line: /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 If I run the above command manually when the server is up, I get: PING OK - Packet loss = 0%, RTA = 0.28 ms Anyone have this problem? I am using Nagios-1.2 with nagios-plugins-1.3.1. Alex ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Mon Jun 28 19:15:45 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 28 Jun 2004 12:15:45 -0500 Subject: sending notifications to windows instant messenger In-Reply-To: References: <20040625200321.58962.qmail@restricted.dyndns.org> Message-ID: <20040628171545.15043.qmail@restricted.dyndns.org> I found out that those scripts will not work for our setup. We are using Microsoft Exchange Instant Messaging server. It uses Rendezvous Protocol(RVP). I have actually found a perl module which implements RVP (net-rvp). It comes with an axample when you extract the source called client.pl. I tried it and actually saw our Exchange server replied to my request. But debug.log keeps telling that the object(my name) has been moved to another server. Then it just drops me off. :( I'm almost close. I send an email to the developer but I still haven't gotten any response yet. Andy Harrison writes: > On Fri, 25 Jun 2004 15:03:21 -0500, Neil > wrote: >> >> Hey guys, >> >> has anyone of you successfully implemented sending of notification to a >> Windows Instant Messenger? If so, can you send some links on how I can >> implement it. I found answers in Nagios FAQ but only for AOL and Yahoo >> Messenger. >> > > Likely you could retool one of the scripts for aim and others to work. > The Net::MSN perl module would probably be helpful in this. > > http://search.cpan.org/~djr/Net-MSN-1.022/ > > > I wrote this just to test sending myself an aim message. Might be a > place to start, assuming Net::OSCAR is similar to Net::MSN. > > #!/usr/local/bin/perl -w > # > # Created: 09/23/03 09:29:18 EDT by Andy Harrison > # > # Send an AOL Instant Message to the specified screen name > # > # Usage: > # > # imtest.andy --sn=ScreenName --pw=Password \ > # --msg=\"Some Message\" --rcpt=Recipient \ > # [--v] > # > # $Id$ > > use strict; > use Net::OSCAR qw(:standard); > use Getopt::Long; > > $SIG{CHLD} = 'IGNORE'; > $SIG{PIPE} = 'IGNORE'; > > use vars qw( $opt_screenname $opt_passwd $opt_message $opt_recipient ); > > GetOptions ( > 'sn=s' => \$opt_screenname, > 'pw=s' => \$opt_passwd, > 'msg=s' => \$opt_message, > 'rcpt=s' => \$opt_recipient > 'v!' => \$opt_verbose > ); > > > unless ( $opt_screenname && $opt_passwd && $opt_message ) { > die "usage: $0 --sn=ScreenName --pw=Password --msg=\"Some > Message\" --rcpt=Recipient\n"; > } > > my $oscar = Net::OSCAR->new; > > #$oscar->loglevel(9); > $oscar->set_callback_error( > sub { > my($oscar, $connection, $error, $description, $fatal) = @_; > die "Error $error: $description\n"; > } > ); > > $oscar->set_callback_signon_done( > sub { > my $oscar = shift; > print "Signon completed.\n" if $opt_verbose; > $oscar->send_im($opt_recipient, $opt_message) > or die ( "unable to send message\n" ); > print "Message sent\n" if $opt_verbose; > $oscar->signoff or die ( "problem signing off\n" ); > print "Signed off\n" if $opt_verbose; > exit; > } > ); > > print "Signing on...\n" if $opt_verbose; > $oscar->signon($opt_screenname, $opt_passwd) or die "Unable to sign on\n"; > while(1) { > $oscar->do_one_loop; > } > > print "Complete...\n" if $opt_verbose; > > -- > Andy Harrison ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruce at elrick.ca Mon Jun 28 19:48:04 2004 From: bruce at elrick.ca (Bruce Elrick) Date: Mon, 28 Jun 2004 11:48:04 -0600 Subject: Host DOWN alerts not passing pluging output In-Reply-To: <40E04EB1.1050909@fragit.net> References: <40E04EB1.1050909@fragit.net> Message-ID: <40E059D4.6030209@elrick.ca> Alex Burger wrote: > For some reason my host notifications for DOWN are showing the command > line instead of the plugin output although the output for UP is correct, > which seems strange. > > [1088427108] HOST ALERT: server01;DOWN;SOFT;1;/bin/ping -n -U -c 1 server01 > [1088427135] HOST NOTIFICATION: > alex;server01;DOWN;host-notify-by-email;/bin/ping -n -U -c 1 server01 > [1088427305] HOST NOTIFICATION: > alex;server01;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = > 0.28 ms > > The host is using 'check-host-alive' which uses the following command line: > > /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 5000,100% -c > 5000,100% -p 1 > > If I run the above command manually when the server is up, I get: > > PING OK - Packet loss = 0%, RTA = 0.28 ms > > Anyone have this problem? > > I am using Nagios-1.2 with nagios-plugins-1.3.1. I've seen that too with the ping check. Haven't pursued the cause yet. That's with nagios 1.1 and plugins 1.3.1. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Weinberg at tudor.com Mon Jun 28 20:16:33 2004 From: Keith.Weinberg at tudor.com (Keith Weinberg) Date: Mon, 28 Jun 2004 14:16:33 -0400 Subject: Any good nagios presentations out there? Message-ID: Do any of you have good presentations on Nagios or know of solid case-studies that I can borrow from for a presentation on Nagios? I am going to present nagios to a fairly important group of folks at the July New York Systems Administrators meeting. The audience is full of high-level SAs and programmers from a lot of big financial groups with huge compute environments. Needless to say, I want to be on good footing and present Nagios in a very good/thorough way during this meeting. Can you please send any links/presentations/case-studies my way to help me out? Thanks in advance. I'm hoping that this presentation can help further Nagios awareness and OSS usage as well. Keith -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Mon Jun 28 20:29:13 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 28 Jun 2004 12:29:13 -0600 Subject: Any good nagios presentations out there? Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E93BB@golden-m.mactec.com> Have you looked at the propaganda page on the Nagios web site? http://www.nagios.org/propaganda.php Or the demo page? http://www.nagios.org/demo.php Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Keith Weinberg Sent: Monday, June 28, 2004 12:17 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Any good nagios presentations out there? Do any of you have good presentations on Nagios or know of solid case-studies that I can borrow from for a presentation on Nagios? I am going to present nagios to a fairly important group of folks at the July New York Systems Administrators meeting. The audience is full of high-level SAs and programmers from a lot of big financial groups with huge compute environments. Needless to say, I want to be on good footing and present Nagios in a very good/thorough way during this meeting. Can you please send any links/presentations/case-studies my way to help me out? Thanks in advance. I'm hoping that this presentation can help further Nagios awareness and OSS usage as well. Keith -------------- next part -------------- An HTML attachment was scrubbed... URL: From phessler at triplecanopy.com Mon Jun 28 20:39:30 2004 From: phessler at triplecanopy.com (Peter Hessler) Date: Mon, 28 Jun 2004 11:39:30 -0700 Subject: Fw: Problems with cgi access Message-ID: <20040628113930.36e109b5@leela.theapt.org> This is still broken, and I have no idea how to fix this. Anyone have any ideas? Begin forwarded message: Date: Mon, 21 Jun 2004 11:00:38 -0700 From: Peter Hessler To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems with cgi access I have installed Nagios 1.2 on to OpenBSD -current, and the cgi doesn't think nagios is running. nagios_check_command=/usr/local/libexec/nagios/check_nagios /var/log/nagios/nagios.log 5 '/usr/local/bin/nagios -d /etc/nagios/nagios.cfg' main_config_file=/etc/nagios/nagios.cfg $ /usr/local/libexec/nagios/check_nagios /var/log/nagios/nagios.log 5 '/usr/local/bin/nagios -d /etc/nagios/nagios.cfg' Nagios ok: located 1 process, status log updated 14 seconds ago $ $ ps aux | grep '/usr/local/bin/nagios -d /etc/nagios/nagios.cfg' _nagios 7871 0.0 0.1 564 920 ?? Ss Wed01PM 0:39.01 /usr/local/bin/nagios -d /etc/nagios/nagios.cfg $ Any other information that I should show? -- In any world menu, Canada must be considered the vichyssoise of nations -- it's cold, half-French, and difficult to stir. -- Stuart Keate ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting :any issue. :: Messages without supporting info will risk being sent to :/dev/null -- Comparing information and knowledge is like asking whether the fatness of a pig is more or less green than the designated hitter rule." -- David Guaspari ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wp.junior at terra.com.br Mon Jun 28 20:44:43 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Mon, 28 Jun 2004 15:44:43 -0300 Subject: FW: Inconsistent downtime report Message-ID: <20040628184136.6024A3C0EA@estero.terra.com.br> Hello guys. Since anybody has posted any answer for this question, I assume nobody has the solution. So I want to know if somebody could tell me the way the values in the report below are calculated. Regards, Wilson -----Original Message----- From: Wilson Pires Jr [mailto:wp.junior at terra.com.br] Sent: ter?a-feira, 15 de junho de 2004 10:30 To: 'nagios-users at lists.sourceforge.net' Subject: FW: [Nagios-users] Inconsistent downtime report Hi all. Could anybody look for this question? I'm in trouble with this problem. I've upgraded to nagios 1.2 expecting some change, but the problem persists. How can I get 99.194% UP and 16.558% DOWN (Scheduled)? As I said before, looking at "Host Downtime" entries I get the total of 7h downtime, not the "5d 0h 42m 20s" showed by the report below. What I need is to sum the Time UP and the Scheduled Downtime in order to obtain the availability from my responsibility. Please, help me. Best regards. Wilson -----Original Message----- From: Wilson Pires Jr [mailto:wp.junior at terra.com.br] Sent: quarta-feira, 2 de junho de 2004 15:49 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Inconsistent downtime report Hi all. I run nagios 1.0 in a Red Hat 9. Everything is going well, except by an "error", I suppose, in the "Availability Reports". The problem occurs regarding "scheduled downtime". When I open a ticket to a telecom operator to recover a link, I start a "scheduled downtime" for this link. I always use flexible downtime as I don't know the recover time. When I'm going to report the monthly availability, I used to add the "Total UP time", "Scheduled DOWN time" and "Scheduled UNREACHABLE time". So I have the availability added the 3rd part time responsibility. Problem: many times the "scheduled downtime" plus "Total uptime" is more than 100%. Like the example bellow. If I sum the "Host downtime" entries in the "Host log entry" I get the correct value. The example bellow shows "DOWN Scheduled" "5d 0h 42m 20s", but if I get the values from "Host log entry", the actual time is around 7 hours. State Type / Reason Time % Total Time % Known Time UP Unscheduled 25d 9h 26m 14s 97.190% 99.194% Scheduled 4d 17h 39m 10s 15.276% 15.591% Total 30d 3h 5m 24s 97.190% 99.194% DOWN Unscheduled 49705d 11h 38m 39s 0.790% 0.806% Scheduled 5d 0h 42m 20s 16.224% 16.558% Total 0d 5h 52m 43s 0.790% 0.806% UNREACHABLE Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% Undetermined Nagios Not Running 0d 15h 1m 53s 2.020% Insufficient Data 0d 0h 0m 0s 0.000% Total 0d 15h 1m 53s 2.020% All Total 31d 0h 0m 0s 100.000% 100.000% Does anybody can help me? Regards, Wilson ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at fragit.net Mon Jun 28 20:56:44 2004 From: alex at fragit.net (Alex Burger) Date: Mon, 28 Jun 2004 14:56:44 -0400 Subject: Host DOWN alerts not passing pluging output In-Reply-To: <40E059D4.6030209@elrick.ca> References: <40E04EB1.1050909@fragit.net> <40E059D4.6030209@elrick.ca> Message-ID: <40E069EC.2040508@fragit.net> Bruce Elrick wrote: > Alex Burger wrote: > >> For some reason my host notifications for DOWN are showing the command >> line instead of the plugin output although the output for UP is >> correct, which seems strange. >> >> [1088427108] HOST ALERT: server01;DOWN;SOFT;1;/bin/ping -n -U -c 1 >> server01 >> [1088427135] HOST NOTIFICATION: >> alex;server01;DOWN;host-notify-by-email;/bin/ping -n -U -c 1 server01 >> [1088427305] HOST NOTIFICATION: >> alex;server01;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA >> = 0.28 ms >> >> The host is using 'check-host-alive' which uses the following command >> line: >> >> /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 5000,100% -c >> 5000,100% -p 1 >> >> If I run the above command manually when the server is up, I get: >> >> PING OK - Packet loss = 0%, RTA = 0.28 ms >> >> Anyone have this problem? >> >> I am using Nagios-1.2 with nagios-plugins-1.3.1. > > > I've seen that too with the ping check. Haven't pursued the cause yet. > That's with nagios 1.1 and plugins 1.3.1. It looks like check_ping is expecting the 'From 10.36.39.219 icmp_seq=1 Destination Host Unreachable' message to be sent to STDERR from ping, but on my system it goes to STDOUT. To test, I created a script that outputs to STDERR a ping result, and changed check_ping to call my script instead: #!/usr/bin/perl select STDERR; print "From 192.168.1.1 icmp_seq=1 Destination Host Unreachable\n"; print "\n"; print "--- 192.168.1.1 ping statistics ---\n"; print "echo 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms\n"; Calling check_ping, I get: PING CRITICAL - Host Unreachable If I changed the script by removing 'select STDERR', I get: Error: Could not interpret output from ping command Alex ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Jun 28 21:13:44 2004 From: benny at bennyvision.com (C. Bensend) Date: Mon, 28 Jun 2004 14:13:44 -0500 (CDT) Subject: Fw: Problems with cgi access In-Reply-To: <20040628113930.36e109b5@leela.theapt.org> References: <20040628113930.36e109b5@leela.theapt.org> Message-ID: <37574.134.244.172.10.1088450046.squirrel@webmail.stinkweasel.net> > This is still broken, and I have no idea how to fix this. Anyone have any > ideas? Hi Peter, On one of my OpenBSD Nagios hosts, I use: nagios_check_command=/home/nagios/libexec/check_nagios /home/nagios/var/status.log 5 '/home/nagios/bin/nagios' Obviously, I have Nagios installed in /home/nagios so you'll have to change that, but that command should work for you just fine, I'd think. Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Mon Jun 28 21:35:40 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 28 Jun 2004 14:35:40 -0500 Subject: tell me how many are you.... Message-ID: <20040628193541.25564.qmail@restricted.dyndns.org> Hey guys, Just would like to know 1. how many host are you monitoring? 2. how many services are you monitoring? 3. What type of box is your nagios installed at? 4. What is the memory? 5. Processor? I'm thinking of migrating our existing nagios to big monster machine or distributed setup. Thanks guys :) Neil ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Jun 28 21:55:52 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 28 Jun 2004 13:55:52 -0600 Subject: tell me how many are you.... Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E93BE@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Hey guys, > > Just would like to know > > 1. how many host are you monitoring? > 2. how many services are you monitoring? > 3. What type of box is your nagios installed at? > 4. What is the memory? > 5. Processor? > > I'm thinking of migrating our existing nagios to big monster machine > or distributed setup. > > Thanks guys :) > > Neil > The User Profiles section of the Nagios Web Site was setup to answer these types of questions (without flooding the user list): http://www.nagios.org/userprofiles/ Quick Statistics here: http://www.nagios.org/userprofiles/quickstats.php Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at cjp.us Mon Jun 28 22:16:07 2004 From: lists at cjp.us (Chris Purcell) Date: Mon, 28 Jun 2004 16:16:07 -0400 (EDT) Subject: run script when host is down Message-ID: <19619.12.30.234.211.1088453767.squirrel@mail.cjp.us> Is it possible for Nagios to run a Perl script whenever a specific host goes down? Thanks, Chris ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at cjp.us Mon Jun 28 22:43:55 2004 From: lists at cjp.us (Chris Purcell) Date: Mon, 28 Jun 2004 16:43:55 -0400 (EDT) Subject: run script when host is down In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E93BF@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E93BF@golden-m.mactec.com> Message-ID: <19971.12.30.234.211.1088455435.squirrel@mail.cjp.us> >> Is it possible for Nagios to run a Perl script whenever a specific >> host goes down? >> >> Thanks, >> Chris >> > Yes. > http://nagios.sourceforge.net/docs/1_0/eventhandlers.html > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) Thanks, I missed that one when I was reading the FAQ. Chris ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Mon Jun 28 22:41:54 2004 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CGEY Contractor for Sprint]) Date: Mon, 28 Jun 2004 15:41:54 -0500 Subject: NagMIN/Nagios Question Message-ID: <516DA7BE5D87C8469D89F150CA0B49110696DF32@PDAWB02C.ad.sprint.com> I can't find anything on the Service Groups table in NagMIN to show me what it's used for. Can anyone help? Stanley G. Martin System Administrator Sprint - Enabling Services Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Mon Jun 28 22:37:14 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 28 Jun 2004 14:37:14 -0600 Subject: run script when host is down Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E93BF@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Is it possible for Nagios to run a Perl script whenever a specific > host goes down? > > Thanks, > Chris > Yes. http://nagios.sourceforge.net/docs/1_0/eventhandlers.html Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Jun 29 06:57:41 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 29 Jun 2004 06:57:41 +0200 Subject: AW: tell me how many are you.... Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E04586A@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I'm currently in Migration phase of Nagios, so I don't know if my Hardware will fit to the requirements :) We want to monitor about 250hosts, with ~4-10 service checks per host. So at the end there will be about 1200Service checks. We're planning to do that on an dual 1,4GHz processor server with about 2Gigs of RAM. Due to better performance we'll use the Nagios 2.0a1 for that. For creating the graphs we're going to use perfparse I think. Maybe we'll put the mysql db for perfparse on another machine... Regards, Philipp ________________________________ Von: nagios-users-admin at lists.sourceforge.net im Auftrag von Neil Gesendet: Mo 28.06.2004 21:35 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] tell me how many are you.... Hey guys, Just would like to know 1. how many host are you monitoring? 2. how many services are you monitoring? 3. What type of box is your nagios installed at? 4. What is the memory? 5. Processor? I'm thinking of migrating our existing nagios to big monster machine or distributed setup. Thanks guys :) Neil ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phessler at triplecanopy.com Tue Jun 29 07:21:40 2004 From: phessler at triplecanopy.com (Peter Hessler) Date: Mon, 28 Jun 2004 22:21:40 -0700 Subject: Problems with cgi access In-Reply-To: <37574.134.244.172.10.1088450046.squirrel@webmail.stinkweasel.net> References: <20040628113930.36e109b5@leela.theapt.org> <37574.134.244.172.10.1088450046.squirrel@webmail.stinkweasel.net> Message-ID: <20040628222140.6c57bfeb@leela.theapt.org> On Mon, 28 Jun 2004 14:13:44 -0500 (CDT) "C. Bensend" wrote: : :> This is still broken, and I have no idea how to fix this. Anyone have :any> ideas? : :Hi Peter, : : On one of my OpenBSD Nagios hosts, I use: : :nagios_check_command=/home/nagios/libexec/check_nagios :/home/nagios/var/status.log 5 '/home/nagios/bin/nagios' : : Obviously, I have Nagios installed in /home/nagios so you'll have to :change that, but that command should work for you just fine, I'd think. : :Benny : : :-- :"You were doing well until everyone died." : -- "God", Futurama Thanks, but that doesn't help me. As stated in my first email I had '/usr/local/bin/nagios -d /etc/nagios/nagios.cfg' in my check_nagios command. I also tried '/usr/local/bin/nagios', but that doesn't change the false-negative. $ ps aux | grep '/usr/local/bin/nagios -d /etc/nagios/nagios.cfg' _nagios 7871 0.0 0.1 564 920 ?? Ss Wed01PM 0:39.01 /usr/local/bin/nagios -d /etc/nagios/nagios.cfg $ -- Job Placement, n.: Telling your boss what he can do with your job. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Tue Jun 29 12:17:54 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Tue, 29 Jun 2004 12:17:54 +0200 Subject: Check online status by hostname Message-ID: <90D32590BAD135448DC12C1EA3EB4482209861@epsewr01.ewrlan.ewr.int> Hello! What is the best way to check if a client is online by his hostname?? Wie do a lot changing ip addresses but the hostnames always stay... Any ideas?? Thanks a lot!! Is it possible to create a host with his hostname? Or do i always need an ip address?? ____________________________________________ EWR Aktiengesellschaft Andreas Wengrzik / Informations- und Datenverarbeitung Postfach 13 45, 67545 Worms Lutherring 5, 67547 Worms Tel.: + 49 6241 848-339 Fax.: + 49 6241 848-1215 mailto:wengrzik at ewr.de http://www.ewr.de __________________________________________________ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Tue Jun 29 10:20:16 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Tue, 29 Jun 2004 20:20:16 +1200 Subject: tell me how many are you.... In-Reply-To: <20040628193541.25564.qmail@restricted.dyndns.org> References: <20040628193541.25564.qmail@restricted.dyndns.org> Message-ID: <1088497216.19371.2.camel@munter> http://www.nagios.org/userprofiles/quickstats.php On Tue, 2004-06-29 at 07:35, Neil wrote: > Hey guys, > > Just would like to know > > 1. how many host are you monitoring? > 2. how many services are you monitoring? > 3. What type of box is your nagios installed at? > 4. What is the memory? > 5. Processor? > > I'm thinking of migrating our existing nagios to big monster machine or > distributed setup. > > Thanks guys :) > > Neil > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Tue Jun 29 10:16:08 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 29 Jun 2004 10:16:08 +0200 Subject: nrpe query In-Reply-To: References: Message-ID: <40E12548.6020605@cict.fr> Do you have certain that the nrpe daemon running? Did you test the check command in local on remote host then with check_nrpe on nagios server? Can you post the nrpe.cfg and services.cfg files, please? Carole. Swati Srivastava wrote: > Hi! > I have configured nrpe as daemon. > But i'm getting error. > For Service status, It says: > Current Status: UNKNOWN > Status Information: (No output returned from plugin) > And for Host status information, it says: > Host Status: DOWN > Status Information: (No output returned from host check) > > What could be the reason? > Kindly help. > Thanks in advance, > Swati > > _________________________________________________________________ > Maximum benefits! http://go.msnserver.com/IN/51406.asp No minimum > balance! > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Tue Jun 29 10:25:16 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 29 Jun 2004 10:25:16 +0200 Subject: Any good nagios presentations out there? In-Reply-To: References: Message-ID: <40E1276C.2040504@cict.fr> You can look those links: www.linagora.com/IMG/pdf/*presentation*-*nagios*.pdf *nagios*.sourceforge.net/download/ contrib/documentation/misc/031016_Etude_Nagios.pdf I hope that will help you. Carole. Keith Weinberg wrote: > Do any of you have good presentations on Nagios or know of solid > case-studies that I can borrow from for a presentation on Nagios? > > I am going to present nagios to a fairly important group of folks > at the July New York Systems Administrators meeting. The audience is > full of high-level SAs and programmers from a lot of big financial > groups with huge compute environments. Needless to say, I want to be > on good footing and present Nagios in a very good/thorough way during > this meeting. > > Can you please send any links/presentations/case-studies my way to > help me out? Thanks in advance. I'm hoping that this presentation > can help further Nagios awareness and OSS usage as well. > > Keith -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From serwah_s_gh at yahoo.com Tue Jun 29 13:03:35 2004 From: serwah_s_gh at yahoo.com (serwah sabet ghadam) Date: Tue, 29 Jun 2004 04:03:35 -0700 (PDT) Subject: soft state, hard state and event handler Message-ID: <20040629110335.71241.qmail@web52309.mail.yahoo.com> Dear friends, first I thnk Andy Harrison for his advise. I am working on RedHat 7.3 and nagios 1.2. I want to use Event Handlers. As you know Event Handlers are activated when there is: - a service in soft state - change from soft to hard state - recover from hard state my problem is that when I start Nagios, and it's the first attempt of aservice (for example : check_http) it is initialy in HARD !!! state. Here is what I see in the web interface: Current Status: OK Status Information:HTTP OK HTTP/1.1 200 OK - 36036 bytes in 0.204 secondsCurrent Attempt:1/3State Type:HARDLast Check Type:ACTIVELast Check Time:06-29-2004 15:15:19Status Data Age:0d 0h 0m 30sNext Scheduled Active Check: 06-29-2004 15:18:19Latency:< 1 secondCheck Duration:< 1 secondLast State Change:06-29-2004 15:15:19Current State Duration:0d 0h 0m 30sLast Service Notification:N/ACurrent Notification Number:0Is This Service Flapping?N/APercent State Change:N/AIn Scheduled Downtime? NO Last Update:06-29-2004 15:15:40 as you see its the first attempt, so it must be in soft state but it is in hard state. so none of the three conditions above is used. another one is something like below: Current Status: CRITICAL Status Information:PING CRITICAL - Packet loss = 100%Current Attempt:3/3State Type:HARDLast Check Type:ACTIVELast Check Time:06-29-2004 10:43:37Status Data Age:0d 4h 49m 35sNext Scheduled Active Check: 06-29-2004 15:33:32Latency:< 1 secondCheck Duration:< 1 secondLast State Change:06-28-2004 13:26:01Current State Duration:1d 2h 7m 11sLast Service Notification:N/ACurrent Notification Number:0Is This Service Flapping?N/APercent State Change:N/AIn Scheduled Downtime? NO Last Update:06-29-2004 15:33:02 this result is shown just after stopping and starting Nagios. although it is critical but since it is in HARD state feom the first notification, no event handlers can be done upon it. Thanks for any help. S.S --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ohoyer at ohoyer.de Tue Jun 29 10:15:10 2004 From: ohoyer at ohoyer.de (Olaf Hoyer) Date: Tue, 29 Jun 2004 10:15:10 +0200 (CEST) Subject: AW: tell me how many are you.... In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E04586A@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E04586A@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <20040629101241.S51956@gaff.hhhr.ision.net> On Tue, 29 Jun 2004, Sand Philipp wrote: > Hi, > > I'm currently in Migration phase of Nagios, so I don't know if my Hardware will fit to the requirements :) > We want to monitor about 250hosts, with ~4-10 service checks per host. So at the end there will be about 1200Service checks. We're planning to do that on an dual 1,4GHz processor server with about 2Gigs of RAM. > Due to better performance we'll use the Nagios 2.0a1 for that. For creating the graphs we're going to use perfparse I think. Maybe we'll put the mysql db for perfparse on another machine... > I did a similar setup (ok, had no database to log into, used flat files for that) with 200 hosts and 1000 services with netsaint 0.07 on a 933MHz single CPU 512MB RAM under FreeBSD, and the box had a load of ~0.8 (OK, SCSI hardware RAID will do good... was a Compaq DL360 I had) So I think that the hardware is well dimensioned. HTH Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swati220781 at hotmail.com Tue Jun 29 09:59:30 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Tue, 29 Jun 2004 13:29:30 +0530 Subject: nrpe behaviour Message-ID: Hello!! It seems that nrpe is not accepting the changes i am making to the nrpe.cfg file. Initially i had configured nrpe to run check_disk with only -w and -c as its arguments.Later i made changes to this by adding -p argument as well. Also, I defined check_procs command to be run on the remote machine. Now, I'm still receiving the initial results of check_disk (without -p option) and nagios is saying command 'check_procs' not defined. I did compile nrpe with support for command arguments and the 'dont_blame_nrpe' directive is set to 1. Kindly help. Thanks and regards, Swati _________________________________________________________________ Easiest Money Transfer to India. Send Money To 6000 Indian Towns. http://go.msnserver.com/IN/48198.asp Easiest Way To Send Money Home! ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at fragit.net Tue Jun 29 18:27:00 2004 From: alex at fragit.net (Alex Burger) Date: Tue, 29 Jun 2004 12:27:00 -0400 Subject: Check online status by hostname In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209861@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209861@epsewr01.ewrlan.ewr.int> Message-ID: <40E19854.3000803@fragit.net> Wengrzik, Andreas wrote: > Hello! > > What is the best way to check if a client is online by his hostname?? > > Wie do a lot changing ip addresses but the hostnames always stay... > Any ideas?? > Thanks a lot!! > > > Is it possible to create a host with his hostname? Or do i always need an ip address?? You can use hostnames instead of IP addresses. I would suggest that you add all the host names / ip addresses to a local hosts file, or configure the server as a DNS server which is authorative for your domain. If you don't and the DNS server fails (resulting in no DNS resolution) you could end up with a lot of false alerts. Alex ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swati220781 at hotmail.com Tue Jun 29 12:39:41 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Tue, 29 Jun 2004 16:09:41 +0530 Subject: NRPE SSL handshake error Message-ID: Hello! I had nrpe running just fine. Since i needed to make changes in nrpe.cfg, i killed and restarted nrpe as a daemon.Since then, i've been getting CHECK_NRPE: Error - Could not complete SSL handshake" errors. I have checked the permissions on nrpe.cfg and /dev/random.NRPE versions are same. What could be done? Kindly help, Regards, Swati _________________________________________________________________ Marriage? http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Join BharatMatrimony.com for free. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zac at corenap.com Tue Jun 29 18:46:49 2004 From: zac at corenap.com (Zac Israel) Date: Tue, 29 Jun 2004 11:46:49 -0500 Subject: Check online status by hostname In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209861@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209861@epsewr01.ewrlan.ewr.int> Message-ID: <20040629164649.GB18570@corenap.com> In you checkcomands.cfg change $HOSTADDRESS$ to $HOSTNAME$ . -Zac On Tue, Jun 29, 2004 at 12:17:54PM +0200, Wengrzik, Andreas wrote: > Hello! > > What is the best way to check if a client is online by his hostname?? > > Wie do a lot changing ip addresses but the hostnames always stay... > Any ideas?? > Thanks a lot!! > > > Is it possible to create a host with his hostname? Or do i always need an ip address?? > > ____________________________________________ > EWR Aktiengesellschaft > Andreas Wengrzik / Informations- und Datenverarbeitung > Postfach 13 45, 67545 Worms > Lutherring 5, 67547 Worms > > Tel.: + 49 6241 848-339 > Fax.: + 49 6241 848-1215 > > mailto:wengrzik at ewr.de > http://www.ewr.de > __________________________________________________ > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From h.baecker at ecofis.de Tue Jun 29 12:49:18 2004 From: h.baecker at ecofis.de (h.baecker at ecofis.de) Date: Tue, 29 Jun 2004 12:49:18 +0200 Subject: Nagios schedule question Message-ID: Hi List, I have some problems with our Nagios and I think the problems comes from the scheduler. But before some Info: OS: Suse Linux Kernel: 2.4.[unknown] CPU: 2x Intel Intel(R) Xeon(TM) CPU 2.00GHz Mem: 2.587.208K Nagios Version 1.1 Hosts: 616 Services: 2684 Average Service Check Intervall ~ 350 seconds. With the option inter_check_delay_method=s our nagios is not able to check all the services within 5 minutes (just 70%) and I can see out of the perfdata many latency about 100 up to 350 seconds. I tried to inter_check_delay_method=0.01 without any good result but an inter_check_delay_method=1.00 slows down nagios with his checks but doesn't throw out any latency. I think because of the unsigned long int for the time_t I guess that Nagios is not able to do more schedule events than 60 in 60 seconds. What can be done to screw up my Nagios Performance? Any ideas? Regards Hendrik -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Tue Jun 29 18:08:27 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 29 Jun 2004 09:08:27 -0700 Subject: nrpe behaviour In-Reply-To: References: Message-ID: <20040629160827.GH24895@zippy.toger.us> On Tue, Jun 29, 2004 at 01:29:30PM +0530, Swati Srivastava wrote: > Hello!! > It seems that nrpe is not accepting the changes i am making to the nrpe.cfg > file. If you are running it in daemon mode, be sure to kill it and restart it. It only reads the config file on launch. -Jason Martin -- The man who begins many things finishes few. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From ae at op5.se Tue Jun 29 00:00:55 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 29 Jun 2004 00:00:55 +0200 Subject: NagMIN/Nagios Question In-Reply-To: <516DA7BE5D87C8469D89F150CA0B49110696DF32@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B49110696DF32@PDAWB02C.ad.sprint.com> Message-ID: <40E09517.1010507@op5.se> Martin, Stanley G [CGEY Contractor for Sprint] wrote: > I can't find anything on the Service Groups table in NagMIN to show me > what it's used for. Can anyone help? > It's a feature of Nagios 2.0. Log in to the system and browse the documentation that should have accompanied the distribution. > Stanley G. Martin > System Administrator > Sprint - Enabling Services > Stanley.G.Martin at mail.sprint.com -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete.dewell at volteurope.com Tue Jun 29 19:01:48 2004 From: pete.dewell at volteurope.com (Pete Dewell) Date: Tue, 29 Jun 2004 18:01:48 +0100 Subject: tell me how many are you.... In-Reply-To: <40E19CCD.9070403@lssi.net> References: <20040628193541.25564.qmail@restricted.dyndns.org> <40E19CCD.9070403@lssi.net> Message-ID: <40E1A07C.5020001@volteurope.com> Approx 200 hosts, 600 services, running on Dell Gx1. 128 Mb RAM, 4 Gb h/d, processor no idea but would guess about 400 Mhz No problems at all (bit slow compiling new source though). Pete Dewell Spencer Horn wrote: > 1. 141 > 2. 975 > 3. Red Hat Enterprise Server 3.0 Dell Power Edge 2650 > 4. MemTotal: 1028424 kB > 5. 4x36Gb Scsi HD > > We have 4 of these running nagios. > > Neil wrote: > >> Hey guys, >> Just would like to know >> 1. how many host are you monitoring? >> 2. how many services are you monitoring? >> 3. What type of box is your nagios installed at? >> 4. What is the memory? >> 5. Processor? >> I'm thinking of migrating our existing nagios to big monster machine >> or distributed setup. >> Thanks guys :) >> Neil >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >> self defense, top technical experts, no vendor pitches, unmatched >> networking opportunities. Visit www.blackhat.com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null -- Technical Support/Analyst Volt Europe Tel : (+44) (0) 1737 774100 Fax : (+44) (0) 1737 772949 Mobile : (+44) (0) 777 1513066 E-mail pete.dewell at volteurope.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Tue Jun 29 16:39:22 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 29 Jun 2004 10:39:22 -0400 Subject: trends, statusmap and histogram Message-ID: I just reinstalled nagios... now on 1.2, was 1.1. When I go to statusmap.cgi, trends or histogram, it says the cgis are not found. I look in the sbin folder, and they are not there. Why would they not have been created, too? Jack Doyle, LGC Information Systems Systems Operations Specialist 540.776.2025 -------------- next part -------------- An HTML attachment was scrubbed... URL: From neil-on-nagios at restricted.dyndns.org Tue Jun 29 07:57:28 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 29 Jun 2004 00:57:28 -0500 Subject: AW: tell me how many are you.... In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E04586A@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E04586A@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <20040629055728.71065.qmail@restricted.dyndns.org> Thanks guys. I now have a baseline on how to spec our Nagios machine. I only have one more battle left and that is the management decision between choosing Servers Alive(M$0ft Window based) and Nagios. They like the Nagios because it is so flexible and we can write our own custom checks. I recently wrote a check that will return a value of CRITICAL(2) to Nagios if there is a deadlock going on in an MSSQL server. The only problem they have with Nagios is that it is open source. But I have given them tons of good information/advantages about opensource. I hope, within this week, we'll find out who the winner is. Thanks again. Neil ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Tue Jun 29 18:46:05 2004 From: shorn at lssi.net (Spencer Horn) Date: Tue, 29 Jun 2004 12:46:05 -0400 Subject: tell me how many are you.... In-Reply-To: <20040628193541.25564.qmail@restricted.dyndns.org> References: <20040628193541.25564.qmail@restricted.dyndns.org> Message-ID: <40E19CCD.9070403@lssi.net> 1. 141 2. 975 3. Red Hat Enterprise Server 3.0 Dell Power Edge 2650 4. MemTotal: 1028424 kB 5. 4x36Gb Scsi HD We have 4 of these running nagios. Neil wrote: > Hey guys, > Just would like to know > 1. how many host are you monitoring? > 2. how many services are you monitoring? > 3. What type of box is your nagios installed at? > 4. What is the memory? > 5. Processor? > I'm thinking of migrating our existing nagios to big monster machine > or distributed setup. > Thanks guys :) > Neil > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xnagios at metc.net Tue Jun 29 19:37:03 2004 From: xnagios at metc.net (Noel Leistad) Date: Tue, 29 Jun 2004 12:37:03 -0500 Subject: check_temptraxe Message-ID: <40E1A8BF.6070503@metc.net> Have Sensatronics TempTrax Model E Seemed to have lost check_temptraxe plugin when doing an upgrade. Old plugin was all perl. Anyone have available, URL for d/l?? Have seen it referenced in mailing-list archive, but addresses of possible resources always truncated. Running Nagios 1.2 on FC2. Anyone help??? Thanks. Noel Leistad noel at metc.net Marne & Elk Horn Telephone Co. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Tue Jun 29 21:23:28 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 29 Jun 2004 14:23:28 -0500 Subject: AW: tell me how many are you.... In-Reply-To: <40E1B889.70406@lssi.net> References: <6943DE9E9934CD42BBE4A20E0E28E10E04586A@SYGOMAIL.GOE.AD.SYCOR.DE> <20040629055728.71065.qmail@restricted.dyndns.org> <40E1B889.70406@lssi.net> Message-ID: <1088537008.22373.96.camel@localhost> That was my first thought. I guess I take my workplace for granted. I often hear (after a sales/ marketing request) "Hey, Jeff, is there an open source tool that can do that?". I can't imagine putting up with "But BYTE magazine says this is best!" *shudder* On Tue, 2004-06-29 at 14:44 -0400, Spencer Horn wrote: > Why would one NOT like opensource? > > Neil wrote: > > > Thanks guys. I now have a baseline on how to spec our Nagios machine. > > I only have one more battle left and that is the management decision > > between choosing Servers Alive(M$0ft Window based) and Nagios. They > > like the Nagios because it is so flexible and we can write our own > > custom checks. I recently wrote a check that will return a value of > > CRITICAL(2) to Nagios if there is a deadlock going on in an MSSQL > > server. The only problem they have with Nagios is that it is open > > source. But I have given them tons of good information/advantages > > about opensource. I hope, within this week, we'll find out who the > > winner is. > > Thanks again. > > Neil > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > > self defense, top technical experts, no vendor pitches, unmatched > > networking opportunities. Visit www.blackhat.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Tue Jun 29 20:44:25 2004 From: shorn at lssi.net (Spencer Horn) Date: Tue, 29 Jun 2004 14:44:25 -0400 Subject: AW: tell me how many are you.... In-Reply-To: <20040629055728.71065.qmail@restricted.dyndns.org> References: <6943DE9E9934CD42BBE4A20E0E28E10E04586A@SYGOMAIL.GOE.AD.SYCOR.DE> <20040629055728.71065.qmail@restricted.dyndns.org> Message-ID: <40E1B889.70406@lssi.net> Why would one NOT like opensource? Neil wrote: > Thanks guys. I now have a baseline on how to spec our Nagios machine. > I only have one more battle left and that is the management decision > between choosing Servers Alive(M$0ft Window based) and Nagios. They > like the Nagios because it is so flexible and we can write our own > custom checks. I recently wrote a check that will return a value of > CRITICAL(2) to Nagios if there is a deadlock going on in an MSSQL > server. The only problem they have with Nagios is that it is open > source. But I have given them tons of good information/advantages > about opensource. I hope, within this week, we'll find out who the > winner is. > Thanks again. > Neil > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jun 29 21:39:49 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 29 Jun 2004 12:39:49 -0700 Subject: AW: tell me how many are you.... In-Reply-To: <40E1B889.70406@lssi.net> References: <6943DE9E9934CD42BBE4A20E0E28E10E04586A@SYGOMAIL.GOE.AD.SYCOR.DE> <20040629055728.71065.qmail@restricted.dyndns.org> <40E1B889.70406@lssi.net> Message-ID: <20040629193949.GJ24895@zippy.toger.us> On Tue, Jun 29, 2004 at 02:44:25PM -0400, Spencer Horn wrote: > Why would one NOT like opensource? Less viable targets for lawsuits if something doesn't work; no fancy paid-for junkets ^H^H^H sales presentations for executives either :> Not that either really has any bearing on whether the OSS solution works. -Jason Martin -- Help Wanted: Telepath. You know where to apply. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From Stanley.G.Martin at mail.sprint.com Tue Jun 29 20:45:52 2004 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CGEY Contractor for Sprint]) Date: Tue, 29 Jun 2004 13:45:52 -0500 Subject: NagMIN/Nagios Question Message-ID: <516DA7BE5D87C8469D89F150CA0B491106A1B593@PDAWB02C.ad.sprint.com> I'm on Nagios 1.2 and NagMin 2.2.0. Nagios 2.0 isn't official yet is it? Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Monday, June 28, 2004 5:01 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NagMIN/Nagios Question Martin, Stanley G [CGEY Contractor for Sprint] wrote: > I can't find anything on the Service Groups table in NagMIN to show me > what it's used for. Can anyone help? > It's a feature of Nagios 2.0. Log in to the system and browse the documentation that should have accompanied the distribution. > Stanley G. Martin > System Administrator > Sprint - Enabling Services > Stanley.G.Martin at mail.sprint.com -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Jun 29 21:46:25 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 29 Jun 2004 13:46:25 -0600 Subject: AW: tell me how many are you.... Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E93E2@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > That was my first thought. > > I guess I take my workplace for granted. I often hear (after a sales/ > marketing request) "Hey, Jeff, is there an open source tool > that can do > that?". > I'm also lucky to work for a company that understands the benefits of opensource. But I think there are quite a few PHBs out there that steer away from it because they think that this means "No Support". Neil, If this is what management is worried about, you can let them know that while they don't have to pay for the app, they can pay for support if they wish: http://nagios.org/contractsupport/ > I can't imagine putting up with "But BYTE magazine says this is best!" > > *shudder* > > On Tue, 2004-06-29 at 14:44 -0400, Spencer Horn wrote: >> Why would one NOT like opensource? >> >> Neil wrote: >> >>> Thanks guys. I now have a baseline on how to spec our Nagios >>> machine. I only have one more battle left and that is the >>> management decision between choosing Servers Alive(M$0ft Window >>> based) and Nagios. They like the Nagios because it is so flexible >>> and we can write our own custom checks. I recently wrote a check >>> that will return a value of CRITICAL(2) to Nagios if there is a >>> deadlock going on in an MSSQL server. The only problem they have >>> with Nagios is that it is open source. But I have given them tons >>> of good information/advantages about opensource. I hope, within >>> this week, we'll find out who the winner is. Thanks again. >>> Neil >>> Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al_smyth at yahoo.com Wed Jun 30 00:41:05 2004 From: al_smyth at yahoo.com (Al Smith) Date: Tue, 29 Jun 2004 15:41:05 -0700 (PDT) Subject: sending notifications to windows instant messenger In-Reply-To: <20040629172250.5F8621EFE7F@sc8-sf-uberspam1.sourceforge.net> References: <20040629172250.5F8621EFE7F@sc8-sf-uberspam1.sourceforge.net> Message-ID: <20040629224105.78781.qmail@web53504.mail.yahoo.com> I was looking into your script as a way to notify during typical time periods.... but I had a couple problems. GetOptions ( 'sn=s' => \$opt_screenname, 'pw=s' => \$opt_passwd, 'msg=s' => \$opt_message, 'rcpt=s' => \$opt_recipient 'v!' => \$opt_verbose ); Seems to be missing something, and $opt_verbose caused the rest of the script to have issues. I commented out all these references. And it seemes to work, although the format is odd with the quotes. Then I hit an issue.... Too many logins from the sending ID! Have you considered how to avoid this if the Nagios system has multiple services down and wants to notify many users? It may be sending man messages to one, or many to many, or one to many. I'm not sure if Yahoo or MAN block repeated signon, but AIL does, and I'd guess this is the effort to reduce robots.... Thanks for the start though! Al --------------------------------- Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aharrison at gmail.com Wed Jun 30 04:42:45 2004 From: aharrison at gmail.com (Andy Harrison) Date: Tue, 29 Jun 2004 22:42:45 -0400 Subject: sending notifications to windows instant messenger In-Reply-To: <20040629224105.78781.qmail@web53504.mail.yahoo.com> References: <20040629224105.78781.qmail@web53504.mail.yahoo.com> Message-ID: The verbose only affects print statements, so if that's causing issues, perhaps something got kludged in the cut and paste of the code. If you want to send to multiple recipients, you'll need to modify the set_callback_signon_done callback routine. But first, change the getopts param: 'rcpt=s' => \$opt_recipient to 'rcpt=s' => \@opt_recipient (change the use vars directive as well) Then you'll change the send_im line to something like: for ( @opt_recipient ) { $oscar->send_im( $_, $opt_message ) or die ( "unable to send message\n" ); } -- Andy Harrison ----- Original Message ----- From: Al Smith Date: Tue, 29 Jun 2004 15:41:05 -0700 (PDT) Subject: Re: [Nagios-users] sending notifications to windows instant messenger To: nagios-users at lists.sourceforge.net I was looking into your script as a way to notify during typical time periods.... but I had a couple problems. GetOptions ( 'sn=s' => \$opt_screenname, 'pw=s' => \$opt_passwd, 'msg=s' => \$opt_message, 'rcpt=s' => \$opt_recipient 'v!' => \$opt_verbose ); Seems to be missing something, and $opt_verbose caused the rest of the script to have issues. I commented out all these references. And it seemes to work, although the format is odd with the quotes. Then I hit an issue.... Too many logins from the sending ID! Have you considered how to avoid this if the Nagios system has multiple services down and wants to notify many users? It may be sending man messages to one, or many to many, or one to many. I'm not sure if Yahoo or MAN block repeated signon, but AIL does, and I'd guess this is the effort to reduce robots.... Thanks for the start though! Al ________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Jun 30 06:53:10 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 29 Jun 2004 23:53:10 -0500 Subject: AW: tell me how many are you.... In-Reply-To: <40E1B889.70406@lssi.net> References: <6943DE9E9934CD42BBE4A20E0E28E10E04586A@SYGOMAIL.GOE.AD.SYCOR.DE> <20040629055728.71065.qmail@restricted.dyndns.org> <40E1B889.70406@lssi.net> Message-ID: <20040630045310.72906.qmail@restricted.dyndns.org> Hey guys, Good news!!! My manager told me to conduct cross training on nagios so if I am away, they will be able to take care of it. Looks like it's a GO-GO for Nagios :-> About opensource, these people that I am working with have been brainwashed by M$0ft technology :( Fortunately, I am here to preach the good news :) Spencer Horn writes: > Why would one NOT like opensource? > > Neil wrote: > >> Thanks guys. I now have a baseline on how to spec our Nagios machine. I >> only have one more battle left and that is the management decision >> between choosing Servers Alive(M$0ft Window based) and Nagios. They like >> the Nagios because it is so flexible and we can write our own custom >> checks. I recently wrote a check that will return a value of CRITICAL(2) >> to Nagios if there is a deadlock going on in an MSSQL server. The only >> problem they have with Nagios is that it is open source. But I have given >> them tons of good information/advantages about opensource. I hope, within >> this week, we'll find out who the winner is. >> Thanks again. >> Neil >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >> self defense, top technical experts, no vendor pitches, unmatched >> networking opportunities. Visit www.blackhat.com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk being >> sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Jun 30 07:00:13 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 30 Jun 2004 00:00:13 -0500 Subject: front end management tool Message-ID: <20040630050013.73452.qmail@restricted.dyndns.org> Hey guys, I know in nagios website, extras, there are links to front end for managing nagios. Currently, I am a unix console fanatic. :) I'm used to it and it's no problem to me. I would like to seek your experience on which front end web based application you really did like and was easy to use. I am looking into something wherein it will be easy for us to create hosts, services, contacts and so on. I tried Nagmin, Nagat but if I remember correctly, it creates a temporary config file which will be used for test run. It's nice but really messes up my configs :( Anyways, please reply as to what webbased nagios management tool you are using and that you're very happy about it. Thanks. Neil ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Jun 30 07:10:46 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 30 Jun 2004 00:10:46 -0500 Subject: sending notifications to windows instant messenger In-Reply-To: References: <20040629224105.78781.qmail@web53504.mail.yahoo.com> Message-ID: <20040630051047.74283.qmail@restricted.dyndns.org> Hey guys, What module are you using now? Does this module support Rendezvous protocol or is it only for Hotmail? I found one that supports RVP, it's net-rvp but it doesn't work in our setup :( Thanks guys.. Andy Harrison writes: > The verbose only affects print statements, so if that's causing > issues, perhaps something got kludged in the cut and paste of the > code. > > If you want to send to multiple recipients, you'll need to modify the > set_callback_signon_done callback routine. > > But first, change the getopts param: > > 'rcpt=s' => \$opt_recipient > to > 'rcpt=s' => \@opt_recipient > (change the use vars directive as well) > > Then you'll change the send_im line to something like: > > for ( @opt_recipient ) { > $oscar->send_im( $_, $opt_message ) > or die ( "unable to send message\n" ); > } > > -- > Andy Harrison > > > ----- Original Message ----- > From: Al Smith > Date: Tue, 29 Jun 2004 15:41:05 -0700 (PDT) > Subject: Re: [Nagios-users] sending notifications to windows instant messenger > To: nagios-users at lists.sourceforge.net > > > I was looking into your script as a way to notify during typical time > periods.... but I had a couple problems. > > > GetOptions ( > 'sn=s' => \$opt_screenname, > 'pw=s' => \$opt_passwd, > 'msg=s' => \$opt_message, > 'rcpt=s' => \$opt_recipient > 'v!' => \$opt_verbose > ); > > > > Seems to be missing something, and $opt_verbose caused the rest of the > script to have issues. I commented out all these references. And it > seemes to work, although the format is odd with the quotes. > > Then I hit an issue.... Too many logins from the sending ID! Have you > considered how to avoid this if the Nagios system has multiple > services down and wants to notify many users? It may be sending man > messages to one, or many to many, or one to many. I'm not sure if > Yahoo or MAN block repeated signon, but AIL does, and I'd guess this > is the effort to reduce robots.... > > > Thanks for the start though! > > > Al > > > ________________________________ > Do you Yahoo!? > > Read only the mail you want - Yahoo! Mail SpamGuard. > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 30 09:09:44 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 30 Jun 2004 09:09:44 +0200 Subject: AW: tell me how many are you.... In-Reply-To: <20040629055728.71065.qmail@restricted.dyndns.org> References: <6943DE9E9934CD42BBE4A20E0E28E10E04586A@SYGOMAIL.GOE.AD.SYCOR.DE> <20040629055728.71065.qmail@restricted.dyndns.org> Message-ID: <40E26738.1000503@op5.se> Neil wrote: > Thanks guys. I now have a baseline on how to spec our Nagios machine. I > only have one more battle left and that is the management decision > between choosing Servers Alive(M$0ft Window based) and Nagios. They like > the Nagios because it is so flexible and we can write our own custom > checks. I recently wrote a check that will return a value of CRITICAL(2) > to Nagios if there is a deadlock going on in an MSSQL server. Can you send that to me or publish it to the list? I've been looking to do the same for some time now. > The only > problem they have with Nagios is that it is open source. But I have > given them tons of good information/advantages about opensource. I hope, > within this week, we'll find out who the winner is. I wish you the best of luck. > Thanks again. > Neil > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 30 09:11:29 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 30 Jun 2004 09:11:29 +0200 Subject: trends, statusmap and histogram In-Reply-To: References: Message-ID: <40E267A1.3090401@op5.se> Jack Doyle wrote: > I just reinstalled nagios... now on 1.2, was 1.1. When I go to > statusmap.cgi, trends or histogram, it says the cgis are not found. I > look in the sbin folder, and they are not there. Why would they not have > been created, too? > Did you do 'make cgis' before 'make install' and did it work without complaints from the compiler? > Jack Doyle, LGC Information Systems > Systems Operations Specialist > 540.776.2025 > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 30 09:44:04 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 30 Jun 2004 09:44:04 +0200 Subject: NagMIN/Nagios Question In-Reply-To: <516DA7BE5D87C8469D89F150CA0B491106A1B593@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B491106A1B593@PDAWB02C.ad.sprint.com> Message-ID: <40E26F44.1060605@op5.se> Martin, Stanley G [CGEY Contractor for Sprint] wrote: > I'm on Nagios 1.2 and NagMin 2.2.0. Nagios 2.0 isn't official yet is > it? > It might as well be. Only the documentation for it is missing. Anyways... Nagios 1.2 doesn't have service groups, so don't worry about it. > Stanley G. Martin > System Administrator > Sprint - EAS Business Intelligence > Stanley.G.Martin at mail.sprint.com > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas > Ericsson > Sent: Monday, June 28, 2004 5:01 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NagMIN/Nagios Question > > Martin, Stanley G [CGEY Contractor for Sprint] wrote: > >>I can't find anything on the Service Groups table in NagMIN to show me >>what it's used for. Can anyone help? >> > > > It's a feature of Nagios 2.0. Log in to the system and browse the > documentation that should have accompanied the distribution. > > >>Stanley G. Martin >>System Administrator >>Sprint - Enabling Services >>Stanley.G.Martin at mail.sprint.com > > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Jun 30 11:03:21 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 30 Jun 2004 11:03:21 +0200 Subject: AW: tell me how many are you.... Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068D82@SYGOMAIL.GOE.AD.SYCOR.DE> > Neil wrote: > > Thanks guys. I now have a baseline on how to spec our > Nagios machine. > > I only have one more battle left and that is the management > decision > > between choosing Servers Alive(M$0ft Window based) and Nagios. They > > like the Nagios because it is so flexible and we can write our own > > custom checks. I recently wrote a check that will return a value of > > CRITICAL(2) to Nagios if there is a deadlock going on in an > MSSQL server. > > Can you send that to me or publish it to the list? I've been > looking to do the same for some time now. I'm interested in this, too, so please send it to the list :) Thanks! ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swati220781 at hotmail.com Wed Jun 30 11:36:13 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Wed, 30 Jun 2004 15:06:13 +0530 Subject: nrpe query Message-ID: Hi!! I am trying to monitor a particular process on a remote machine.How to monitor a process by its name or process id? The remote machine has RedHat Linux8. I tried giving the process name by -C as an argument. That shows 0 processes running while ps -aux|grep shows the process running. Kindly help. Thanks, Swati _________________________________________________________________ Contact brides & grooms FREE! http://www.shaadi.com/index.php?ptnr=hmltag Only on www.shaadi.com. Register now! ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben at clewett.org.uk Wed Jun 30 12:05:11 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Wed, 30 Jun 2004 11:05:11 +0100 Subject: hostgroup.cfg file In-Reply-To: <4AB63699.6050301@datavis.se> References: <4AB63699.6050301@datavis.se> Message-ID: <40E29057.7000505@clewett.org.uk> Dear Nagios, I am recording values for a service once every ten minutes. The construct in my service.cfg is: define service{ use fms-09-service service_description load check_command check_nrpe!check_load normal_check_interval 10 } However, I have just noticed that Nagios has not completed any checks against this host for two days: Status Data Age: 1d 23h 56m 42s Next Scheduled Active Check: 30-06-2004 11:05:00 There are no error messages reported. There are no options I can see to disable these. This is the also case for many of my services. Frankly, I am worried by this. Can any member suggest a reason for this? Regards, Ben. Nagios: 1.2 Using MySQL. Services: 307. Average load on box: 1.6 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swati220781 at hotmail.com Wed Jun 30 12:11:47 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Wed, 30 Jun 2004 15:41:47 +0530 Subject: check_procs query Message-ID: Hi! When i do ./check_procs -w .. -c .. -C nagios from terminal, it shows 1 process runnning. But the nagios display is showing 2 processes running with command name nagios. Why this discrepancy? Kindly explain. Thanks in advance, Swati _________________________________________________________________ Transfer home loans now! http://go.msnserver.com/IN/51405.asp Home loans with 7.5% only. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From igor.sergejev at creanord.com Wed Jun 30 22:16:37 2004 From: igor.sergejev at creanord.com (Igor Sergejeff) Date: Wed, 30 Jun 2004 13:16:37 -0700 Subject: Newbie question about Nagios Message-ID: <001b01c45edf$25d3c510$c864a8c0@creanord2kserv> Hello, I'm new to Nagios, just installed it with some generic service checks, and it's working OK. Now I would like to make some more comlplicated check. The main task is to check on a periodical basis the contents of the some specific web page and if some value there is less or more some baseline, to send an alert, preferebly SNMP trap. Also it could be good to pass through login and password through SSL to this web page. I.e.: 1. Login to specific web page through SSL (https) 2. Check for "Value=NNN" string on this page (i.e. in html file) 3. Send an alert if NNN is less (more) than some baseline value Any idea, is it possible to do ? Regards, ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben at clewett.org.uk Wed Jun 30 12:25:57 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Wed, 30 Jun 2004 11:25:57 +0100 Subject: hostgroup.cfg file In-Reply-To: <4AB63699.6050301@datavis.se> References: <4AB63699.6050301@datavis.se> Message-ID: <40E29535.7090002@clewett.org.uk> Yes, the host is defined. This was working perfectly for many weeks. Any idea? Fredrik W?nglund wrote: > Have you defined the host in Nagios (in hosts.cfg for example)? > > /FredrikW > > > Ed.StJohn at wic-us.com wrote: > >> Hello Nagios community, >> >> >> >> I am stumbling through my first Nagios installation. I am making >> progress but I am hitting a few road blocks. Please excuse my >> ignorance as I am new to Nagios and I appreciate all the help I can >> get with it. >> >> >> >> I am running the sanity check after installing Nagios. I seem to be >> stuck on my hostgroups.cfg file. I am getting an error message that >> says "could not expand member hosts specifed in hostgroup ( config >> file yada yada yada line 21) >> >> >> >> My hostgroup.cfg file looks like this.... >> >> >> >> define hostgroup{ >> >> hostgroup_name nt-servers >> >> alias NT Servers >> >> contact_groups nt-admins >> >> members WUSNE227,WUSNE187, etc,etc >> >> } >> >> >> >> I have edited my /etc/hosts file with all of the server names and IP >> address and I can ping them all by name. >> >> >> >> What am I missing? >> >> >> >> Thank you for the help! >> >> >> >> Regards, >> >> >> >> Ed St.John >> >> >> >> >> >> >> >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Wed Jun 30 13:05:57 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Wed, 30 Jun 2004 07:05:57 -0400 Subject: Newbie question about Nagios In-Reply-To: <001b01c45edf$25d3c510$c864a8c0@creanord2kserv> References: <001b01c45edf$25d3c510$c864a8c0@creanord2kserv> Message-ID: <40E29E95.7000403@debisschop.net> Igor Sergejeff wrote: > Hello, > > I'm new to Nagios, just installed it with some generic service checks, and > it's working OK. Now I would like to make some more comlplicated check. The > main task is to check on a periodical basis the contents of the some > specific web page and if some value there is less or more some baseline, to > send an alert, preferebly SNMP trap. Also it could be good to pass through > login and password through SSL to this web page. I.e.: > > 1. Login to specific web page through SSL (https) > 2. Check for "Value=NNN" string on this page (i.e. in html file) > 3. Send an alert if NNN is less (more) than some baseline value > > Any idea, is it possible to do ? You can do 1 and 2, for 3 you can see is a string matches but there is no concept of more or less. -- Karl ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Jun 30 14:00:29 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 30 Jun 2004 14:00:29 +0200 Subject: New Variable for host Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068D8B@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I playing around with a php page for the hostextinfo. So far this page simply takes the %HOSTNAME% Variable from nagios, to create a link to the right rdp, or putty cmd file for the host, so I don't have to create a page for every host. I just wonder if it is possible to add a new field to the host definition e.g. call remoteboard, where you can define the remoteboard ip for the host, and which Nagios itself puts into a new Variable e.g. %RILOEADDRESS%. Is there a chance to do that, or does this mean a workaround at the sourcecode itself? Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aharrison at gmail.com Wed Jun 30 14:10:47 2004 From: aharrison at gmail.com (Andy Harrison) Date: Wed, 30 Jun 2004 08:10:47 -0400 Subject: sending notifications to windows instant messenger In-Reply-To: <20040630051047.74283.qmail@restricted.dyndns.org> References: <20040629224105.78781.qmail@web53504.mail.yahoo.com> <20040630051047.74283.qmail@restricted.dyndns.org> Message-ID: On Wed, 30 Jun 2004 00:10:46 -0500, Neil wrote: > > Hey guys, > > What module are you using now? Does this module support Rendezvous protocol > or is it only for Hotmail? > > I found one that supports RVP, it's net-rvp but it doesn't work in our setup > :( > >From the script... use Net::OSCAR qw(:standard); -- Andy Harrison ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 30 14:24:09 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 30 Jun 2004 14:24:09 +0200 Subject: check_procs query In-Reply-To: References: Message-ID: <40E2B0E9.3040303@op5.se> Swati Srivastava wrote: > Hi! > When i do > ./check_procs -w .. -c .. -C nagios > from terminal, it shows 1 process runnning. > But the nagios display is showing 2 processes running with command name > nagios. > Why this discrepancy? Nagios forks. That means it spawns extra processes at need. It's normal, so don't worry about it, and please, please read at least some of the documentation before posting ten consecutive questions to the list again. > Kindly explain. > Thanks in advance, > Swati > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From psimek at jcu.cz Wed Jun 30 14:35:07 2004 From: psimek at jcu.cz (Petr Simek) Date: Wed, 30 Jun 2004 14:35:07 +0200 (=?iso-8859-2?Q?St=F8edn=ED_Evropa_=28letn=ED__=E8as=29?=) Subject: Service RECOVERY notification is not sent Message-ID: Hello, I have one host with two service checks - PING and SMTP . I stop the SMTP service and nagios sent out service alert CRITICAL (connection refused) for service SMTP. Then I disconnect host and nagios sent out host DOWN alert. Then I start the SMTP service and connect host back. Nagios sent out host UP alert and next service RECOVERY alert. This is good behaviour. Second - I deny connection to SMTP on the host by firewall and nagios sent out service alert CRITICAL (socket timeout 10sec) for SMTP service. I disconnect host and nagios sent out host DOWN alert. Then I remove firewall from SMTP and connect host back. Nagios sent out host UP alert and nothing more. Service RECOVERY alert for SMTP is not sent out, but the service is UP in service status. Why RECOVERY alert was lost ? Third - I place firewall to SMTP service and nagios sent out service alert CRITICAL (socket timeout 10sec) , then I remove firewall from SMTP service and nagios sent out service RECOVERY alert as expected. Why service alerts are OK in service-DOWN-service-UP cycle but in cycle service-DOWN-host-DOWN-service-UP-host-UP are OK in first case but are wrong in second case ? I'm using nagios 1.0 from nagios-1.0-3.9.i386.rpm . Regards *------------------------------------------------------------------------* | Petr Simek APS JU | | psimek at jcu.cz | *------------------------------------------------------------------------* ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 30 14:58:31 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 30 Jun 2004 14:58:31 +0200 Subject: New Variable for host In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E068D8B@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E068D8B@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <40E2B8F7.7090007@op5.se> Sand Philipp wrote: > Hi, > > I playing around with a php page for the hostextinfo. > So far this page simply takes the %HOSTNAME% Variable from nagios, > to create a link to the right rdp, or putty cmd file for the host, > so I don't have to create a page for every host. I just wonder if > it is possible to add a new field to the host definition e.g. call > remoteboard, where you can define the remoteboard ip for the host, > and which Nagios itself puts into a new Variable e.g. %RILOEADDRESS%. > Is there a chance to do that, or does this mean a workaround at the > sourcecode itself? > I'm not entirely sure what you mean. The $HOSTNAME$ macro (not %HOSTNAME% variable) is only usable within the nagios configuration, unless you interpret it yourself. If you plan to add another macro, you'll need another variable. New variables requires modifications to Nagios' source-code. If you enable it as a macro, you'll have to add or modify roughly three times as much code as if you don't support it as a variable. Considering this is extended hostinfo, isn't the notes_url and action_url variables enough? They're very free-form, and you can use them however you like. I'm not sure whether they can be used as macros or not, but it sure would be nice to have for notifications. > Regards, > Philipp > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jun 30 15:10:02 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 30 Jun 2004 15:10:02 +0200 Subject: Service RECOVERY notification is not sent In-Reply-To: References: Message-ID: <40E2BBAA.1030505@op5.se> Petr Simek wrote: [...] > Why service alerts are OK in service-DOWN-service-UP cycle but in cycle > service-DOWN-host-DOWN-service-UP-host-UP are OK in first case but are > wrong in second case ? > > I'm using nagios 1.0 from nagios-1.0-3.9.i386.rpm . > Upgrade to Nagios 1.2 or Nagios 2.0 and compile it from source. Whoever made it to package release 3.9 must have been at least partially insane or completely dimwitted. > > Regards > > *------------------------------------------------------------------------* > | Petr Simek APS JU | > | psimek at jcu.cz | > *------------------------------------------------------------------------* > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Wed Jun 30 16:46:25 2004 From: verdon at cict.fr (carole verdon) Date: Wed, 30 Jun 2004 16:46:25 +0200 Subject: nrpe query In-Reply-To: References: Message-ID: <40E2D241.5000800@cict.fr> Can you post exactly the definition of your check command? Carole. Swati Srivastava wrote: > Hi!! > I am trying to monitor a particular process on a remote machine.How to > monitor a process by its name or process id? The remote machine has > RedHat Linux8. > I tried giving the process name by -C as an argument. That shows 0 > processes running while > ps -aux|grep shows the process running. > Kindly help. > Thanks, > Swati > > _________________________________________________________________ > Contact brides & grooms FREE! > http://www.shaadi.com/index.php?ptnr=hmltag Only on www.shaadi.com. > Register now! > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Wed Jun 30 17:22:30 2004 From: verdon at cict.fr (carole verdon) Date: Wed, 30 Jun 2004 17:22:30 +0200 Subject: front end management tool In-Reply-To: <20040630050013.73452.qmail@restricted.dyndns.org> References: <20040630050013.73452.qmail@restricted.dyndns.org> Message-ID: <40E2DAB6.1010005@cict.fr> I use Nagmin to manage the configuration of nagios. Nagmin don't create temporary config files. It extract informations of tables of mysql database to put them in flat config files so that nagios can read them. I am satisfied for this product. You can find others answers in mailing list or on http://nagmin.sourceforge.net/ Carole. Neil wrote: > Hey guys, > I know in nagios website, extras, there are links to front end for > managing nagios. Currently, I am a unix console fanatic. :) I'm used > to it and it's no problem to me. I would like to seek your experience > on which front end web based application you really did like and was > easy to use. I am looking into something wherein it will be easy for > us to create hosts, services, contacts and so on. I tried Nagmin, > Nagat but if I remember correctly, it creates a temporary config file > which will be used for test run. It's nice but really messes up my > configs :( > Anyways, please reply as to what webbased nagios management tool you > are using and that you're very happy about it. > Thanks. > Neil > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TWEdwards at cimplify.net Wed Jun 30 17:47:13 2004 From: TWEdwards at cimplify.net (Edwards, Thomas W.) Date: Wed, 30 Jun 2004 10:47:13 -0500 Subject: Serviceextinfo.cfg Message-ID: For some reason, it seems that the serviceextinfo has stopped displaying in the service detail display. Other than rip out the entire install and start over, is there another way to get this functionality restored? I don't see anything in the logs that would indicate a problem at all. It seemed one day to just stop being there. I was using apan in the install but stopped doing so shortly before this happened, but it was several days difference in the time frame. Any suggestions. Thanks. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TWEdwards at cimplify.net Wed Jun 30 18:59:18 2004 From: TWEdwards at cimplify.net (Edwards, Thomas W.) Date: Wed, 30 Jun 2004 11:59:18 -0500 Subject: Serviceextinfo.cfg Message-ID: I have only 5 lines in the serviceextinfo.cfg file as of now...and none of them seem to be working...that was a good shot, thanks. -----Original Message----- From: Matthew Wilson [mailto:matthewwilson at dsl.pipex.com] Sent: Wednesday, June 30, 2004 11:02 AM To: Edwards, Thomas W. Subject: Re: [Nagios-users] Serviceextinfo.cfg I have found it takes only 1 bad serviceextinfo statement to prevent the whole lot from working.... check you config very carefully (and make sure host names, service names are correct as well as syntax). Failing that, comment out each one until it works (how boring!) hope that helps Matthew Wilson The Nagios Guy, DC-Sat.net ----- Original Message ----- From: "Edwards, Thomas W." To: Sent: Wednesday, June 30, 2004 4:47 PM Subject: [Nagios-users] Serviceextinfo.cfg For some reason, it seems that the serviceextinfo has stopped displaying in the service detail display. Other than rip out the entire install and start over, is there another way to get this functionality restored? ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Jun 30 19:39:08 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 30 Jun 2004 12:39:08 -0500 Subject: AW: tell me how many are you.... In-Reply-To: <40E26738.1000503@op5.se> References: <6943DE9E9934CD42BBE4A20E0E28E10E04586A@SYGOMAIL.GOE.AD.SYCOR.DE> <20040629055728.71065.qmail@restricted.dyndns.org> <40E26738.1000503@op5.se> Message-ID: <20040630173908.29860.qmail@restricted.dyndns.org> Here it is Andreas. I am very happy to share this perl script I wrote from scratch to the Nagios community :) There are dependencies though. 1. You have to have freetds 2. An account on mssql server 3. the store procedure sp_blocker script found on microsoft site(i modified it to insert instead to blockcheck table rather than printing) 4. a job that runs this sp every 5-60 seconds(depends how much you like) The magic is really simple. I parse the blockcheck table and I order it by the time, I do a max on the waittime and that is it. If waittime is greater than 20secs, send an alert :) Have fun!!! ;) Neil #!/usr/bin/perl ## my ($y, $m, $d, $hh, $mm, $ss) = (localtime)[5,4,3,2,1,0]; $y += 1900; $m++; # NOTE: 2 was added because, nagios is in WEST COAST and is monitoring a machine in CENTRAL $hh = $hh + 2; my $iso_now = sprintf("%d-%02d-%02d %02d:%02d:%02d", $y, $m, $d, $hh, $mm, $ss); my $hour_result = 0; my $min_result = 0; my $day_result = 0; my $linefromfile; my $sqlresult; my $blockwaittime; sub timeDiff (%) { my %args = @_; my @offset_days = qw(0 31 59 90 120 151 181 212 243 273 304 334); my $year1 = substr($args{'date1'}, 0, 4); my $month1 = substr($args{'date1'}, 5, 2); my $day1 = substr($args{'date1'}, 8, 2); my $hh1 = substr($args{'date1'},11, 2) || 0; my $mm1 = substr($args{'date1'},14, 2) || 0; my $ss1 = substr($args{'date1'},17, 2) if (length($args{'date1'}) > 16); $ss1 ||= 0; my $year2 = substr($args{'date2'}, 0, 4); my $month2 = substr($args{'date2'}, 5, 2); my $day2 = substr($args{'date2'}, 8, 2); my $hh2 = substr($args{'date2'},11, 2) || 0; my $mm2 = substr($args{'date2'},14, 2) || 0; my $ss2 = substr($args{'date2'},17, 2) if (length($args{'date2'}) > 16); $ss2 ||= 0; my $total_days1 = $offset_days[$month1 - 1] + $day1 + 365 * $year1; my $total_days2 = $offset_days[$month2 - 1] + $day2 + 365 * $year2; my $days_diff = $total_days2 - $total_days1; my $seconds1 = $total_days1 * 86400 + $hh1 * 3600 + $mm1 * 60 + $ss1; my $seconds2 = $total_days2 * 86400 + $hh2 * 3600 + $mm2 * 60 + $ss2; my $ssDiff = $seconds2 - $seconds1; my $dd = int($ssDiff / 86400); my $hh = int($ssDiff / 3600) - $dd * 24; my $mm = int($ssDiff / 60) - $dd * 1440 - $hh * 60; my $ss = int($ssDiff / 1) - $dd * 86400 - $hh * 3600 - $mm * 60; $hour_result = $hh; $min_result = $mm; $day_result = $dd; } ## my $tsqlcmd="/usr/local/bin/tsql"; my $catcmd="/bin/cat"; my $grepcmd="/bin/grep"; my $rmcmd="/bin/rm"; my $wccmd="/usr/bin/wc"; my $sedcmd="/bin/sed"; my $trcmd="/usr/bin/tr"; my $uniqcmd="/usr/bin/uniq"; my $RETVAL = 3; my $RESULT = 0; my $hostname=$ARGV[0]; my $usr=$ARGV[1]; my $pswd=$ARGV[2]; my $srv=$ARGV[3]; # echo $hostname $usr $pswd $srv >> /tmp/monitor # Creating the command file that contains the sql statement that has to be run on the SQL server. my $tmpfile="/usr/local/nagios/var/omnitmp"; chomp($tmpfile); system "echo -e \"USE dbstats\ngo\nif exists (select * from dbo.sysobjects where id = object_id(N'[dbstats].[dbo].[parseblockcheck]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbstats].[dbo].[parseblockcheck] \ngo\n CREATE TABLE [dbstats].[dbo].[parseblockcheck] ( [blocktimestamp] [varchar] (40) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [blockwaittime] [int] NULL ) ON [PRIMARY] \ngo\n insert into [dbstats].[dbo].[parseblockcheck] select 'TIMESTAMP:'+ convert(char(16),Eventtime,120) as blocktimestamp, max(waittime) as blockwaittime from dbstats.dbo.blockcheck group by eventtime order by eventtime desc \ngo\n select top 1 'TIMESTAMP:'+convert(char(16),[dbstats].[dbo].blockcheck.Eventtime,120) + ', WAITTIME:'+convert(varchar(10),[dbstats].[dbo].blockcheck.waittime) + ' ms' + '('+ convert(varchar(10),([dbstats].[dbo].blockcheck.waittime/1000)) +' secs)' + ', SPID Blocker:' + convert(varchar(5),SPID_Blocker) from [dbstats].[dbo].[parseblockcheck] inner join [dbstats].[dbo].blockcheck on dbstats.dbo.parseblockcheck.blocktimestamp='TIMESTAMP:'+ convert(char(16),Eventtime,120) and dbstats.dbo.parseblockcheck.blockwaittime=[dbstats].[dbo].blockcheck.waittim e order by blockcheck.eventtime desc\ngo\" > $tmpfile"; my $resultfile="/usr/local/nagios/var/omniresultfile"; my $errorfile="/usr/local/nagios/var/omnierrorfile"; chomp($resultfile); chomp($errorfile); system "/usr/local/bin/tsql -S $hostname -U 'svcaccount' -P 'password' < $tmpfile 2>$errorfile > $resultfile"; system "$grepcmd -q \"Login failed for user\" $errorfile"; $RESULT = `echo $?`; chomp($RESULT); if ( $RESULT == 0) { #system "$rmcmd -f $tmpfile $resultfile $errorfile"; print "CRITICAL - Could not make connection to SQL server. Login failed."; exit 2; } system "$grepcmd -q \"There was a problem connecting to the server\" $errorfile"; $RESULT = `echo $?`; chomp($RESULT); if ( $RESULT == 0) { #system "$rmcmd -f $tmpfile $resultfile $errorfile"; print "CRITICAL - Could not make connection to SQL server. Incorrect server name or SQL service not running."; exit 2; } my $resultfileln=`$catcmd $resultfile | $wccmd -l | $sedcmd 's/ //g'`; chomp($resultfileln); if ($resultfileln == 2 ) { #system "$rmcmd -f $tmpfile $resultfile $errorfile"; print "CRITICAL - Could not make connection to SQL server. No data received from host."; exit 2; } else { open (RESULTFILE, $resultfile); while ($linefromfile = ) { if ( $linefromfile =~ /TIMESTAMP/ ) { $sqlresult = $linefromfile; chomp($sqlresult); } } close(RESULTFILE); # my $sqlresult=`$catcmd $resultfile | $grepcmd -v locale | $grepcmd -v charset| $grepcmd -v '1>'`; my $datetime_from_blockcheck = $sqlresult; $blockwaittime = $sqlresult; # sample: TIMESTAMP:2004-06-23 13:59:43.527, WAITTIME:5125 ms(5 secs) # TIMESTAMP:2004-06-23 12:47, WAITTIME:1235 ms(1 secs), SPID Blocker:360 $datetime_from_blockcheck =~ s/^TIMESTAMP:(\d+-\d+-\d+\s\d+:\d+).*/$1/; $blockwaittime =~ s/^TIMESTAMP:\d+-\d+-\d+\s\d+:\d+,\sWAITTIME:\d+\sms.*(\d+)\ssecs.*/$1/; my $timeDiffStr = &timeDiff( date1 => $datetime_from_blockcheck, date2 => $iso_now ); if ($day_result < 1 ) { if ($hour_result < 1) { if ($min_result <= 15) { if ($blockwaittime >= 20) { $RETVAL=2; $RETSTR=$sqlresult; print "[CRITICAL] $RETSTR"; # system "$rmcmd -f $tmpfile $resultfile $errorfile"; exit $RETVAL; } } } } $RETVAL=0; $RETSTR="System is in OK STATE. Please verify from Omni DB administrator if SPID blocker has been cleared."; print $RETSTR; #system "$rmcmd -f $tmpfile $resultfile $errorfile"; exit $RETVAL; } exit $RETVAL; Andreas Ericsson writes: > Neil wrote: >> Thanks guys. I now have a baseline on how to spec our Nagios machine. I >> only have one more battle left and that is the management decision >> between choosing Servers Alive(M$0ft Window based) and Nagios. They like >> the Nagios because it is so flexible and we can write our own custom >> checks. I recently wrote a check that will return a value of CRITICAL(2) >> to Nagios if there is a deadlock going on in an MSSQL server. > > Can you send that to me or publish it to the list? I've been looking to do > the same for some time now. > >> The only problem they have with Nagios is that it is open source. But I >> have given them tons of good information/advantages about opensource. I >> hope, within this week, we'll find out who the winner is. > > I wish you the best of luck. > >> Thanks again. >> Neil >> > > -- > Sourcerer / Andreas Ericsson > OP5 AB > +46 (0)733 709032 > andreas.ericsson at op5.se > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self > defense, top technical experts, no vendor pitches, unmatched networking > opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Jun 30 19:43:19 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 30 Jun 2004 12:43:19 -0500 Subject: front end management tool In-Reply-To: <40E2DAB6.1010005@cict.fr> References: <20040630050013.73452.qmail@restricted.dyndns.org> <40E2DAB6.1010005@cict.fr> Message-ID: <20040630174319.30194.qmail@restricted.dyndns.org> Hi Carole, What if I already have existing running nagios, how does it take care of my existings configs? YOu know what, I should try it :) carole verdon writes: > I use Nagmin to manage the configuration of nagios. Nagmin don't create > temporary config files. It extract informations of tables of mysql > database to put them in flat config files so that nagios can read them. > > I am satisfied for this product. > > You can find others answers in mailing list or on > http://nagmin.sourceforge.net/ > > Carole. > > Neil wrote: > >> Hey guys, >> I know in nagios website, extras, there are links to front end for >> managing nagios. Currently, I am a unix console fanatic. :) I'm used to >> it and it's no problem to me. I would like to seek your experience on >> which front end web based application you really did like and was easy to >> use. I am looking into something wherein it will be easy for us to create >> hosts, services, contacts and so on. I tried Nagmin, Nagat but if I >> remember correctly, it creates a temporary config file which will be used >> for test run. It's nice but really messes up my configs :( >> Anyways, please reply as to what webbased nagios management tool you are >> using and that you're very happy about it. >> Thanks. >> Neil >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >> self defense, top technical experts, no vendor pitches, unmatched >> networking opportunities. Visit www.blackhat.com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk being >> sent to /dev/null >> >> > > -- > ********************************** > VERDON Carole > Ing?nieur Syst?me > CICT - Universit? Paul Sabatier > 118, route de Narbonne > 31062 Toulouse Cedex > T?l.: 05.61.36.60.44 > Fax: 05.61.52.14.58 > Mail: verdon at cict.fr > ********************************** > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self > defense, top technical experts, no vendor pitches, unmatched networking > opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Jun 30 19:49:34 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 30 Jun 2004 12:49:34 -0500 Subject: MSSQL check blocker Message-ID: <20040630174934.30637.qmail@restricted.dyndns.org> Hey guys, As requsted, here is the custom check I wrote which verifies if there are blocking going on in an MSSQL server. It works like a charm in my setup. I will have to dive more into the result that the sp_blocker from Microsoft outputs. I will come up with another version that will check for deadlocks :) Dependencies: 1. FreeTDS client 2. sp_blocker from Microsoft(modify it to your needs) 3. job that runs the sp every 5-60 seconds(you decide) 4. mssql account I sent similar topic to this in my previous email with subject "tell me how many....". Please see my last post. Here is the code: #!/usr/bin/perl ## my ($y, $m, $d, $hh, $mm, $ss) = (localtime)[5,4,3,2,1,0]; $y += 1900; $m++; # NOTE: 2 was added because, nagios is in WEST COAST and is monitoring a machine in CENTRAL $hh = $hh + 2; my $iso_now = sprintf("%d-%02d-%02d %02d:%02d:%02d", $y, $m, $d, $hh, $mm, $ss); my $hour_result = 0; my $min_result = 0; my $day_result = 0; my $linefromfile; my $sqlresult; my $blockwaittime; sub timeDiff (%) { my %args = @_; my @offset_days = qw(0 31 59 90 120 151 181 212 243 273 304 334); my $year1 = substr($args{'date1'}, 0, 4); my $month1 = substr($args{'date1'}, 5, 2); my $day1 = substr($args{'date1'}, 8, 2); my $hh1 = substr($args{'date1'},11, 2) || 0; my $mm1 = substr($args{'date1'},14, 2) || 0; my $ss1 = substr($args{'date1'},17, 2) if (length($args{'date1'}) > 16); $ss1 ||= 0; my $year2 = substr($args{'date2'}, 0, 4); my $month2 = substr($args{'date2'}, 5, 2); my $day2 = substr($args{'date2'}, 8, 2); my $hh2 = substr($args{'date2'},11, 2) || 0; my $mm2 = substr($args{'date2'},14, 2) || 0; my $ss2 = substr($args{'date2'},17, 2) if (length($args{'date2'}) > 16); $ss2 ||= 0; my $total_days1 = $offset_days[$month1 - 1] + $day1 + 365 * $year1; my $total_days2 = $offset_days[$month2 - 1] + $day2 + 365 * $year2; my $days_diff = $total_days2 - $total_days1; my $seconds1 = $total_days1 * 86400 + $hh1 * 3600 + $mm1 * 60 + $ss1; my $seconds2 = $total_days2 * 86400 + $hh2 * 3600 + $mm2 * 60 + $ss2; my $ssDiff = $seconds2 - $seconds1; my $dd = int($ssDiff / 86400); my $hh = int($ssDiff / 3600) - $dd * 24; my $mm = int($ssDiff / 60) - $dd * 1440 - $hh * 60; my $ss = int($ssDiff / 1) - $dd * 86400 - $hh * 3600 - $mm * 60; $hour_result = $hh; $min_result = $mm; $day_result = $dd; } ## my $tsqlcmd="/usr/local/bin/tsql"; my $catcmd="/bin/cat"; my $grepcmd="/bin/grep"; my $rmcmd="/bin/rm"; my $wccmd="/usr/bin/wc"; my $sedcmd="/bin/sed"; my $trcmd="/usr/bin/tr"; my $uniqcmd="/usr/bin/uniq"; my $RETVAL = 3; my $RESULT = 0; my $hostname=$ARGV[0]; my $usr=$ARGV[1]; my $pswd=$ARGV[2]; my $srv=$ARGV[3]; # echo $hostname $usr $pswd $srv >> /tmp/monitor # Creating the command file that contains the sql statement that has to be run on the SQL server. my $tmpfile="/usr/local/nagios/var/omnitmp"; chomp($tmpfile); system "echo -e \"USE dbstats\ngo\nif exists (select * from dbo.sysobjects where id = object_id(N'[dbstats].[dbo].[parseblockcheck]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbstats].[dbo].[parseblockcheck] \ngo\n CREATE TABLE [dbstats].[dbo].[parseblockcheck] ( [blocktimestamp] [varchar] (40) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [blockwaittime] [int] NULL ) ON [PRIMARY] \ngo\n insert into [dbstats].[dbo].[parseblockcheck] select 'TIMESTAMP:'+ convert(char(16),Eventtime,120) as blocktimestamp, max(waittime) as blockwaittime from dbstats.dbo.blockcheck group by eventtime order by eventtime desc \ngo\n select top 1 'TIMESTAMP:'+convert(char(16),[dbstats].[dbo].blockcheck.Eventtime,120) + ', WAITTIME:'+convert(varchar(10),[dbstats].[dbo].blockcheck.waittime) + ' ms' + '('+ convert(varchar(10),([dbstats].[dbo].blockcheck.waittime/1000)) +' secs)' + ', SPID Blocker:' + convert(varchar(5),SPID_Blocker) from [dbstats].[dbo].[parseblockcheck] inner join [dbstats].[dbo].blockcheck on dbstats.dbo.parseblockcheck.blocktimestamp='TIMESTAMP:'+ convert(char(16),Eventtime,120) and dbstats.dbo.parseblockcheck.blockwaittime=[dbstats].[dbo].blockcheck.waittim e order by blockcheck.eventtime desc\ngo\" > $tmpfile"; my $resultfile="/usr/local/nagios/var/omniresultfile"; my $errorfile="/usr/local/nagios/var/omnierrorfile"; chomp($resultfile); chomp($errorfile); system "/usr/local/bin/tsql -S $hostname -U 'svcaccount' -P 'password' < $tmpfile 2>$errorfile > $resultfile"; system "$grepcmd -q \"Login failed for user\" $errorfile"; $RESULT = `echo $?`; chomp($RESULT); if ( $RESULT == 0) { #system "$rmcmd -f $tmpfile $resultfile $errorfile"; print "CRITICAL - Could not make connection to SQL server. Login failed."; exit 2; } system "$grepcmd -q \"There was a problem connecting to the server\" $errorfile"; $RESULT = `echo $?`; chomp($RESULT); if ( $RESULT == 0) { #system "$rmcmd -f $tmpfile $resultfile $errorfile"; print "CRITICAL - Could not make connection to SQL server. Incorrect server name or SQL service not running."; exit 2; } my $resultfileln=`$catcmd $resultfile | $wccmd -l | $sedcmd 's/ //g'`; chomp($resultfileln); if ($resultfileln == 2 ) { #system "$rmcmd -f $tmpfile $resultfile $errorfile"; print "CRITICAL - Could not make connection to SQL server. No data received from host."; exit 2; } else { open (RESULTFILE, $resultfile); while ($linefromfile = ) { if ( $linefromfile =~ /TIMESTAMP/ ) { $sqlresult = $linefromfile; chomp($sqlresult); } } close(RESULTFILE); # my $sqlresult=`$catcmd $resultfile | $grepcmd -v locale | $grepcmd -v charset| $grepcmd -v '1>'`; my $datetime_from_blockcheck = $sqlresult; $blockwaittime = $sqlresult; # sample: TIMESTAMP:2004-06-23 13:59:43.527, WAITTIME:5125 ms(5 secs) # TIMESTAMP:2004-06-23 12:47, WAITTIME:1235 ms(1 secs), SPID Blocker:360 $datetime_from_blockcheck =~ s/^TIMESTAMP:(\d+-\d+-\d+\s\d+:\d+).*/$1/; $blockwaittime =~ s/^TIMESTAMP:\d+-\d+-\d+\s\d+:\d+,\sWAITTIME:\d+\sms.*(\d+)\ssecs.*/$1/; my $timeDiffStr = &timeDiff( date1 => $datetime_from_blockcheck, date2 => $iso_now ); if ($day_result < 1 ) { if ($hour_result < 1) { if ($min_result <= 15) { if ($blockwaittime >= 20) { $RETVAL=2; $RETSTR=$sqlresult; print "[CRITICAL] $RETSTR"; # system "$rmcmd -f $tmpfile $resultfile $errorfile"; exit $RETVAL; } } } } $RETVAL=0; $RETSTR="System is in OK STATE. Please verify from omni DB administrator if SPID blocker has been cleared."; print $RETSTR; #system "$rmcmd -f $tmpfile $resultfile $errorfile"; exit $RETVAL; } exit $RETVAL; ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Jun 30 19:52:15 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 30 Jun 2004 12:52:15 -0500 Subject: webpage check and load balancer weirdness Message-ID: <20040630175215.30863.qmail@restricted.dyndns.org> Hey guys, Just wondering about the alert I got this morning. I have 8 webservers behind 1 load balancer. One webserver was providing HTTP internal error 500. I got the alert for that and is correct. But I also have another check that checks the webpages on the load balancer. I was wondering why nagios is also seeing the HTTP 500 error but Internet Explorer gets the proper web pages from the remaining 7 webservers. Any ideas? Thanks. Neil ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Patrick.Roy at ville.Quebec.qc.ca Wed Jun 30 20:16:17 2004 From: Patrick.Roy at ville.Quebec.qc.ca (Roy, Patrick) Date: Wed, 30 Jun 2004 14:16:17 -0400 Subject: smartmontools Message-ID: <28A0F72B3EA0BC47A65E8E67CC1912821204EE@srv3057000552.ville.quebec.qc.ca> Hi! Does anyone have a script or a plugging that can use smartmontools (or any other multi-platform disk monitoring software) to verify disk integrity? My google search was unsuccessful. Thanks, Patrick Roy ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From durist at euler.cr.usgs.gov Wed Jun 30 20:53:15 2004 From: durist at euler.cr.usgs.gov (Dan Urist) Date: Wed, 30 Jun 2004 12:53:15 -0600 Subject: smartmontools In-Reply-To: <28A0F72B3EA0BC47A65E8E67CC1912821204EE@srv3057000552.ville.quebec.qc.ca> References: <28A0F72B3EA0BC47A65E8E67CC1912821204EE@srv3057000552.ville.quebec.qc.ca> Message-ID: <47884.6327554949$1088624638@news.gmane.org> On Wednesday 30 June 2004 12:16, Roy, Patrick wrote: > Hi! Does anyone have a script or a plugging that can use > smartmontools (or any other multi-platform disk monitoring software) to > verify disk integrity? My google search was unsuccessful. Here's a simple perl script that I run with the check_by_ssh plugin; you need lshw as well as smarttools: #!/usr/bin/perl -w my $SMARTCTL = "/usr/sbin/smartctl"; my $LSHW = "/usr/sbin/lshw"; open(LSHW, "$LSHW -class disk|") or die "$0: Could not open pipe to lshw"; my @baddisks; while( my $line = ){ if( $line =~ /^\s+\*-disk/ ){ while ($line = ){ if( $line =~ /^\s+logical name:\s+(\S+)/ ){ system("$SMARTCTL -c $1 > /dev/null 2>&1"); push(@baddisks, $1) if $?; last; } } } } if( scalar(@baddisks) ){ print "Bad Disks: ", join(",", at baddisks), "\n";; exit 1; } -- Dan Urist durist at euler.cr.usgs.gov ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phessler at triplecanopy.com Wed Jun 30 20:48:49 2004 From: phessler at triplecanopy.com (Peter Hessler) Date: Wed, 30 Jun 2004 11:48:49 -0700 Subject: Problems with cgi access In-Reply-To: <20040628222140.6c57bfeb@leela.theapt.org> References: <20040628113930.36e109b5@leela.theapt.org> <37574.134.244.172.10.1088450046.squirrel@webmail.stinkweasel.net> <20040628222140.6c57bfeb@leela.theapt.org> Message-ID: <20040630114849.3ad22bc8@leela.theapt.org> On Mon, 28 Jun 2004 22:21:40 -0700 Peter Hessler wrote: :On Mon, 28 Jun 2004 14:13:44 -0500 (CDT) :"C. Bensend" wrote: : :: ::> This is still broken, and I have no idea how to fix this. Anyone have ::any> ideas? :: ::Hi Peter, :: :: On one of my OpenBSD Nagios hosts, I use: :: ::nagios_check_command=/home/nagios/libexec/check_nagios ::/home/nagios/var/status.log 5 '/home/nagios/bin/nagios' :: :: Obviously, I have Nagios installed in /home/nagios so you'll have to ::change that, but that command should work for you just fine, I'd think. :: ::Benny :: :: ::-- ::"You were doing well until everyone died." :: -- "God", Futurama : :Thanks, but that doesn't help me. As stated in my first email I had :'/usr/local/bin/nagios -d /etc/nagios/nagios.cfg' in my check_nagios :command. I also tried '/usr/local/bin/nagios', but that doesn't change :the false-negative. : :$ ps aux | grep '/usr/local/bin/nagios -d /etc/nagios/nagios.cfg' :_nagios 7871 0.0 0.1 564 920 ?? Ss Wed01PM 0:39.01 :/usr/local/bin/nagios -d /etc/nagios/nagios.cfg :$ : Thanks to C. Bensend for trying to help me, but I'm still broke. Here is what seems to be an indicator of a larger problem: nagios_check_command=/home/nagios/libexec/check_dummy 0 Doesn't work. This is after stopping and starting both nagios and apache (I know apache doesn't need to be restarted, but I figured what the hey). Apache is not chrooted, and doesn't show any errors in its config. This is on OpenBSD/i386 -current. -- This is your fortune. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Wed Jun 30 21:19:04 2004 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Wed, 30 Jun 2004 14:19:04 -0500 Subject: PHP CGI's. Message-ID: I remember a while back someone having said they made some PHP CGI's. Just pretty much copying code. I was wondering if development was still ongoing or dead? I also, would like to get a copy to mess around with, I would like to see this bloom. I know Nagios 3.0 is suppose to have php cgi's, but I'm anxious. I'm really interested in adding in functionality to nagios to use "plugin" type of data source. I would like to use a database instead of flat files. I'm thinking with php cgi's this would be much simpler, then the only C source to edit would be the daemon. I think I've seen something with this idea float around as well. Thanks for the space! jrmy ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com From marc at ena.com Wed Jun 30 21:12:29 2004 From: marc at ena.com (Marc Powell) Date: Wed, 30 Jun 2004 14:12:29 -0500 Subject: webpage check and load balancer weirdness Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6657@mismail2.ena.com> Neil wrote: > Hey guys, > > Just wondering about the alert I got this morning. I have 8 > webservers behind 1 load balancer. One webserver was providing HTTP > internal error 500. > I got the alert for that and is correct. But I also have another > check that checks the webpages on the load balancer. I was wondering > why nagios is also seeing the HTTP 500 error but Internet Explorer > gets the proper web pages from the remaining 7 webservers. Any ideas? Depending on the configuration and capabilities of your LB, it may be using a hash to determine what web server you get sent to. Alteon AD3's do this if your metric is hash. Session persistence is another method. Your first request get's sent to the least utilized web server and all subsequent requests from you get sent to the same device. If your monitoring machine was directed to the bad box on a request then using either method would redirect you to the same box on subsequent requests. You should consult your load balancer's manual and configuration for specifics. -- Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Jun 30 21:17:51 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 30 Jun 2004 14:17:51 -0500 Subject: webpage check and load balancer weirdness In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B6657@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B6657@mismail2.ena.com> Message-ID: <20040630191751.37381.qmail@restricted.dyndns.org> Hi Marc, So there's nothing we can do on our side? Thanks. Marc Powell writes: > Neil wrote: >> Hey guys, >> >> Just wondering about the alert I got this morning. I have 8 >> webservers behind 1 load balancer. One webserver was providing HTTP >> internal error 500. >> I got the alert for that and is correct. But I also have another >> check that checks the webpages on the load balancer. I was wondering >> why nagios is also seeing the HTTP 500 error but Internet Explorer >> gets the proper web pages from the remaining 7 webservers. Any ideas? > > Depending on the configuration and capabilities of your LB, it may be > using a hash to determine what web server you get sent to. Alteon AD3's > do this if your metric is hash. Session persistence is another method. > Your first request get's sent to the least utilized web server and all > subsequent requests from you get sent to the same device. If your > monitoring machine was directed to the bad box on a request then using > either method would redirect you to the same box on subsequent requests. > You should consult your load balancer's manual and configuration for > specifics. > > -- > Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Patrick.Roy at ville.Quebec.qc.ca Wed Jun 30 21:21:45 2004 From: Patrick.Roy at ville.Quebec.qc.ca (Roy, Patrick) Date: Wed, 30 Jun 2004 15:21:45 -0400 Subject: smartmontools Message-ID: <28A0F72B3EA0BC47A65E8E67CC1912821204EF@srv3057000552.ville.quebec.qc.ca> Thanks! that script will solve 50% of my problem! Now if I could find something for my windowze boxes... ---------- De : Dan Urist [mailto:durist at euler.cr.usgs.gov] Envoy? : 30 juin 2004 14:53 ? : nagios-users at lists.sourceforge.net Cc : Roy, Patrick Objet : Re: [Nagios-users] smartmontools On Wednesday 30 June 2004 12:16, Roy, Patrick wrote: > Hi! Does anyone have a script or a plugging that can use > smartmontools (or any other multi-platform disk monitoring software) to > verify disk integrity? My google search was unsuccessful. Here's a simple perl script that I run with the check_by_ssh plugin; you need lshw as well as smarttools: #!/usr/bin/perl -w my $SMARTCTL = "/usr/sbin/smartctl"; my $LSHW = "/usr/sbin/lshw"; open(LSHW, "$LSHW -class disk|") or die "$0: Could not open pipe to lshw"; my @baddisks; while( my $line = ){ if( $line =~ /^\s+\*-disk/ ){ while ($line = ){ if( $line =~ /^\s+logical name:\s+(\S+)/ ){ system("$SMARTCTL -c $1 > /dev/null 2>&1"); push(@baddisks, $1) if $?; last; } } } } if( scalar(@baddisks) ){ print "Bad Disks: ", join(",", at baddisks), "\n";; exit 1; } -- Dan Urist durist at euler.cr.usgs.gov ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Jun 30 22:02:59 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 30 Jun 2004 15:02:59 -0500 Subject: smartmontools In-Reply-To: <28A0F72B3EA0BC47A65E8E67CC1912821204EF@srv3057000552.ville.quebec.qc.ca> References: <28A0F72B3EA0BC47A65E8E67CC1912821204EF@srv3057000552.ville.quebec.qc.ca> Message-ID: <20040630200259.40838.qmail@restricted.dyndns.org> This is cool. What if we want to monitor on Solaris? Roy, Patrick writes: > Thanks! that script will solve 50% of my problem! Now if I could find > something for my windowze boxes... > > ---------- > De : Dan Urist [mailto:durist at euler.cr.usgs.gov] > Envoy? : 30 juin 2004 14:53 > ? : nagios-users at lists.sourceforge.net > Cc : Roy, Patrick > Objet : Re: [Nagios-users] smartmontools > > > On Wednesday 30 June 2004 12:16, Roy, Patrick wrote: >> Hi! Does anyone have a script or a plugging that can use >> smartmontools (or any other multi-platform disk monitoring software) to >> verify disk integrity? My google search was unsuccessful. > > Here's a simple perl script that I run with the check_by_ssh plugin; you > need > lshw as well as smarttools: > > #!/usr/bin/perl -w > > my $SMARTCTL = "/usr/sbin/smartctl"; > my $LSHW = "/usr/sbin/lshw"; > > open(LSHW, "$LSHW -class disk|") > or die "$0: Could not open pipe to lshw"; > > my @baddisks; > while( my $line = ){ > if( $line =~ /^\s+\*-disk/ ){ > while ($line = ){ > if( $line =~ /^\s+logical name:\s+(\S+)/ ){ > system("$SMARTCTL -c $1 > /dev/null 2>&1"); > push(@baddisks, $1) if $?; > last; > } > } > } > } > > if( scalar(@baddisks) ){ > print "Bad Disks: ", join(",", at baddisks), "\n";; > exit 1; > } > > -- > Dan Urist > durist at euler.cr.usgs.gov > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 30 22:55:44 2004 From: marc at ena.com (Marc Powell) Date: Wed, 30 Jun 2004 15:55:44 -0500 Subject: webpage check and load balancer weirdness Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6659@mismail2.ena.com> Neil wrote: > Hi Marc, > > So there's nothing we can do on our side? Sure, investigate the configuration on your load balancing device and change the load balancing method if you find it lacking. -- Marc > > Marc Powell writes: > > > Neil wrote: > > > Hey guys, > > > > > > Just wondering about the alert I got this morning. I have 8 > > > webservers behind 1 load balancer. One webserver was providing > > > HTTP internal error 500. I got the alert for that and is correct. > > > But I also have another check that checks the webpages on the > > > load balancer. I was wondering why nagios is also seeing the HTTP > > > 500 error but Internet Explorer gets the proper web pages from > > > the remaining 7 webservers. Any ideas? > > > > Depending on the configuration and capabilities of your LB, it may > > be > > using a hash to determine what web server you get sent to. Alteon > > AD3's do this if your metric is hash. Session persistence is > > another method. Your first request get's sent to the least utilized > > web server and all subsequent requests from you get sent to the > > same device. If your monitoring machine was directed to the bad box > > on a request then using either method would redirect you to the > > same box on subsequent requests. You should consult your load > > balancer's manual and configuration for specifics. > > > > -- > > Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null