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 you